]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
mktime: merge comment-quoting-style change from gnulib
[thirdparty/glibc.git] / ChangeLog
CommitLineData
95770f14
PE
12012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2
6226efbd
PE
3 mktime: merge comment-quoting-style change from gnulib
4 * time/mktime.c: Quote 'like this' in comments.
5 The GNU coding standards suggest that we no longer quote `like this',
6 as "`" and "'" are typically rendered asymmetrically nowadays.
7 The typical gnulib style is to quote 'like this' when quoting
8 code, and "like this" when quoting English.
9
b99e4f78
PE
10 * time/mktime.c (compile-command): Add "-I.".
11
643e01e6
PE
12 mktime: merge mktime-internal.h change from gnulib
13 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14
2554247d
PE
15 mktime: merge time_r change from gnulib
16 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17
826dd0ab
PE
18 mktime: merge DEBUG change from gnulib
19 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20 case system <time.h> has a #define.
21
bd83aabe
PE
22 mktime: merge <sys/types.h> change from gnulib
23 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24 since <time.t> is now guaranteed to define time_t.
25
95770f14
PE
26 mktime: merge HAVE_CONFIG_H change from gnulib
27 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28
5e1a27a9
L
292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30
0e44a77e
L
31 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32 Use "neg %eax".
33
5e1a27a9
L
34 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35 __rlim_t cast.
36 (struct rusage): Use anonymous union to pad each field to
37 __syscall_slong_t.
38
46259bec
DM
392012-05-21 David S. Miller <davem@davemloft.net>
40
41 * Makefules (o-iterator): Remove .s cases.
42 (compile-command.s): Delete.
43 (COMPILE.s): Delete.
44 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45
59f0c22e
JM
462012-05-21 Joseph Myers <joseph@codesourcery.com>
47
48 * configure.in (libc_cv_predef_stack_protector): Only consider
49 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50 * configure: Regenerated.
51
20c07380
L
522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
53
bbb3154b
L
54 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55 New macro. Use R*LP on int and pointer.
56 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
57 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
59 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60
20c07380
L
61 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62 [__WORDSIZE_TIME64_COMPAT32] instead of
63 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64 (struct utmp): Likewise.
65 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
67 Renamed to ...
68 (__WORDSIZE_TIME64_COMPAT32): This.
69 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
71 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
73 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74 (__WORDSIZE_TIME64_COMPAT32): New macro.
75
d8d1017e
AJ
762012-05-21 Andreas Jaeger <aj@suse.de>
77
78 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79 only if [SHARED]. Add prototype for __wcschr_ia32.
80
6c7fb145
RM
812012-05-21 Roland McGrath <roland@hack.frob.com>
82
83 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
84 of %rbp unmolested in the jmp_buf while mangling the low bits.
85 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
86 unmolested high bits of %rbp while demangling the low bits.
87 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
88
66274218
AJ
892012-05-21 Andreas Jaeger <aj@suse.de>
90
07c58f8f
AJ
91 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
92 * sunrpc/svc_simple.c: Use it for registerrpc.
93 * sunrpc/xcrypt.c: Use it for passwd2des.
94
66274218
AJ
95 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
96
61f65140
L
972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
98
99 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
100 Don't define if [__SYSCALL_WORDSIZE != 32].
101 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
102 New macro.
103
5fefb436
AJ
1042012-05-21 Bruno Haible <bruno@clisp.org>
105 Andreas Jaeger <aj@suse.de>
106
107 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
108 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
109 inptr and inend for must_buffer_ch.
110 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
111 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
112 * stdio-common/Makefile (tests): Remove bug15.
113 (bug15-ENV): Remove macro.
114 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
115 anymore.
116
d8e272ab
AJ
1172012-05-19 Andreas Jaeger <aj@suse.de>
118 Roland McGrath <roland@hack.frob.com>
119
120 * manual/contrib.texi: Completely rewritten. It contains now an
121 alphabetical list of contributors and their contributions.
122
4a56a162
RH
1232012-05-21 Richard Henderson <rth@twiddle.net>
124
125 * misc/getauxval.c (__getauxval): Use unsigned long int.
126 * misc/sys/auxv.h: Include <sys/cdefs.h>.
127 (getauxval): Use unsigned long int.
128
d024d23c
L
1292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
130
131 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
132
cbc00a03
RM
1332012-05-21 Roland McGrath <roland@hack.frob.com>
134
135 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
136 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
137 __alignof__ (long double).
138
478143fa
AZ
1392012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
140
141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
142
c7683a6d
RH
1432012-05-20 Richard Henderson <rth@twiddle.net>
144
145 * misc/getauxval.c: New file.
146 * misc/sys/auxv.h: New file.
147 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
148 (routines): Add getauxval.
149 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
150 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
151 * elf/dl-sysdep.c (_dl_auxv): Remove.
152 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
153 * elf/dl-support.c (_dl_auxv): New variable.
154 (_dl_aux_init): Initialize it.
155 * manual/startup.texi (Auxiliary Vector): New node.
156 * sysdeps/generic/bits/hwcap.h: New file.
157 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
158 * sysdeps/powerpc/sysdep.h: ... here. Include it.
159 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
160 * sysdeps/sparc/sysdep.h: ... here. Include it.
161 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
162 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
164 Update.
c7683a6d
RH
165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
168 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
173
a6f1845d
AZ
1742012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
175
176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
177
cbcbe830
DM
1782012-05-19 David S. Miller <davem@davemloft.net>
179
180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
181
e0b16cc2
JM
1822012-05-19 Joseph Myers <joseph@codesourcery.com>
183
184 [BZ #14123]
185 * math/s_ccosh.c: Include <float.h>
186 (__ccosh): Avoid internal overflow calculating sinh and cosh
187 values before multiplying by sin and cos values.
188 * math/s_ccoshf.c: Likewise.
189 * math/s_ccoshl.c: Likewise.
190 * math/s_csin.c: Likewise.
191 * math/s_csinf.c: Likewise.
192 * math/s_csinl.c: Likewise.
193 * math/s_csinh.c: Likewise.
194 * math/s_csinhf.c: Likewise.
195 * math/s_csinhl.c: Likewise.
196 * math/libm-test.inc (ccos_test): Add more tests.
197 (ccosh_test): Likewise.
198 (csin_test): Likewise.
199 (csinh_test): Likewise.
200 * sysdeps/i386/fpu/libm-test-ulps: Update.
201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
202
6ad13e08
L
2032012-05-19 H.J. Lu <hongjiu.lu@intel.com>
204
f66f0ce8
L
205 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
206 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
207
6ad13e08
L
208 * sysdeps/x86_64/x32/_itoa.h: Add comment.
209
b1d072a7
JM
2102012-05-19 Joseph Myers <joseph@codesourcery.com>
211
212 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
213 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
214 * sysdeps/powerpc/soft-fp/Versions: Likewise.
215 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
216 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
217 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
218 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
219 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
220 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
221 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
222 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
223 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
224 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
225 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
226 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
227 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
228 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
229 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
230 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
231 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
232 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
233 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
234 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
235 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
236 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
237 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
238 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
239 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
240 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
241 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
242 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
243
9eae47cb
AJ
2442012-05-18 Andreas Jaeger <aj@suse.de>
245
246 * csu/.gitignore: Delete.
247
bb07f69f
L
2482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
249
250 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
251 (timex): Use __syscall_slong_t.
252
e6bdb741
AJ
2532012-05-18 Andreas Jaeger <aj@suse.de>
254 Carlos O'Donell <carlos_odonell@mentor.com>
255
256 * manual/install.texi (Configuring and compiling): Update
257 description about files modified in the source directory.
258 * INSTALL: Regenerated.
259
1b74487e
L
2602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
261
262 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
263 value. Use "or" to set return value to -1.
264 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
265 negate return value.
266
a88b64b9
TMQMF
2672012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
268
269 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
270 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
271 failure if the compiler has Graphite support disabled.
272 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
273 Likewise.
274 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
275 CFLAGS-memmove.c): Likewise.
276 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
277 Likewise.
278
3707636e
L
2792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
280
610b8622
L
281 * sysdeps/x86_64/x32/_itoa.h: New file.
282
7cd195df
L
283 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
284 getdents system call only if kernel and user dirents have the
285 same d_ino and d_off.
286
94b07d20
L
287 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
288 LLONG_MAX != LONG_MAX.
289 (_itoa_word): Use _ITOA_WORD_TYPE on value.
290 (_fitoa_word): Likewise.
291
18298070
L
292 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
293 years.
294 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
295 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
296 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
297
553c7ea4
L
298 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
299 include <bits/wordsize.h>. Check __x86_64__ instead of
300 __WORDSIZE.
301 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
302 if __x86_64__ is defined. Use anonymous union on fpstate.
303
3707636e
L
304 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
305 anonymous union.
306
b53ef01a
AS
3072012-05-18 Andreas Schwab <schwab@linux-m68k.org>
308
37fb1dc0
AS
309 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
310 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
311 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
312 Refer to _rtld_local_ro instead of _rtld_global_ro.
313 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
314 Likewise.
315 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
316 Likewise.
317 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
318 Likewise.
319 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
320 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
321 of _rtld_global, and rtld_progname instead of _dl_argv[0].
322
b53ef01a
AS
323 * sysdeps/powerpc/powerpc32/dl-machine.c
324 (__elf_machine_runtime_setup) [PROF]: Don't reference
325 _dl_prof_resolve.
326
7a185db2
AJ
3272012-05-18 Andreas Jaeger <aj@suse.de>
328
329 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
330 function only available for GCCs before 3.4 since GCC 3.4
331 introduced a builtin.
332 (lrint): Likewise.
333 (llrintf): Likewise.
334 (llrint): Likewise.
335 (fmaxf): Likewise.
336 (fmax): Likewise.
337 (fminf): Likewise.
338 (fmin): Likewise.
339 (rint): Likewise.
340 (rintf): Likewise.
341 (nearbyint): Likewise.
342 (nearbyintf): Likewise.
343 (ceil): Likewise.
344 (ceilf): Likewise.
345 (floor): Likewise.
346 (floorf): Likewise.
347
3e5aef87
L
3482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
349
428bd707
L
350 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
351 on both fields and cast pointer to __syscall_ulong_t.
352
3e5aef87
L
353 * bits/types.h (__fsword_t): New type.
354 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
355 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
356 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
357 (__FSWORD_T_TYPE): Likewise.
358 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
359 (__FSWORD_T_TYPE): Likewise.
360 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
361 (__FSWORD_T_TYPE): Likewise.
362 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
363 (__FSWORD_T_TYPE): Likewise.
364 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
365 __SWORD_TYPE with __fsword_t.
366 (statfs64): Likewise.
367
1ba7c3dc
DM
3682012-05-17 David S. Miller <davem@davemloft.net>
369
370 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
371
59910343
AJ
3722012-05-17 Andreas Jaeger <aj@suse.de>
373
374 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
375 warning.
376
2e4c1e9e
L
3772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
378
379 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
380
de7f5ce7
AJ
3812012-05-17 Andreas Jaeger <aj@suse.de>
382
383 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
384 when it is used.
385
286abc3d
CM
3862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
387
388 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
389
477cc68e
L
3902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
391
392 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
393 * sysdeps/x86_64/tst-mallocalign1.c: New file.
394
1a0994f5
CD
3952012-05-17 Andreas Jaeger <aj@suse.de>
396 Carlos O'Donell <carlos_odonell@mentor.com>
397
398 [BZ #14059]
399 * sysdeps/x86_64/multiarch/init-arch.h
400 (bit_YMM_Usable): Rename to...
401 (bit_AVX_Usable): ... this.
402 (bit_FMA4_Usable): New macro.
403 (bit_XMM_state): New macro.
404 (bit_YMM_state): New macro.
405 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
406 [__ASSEMBLER__] (index_AVX_Usable): ... this.
407 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
408 (CPUID_OSXSAVE): New macro.
409 (CPUID_AVX): New macro.
410 (CPUID_FMA4): New macro.
411 (index_YMM_Usable): Rename to...
412 (index_AVX_Usable): ... this.
413 (HAS_AVX): Use HAS_ARCH_FEATURE.
414 (HAS_FMA4): Likewise.
415 (HAS_YMM_USABLE): Remove.
416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
417 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
418 are present.
419 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
420 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
421 * sysdeps/x86_64/multiarch/Makefile: Likewise.
422 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
423 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
424
0af797de
CM
4252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
426
427 * math/libm-test.c: Support platforms without multiple rounding modes.
428 * math/bug-nextafter.c: Support platforms without FP exceptions.
429 * math/bug-nexttoward.c: Likewise.
430 * math/test-fenv.c: Likewise.
431 * math/test-misc.c: Likewise.
432 * stdlib/bug-getcontext.c: Likewise.
433
e39745ff
AJ
4342012-05-17 Andreas Jaeger <aj@suse.de>
435
436 * manual/examples/search.c (critter_cmp): Change signature to
437 avoid warnings.
438 * manual/string.texi (Collation Functions): Likewise.
439
48970aba
L
4402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
441
442 * bits/types.h: Fold copyright years.
443 * bits/typesizes.h: Likewise.
444 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
445 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
446 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
448 * time/time.h: Likewise.
449
bedee953
PP
4502012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
451
452 [BZ #208]
453 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
454 in instead of returning them. Return void.
455 (__libc_mallinfo): Accumulate over all arenas.
456 (__malloc_stats): Adjust for change in int_mallinfo interface.
457
61653dfb
RM
4582012-05-16 Roland McGrath <roland@hack.frob.com>
459
30b99d79
RM
460 [BZ #10375]
461 * configure.in (NM): Add AC_CHECK_TOOL for it.
462 (libc_extra_cflags): New substituted variable.
463 Check for -fstack-protector being used implicitly.
464 * configure: Regenerated.
465 * config.make.in (config-extra-cflags): New variable,
466 gets @libc_extra_cflags@.
467 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
468
61653dfb
RM
469 [BZ #10375]
470 * configure.in: Check for _FORTIFY_SOURCE being predefined.
471 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
472 * configure: Regenerated.
473 * config.make.in (CPPUNDEFS): New substituted variable.
474 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
475 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
476 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
477
661768bb
L
4782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
479
480 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
481 (mq_attr): Use __syscall_slong_t.
482
d4261567
L
4832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
484
485 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
486 Check __x86_64__ instead of __WORDSIZE.
487 (_STAT_VER_LINUX): Likewise.
488 (stat): Check __x86_64__ instead of __WORDSIZE. Use
489 __syscall_ulong_t and __syscall_slong_t.
490 (stat64): Likewise.
491
cf3ff365
L
4922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
493
494 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
495
76cf3e4d
L
4962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
497
498 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
499
a637753a
L
5002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
501
502 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
503 __syscall_ulong_t.
504
d5e05119
L
505 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
506 include <bits/wordsize.h>. Check __x86_64__ instead of
507 __WORDSIZE.
508 (greg_t): Use "__extension__ long long int" if __x86_64__ is
509 defined.
510 (mcontext_t): Replace "unsigned long" with "unsigned long long".
511
f62ee380
L
512 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
513 include <bits/wordsize.h>. Check __x86_64__ instead of
514 __WORDSIZE.
515 (user_regs_struct): Use "__extension__ unsigned long long"
516 instead of "unsigned long" if __x86_64__ is defined.
517 (user): Likewise. Pad after pointer field if __ILP32__ is
518 defined.
519
4e124ced
JM
5202012-05-16 Joseph Myers <joseph@codesourcery.com>
521
6a3951a0
JM
522 * configure.in (makeinfo): Require version 4.5 or later. Allow
523 versions 5 to 9.
524 * configure: Regenerated.
525 * manual/install.texi (texinfo): Increase version requirement to
526 4.5 or later.
527 * INSTALL: Regenerated.
528
4e124ced
JM
529 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
530
953ca31a
L
5312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
532
533 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
534
617aca05
L
535 * sysdeps/x86_64/x32/ffs.c: New file.
536
5762f7ae
L
537 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
538 __syscall_ulong_t.
539 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
540 defined. Use __syscall_ulong_t.
541 (shminfo): Use __syscall_ulong_t.
542 (shm_info): Likewise.
543
a26b6856
L
544 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
545 __syscall_ulong_t.
546
cb2b9ef7
L
547 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
548 <bits/wordsize.h>.
549 (msgqnum_t): Use __syscall_ulong_t.
550 (msglen_t): Likewise.
551 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
552 __syscall_ulong_t.
553
34683bb0
L
554 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
555 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
556
84a68786
L
557 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
558
48baa5f1
L
559 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
560 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
561
180be88b
L
562 * sysvipc/sys/msg.h (msgbuf): Replace long int with
563 __syscall_slong_t.
564
5e90c8ad
L
565 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
566 include <bits/wordsize.h>. Check __x86_64__ instead of
567 __WORDSIZE.
568
23dfb58b
L
569 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
570 "unsigned long long int" if __x86_64__ is defined.
571 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
572
ce5d54b0
L
573 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
574 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
575 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
576
13dc9eac
L
577 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
578 <stdint.h>.
579 (GET_PC): Cast to uintptr_t first.
580 (GET_FRAME): Likewise.
581 (GET_STACK): Likewise.
582
a7895d15
L
583 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
584 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
585 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
586 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
587 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
588 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
589 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
590 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
591 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
593 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
594 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
595 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
596 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
597 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
598 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
599 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
600 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
601 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
602 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
603 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
604 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
605 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
606 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
607 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
608 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
609 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
610 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
611 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
612
656416c9
AS
6132012-05-16 Andreas Schwab <schwab@linux-m68k.org>
614
5bd66283
AS
615 * Makerules (+depfiles): Also collect depfiles from .oS in
616 $(extra-objs).
617 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
618 .oS, $(libnldbl-routines)).
619
656416c9
AS
620 * Makerules (native-compile-mkdep-flags): Define.
621 * sunrpc/Makefile (extra-objs): Add $(addprefix
622 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
623 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
624 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
625 calling $(make-target-directory).
626
a46f2169
L
6272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
628
629 * bits/types.h (__snseconds_t): Removed.
630 * time/time.h (struct timespec): Replace __snseconds_t with
631 __syscall_slong_t.
632 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
633 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
634 Likewise.
635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
636 (__SNSECONDS_T_TYPE): Likewise.
637 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
638 (__SNSECONDS_T_TYPE): Likewise.
639 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
640 (__SNSECONDS_T_TYPE): Likewise.
641
6af6528b
L
6422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
643
644 * sysdeps/mach/hurd/bits/typesizes.h
645 (__SYSCALL_SLONG_TYPE): New macro.
646 (__SYSCALL_ULONG_TYPE): Likewise.
647
de986b56
L
6482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
649
650 * bits/types.h (__syscall_slong_t): New type.
651 (__syscall_ulong_t): Likewise.
652
653 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
654 (__SYSCALL_ULONG_TYPE): Likewise.
655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
656 (__SYSCALL_SLONG_TYPE): Likewise.
657 (__SYSCALL_ULONG_TYPE): Likewise.
658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
659 (__SYSCALL_SLONG_TYPE): Likewise.
660 (__SYSCALL_ULONG_TYPE): Likewise.
661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
662 (__SYSCALL_SLONG_TYPE): Likewise.
663 (__SYSCALL_ULONG_TYPE): Likewise.
664
85736dc7
L
6652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
666
667 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
668 Add sigaltstack-offsets.sym.
669 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
670 <sigaltstack-offsets.h>.
671 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
672 longjmp_msg pointer.
673 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
674 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
675 signal stack.
676 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
677
cc03b296
JM
6782012-05-15 Joseph Myers <joseph@codesourcery.com>
679
a9538892
JM
680 * elf/stackguard-macros.h: Remove file.
681 * sysdeps/generic/stackguard-macros.h: New file.
682 * sysdeps/i386/stackguard-macros.h: Likewise.
683 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
684 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
685 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
686 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
687 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
688 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
689 * sysdeps/x86_64/stackguard-macros.h: Likewise.
690 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
691 <elf/stackguard-macros.h>.
692
cc03b296
JM
693 [BZ #14109]
694 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
695 __aligned__ in attribute.
696 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
697 (gregset_t): Likewise.
698
93171016
L
6992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
700
701 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
702 * sysdeps/x86_64/64/Implies-after: Here. New file.
703 * sysdeps/x86_64/x32/Implies-after: New file.
704
d86813a0
L
7052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
706
707 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
708 and access return value for _dl_profile_fixup. Use R10_LP to
709 load frame size.
710
2953ec75
L
7112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
712
713 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
714
3b550e9e
L
7152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
716
717 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
718 * sysdeps/x86_64/x32/sysdep.h: New file.
719
eda41706
L
7202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
721
722 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
723 * sysdeps/x86_64/setjmp.S: Likewise.
724
9ea01d93
AZ
7252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
726
727 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
728 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
729 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
730 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
731 remove unused global constant.
732
02a91938
CM
7332012-05-15 Chris Metcalf <cmetcalf@tilera.com>
734
735 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
736 include of <not-cancel.h>.
737
6540185f
RM
7382012-05-15 Roland McGrath <roland@hack.frob.com>
739
740 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
741
509072a0
AJ
7422012-05-15 Jeff Law <law@redhat.com>
743 Andreas Jaeger <aj@suse.de>
744
745 [BZ #13594]
746 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
747 out from...
748 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
749 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
750 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
751 code changing __hst_map_handle.map.
752
ba75122d
RM
7532012-05-15 Roland McGrath <roland@hack.frob.com>
754
755 * configure.in (sysnames): Look for Implies-before and Implies-after
756 files.
757 * configure: Regenerated.
758
890d8bd8
L
7592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
760
761 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
762 8-byte data alignment with LP_SIZE alignment.
763
f6ee6623
L
7642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
765
766 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
767 into R10_LP.
768
ea2626f6
L
7692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
770
771 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
772
085f715e
L
7732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
774
775 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
776 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
777 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
778 Likewise.
779 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
780
be8498fc
L
7812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
782
783 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
784 (stackinfo_sub_sp): Likewise.
785
70bc83b9
L
7862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
787
788 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
789 RAX_LP.
790
9bc0b730
L
7912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
792
793 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
794 into R*_LP.
795
6d2850e7
L
7962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
797
798 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
799 sizes into R*_LP.
800
3cb84561
L
8012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
802
803 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
804
54e2ed81
L
8052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
806
807 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
808 into R11_LP and load __x86_64_shared_cache_size_half into
809 R8_LP.
810
8a17f349
L
8112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
812
813 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
814 R8_LP.
815
777b1eea
AZ
8162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
817
818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
819 logb for POWER7.
820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
821 logbf for POWER7.
822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
823 logbl for POWER7.
824 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
825 powerpc32/power7/fpu/s_logb.c via #include.
826 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
827 powerpc32/power7/fpu/s_logbf.c via #include.
828 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
829 powerpc32/power7/fpu/s_logbl.c via #include.
830
d20d4ac2
JM
8312012-05-15 Joseph Myers <joseph@codesourcery.com>
832
833 * README.libm: Remove file.
834
6cdef1ab
L
8352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
836
837 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
838 count for x32. Use R*_LP and omit operand-size suffix.
839
0b254d8f
L
8402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
841
842 * shlib-versions: Move x86_64-.*-linux.* entries to ...
843 * sysdeps/x86_64/64/shlib-versions: Here. New file.
844 * sysdeps/x86_64/x32/shlib-versions: New file.
845
ceb809dc
RM
8462012-05-14 Roland McGrath <roland@hack.frob.com>
847
848 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
849 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
850 Use _dl_fatal_printf instead.
851
37f1abd4
JM
8522012-05-14 Joseph Myers <joseph@codesourcery.com>
853
854 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
855 set if not set by the user. Do not allow for being unset.
856 * sysdeps/unix/sysv/linux/configure: Regenerated.
857
11de3a33
L
8582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
859
860 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
861 the `q' suffix from lea and replace .quad with ASM_ADDR.
862
e02f153a
L
8632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
864
865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
866 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
867 instead of $17.
868 (PTR_DEMANGLE): Likewise.
869
520ae0fd
L
8702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
871
872 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
873 (LP_OP): Likewise.
874 (ASM_ADDR): Likewise.
875 (RAX_LP): Likewise.
876 (RBP_LP): Likewise.
877 (RBX_LP): Likewise.
878 (RCX_LP): Likewise.
879 (RDI_LP): Likewise.
880 (RSI_LP): Likewise.
881 (RSP_LP): Likewise.
882 (R8_LP): Likewise.
883 (R9_LP): Likewise.
884 (R10_LP): Likewise.
885 (R10_LP): Likewise.
886 (R11_LP): Likewise.
887 (R12_LP): Likewise.
888 (R13_LP): Likewise.
889 (R14_LP): Likewise.
890 (R15_LP): Likewise.
891
b985be81
L
8922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
893
894 * sysdeps/x86_64/x32/dl-machine.h: New file.
895
6a4888ff
AJ
8962012-05-14 Andreas Jaeger <aj@suse.de>
897
898 * manual/Makefile (subdir): Remove export of subdir.
899 (all): Remove target.
900 (.PHONY): Remove all from list.
901 (mkinstalldirs): Remove.
902 (.PHONY): Remove installdirs from list.
903 ($(inst_infodir)/libc.info): Use make-target-directory.
904 (installdirs): Remove.
905 (subdir_%): Remove.
906 (glibc-targets): Remove.
907 (lib): Remove.
908 (stubs): Remove.
909 ($(objpfx)stubs ../po/manual.pot): Remove.
910 ($(objpfx)stamp%): Remove.
911 (make-target-directory): Remove.
912 (subdir_install): Remove.
913 (routines): Remove.
914 (aux): Remove.
915 (sources): Remove.
916 (objects): Remove.
917 (headers): Remove.
918
919 [BZ #13750]
920 * manual/.gitignore: Remove, it's not needed anymore.
921 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
922 all files in it.
923 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
924 directory.
925 (texis): Renamed to $(objpfx)texis.
926 (texis-path): New, contains path to generated files.
927 (chapters.%): Use texis-path for complete path, add extra argument
928 libc-texinfo.sh.
929 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
930 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
931 (summary,texi, stamp-summary): Use complete path of
932 files. Generate files in build dir.
933 (dir-add.texi): Build in build dir.
934 (libm-err.texi,stamp-libm-err): Likewise.
935 (version.texi, stamp-version): Likewise.
936 (.%c.texi): Likewise.
937 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
938 (mostlyclean): Remove target.
939 (realclean): Remove target.
940 (generated): Add new variable with contents from mostlyclean and
941 realclean, remove entries duplicated in common-mostlyclean, add
942 stamp-libm-err and stamp-version.
943 (generated-dirs): Add libc directory.
944 ($(inst_infodir)/libc.info): Install files from build dir.
945
946 * manual/install.texi (Configuring and compiling): Adjust since
947 the info files are not part of the tar ball anymore.
948
7ac77294
AJ
9492012-05-14 Andreas Jaeger <aj@suse.de>
950
951 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
952 variable.
953
ffb7875d
JM
9542012-05-14 Joseph Myers <joseph@codesourcery.com>
955
956 [BZ #13717]
957 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
958 to 2.2.0 where earlier.
959 * sysdeps/unix/sysv/linux/configure: Regenerated.
960 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
961 Remove conditional code.
962 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
963 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
964 Remove conditional code.
965 [!__NR_lchown]: Likewise.
966 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
967 [__NR_lchown]: Likewise.
968 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
969 comment referencing __ASSUME_LCHOWN_SYSCALL.
970 * sysdeps/unix/sysv/linux/i386/sigaction.c
971 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
972 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
973 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
974 Remove conditional code.
975 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
976 (__protocol_available): Remove #if 0 code.
977 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
978 conditional code.
979 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
980 * sysdeps/unix/sysv/linux/kernel-features.h
981 (__ASSUME_GETCWD_SYSCALL): Don't define.
982 (__ASSUME_REALTIME_SIGNALS): Likewise.
983 (__ASSUME_PREAD_SYSCALL): Likewise.
984 (__ASSUME_PWRITE_SYSCALL): Likewise.
985 (__ASSUME_POLL_SYSCALL): Likewise.
986 (__ASSUME_LCHOWN_SYSCALL): Likewise.
987 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
988 non-SPARC.
989 (__ASSUME_SIOCGIFNAME): Don't define.
990 (__ASSUME_MSG_NOSIGNAL): Likewise.
991 (__ASSUME_SENDFILE): Define unconditionally.
992 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
993 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
994 conditional code.
995 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
996 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
997 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
998 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
999 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1000 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1001 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1003 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1004 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1006 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1009 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1010 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1012 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1013 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1015 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1018 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1021 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1024 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1026 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1027 Remove conditional code.
1028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1029 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1030 Remove conditional code.
1031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1032 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1033 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1034 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1035 Remove conditional code.
1036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1037 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1038 Remove conditional code.
1039 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1040 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1041 Remove conditional code.
1042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1043 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1044 Remove conditional code.
1045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1046 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1047 Remove conditional code.
1048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1049 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1052 * sysdeps/unix/sysv/linux/sigaction.c
1053 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1054 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1055 * sysdeps/unix/sysv/linux/sigpending.c
1056 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1057 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1058 * sysdeps/unix/sysv/linux/sigprocmask.c
1059 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1060 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1061 * sysdeps/unix/sysv/linux/sigsuspend.c
1062 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1063 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1064 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1065 (__libc_missing_rt_sigs): Remove.
1066 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1067 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1068 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1069 Remove conditional code.
1070 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1071 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1072 return 1.
1073 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1074 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1075 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1076 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1077
1bfb7291
AJ
10782012-05-14 Andreas Jaeger <aj@suse.de>
1079
caae5a81
AJ
1080 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1081 it's not used in glibc.
1082 (__coshm1): Likewise.
1083 (__acosh1p): Likewise.
1084 (__sgn): Likewise.
1085
1bfb7291
AJ
1086 * manual/string.texi (Copying and Concatenation): Add missing
1087 variable in concat example.
1088 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1089
c044d724
L
10902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1091
144c5467 1092 [BZ #14103]
c044d724
L
1093 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1094 __builtin_clzl with __builtin_clzll.
1095
2523c62b
L
10962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1097
1098 [BZ #14104]
1099 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1100 libc_freeres_ptr.
1101
d7bb4c42
LD
11022012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1103
1104 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1105 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1106 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1107 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1108
9dc4e1fb
MF
11092012-05-14 Mike Frysinger <vapier@gentoo.org>
1110
1111 * NEWS: Update ia64 info.
1112
c7df0112
AS
11132012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1114
1115 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1116 used as bcopy.
1117
dc70356c
TS
11182012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1119
1120 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1121 * sysdeps/unix/syscalls.list (dup3): Likewise.
1122 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1123 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1124
9fb1a21f
L
11252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1126
1127 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1128 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1129
4822a2a5
L
11302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1131
1132 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1133 thread pointer.
1134 (TLS_IE): Use mov/add instead of movq/addq to load thread
1135 pointer.
1136 (TLS_GD_PREFIX): New.
1137 (TLS_GD): Use it.
1138
842b81d6
DM
11392012-05-11 David S. Miller <davem@davemloft.net>
1140
1141 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1142 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1143 (_FPU_SETCW): Likewise.
1144
1cf463cd
L
11452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1148 is 32-byte aligned.
1149
60cc4a18
AS
11502012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1151
1152 [BZ #11837]
1153 * iconvdata/gb18030.c: Update tables.
1154 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1155 characters specially.
1156 (BODY for TO_LOOP): Add encoding of missing ranges.
1157
febb44a4
TS
11582012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1159
1160 [BZ #13673]
1161 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1162 * sysdeps/mach/hurd/dup3.c: Likewise.
1163 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1164 * sysdeps/powerpc/memmove.c:: Likewise.
1165
0a10fb9e
L
11662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1167
1168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1169 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1170
df8a552f
L
11712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1172
1173 * elf/elf.h (R_X86_64_RELATIVE64): New.
1174 (R_X86_64_NUM): Updated.
1175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1176 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1177 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1178 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1179 tst-quad1pie tst-quad2pie
1180 (modules-names): Add tst-quadmod1 tst-quadmod2.
1181 ($(objpfx)tst-quad1): New dependency.
1182 ($(objpfx)tst-quad2): Likewise.
1183 ($(objpfx)tst-quad1pie): Likewise.
1184 ($(objpfx)tst-quad2pie): Likewise.
1185 * sysdeps/x86_64/tst-quad1.c: New file.
1186 * sysdeps/x86_64/tst-quad1pie.c: New file.
1187 * sysdeps/x86_64/tst-quad2.c: Likewise.
1188 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1189 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1190 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1191 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1192 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1193
f34d6f84
ST
11942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1195
f42d41d1
ST
1196 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1197 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1198 * streams/stropts.h (t_scalar_t): Define type.
1199
3c3571fc
ST
1200 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1201 (_PATH_PRESERVE): Set to "/var/lib".
1202 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1203
61f06bd3
ST
1204 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1205 instead of int.
1206
918d4d71
ST
1207 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1208 if __dir_mkfile succeeded.
1209
f34d6f84
ST
1210 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1211 checking for _hurd_dtablesize. Unlock it right after having
1212 finished _hurd_dtable allocation.
1213
10589b4a
TS
12142012-05-10 Thomas Schwinge <thomas@schwinge.name>
1215
674cdbc7
TS
1216 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1217 * sysdeps/mach/hurd/configure: Regenerated.
1218 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1219 special-casing to...
1220 * sysdeps/gnu/configure.in: ... this new file.
1221 * sysdeps/unix/sysv/linux/configure: Regenerated.
1222 * sysdeps/gnu/configure: New generated file.
1223
8e41b99f
TS
1224 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1225 for Linux: use nsec instead of usec, as well as:
1226 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1227 members of type struct timespec.
1228 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1229 New macros.
1230 (struct stat64): Likewise.
1231 (_STATBUF_ST_NSEC): New macro.
1232 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1233
10589b4a
TS
1234 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1235 __strtoul_internal rather than strtoul.
1236
63643c85
PT
12372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1238
1239 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1240 and reject them.
1241
3faebe6a
ST
12422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1243
1244 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1245 which preserves existing values.
1246 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1247
c6474b07
PT
12482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1249
1250 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1251 TIMEOUT values. Return EINVAL for NFDS values either negative or
1252 greater than FD_SETSIZE.
1253
1043890b
ST
12542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1255
1256 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1257 allocated, call __vm_protect to finish enabling the existing space, and
1258 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1259 allocate the remainder.
1260
37ed8b9b
PT
12612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1262
1263 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1264 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1265
db653660
ST
12662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1267
37ed8b9b
PT
1268 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1269 sysdeps/mach/hurd/readlink.c.
b29d4053 1270
db653660
ST
1271 * posix/tst-sysconf.c (posix_options): Only use
1272 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1273 _POSIX_SYNCHRONIZED_IO when they are defined
1274 * sysdeps/mach/hurd/bits/posix_opt.h:
1275 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1276 (_XOPEN_REALTIME): Undefine macro.
1277 (_XOPEN_REALTIME_THREADS): Undefine macro.
1278 (_XOPEN_SHM): Undefine macro.
1279 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1280 macro to -1.
1281 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1282 macro to -1.
1283 (_POSIX_ASYNC_IO): Undefine macro.
1284 (_POSIX_PRIORITIZED_IO): Undefine macro.
1285 (_POSIX_SPIN_LOCKS): Define macro to -1.
1286
ee16e894
ST
1287 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1288 SA_NODEFER, SA_RESETHAND.
1289 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1290 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1291 F_DUPFD_CLOEXEC.
1292
6103ae3b
TS
12932012-05-10 Thomas Schwinge <thomas@schwinge.name>
1294
1295 * elf/Makefile (pldd-modules): Define unconditionally.
1296
80b4e5f3
TS
12972012-05-10 Thomas Schwinge <thomas@schwinge.name>
1298
1299 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1300
edadcbd6
ST
13012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1302
1303 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1304 Return ENOENT when name is empty.
1305 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1306
80694780
TS
13072012-05-10 Thomas Schwinge <thomas@schwinge.name>
1308
1792c087
TS
1309 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1310
80694780
TS
1311 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1312
6b645f0d
ST
13132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1314
80694780
TS
1315 Fix mlock in all cases except non-readable pages.
1316 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1317 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1318
6b645f0d
ST
1319 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1320 (__mkdir): When path is `/', just fail with EEXIST.
1321 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1322
e468f8a3
TS
13232012-05-10 Thomas Schwinge <thomas@schwinge.name>
1324
1325 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1326 <sys/uio.h> (for writev).
1327 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1328 and <sys/param.h> (for MIN).
1329
a4186cff
PT
13302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1331
1332 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1333 REQUESTED_TIME. Properly set the remaining time and return EINTR
1334 if interrupted.
1335
510bbf14
TS
13362012-05-10 Thomas Schwinge <thomas@schwinge.name>
1337
1338 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1339 Depend on against $(link-rpcuserlibs).
1340
5d5722e8
ST
13412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1342
a4186cff
PT
1343 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1344 (__libc_stack_end): Do not use attribute_relro.
1345 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1346 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1347 to libthread-provided value.
a4186cff
PT
1348 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1349 attribute_relro.
5d5722e8 1350
37233df9
TS
13512012-05-10 Thomas Schwinge <thomas@schwinge.name>
1352
be971a2b
TS
1353 [BZ #3748]
1354 * bits/libc-lock.h (__libc_once_get): New macro.
1355 * sysdeps/mach/bits/libc-lock.h: Likewise.
1356 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1357 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1358 instead of using implementation details.
1359
37233df9
TS
1360 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1361 * libio/freopen.c: Likewise.
1362 * libio/freopen64.c: Likewise.
1363 * misc/syslog.c: Likewise.
1364 * nscd/connections.c: Likewise.
1365 * nscd/netgroupcache.c: Likewise.
1366 * sysdeps/posix/getcwd.c: Likewise.
1367
38de94a5
RM
13682012-05-10 Roland McGrath <roland@hack.frob.com>
1369
1370 * math/w_ilogbf.c: Add #include <limits.h>.
1371
67530489
ST
13722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1373
a4186cff 1374 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1375 path instead of returning without unlocking.
1376
67530489
ST
1377 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1378 immediate-write ioctls.
1379 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1380
5aa3a74a
TS
13812012-05-10 Thomas Schwinge <thomas@schwinge.name>
1382
18bad2ae
TS
1383 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1384 __builtin_frame_address instead of making assumptions about the
1385 location of the return address relative to DATA. Force early load of
1386 the return address.
1387 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1388 __builtin_frame_address.
1389
5aa3a74a
TS
1390 dup3 for GNU Hurd.
1391 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1392 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1393 implement dup3 and do some further code clean-ups.
1394 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1395 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1396
ecd0de9a
ST
13972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1398
cd9fa985
ST
1399 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1400
a4186cff
PT
1401 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1402 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1403 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1404 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1405 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1406 d->port.lock.
802ca5a5 1407
a4186cff
PT
1408 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1409 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1410 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1411
bcf55240
TS
14122012-05-10 Thomas Schwinge <thomas@schwinge.name>
1413
6960eb42
TS
1414 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1415 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1416 definitions.
1417
eb43375f
TS
1418 accept4 for GNU Hurd.
1419 * include/sys/socket.h (__libc_accept4): New prototype.
1420 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1421 to implement __libc_accept4.
1422 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1423 __libc_accept4.
1424 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1425
bcf55240
TS
1426 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1427 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1428 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1429 signal-defines.sym.
1430
6178c55b
ST
14312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1432
a4186cff 1433 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1434
6f080c2f
TS
14352012-05-10 Thomas Schwinge <thomas@schwinge.name>
1436
1437 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1438 assertion on O_CLOEXEC flag.
1439 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1440 * hurd/intern-fd.c: Likewise.
1441 * hurd/port2fd.c: Likewise.
1442
bcfe3a54
ST
14432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1444
1445 [BZ #3906]
1446 * bits/in.h (IPV6_PKTINFO): Define new macro.
1447 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1448
89c9aa49
AZ
14492012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450
1451 [BZ #13954]
1452 [BZ #13955]
1453 [BZ #13956]
1454 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1455 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1456 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1457 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1459 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1460 * math/libm-test.inc (logb_test) : Additional logb tests.
1461
021db4be
AJ
14622012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1463 Andreas Jaeger <aj@suse.de>
1464
1465 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1466 * configure: Regenerated.
1467 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1468 * config.make.in (link-obsolete-rpc): New substituted variable.
1469 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1470 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1471 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1472 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1473 so that libc.a contains the symbols.
1474 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1475 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1476 * sunrpc/auth_none.c: Likewise.
1477 * sunrpc/auth_unix.c: Likewise.
1478 * sunrpc/authdes_prot.c: Likewise.
1479 * sunrpc/authuxprot.c: Likewise.
1480 * sunrpc/clnt_gen.c: Likewise.
1481 * sunrpc/clnt_perr.c: Likewise.
1482 * sunrpc/clnt_raw.c: Likewise.
1483 * sunrpc/clnt_simp.c: Likewise.
1484 * sunrpc/clnt_tcp.c: Likewise.
1485 * sunrpc/clnt_udp.c: Likewise.
1486 * sunrpc/clnt_unix.c: Likewise.
1487 * sunrpc/des_crypt.c: Likewise.
1488 * sunrpc/des_soft.c: Likewise.
1489 * sunrpc/get_myaddr.c: Likewise.
1490 * sunrpc/key_call.c: Likewise.
1491 * sunrpc/key_prot.c: Likewise.
1492 * sunrpc/netname.c: Likewise.
1493 * sunrpc/pm_getmaps.c: Likewise.
1494 * sunrpc/pm_getport.c: Likewise.
1495 * sunrpc/pmap_clnt.c: Likewise.
1496 * sunrpc/pmap_prot.c: Likewise.
1497 * sunrpc/pmap_prot2.c: Likewise.
1498 * sunrpc/pmap_rmt.c: Likewise.
1499 * sunrpc/publickey.c: Likewise.
1500 * sunrpc/rpc_cmsg.c: Likewise.
1501 * sunrpc/rpc_common.c: Likewise.
1502 * sunrpc/rpc_dtable.c: Likewise.
1503 * sunrpc/rpc_prot.c: Likewise.
1504 * sunrpc/rpc_thread.c: Likewise.
1505 * sunrpc/rtime.c: Likewise.
1506 * sunrpc/svc.c: Likewise.
1507 * sunrpc/svc_auth.c: Likewise.
1508 * sunrpc/svc_raw.c: Likewise.
1509 * sunrpc/svc_run.c: Likewise.
1510 * sunrpc/svc_tcp.c: Likewise.
1511 * sunrpc/svc_udp.c: Likewise.
1512 * sunrpc/svc_unix.c: Likewise.
1513 * sunrpc/svcauth_des.c: Likewise.
1514 * sunrpc/xcrypt.c: Likewise.
1515 * sunrpc/xdr.c: Likewise.
1516 * sunrpc/xdr_array.c: Likewise.
1517 * sunrpc/xdr_float.c: Likewise.
1518 * sunrpc/xdr_intXX_t.c: Likewise.
1519 * sunrpc/xdr_mem.c: Likewise.
1520 * sunrpc/xdr_rec.c: Likewise.
1521 * sunrpc/xdr_ref.c: Likewise.
1522 * sunrpc/xdr_sizeof.c: Likewise.
1523 * sunrpc/xdr_stdio.c: Likewise.
1524
b5c086a2
RM
15252012-05-10 Roland McGrath <roland@hack.frob.com>
1526
1527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1528 change. Update copyright years.
1529
6d74dd09
JM
15302012-05-10 Joseph Myers <joseph@codesourcery.com>
1531
1532 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1533
28e72501
MK
15342012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1535 Joseph Myers <joseph@codesourcery.com>
1536 Paul Pluzhnikov <ppluzhnikov@google.com>
1537
1538 [BZ #14012]
1539 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1540 requiring rpcgen.
1541 [cross-compiling] (extra-libs): Likewise.
1542 [cross-compiling] (extra-libs-others): Likewise.
1543 [cross-compiling] (librpcsvc-routines): Likewise.
1544 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1545 [cross-compiling] (omit-deps): Likewise.
1546 (sunrpc-CPPFLAGS): New variable.
1547 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1548 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1549 (cross-rpcgen-objs): New variable.
1550 (extra-objs): Append $(cross-rpcgen-objs).
1551 ($(cross-rpcgen-objs)): New rule.
1552 ($(objpfx)cross-rpcgen): Likewise.
1553 (rpcgen-cmd): Define to use $(built-program-file). Expand
1554 comment.
1555 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1556 ($(objpfx)x%.stmp): Likewise.
1557 * sunrpc/proto.h [IS_IN_build] (_): Define.
1558 [IS_IN_build] (_libc_intl_domainname): Likewise.
1559
c8c59454
L
15602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1561
1562 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1563 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1564 and R_X86_64_TPOFF64.
1565
6f27cd16
JM
15662012-05-10 Joseph Myers <joseph@codesourcery.com>
1567
1568 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1569 sysdeps/unix/sysv/syscalls.list.
1570 (stime): Likewise.
1571 (utime): Likewise.
1572 * sysdeps/unix/sysv/syscalls.list: Remove file.
1573
02467e1c
PE
15742012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1575
1576 [BZ #3440]
1577 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1578 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1579 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1580 (__LC_IDENTIFICATION): Make these macros useful in #if
1581 expressions, as required by C99.
1582
da392631
AS
15832012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1584
1585 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1586 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1587 after this.
1588
8115f29b
L
15892012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1590
1591 * stdlib/longlong.h: Updated from GCC.
1592
bdd74070
AJ
15932012-05-09 Andreas Jaeger <aj@suse.de>
1594
edfe0dbe
AJ
1595 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1596 default is first entry.
1597 (run_mode): Set type.
1598 (main): Remove informal message about syslog.
1599 (options): Fix typo.
1600
bcfe3a54
ST
1601 [BZ #14053]
1602 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1603 to asm.
bcfe3a54
ST
1604 (lrint): Likewise.
1605 (llrintf): Likewise.
1606 (llrint): Likewise.
1607 (rint): Likewise.
1608 (rintf): Likewise.
1609 (nearbyint): Likewise.
1610 (nearbyintf): Likewise.
bdd74070 1611
91d8d69e
AJ
16122012-05-09 Andreas Jaeger <aj@suse.de>
1613 Pedro Alves <palves@redhat.com>
1614
1615 * nscd/nscd.c (run_mode): Use enum.
1616 (main): Cleanup coding style issue.
1617
bb90b80b
AJ
16182012-05-09 Alexandre Oliva <aoliva@redhat.com>
1619 Andreas Jaeger <aj@suse.de>
1620
bcfe3a54
ST
1621 * nscd/nscd.c (go_background): Replaced with...
1622 (run_mode): ... this.
bb90b80b 1623 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1624 (options): Add -F --foreground.
1625 (main): Implement it.
1626 (parse_opt): Parse it.
bb90b80b 1627
1a4b75a1
AJ
16282012-05-09 Andreas Jaeger <aj@suse.de>
1629
1630 [BZ #14083]
1631 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1632 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1633 -Wconversion warning.
1634 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1635 Likewise.
1636
b1cc2472
JM
16372012-05-09 Joseph Myers <joseph@codesourcery.com>
1638
1639 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1640 == 0.
1641 (LC_ALL): Use macro-int-constant.
1642 (LC_COLLATE): Likewise.
1643 (LC_CTYPE): Likewise.
1644 (LC_MESSAGES): Likewise.
1645 (LC_MONETARY): Likewise.
1646 (LC_NUMERIC): Likewise.
1647 (LC_TIME): Likewise.
1648 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1649 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1650 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1651 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1652 Specify type.
1653 [C99-based standards] (float_t): Expect type.
1654 [C99-based standards] (double_t): Expect type.
1655 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1656 type.
1657 [C99-based standards] (HUGE_VALL): Likewise.
1658 [C99-based standards] (INFINITY): Likewise.
1659 [C99-based standards] (NAN): Likewise.
1660 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1661 [C99-based standards] (FP_NAN): Likewise.
1662 [C99-based standards] (FP_NORMAL): Likewise.
1663 [C99-based standards] (FP_SUBNORMAL): Likewise.
1664 [C99-based standards] (FP_ZERO): Likewise.
1665 [C99-based standards] (FP_FAST_FMA): Use
1666 optional-macro-int-constant. Specify type. Require == 1.
1667 [C99-based standards] (FP_FAST_FMAF): Likewise.
1668 [C99-based standards] (FP_FAST_FMAL): Likewise.
1669 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1670 [C99-based standards] (FP_ILOGBNAN): Likewise.
1671 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1672 Specify type.
1673 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1674 [C99-based standards] (math_errhandling): Specify type.
1675 [ISO99 || ISO11] (signgam): Do not allow.
1676 [non-C99-based standards] (copysignf): Do not allow.
1677 [non-C99-based standards] (exp2f): Likewise.
1678 [non-C99-based standards] (log2f): Likewise.
1679 [non-C99-based standards] (modff): Allow.
1680 [non-C99-based standards] (erff): Do not allow.
1681 [non-C99-based standards] (erfcf): Likewise.
1682 [non-C99-based standards] (gammaf): Likewise.
1683 [non-C99-based standards] (hypotf): Likewise.
1684 [non-C99-based standards] (j0f): Likewise.
1685 [non-C99-based standards] (j1f): Likewise.
1686 [non-C99-based standards] (jnf): Likewise.
1687 [non-C99-based standards] (lgammaf): Likewise.
1688 [non-C99-based standards] (tgammaf): Likewise.
1689 [non-C99-based standards] (y0f): Likewise.
1690 [non-C99-based standards] (y1f): Likewise.
1691 [non-C99-based standards] (ynf): Likewise.
1692 [non-C99-based standards] (isnanf): Likewise.
1693 [non-C99-based standards] (acoshf): Likewise.
1694 [non-C99-based standards] (asinhf): Likewise.
1695 [non-C99-based standards] (atanhf): Likewise.
1696 [non-C99-based standards] (cbrtf): Likewise.
1697 [non-C99-based standards] (expm1f): Likewise.
1698 [non-C99-based standards] (ilogbf): Likewise.
1699 [non-C99-based standards] (log1pf): Likewise.
1700 [non-C99-based standards] (logbf): Likewise.
1701 [non-C99-based standards] (nextafterf): Likewise.
1702 [non-C99-based standards] (remainderf): Likewise.
1703 [non-C99-based standards] (rintf): Likewise.
1704 [non-C99-based standards] (scalbf): Likewise.
1705 [non-C99-based standards] (copysignl): Likewise.
1706 [non-C99-based standards] (exp2l): Likewise.
1707 [non-C99-based standards] (log2l): Likewise.
1708 [non-C99-based standards] (modfl): Allow.
1709 [non-C99-based standards] (erfl): Do not allow.
1710 [non-C99-based standards] (erfcl): Likewise.
1711 [non-C99-based standards] (gammal): Likewise.
1712 [non-C99-based standards] (hypotl): Likewise.
1713 [non-C99-based standards] (j0l): Likewise.
1714 [non-C99-based standards] (j1l): Likewise.
1715 [non-C99-based standards] (jnl): Likewise.
1716 [non-C99-based standards] (lgammal): Likewise.
1717 [non-C99-based standards] (tgammal): Likewise.
1718 [non-C99-based standards] (y0l): Likewise.
1719 [non-C99-based standards] (y1l): Likewise.
1720 [non-C99-based standards] (ynl): Likewise.
1721 [non-C99-based standards] (isnanl): Likewise.
1722 [non-C99-based standards] (acoshl): Likewise.
1723 [non-C99-based standards] (asinhl): Likewise.
1724 [non-C99-based standards] (atanhl): Likewise.
1725 [non-C99-based standards] (cbrtl): Likewise.
1726 [non-C99-based standards] (expm1l): Likewise.
1727 [non-C99-based standards] (ilogbl): Likewise.
1728 [non-C99-based standards] (log1pl): Likewise.
1729 [non-C99-based standards] (logbl): Likewise.
1730 [non-C99-based standards] (nextafterl): Likewise.
1731 [non-C99-based standards] (remainderl): Likewise.
1732 [non-C99-based standards] (rintl): Likewise.
1733 [non-C99-based standards] (scalbl): Likewise.
1734 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1735 [non-C99-based standards] (FP_*): Do not allow.
1736 [C99-based standards] (FP_*): Change to
1737 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1738 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1739 allow.
1740 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1741 (SIG_ERR): Likewise.
1742 [X/Open-based standards] (SIG_HOLD): Likewise.
1743 (SIG_IGN): Likewise.
1744 (SIGABRT): Use macro-int-constant. Specify type. Require
1745 positive value.
1746 (SIGFPE): Likewise.
1747 (SIGILL): Likewise.
1748 (SIGINT): Likewise.
1749 (SIGSEGV): Likewise.
1750 (SIGTER): Likewise.
1751 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1752 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1753 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1754 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1755 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1756 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1757 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1758 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1759 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1760 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1761 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1762 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1763 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1764 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1765 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1766 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1767 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1768 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1769 [X/Open-based standards] (SIGTRAP): Likewise.
1770 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1771 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1772 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1773 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1774 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1775 allow.
1776
b9f1922d
IW
17772012-05-08 Ian Wienand <ianw@vmware.com>
1778
1779 [BZ #14080]
1780 * time/tzset.c (__tzset_parse_tz): Update default rules for
1781 daylight time changes in the Energy Policy Act of 2005.
1782
1db86e88
AJ
17832012-05-09 Andreas Jaeger <aj@suse.de>
1784
1785 [BZ #13983]
1786 * elf/ldconfig.c (parse_conf): Change string to make clear that
1787 ldconfig only issued a warning if ld.so.conf does not exist.
1788
dee4a4e3
DM
17892012-05-08 David S. Miller <davem@davemloft.net>
1790
ee0db190
DM
1791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1792 movxtod instead of popping the value on the stack.
1793
dee4a4e3
DM
1794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1795
6a43ec98
CD
17962012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1797
1798 * config.h.in: Add HAVE_ARM_PCS_VFP.
1799
05c2c961
RMG
18002012-05-08 Roland Mc Grath <roland@hack.frob.com>
1801
bcfe3a54
ST
1802 [BZ #13979]
1803 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1804 checking but the checks are disabled for any reason.
05c2c961 1805
4b30f61a
L
18062012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1809 and ELF64_R_TYPE with ELFW(R_TYPE).
1810
eee2bc67
JM
18112012-05-08 Joseph Myers <joseph@codesourcery.com>
1812
7ea5391a
JM
1813 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1814 (ulimit): Likewise.
1815
eee2bc67
JM
1816 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1817 (settimeofday): Likewise.
1818
abb66a67
MF
18192012-05-08 Mike Frysinger <vapier@gentoo.org>
1820
1821 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1822 a struct th_u2 inside the union, and move tu_block/tu_code into
1823 a new th_u3 union of tu_block/tu_code inside of that. Move
1824 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1825 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1826 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1827 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1828 (th_stuff): Change to th_u1.tu_stuff.
1829 (th_data): Define.
1830 (th_msg): Change to th_u1.th_u2.tu_data.
1831
7f18b530
DM
18322012-05-07 David S. Miller <davem@davemloft.net>
1833
05760585
DM
1834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1835
7f18b530
DM
1836 [BZ #14074]
1837 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1838 (SETUP_PIC_REG): Use it.
1839 (SETUP_PIC_REG_LEAF): Use it.
1840
495fd99f
JM
18412012-05-07 Joseph Myers <joseph@codesourcery.com>
1842
1843 [BZ #13885]
1844 [BZ #13923]
1845 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1846 USE_AS_EXPM1L.
1847 (EXPL_FINITE): Likewise.
1848 (FLDLOG): Likewise.
1849 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1850 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1851 e_expl.S.
1852 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1853 USE_AS_EXPM1L.
1854 (EXPL_FINITE): Likewise.
1855 (FLDLOG): Likewise.
1856 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1857 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1858 e_expl.S.
1859 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1860 test of -max_value argument for long double.
1861 * sysdeps/i386/fpu/libm-test-ulps: Update.
1862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1863
6693d694
DM
18642012-05-06 David S. Miller <davem@davemloft.net>
1865
1866 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1867 quad soft-float symbols whose references which are compiler
1868 generated.
1869 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1870
6c23e11c
JM
18712012-05-06 Joseph Myers <joseph@codesourcery.com>
1872
d8b82cad
JM
1873 [BZ #13884]
1874 [BZ #13914]
1875 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1876 USE_AS_EXP10L.
1877 (EXPL_FINITE): Likewise.
1878 (FLDLOG): Likewise.
1879 (c0): Likewise.
1880 (c1): Likewise.
1881 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1882 Adjust comments for base varying.
1883 (__expl_finite): Change alias to EXPL_FINITE.
1884 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1885 e_expl.S.
1886 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1887 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1888 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1889 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1890 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1891 USE_AS_EXP10L.
1892 (EXPL_FINITE): Likewise.
1893 (FLDLOG): Likewise.
1894 (c0): Likewise.
1895 (c1): Likewise.
1896 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1897 Adjust comments for base varying.
1898 (__expl_finite): Change alias to EXPL_FINITE.
1899 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1900 tests for bugs.
1901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1902
6c23e11c
JM
1903 [BZ #14064]
1904 * math/libm-test.inc (check_float_internal): Correct ulp
1905 calculation for subnormal expected results.
1906
29ba805c
AJ
19072012-05-06 Andreas Jaeger <aj@suse.de>
1908
1909 * Makeconfig (+math-flags): New, set to -frounding-math.
1910 (+cflags): Add +math-flags so that all of glibc gets compiled with
1911 it.
1912
1913 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1914
7b17aeda
JM
19152012-05-05 Joseph Myers <joseph@codesourcery.com>
1916
5779f134
JM
1917 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1918 Disable one test.
1919
41498f4d
JM
1920 [BZ #13787]
1921 [BZ #13922]
1922 [BZ #14036]
1923 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1924 (__ieee754_expl): Allow for and saturate large arguments.
1925 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1926 (u_threshold): Likewise.
1927 (__exp): Call __ieee754_exp before checking for overflow and
1928 underflow.
1929 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1930 (u_threshold): Likewise.
1931 (__expf): Call __ieee754_expf before checking for overflow and
1932 underflow.
1933 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1934 (u_threshold): Likewise.
1935 (__expl): Call __ieee754_expl before checking for overflow and
1936 underflow.
1937 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1938 (__ieee754_expl): Allow for and saturate large arguments.
1939 * math/libm-test.inc (exp_test): Add another test. Do not allow
1940 missing overflow exception on overflow.
1941 (expm1_test): Do not allow missing overflow exception on overflow.
1942
6698b8bf
JM
1943 * sysdeps/i386/fpu/e_expl.c: Move to ...
1944 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1945 rather than using inline asm.
1946 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1947 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1948 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1949
7b17aeda
JM
1950 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1951 (nice): Likewise.
1952 (poll): Likewise.
1953 (signal): Likewise.
1954 (time): Likewise.
1955 (times): Likewise.
1956
f7c85819
JM
19572012-05-04 Joseph Myers <joseph@codesourcery.com>
1958
1959 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1960 sysdeps/unix/common/syscalls.list.
1961 (fchmod): Likewise.
1962 (fchown): Likewise.
1963 (ftruncate): Likewise.
1964 (getrusage): Likewise.
1965 (gettimeofday): Likewise.
1966 (setpgid): Likewise.
1967 (setregid): Likewise.
1968 (setreuid): Likewise.
1969 (sigaction): Likewise.
1970 (truncate): Likewise.
1971 (vhangup): Likewise.
1972 * sysdeps/unix/common/syscalls.list: Remove file.
1973 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1974 * sysdeps/unix/sysv/linux/Implies: Likewise.
1975
336270d0
L
19762012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1977
1978 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1980 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1981 Moved to ...
1982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1983 Here.
1984 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1985 to ...
1986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1987 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1988 to ...
1989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1990 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1991 to ...
1992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1993 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1994 to ...
1995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1996 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1997 to ...
1998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1999 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2000 to ...
2001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2002 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2003 to ...
2004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2005 Here.
2006 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2007 to ...
2008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2009 Here.
2010 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2011 to ...
2012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2013 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2014 Moved to ...
2015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2016 Here.
2017 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2018 to ...
2019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2020
d128e450
JM
20212012-05-04 Joseph Myers <joseph@codesourcery.com>
2022
fa8ee516
JM
2023 * sysdeps/unix/common/bits/dirent.h: Remove file.
2024 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2025
d128e450
JM
2026 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2027 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2028 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2029 * sysdeps/unix/bsd/isatty.c: Likewise.
2030 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2031 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2032 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2033
ff8faaf0 20342012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2035
62881be4 2036 [BZ #13563]
31dc8730
AZ
2037 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2038 long double comparison inaccuracies.
2039 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2041
6fef930c
AS
20422012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2043
2044 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2045 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2046
8f203e6c
JM
20472012-05-04 Joseph Myers <joseph@codesourcery.com>
2048
2049 [BZ #14049]
2050 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2051 nonzero digits before rounding a hex value.
2052 * stdlib/tst-strtod.c (tests): Add another test.
2053
5197d9c2
AK
20542012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2055
2056 * sysdeps/s390/fpu/libm-test-ulps: Update.
2057
f0c1dedf
AJ
20582012-05-03 Andreas Jaeger <aj@suse.de>
2059
2060 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2061 does not get optimized out.
2062 (malloc_opt_barrier): New.
2063
a65ef2ae 20642012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 2065 Roland McGrath <roland@hack.frob.com>
a65ef2ae 2066
2b942cb7 2067 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 2068 intermediate file deletion.
2b942cb7 2069 (generated): Add .symlist files.
a65ef2ae 2070
54b71e02
JM
20712012-05-03 Joseph Myers <joseph@codesourcery.com>
2072
2073 [BZ #13775]
2074 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2075 Redirect under this condition.
2076 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2077 [__USE_GNU] (__dprintf_chk): Not under this condition.
2078 [__USE_GNU] (__vdprintf_chk): Likewise.
2079 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2080 under this condition.
2081 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2082 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2083 [__USE_XOPEN2K8] (vdprintf): Likewise.
2084 [__USE_GNU] (__dprintf_chk): Not under this condition.
2085 [__USE_GNU] (__vdprintf_chk): Likewise.
2086 [__USE_GNU] (dprintf): Likewise.
2087 [__USE_GNU] (vdprintf): Likewise.
2088
d3dfcc41
RM
20892012-05-03 Roland McGrath <roland@hack.frob.com>
2090
2091 * elf/Makefile (common-generated): Set this instead of generated for
2092 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2093 $(all-built-dso)-derived lists.
2094
7ac30cc5
AJ
20952012-05-03 Andreas Jaeger <aj@suse.de>
2096
0c51e550
AJ
2097 * sysdeps/i386/fpu/libm-test-ulps: Update.
2098
7ac30cc5
AJ
2099 * FAQ: Removed.
2100 * FAQ.in: Likewise.
2101 * scripts/gen-FAQ.pl: Likewise.
2102 * manual/install.texi (Installation): Point to online location of
2103 FAQ.
2104 * Makefile (files-for-dist): Remove FAQ.
2105 (FAQ): Remove.
2106
d4c2917f
AM
21072012-05-02 Allan McRae <allan@archlinux.org>
2108
2109 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2110 (LDFLAGS-reldepmod5.so): Likewise.
2111 (LDFLAGS-reldep6mod1.so): Likewise.
2112 (LDFLAGS-reldep6mod4.so): Likewise.
2113 (LDFLAGS-reldep8mod3.so): Likewise.
2114 (LDFLAGS-unload4mod1.so): Likewise.
2115 (LDFLAGS-unload4mod2.so): Likewise.
2116 (LDFLAGS-tst-initorder): Likewise.
2117 (LDFLAGS-tst-initordera2.so): Likewise.
2118 (LDFLAGS-tst-initordera3.so): Likewise.
2119 (LDFLAGS-tst-initordera4.so): Likewise.
2120 (LDFLAGS-tst-initorderb2.so): Likewise.
2121 (LDFLAGS-noload): Likewise.
2122 (LDFLAGS-next): Likewise.
2123 (LDFLAGS-order2mod1.so): Likewise.
2124 (LDFLAGS-order2mod2.so): Likewise.
2125 (LDFLAGS-tst-initorder2): Likewise.
2126 (LDFLAGS-tst-initorder2a.so): Likewise.
2127 (LDFLAGS-tst-initorder2b.so): Likewise.
2128 (LDFLAGS-tst-initorder2c.so): Likewise.
2129 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2130
d77f993f
DM
21312012-05-02 David S. Miller <davem@davemloft.net>
2132
2133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2134
171a70b4
PP
21352012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2136
2137 [BZ #14055]
2138 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2139
0be196ad
AJ
21402012-05-02 Andreas Jaeger <aj@suse.de>
2141
2142 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2143 since we manipulate rounding mode.
2144 (CPPFLAGS-test-idouble.c): Likewise.
2145 (CPPFLAGS-test-ifloat.c): Likewise.
2146 (CFLAGS-test-ldouble.c): Likewise.
2147 (CFLAGS-test-double.c): Likewise.
2148 (CFLAGS-test-float.c): Likewise.
2149 (CFLAGS-test-misc.c): Likewise.
2150 (CFLAGS-test-test-fenv.c): Likewise.
2151
4f9d04aa
AZ
21522012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2153
2b942cb7
RM
2154 [BZ #2550]
2155 [BZ #2570]
2156 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2157 comparisons to determine direction to adjust input.
4f9d04aa 2158
82a79e7d
RM
21592012-05-01 Roland McGrath <roland@hack.frob.com>
2160
f5a01ca9
RM
2161 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2162 output to the target.
2163
90fe4186
RM
2164 * scripts/localplt.awk: New file.
2165 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2166 (check-localplt-CFLAGS): Variable removed.
2167 ($(all-built-dso:=.jmprel)): New static pattern rule.
2168 (generated): Add those targets.
2169 (localplt-built-dso): New variable.
2170 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2171
2172 * elf/check-localplt.c: File removed.
2173
82397ed6
RM
2174 * scripts/check-execstack.awk: New file.
2175 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2176 (check-execstack-CFLAGS): Variable removed.
2177 ($(objpfx)check-execstack.h): Target removed.
2178 ($(objpfx)execstack-default): New target.
2179 (generated): Add that instead of check-execstack.h.
2180 ($(all-built-dso:=.phdr)): New static pattern rule.
2181 (generated): Add those targets.
2182 * elf/check-execstack.c: File removed.
2183
82a79e7d
RM
2184 * scripts/check-textrel.awk: New file.
2185 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2186 (check-textrel-CFLAGS): Variable removed.
2187 (all-built-dso): Use := to define.o
2188 ($(all-built-dso:=.dyn)): New static pattern rule.
2189 (generated): Add those targets.
2190 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2191 * config.make.in (READELF): New substituted variable.
2192 * elf/check-textrel.c: File removed.
2193
62fde54f 21942012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2195
615605c9
JM
2196 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2197 allow.
2198 * conform/data/ctype.h-data [C99-based standards] (isblank):
2199 Expect function.
2200 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2201 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2202 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2203 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2204 Specify type. Require positive value.
2205 (EILSEQ): Likewise.
2206 (ERANGE): Likewise.
2207 [ISO || POSIX] (EILSEQ): Do not expect.
2208 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2209 Specify type. Require positive value.
2210 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2211 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2212 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2213 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2214 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2215 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2216 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2217 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2218 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2219 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2220 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2221 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2222 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2223 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2224 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2225 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2226 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2227 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2228 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2229 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2230 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2231 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2232 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2233 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2234 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2235 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2236 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2237 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2238 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2239 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2240 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2241 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2242 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2243 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2244 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2245 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2246 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2247 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2248 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2249 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2250 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2251 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2252 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2253 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2254 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2255 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2256 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2257 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2258 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2259 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2260 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2261 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2262 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2263 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2264 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2265 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2266 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2267 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2268 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2269 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2270 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2271 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2272 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2273 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2274 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2275 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2276 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2277 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2278 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2279 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2280 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2281 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2282 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2283 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2284 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2285 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2286 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2287 Require >= 2.
2288 (FLT_ROUNDS): Expect as macro, not constant.
2289 (FLT_MANT_DIG): Use macro-int-constant.
2290 (DBL_MANT_DIG): Likewise.
2291 (LDBL_MANT_DIG): Likewise.
2292 (FLT_DIG): Likewise.
2293 (DBL_DIG): Likewise.
2294 (LDBL_DIG): Likewise.
2295 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2296 (DBL_MIN_EXP): Likewise.
2297 (LDBL_MIN_EXP): Likewise.
2298 (FLT_MAX_EXP): Use macro-int-constant.
2299 (DBL_MAX_EXP): Likewise.
2300 (LDBL_MAX_EXP): Likewise.
2301 (FLT_MAX_10_EXP): Likewise.
2302 (DBL_MAX_10_EXP): Likewise.
2303 (LDBL_MAX_10_EXP): Likewise.
2304 (FLT_MAX): Use macro-constant.
2305 (DBL_MAX): Likewise.
2306 (LDBL_MAX): Likewise.
2307 (FLT_EPSILON): Use macro-constant. Give upper bound.
2308 (DBL_EPSILON): Likewise.
2309 (LDBL_EPSILON): Likewise.
2310 (FLT_MIN): Likewise.
2311 (DBL_MIN): Likewise.
2312 (LDBL_MIN): Likewise.
2313 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2314 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2315 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2316 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2317 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2318 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2319 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2320 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2321 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2322 [ISO11] (FLT_TRUE_MIN): Likewise.
2323 [ISO11] (LDBL_TRUE_MIN): Likewise.
2324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2325 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2326 (SCHAR_MIN): Use macro-int-constant. Specify type.
2327 (SCHAR_MAX): Likewise.
2328 (UCHAR_MAX): Likewise.
2329 (CHAR_MIN): Likewise.
2330 (CHAR_MAX): Likewise.
2331 (MB_LEN_MAX): Use macro-int-constant.
2332 (SHRT_MIN): Use macro-int-constant. Specify type.
2333 (SHRT_MAX): Likewise.
2334 (USHRT_MAX): Likewise.
2335 (INT_MAX): Likewise.
2336 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2337 bound negative.
2338 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2339 bound with "U".
2340 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2341 bound with "L".
2342 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2343 bound negative. Suffix upper bound with "L".
2344 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2345 bound with "UL".
2346 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2347 Specify type.
2348 [C99-based standards] (LLONG_MAX): Likewise.
2349 [C99-based standards] (ULLONG_MAX): Likewise.
2350 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2351 == 0.
2352 [ISO11] (max_align_t): Require type.
2353 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2354
c9140a62
JM
2355 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2356 from $CFLAGS, without defining away __attribute__ calls.
2357 (checknamespace): Use $CFLAGS_namespace.
2358
9af0bf29
JM
2359 * conform/conformtest.pl (@keywords): Only include C99 keywords
2360 for standards based on C99 or C11.
2361
343222a2
JM
2362 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2363 Disable tests.
2364 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2365 UNIX98]: Likewise.
2366
661f8cf0
JM
2367 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2368 usability of symbols in #if.
2369
ee74b9cb
JM
2370 * conform/conformtest.pl: If macro or constant types start
2371 "promoted:", expect the symbol to be of the following type
2372 promoted by the integer promotions.
62fde54f 2373
aafc49b3
JM
2374 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2375 in one place. Also handle "macro-constant".
2376
fefdf574
JM
2377 * conform/conformtest.pl: Only accept expected macro values with
2378 "==". Parse all "macro" lines in one place.
2379 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2380
f2d922fe
JM
2381 * conform/conformtest.pl: Handle braced types on "constant" lines
2382 instead of handling "typed-constant".
2383 * conform/data/signal.h-data: Use "constant" instead of
2384 "typed-constant".
2385
d22956c9
JM
2386 * conform/conformtest.pl: Handle "optional-" at start of lines in
2387 one place rather than duplicating several cases. Handle each
2388 format of "macro" line with initial "optional-".
2389
028e2e38
JM
2390 * conform/conformtest.pl: Only accept expected constant or
2391 optional-constant values with "==". Parse all "constant" lines in
2392 one place. Parse all "optional-constant" lines in one place.
2393 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2394 * conform/data/fmtmsg.h-data: Likewise.
2395 * conform/data/netinet/in.h-data: Likewise.
2396 * conform/data/tar.h-data: Likewise.
2397 * conform/data/limits.h-data: Use "==" form on "constant" and
2398 "optional-constant" lines.
2399
1b8f2850
JM
2400 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2401 Use -std=c99 for XOPEN2K.
2402 (@knownproblems): Remove.
2403 (newtoken): Don't check %isknown.
2404
a05a144b
JM
2405 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2406 Do not expect macro.
2407 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2408 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2419 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2420 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2422 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2423 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2424 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2425 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2426 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2427 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2428 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2429 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2430 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2433 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2437 [XPG3] (acosh): Likewise.
2438 [XPG3] (asinh): Likewise.
2439 [XPG3] (atanh): Likewise.
2440 [XPG3] (cbrt): Likewise.
2441 [XPG3] (expm1): Likewise.
2442 [XPG3] (ilogb): Likewise.
2443 [XPG3] (log1p): Likewise.
2444 [XPG3] (logb): Likewise.
2445 [XPG3] (nextafter): Likewise.
2446 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2447 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2448 [XPG3] (remainder): Likewise.
2449 [XPG3] (rint): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2453 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2457 [UNIX98 || XOPEN2K] (scalb): Expect.
2458 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2459 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2461 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2462 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2463 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2469 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2470 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2471 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2473 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2474 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2475 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2476 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2477 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2478 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2479 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2480 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2482 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2483 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2487 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2490 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2491 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2492 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2493 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2494 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2495 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2496 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2497 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2498 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2499 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2500 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2501 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2502 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2503 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2504 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2505 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2506 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2507 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2508 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2509 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2510 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2511 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2512 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2513 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2514 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2515 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2516 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2517 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2518 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2519 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2520 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2521 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2522 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2523 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2524 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2525 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2526 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2527 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2528 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2529 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2530 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2531 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2532 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2533 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2534 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2535 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2536 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2537 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2538 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2539 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2540 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2541 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2542 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2543 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2544 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2545 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2546 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2547 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2548 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2549 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2550 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2551 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2552 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2553 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2554 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2555 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2556 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2557 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2558 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2559 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2560 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2561 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2562 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2563 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2564 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2565 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2566 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2567 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2568 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2569 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2570 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2571 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2572 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2575 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2576 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2577 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2578 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2579 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2580 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2581 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2582 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2583 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2584 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2585 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2586 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2587 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2588 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2589 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2590 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2591 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2592 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2593 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2594 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2595
73c5ebe3
JM
2596 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2597 _XOPEN_SOURCE_EXTENDED for XPG4.
2598
39c33b6c
JM
2599 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2600
62fde54f
JM
2601 * Makeconfig (localtime): Remove variable.
2602 (inst_localtime-file): Likewise.
2603
0741d64c
AS
26042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2605
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2607 Update.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2609 Update.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2611 Update.
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2613 Update.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2615 Update.
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2617 Update.
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2619 Update.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2621 Update.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2623 Update.
2624
7cb029ee
JM
26252012-05-01 Joseph Myers <joseph@codesourcery.com>
2626
2627 [BZ #2550]
2628 [BZ #2570]
2629 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2630 comparisons to determine direction to adjust input.
2631 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2632 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2633 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2634 Likewise.
2635 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2636 Likewise.
2637 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2638 Likewise.
2639 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2640 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2641 Likewise.
2642 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2643 Likewise.
2644 * math/libm-test.inc (nexttoward_test): Add more tests.
2645
412bd966
AS
26462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2647
2648 [BZ #14040]
2649 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2650 in version GLIBC_2.1, not GLIBC_2.0.
2651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2652 Likewise.
2653
9568c0c2
JM
26542012-04-30 Joseph Myers <joseph@codesourcery.com>
2655
adfbc8ac
JM
2656 [BZ #13942]
2657 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2658 (1 - x) * (1 + x).
2659 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2660 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2661 * math/libm-test.inc (acos_test): Add more tests.
2662 (asin_test): Likewise.
2663 * sysdeps/i386/fpu/libm-test-ulps: Update.
2664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2665
5ba3cc69
JM
2666 [BZ #14034]
2667 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2668 of square root.
2669 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2670 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2671 * math/libm-test.inc (acos_test_tonearest): New function.
2672 (acos_test_towardzero): Likewise.
2673 (acos_test_downward): Likewise.
2674 (acos_test_upward): Likewise.
2675 (asin_test_tonearest): Likewise.
2676 (asin_test_towardzero): Likewise.
2677 (asin_test_downward): Likewise.
2678 (asin_test_upward): Likewise.
2679 (main): Call the new functions.
2680 * sysdeps/i386/fpu/libm-test-ulps: Update.
2681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2682
9568c0c2
JM
2683 [BZ #13884]
2684 [BZ #13924]
2685 * math/e_exp10.c: Include <float.h>.
2686 (__ieee754_exp10): Handle underflow here rather than multiplying
2687 large negative argument by M_LN10.
2688 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2689 of __ieee754_expf.
2690 * math/e_exp10l.c: Include <float.h>.
2691 (__ieee754_exp10l): Handle underflow here rather than multiplying
2692 large negative argument by M_LN10l.
2693 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2694 spurious overflow exception on underflow.
2695
5ac3ea17
MP
26962012-04-29 Marek Polacek <polacek@redhat.com>
2697
2698 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2699 (__fortify_function): New macro.
2700 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2701 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2702 __extern_always_inline.
2703 * libio/bits/stdio2.h: Likewise.
2704 * libio/bits/stdio.h: Likewise.
2705 * string/string.h: Likewise.
2706 * string/bits/string3.h: Likewise.
2707 * include/stdio.h: Likewise.
2708 * stdlib/bits/stdlib.h: Likewise.
2709 * stdlib/stdlib.h: Likewise.
2710 * rt/bits/mqueue2.h: Likewise.
2711 * rt/mqueue.h: Likewise.
2712 * posix/bits/unistd.h: Likewise.
2713 * posix/unistd.h: Likewise.
2714 * io/bits/poll2.h: Likewise.
2715 * io/bits/fcntl2.h: Likewise.
2716 * io/fcntl.h: Likewise.
2717 * io/sys/poll.h: Likewise.
2718 * misc/bits/syslog.h: Likewise.
2719 * misc/bits/syslog-ldbl.h: Likewise.
2720 * misc/sys/syslog.h: Likewise.
2721 * socket/bits/socket2.h: Likewise.
2722 * socket/sys/socket.h: Likewise.
2723 * debug/tst-chk1.c: Likewise.
2724 * wcsmbs/bits/wchar2.h: Likewise.
2725 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2726 * wcsmbs/wchar.h: Likewise.
2727
ecf0ebfb
AJ
27282012-04-29 Andreas Jaeger <aj@suse.de>
2729
2730 * Makerules (tests): Remove enable-check-abi protection.
2731 (check-abi-warn): Remove.
2732 (check-abi-%): Remove check-abi-warn usage.
2733
2734 * configure.in: Remove check-abi configure option.
2735 * configure: Regenerated.
2736 * config.make.in (enable-check-abi): Remove.
2737
6d5c57fa
AS
27382012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2739
24c5d07e 2740 [BZ #14033]
ded5180a
AS
2741 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2742 double functions to double *_finite functions.
2743
7e0d315d
AS
2744 [BZ #13941]
2745 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2746 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2747 LDBL_MIN_EXP.
2748 * stdio-common/Makefile (tests): Add tst-sprintf3.
2749 * stdio-common/tst-sprintf3.c: New file.
2750
6d5c57fa
AS
2751 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2752 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2753
0749ff8b
JM
27542012-04-28 Joseph Myers <joseph@codesourcery.com>
2755
2756 * conform/conformtest.pl: Remove duplicate typed-constant
2757 handling.
2758
8dbd5d7b
DM
27592012-04-28 David S. Miller <davem@davemloft.net>
2760
2761 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2762 (check-abi-%): Remove AWK script prerequisite and explicit
2763 abilist directory.
2764 (check-abi): Rewrite to just diff the symlist with the abilist.
2765 (config-tls, config-abi-config): Delete, no longer used.
2766 (update-abi-%): Remove AWK script and explicit abilist directory.
2767 (update-abi): Rewrite to simply compare and conditionally copy the
2768 symlist and the sysdep abilist file. Remove update-abi-config
2769 checks.
2770 * abilist/ld.abilist: Remove.
2771 * abilist/libBrokenLocale.abilist: Remove.
2772 * abilist/libanl.abilist: Remove.
2773 * abilist/libcrypt.abilist: Remove.
2774 * abilist/libdl.abilist: Remove.
2775 * abilist/librt.abilist: Remove.
2776 * abilist/libthread_db.abilist: Remove.
2777 * abilist/libutil.abilist: Remove.
2778 * scripts/extract-abilist.awk: Remove.
2779 * scripts/merge-abilist.awk: Remove.
2780 * sysdeps/generic/libcidn.abilist: New file.
2781 * sysdeps/generic/libnss_compat.abilist: New file.
2782 * sysdeps/generic/libnss_db.abilist: New file.
2783 * sysdeps/generic/libnss_dns.abilist: New file.
2784 * sysdeps/generic/libnss_files.abilist: New file.
2785 * sysdeps/generic/libnss_hesiod.abilist: New file.
2786 * sysdeps/generic/libnss_nis.abilist: New file.
2787 * sysdeps/generic/libnss_nisplus.abilist: New file.
2788 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2789 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2790 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2791 file.
2792 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2793 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2794 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2795 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2796 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2797 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2798 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2799 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2800 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2801 file.
2802 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2803 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2804 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2805 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2806 file.
2807 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2808 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2809 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2810 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2811 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2812 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2813 file.
2814 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2815 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2816 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2817 file.
2818 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2820 New file.
2821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2822 New file.
2823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2824 New file.
2825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2826 New file.
2827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2828 New file.
2829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2830 New file.
2831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2832 New file.
2833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2834 New file.
2835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2836 New file.
2837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2838 New file.
2839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2840 New file.
2841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2842 New file.
2843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2844 New file.
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2846 file.
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2848 New file.
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2850 New file.
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2852 file.
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2854 New file.
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2856 New file.
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2858 file.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2860 New file.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2862 New file.
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2864 New file.
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2866 New file.
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2868 New file.
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2870 New file.
2871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2873 file.
2874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2875 New file.
2876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2877 file.
2878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2879 file.
2880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2881 file.
2882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2883 file.
2884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2885 file.
2886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2887 New file.
2888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2889 file.
2890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2891 file.
2892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2893 New file.
2894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2895 file.
2896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2898 file.
2899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2900 New file.
2901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2902 file.
2903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2904 file.
2905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2906 file.
2907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2908 file.
2909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2910 file.
2911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2912 New file.
2913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2914 file.
2915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2916 file.
2917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2918 New file.
2919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2920 file.
2921 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2922 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2923 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2924 file.
2925 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2926 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2927 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2928 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2929 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2930 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2931 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2932 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2933 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2934 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2937 file.
2938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2939 New file.
2940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2941 file.
2942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2943 file.
2944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2945 file.
2946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2947 file.
2948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2949 file.
2950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2951 New file.
2952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2953 New file.
2954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2955 file.
2956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2957 New file.
2958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2959 file.
2960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2962 file.
2963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2964 New file.
2965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2966 file.
2967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2968 file.
2969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2970 file.
2971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2972 file.
2973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2974 file.
2975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2976 New file.
2977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2978 New file.
2979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2980 file.
2981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2982 New file.
2983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2984 file.
2985
41d73a1b
JM
29862012-04-28 Joseph Myers <joseph@codesourcery.com>
2987
2988 * conform/conformtest.pl: Fix typo in handling typed-constant from
2989 allow-header.
2990
28aeeda4
JM
29912012-04-27 Joseph Myers <joseph@codesourcery.com>
2992
adae8f5e
JM
2993 * README: Cut down references to pre-2.6 Linux kernels and
2994 Linuxthreads. Update lists of configurations in libc and ports
2995 and sort alphabetically. Say "or newer" with Linux kernel version
2996 requirements.
2997
28aeeda4
JM
2998 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2999
a462cb63
RA
30002012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3001
3002 [BZ #887]
3003 * math/libm-test.inc (logb_test_downward): New test to expose
3004 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3005 rounding mode.
3006
6ad3493e
JM
30072012-04-27 Joseph Myers <joseph@codesourcery.com>
3008
3009 [BZ #14027]
3010 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3011 to be done.
3012 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3013 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3014
2ce4f015
JM
30152012-04-26 Joseph Myers <joseph@codesourcery.com>
3016
5aeb141a
JM
3017 * sysdeps/unix/i386/brk.S: Remove file.
3018 * sysdeps/unix/i386/dl-brk.S: Likewise.
3019 * sysdeps/unix/i386/pipe.S: Likewise.
3020 * sysdeps/unix/i386/sigreturn.S: Likewise.
3021 * sysdeps/unix/i386/syscall.S: Likewise.
3022 * sysdeps/unix/i386/vfork.S: Likewise.
3023 * sysdeps/unix/i386/wait.S: Likewise.
3024
7143acae
JM
3025 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3026 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3027
2ce4f015
JM
3028 * configure.in (arm*-none*): Do not allow without
3029 --enable-hacker-mode.
3030 (netbsd*): Remove case setting base_os.
3031 (386bsd*): Likewise.
3032 (freebsd*): Likewise.
3033 (bsdi*): Likewise.
3034 (osf*): Likewise.
3035 (sunos*): Likewise.
3036 (ultrix*): Likewise.
3037 (newsos*): Likewise.
3038 (dynix*): Likewise.
3039 (*bsd*): Likewise.
3040 (sysv*): Likewise.
3041 (isc*): Likewise.
3042 (esix*): Likewise.
3043 (sco*): Likewise.
3044 (minix*): Likewise.
3045 (irix4*): Likewise.
3046 (irix6*): Likewise.
3047 (solaris[2-9]*): Likewise.
3048 (none): Likewise.
3049 * configure: Regenerated.
3050
0ac229c8
AZ
30512012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3052
3053 [BZ #11521]
3054 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3055 overflow or cancellation in calculating denominator.
3056 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3057 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3058 down expression to avoid unexpected rounding in newer GCCs.
3059 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3060
33f244f4
DM
30612012-04-26 David S. Miller <davem@davemloft.net>
3062
3063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3064 long-double compat symbols.
3065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3078
cfa1f3e8
DM
30792012-04-25 David S. Miller <davem@davemloft.net>
3080
3081 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3082 HWCAP_* values only after the memory barriers have been defined.
3083 (atomic_full_barrier): Define.
3084 (atomic_read_barrier): Define.
3085 (atomic_write_barrier): Define.
3086
6e236b92
SP
30872012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3088
3089 * shlib-versions: Add libgcc_s version information.
3090 * sysdeps/generic/libgcc_s.h: Remove.
3091 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3092 libgcc_s.h.
3093 * sysdeps/gnu/unwind-resume.c: Likewise.
3094 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3095
aab39a09
DM
30962012-04-25 David S. Miller <davem@davemloft.net>
3097
3098 * sysdeps/unix/sparc/brk.S: Delete.
3099 * sysdeps/unix/sparc/dl-brk.S: Delete.
3100 * sysdeps/unix/sparc/pipe.S: Delete.
3101 * sysdeps/unix/sparc/sysdep.S: Delete.
3102 * sysdeps/unix/sparc/sysdep.h: Delete.
3103 * sysdeps/unix/sparc/vfork.S: Delete.
3104 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3105 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3106 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3107 ret_ERRVAL, r0, r1, MOVE): Define.
3108 (JUMPTARGET): Remove.
3109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3110 sysdeps/unix/sparc/sysdep.h
3111 (ENTRY, END): Remove.
3112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3113
a3cc4f48
JM
31142012-04-25 Joseph Myers <joseph@codesourcery.com>
3115
2ed8cda2
JM
3116 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3117 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3118 -DIS_IN_build.
3119
35d76d59
JM
3120 * timezone/README: Update upstream location and email address for
3121 tzcode and tzdata.
3122 * timezone/zdump.c: Update from tzcode 2012b.
3123 * timezone/zic.c: Likewise.
3124
a3cc4f48
JM
3125 * configure.in (libc_cv_as_needed): Remove test.
3126 * configure: Regenerated.
3127 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3128 conditional definition.
3129 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3130 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3131 * config.make.in (have-as-needed): Remove variable.
3132
ceab42c3
SP
31332012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3134 Paul Pluzhnikov <ppluzhnikov@google.com>
3135
3136 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3137 strings correctly.
3138
3ce2865f
CLT
31392012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3140
3141 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3142 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3143 * sysdeps/sh/strlen.S: Likewise.
3144
f37e0d68
JM
31452012-04-24 Joseph Myers <joseph@codesourcery.com>
3146
ae186e9a
JM
3147 * sysdeps/unix/fork.S: Remove file.
3148 * sysdeps/unix/i386/fork.S: Likewise.
3149 * sysdeps/unix/sparc/fork.S: Likewise.
3150
b96914af
JM
3151 * sysdeps/unix/system.c: Remove file.
3152 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3153
f37e0d68
JM
3154 * sysdeps/unix/getegid.S: Remove file.
3155 * sysdeps/unix/geteuid.S: Likewise.
3156
87ef29ca
RM
31572012-04-24 Roland McGrath <roland@hack.frob.com>
3158
83bcd236
RM
3159 * scripts/check-localplt.awk: New file.
3160 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3161 of diff.
3162 * scripts/data/localplt-generic.data: Add a comment.
3163
87ef29ca
RM
3164 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3165 NODE when __dir_mkfile failed.
3166 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3167 Reported by Ludovic Courtès <ludo@gnu.org>.
3168
e5a6e567
AJ
31692012-04-24 Andreas Jaeger <aj@suse.de>
3170
3171 * Makerules (common-clean): Also remove gen-as-const-headers
3172 files.
3173
c1820385
JM
31742012-04-24 Joseph Myers <joseph@codesourcery.com>
3175
3176 * Makerules (native-compile): Do not change working directory for
3177 build. Use $(OUTPUT_OPTION) in command.
3178 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3179
94e02fc4
AZ
31802012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3181
3182 [BZ #13886]
3183 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3184 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3185 * math/libm-test.inc (floor_test): Add more tests.
3186 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3187
3a533ca3
JM
31882012-04-24 Joseph Myers <joseph@codesourcery.com>
3189
940ab4b3
JM
3190 * sysdeps/unix/getdents.c: Remove file.
3191 * sysdeps/unix/sysv/getdents.c: Likewise.
3192 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3193
90e037bd
JM
3194 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3195 sysdeps/unix/mman/syscalls.list.
3196 (mmap): Likewise.
3197 (mprotect): Likewise.
3198 (msync): Likewise.
3199 (munmap): Likewise.
3200 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3201 * sysdeps/unix/mman/syscalls.list: Remove.
3202 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3203
3a533ca3
JM
3204 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3205 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3206 * configure: Regenerated.
3207 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3208 $(libgcc_s_suffix).
3209 * config.make.in (libgcc_s_suffix): Remove variable.
3210
1ad743de
JM
32112012-04-23 Joseph Myers <joseph@codesourcery.com>
3212
4ad451e2
JM
3213 * sysdeps/unix/sysv/gethostname.c: Move to ...
3214 * sysdeps/posix/gethostname.c: ... here.
3215
5e37ce39
JM
3216 * sysdeps/unix/execve.S: Remove file.
3217
1ad743de
JM
3218 * sysdeps/unix/_exit.S: Remove file.
3219
4e681b5b
AJ
32202012-04-23 Andreas Jaeger <aj@suse.de>
3221
3222 [BZ #13739]
3223 * manual/Makefile: Remove make dist support, there's no
3224 need for a stand-alone documentation tar ball.
3225 (TEXI2DVI): Define always, it's not in Makeconfig.
3226 (dist): Removed.
3227 (tar-it): Removed.
3228 (edition): Removed.
3229 (glibc-doc-$(edition).tar): Removed
3230 (%.Z): Removed.
3231 (%.gz): Removed.
3232 (%.uu): Removed.
3233 (ETAGS): Remove, it's in Makeconfig.
3234 (move-if-change): Remove, it's in Makeconfig.
3235
c0baea34
PE
32362013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3237
3238 [BZ #13970]
3239 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3240 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3241 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3242 (strtod_l, strtof_l, strtold_l): Remove __wur.
3243 It is not necessarily an error to ignore strtol's return value.
3244 One can reliably look at the stored endptr to decide whether
3245 the number had valid syntax.
3246
7c0616fa
AJ
32472012-04-21 Andreas Jaeger <aj@suse.de>
3248
803cb6b7 3249 [BZ #13739]
7c0616fa
AJ
3250 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3251
b0fe253f
JM
32522012-04-21 Joseph Myers <joseph@codesourcery.com>
3253
3254 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3255 * sysdeps/unix/sysv/Versions: Remove file.
3256
8280f22d
MT
32572012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3258
3259 [BZ #13927]
3260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3261
75ce411f 32622012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3263
3264 [BZ #7064]
3265 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3266 version from __vm86.
3267
097d59fa
JM
32682012-04-20 Joseph Myers <joseph@codesourcery.com>
3269
a90f3bcb
JM
3270 * sysdeps/unix/common/lxstat.c: Remove file.
3271 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3272
edc7ea78
JM
3273 * sysdeps/unix/sysv/Makefile: Remove file.
3274
cb78c221
JM
3275 * sysdeps/unix/sysv/direct.h: Remove file.
3276
efa6a45f
JM
3277 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3278 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3279 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3280 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3281 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3282 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3283 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3284
9c9f2d0c
JM
3285 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3286
4541c83b
JM
3287 * sysdeps/unix/xmknod.c: Remove file.
3288 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3289
f5d153a0
JM
3290 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3291
aa746595
JM
3292 * sysdeps/unix/sysv/i386/time.S: Remove file.
3293
cce5905e
JM
3294 * sysdeps/unix/fxstat.c: Remove file.
3295 * sysdeps/unix/xstat.c: Likewise.
3296 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3297
37fa3841
JM
3298 * sysdeps/unix/sysv/sigaction.c: Remove file.
3299
ff1962a3
JM
3300 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3301 (sysdep_headers): Remove variable.
3302 [termio.h not in sysdep_headers] (generated): Likewise.
3303 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3304 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3305 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3306 * sysdeps/unix/sysv/tcflow.c: Likewise.
3307 * sysdeps/unix/sysv/tcflush.c: Likewise.
3308 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3309 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3310 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3311 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3312 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3313
e7740d31
JM
3314 * sysdeps/unix/siglist.c: Remove file.
3315
ee06f18b
JM
3316 * sysdeps/unix/getppid.S: Remove file.
3317
097d59fa
JM
3318 * sysdeps/unix/mkdir.c: Remove file.
3319 * sysdeps/unix/rmdir.c: Likewise.
3320
ff3d51ec
AS
33212012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3322
3323 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3324 ERR_MAX value.
3325 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3326 errlist-compat value.
3327
50f81fd7
DM
33282012-04-18 David S. Miller <davem@davemloft.net>
3329
3330 * sysdeps/generic/memcopy.h (reg_char): Delete.
3331 * debug/strcat_chk.c: Use char, not reg_char.
3332 * debug/strcpy_chk.c: Likewise.
3333 * debug/strncat_chk.c: Likewise.
3334 * debug/strncpy_chk.c: Likewise.
3335 * string/memchr.c: Likewise.
3336 * string/memrchr.c: Likewise.
3337 * string/rawmemchr.c: Likewise.
3338 * string/strcat.c: Likewise.
3339 * string/strchr.c: Likewise.
3340 * string/strchrnul.c: Likewise.
3341 * string/strcmp.c: Likewise.
3342 * string/strcpy.c: Likewise.
3343 * string/strncat.c: Likewise.
3344 * string/strncmp.c: Likewise.
3345 * string/strncpy.c: Likewise.
3346
8ff41c46
WS
33472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3348
3349 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3350 __builtin_memcopy is called when src and dest ranges are known to not
3351 overlap.
3352
6b652f46
WS
33532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3354
3355 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3356 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3357 fwd_align_merge macro call.
3358 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3359 bwd_align_merge macro call.
3360 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3361
b282631e
WS
33622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3363
3364 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3365 bwd_align_merge macros.
3366 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3367 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3368 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3369
95aa737c
DM
33702012-04-18 David S. Miller <davem@davemloft.net>
3371
3372 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3373
7a99a614
AJ
33742012-04-18 Andreas Jaeger <aj@suse.de>
3375
3376 [BZ# 6794]
3377 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3378 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3379 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3380
3381 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3382 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3383 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3384
3385 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3386 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3387 Adjust for changed ldbl-128 files.
3388
3389 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3390 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3391 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3392
e5270c23
DM
33932012-04-17 David S. Miller <davem@davemloft.net>
3394
3395 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3396
fb5e92c9
AS
33972012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3398
3399 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3400 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3401 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3402 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3403 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3404 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3405
76da7265
AZ
34062012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3407
3408 [BZ #6794]
3409 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3410 * math/libm-test.inc: Add ilogb errno and exception tests.
3411 * math/w_ilogb.c: New file: ilogb wrapper.
3412 * math/w_ilogbf.c: New file: ilogbf wrapper.
3413 * math/w_ilogbl.c: New file: ilogbl wrapper.
3414 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3415 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3416 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3417 exception being thrown with 0.0 as argument.
3418 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3419 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3420 exception being thrown with 0.0 as argument.
3421 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3422 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3423 exception being thrown with 0.0 as argument.
3424 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3425 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3426 exception being thrown with 0.0 as argument.
3427 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3428 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3429 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3430 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3431 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3432 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3433 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3434 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3435 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3436
0396e69d
PB
34372012-04-17 Petr Baudis <pasky@ucw.cz>
3438
3439 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3440 with altivec.
3441
750b5926
MP
34422012-04-16 Marek Polacek <polacek@redhat.com>
3443
3444 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3445
751728a1
MP
34462012-04-16 Marek Polacek <polacek@redhat.com>
3447
3448 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3449 operands of fdivp instruction.
3450
34a27407
L
34512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3452
3453 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3454 * elf/tst-auditmod3b.c: Likewise.
3455 * elf/tst-auditmod4b.c: Likewise.
3456 * elf/tst-auditmod5b.c: Likewise.
3457 * elf/tst-auditmod6b.c: Likewise.
3458 * elf/tst-auditmod6c.c: Likewise.
3459 * elf/tst-auditmod7b.c: Likewise.
3460 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3461 * sysdeps/x86_64/preconfigure.in: Likewise.
3462 * sysdeps/x86_64/preconfigure: Regenerated.
3463
7e73e17d
L
34642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3465
3466 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3467 __ILP32__.
3468
c7a6ab72
AB
34692012-04-13 Antoine Balestrat <merkil33@gmail.com>
3470
3471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3472 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3473
a9e8e0e0
CL
34742012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3475
3476 [BZ #13973]
3477 * locale/iso-639.def: Fix gl language name. Spotted by
3478 Yaron Shahrabani.
3479
ec98af7d
RM
34802012-04-12 Roland McGrath <roland@hack.frob.com>
3481
3482 [BZ #2074]
3483 * libio/libio.h (__io_write_fn): Update comment.
3484
247c3ede
PB
34852012-04-12 Petr Baudis <pasky@ucw.cz>
3486
3487 [BZ #2074]
3488 * stdio.texi (Hook Functions): The user provided writer function
3489 is not allowed to return -1.
3490
55939d6d
DM
34912012-04-11 David S. Miller <davem@davemloft.net>
3492
3493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3494
90020f5a
MF
34952012-04-11 Mike Frysinger <vapier@gentoo.org>
3496
3497 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3498 Add a leading slash to rtkaio.
3499
288f9098
JM
35002012-04-11 Jim Meyering <meyering@redhat.com>
3501
90020f5a
MF
3502 [BZ #11959]
3503 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3504 It is not necessarily an error to ignore fwrite's return
3505 value. One can reliably use ferror to test for errors after
3506 the fact.
288f9098 3507
4be2b570
L
35082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3509
3510 * bits/types.h (__snseconds_t): New type.
3511 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3512
3513 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3514 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3515 (__SNSECONDS_T_TYPE): Likewise.
3516 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3517 (__SNSECONDS_T_TYPE): Likewise.
3518 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3519 (__SNSECONDS_T_TYPE): Likewise.
3520
288f9098 35212012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3522
3523 [BZ #2636]
3524 * manual/time.texi (Processor Time): Return type of times is
3525 elapsed real time since an arbitrary point in the past.
3526 (CPU Time): Move CLK_TCK from here...
3527 (Processor Time): ...to here. Correct description.
3528 * manual/conf.texi (Constants for Sysconf): Correct description of
3529 _SC_CLK_TCK.
3530
d7dd4413
DM
35312012-04-10 David S. Miller <davem@davemloft.net>
3532
3533 [BZ #13967]
3534 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3535 where the is a gap between DT_REL(A) and DT_JMPREL.
3536
b46068fc
L
35372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3538
3539 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3540 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3541 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3542
73d65cc3
SP
35432012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3544
3545 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3546 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3547 (dl_main): Handle --inhibit-cache.
3548 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3549 _dl_inhibit_cache.
3550 * elf/dl-load.c (_dl_map_object): Use it.
3551 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3552
bcc8d661
JM
35532012-04-09 Joseph Myers <joseph@codesourcery.com>
3554
8f9a2fae
JM
3555 [BZ #13872]
3556 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3557 (__ieee754_powl): Saturate large exponents rather than testing for
3558 overflow of y*log2(x).
3559 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3560 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3561 exceptions.
3562
bcc8d661
JM
3563 [BZ #11521]
3564 * math/s_ctan.c: Include <float.h>.
3565 (__ctan): Avoid internal overflow or cancellation in calculating
3566 denominator.
3567 * math/s_ctanf.c: Likewise.
3568 * math/s_ctanl.c: Likewise.
3569 * math/s_ctanh.c: Likewise.
3570 * math/s_ctanhf.c: Likewise.
3571 * math/s_ctanhl.c: Likewise.
3572 * math/libm-test.inc (ctan_test): Add more tests.
3573 (ctanh_test): Likewise.
3574 * sysdeps/i386/fpu/libm-test-ulps: Update.
3575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3576
823fbbb4
AJ
35772012-04-09 Andreas Jaeger <aj@suse.de>
3578
03879793
AJ
3579 [BZ #6894]
3580 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3581 is an optional BSD extension.
3582
823fbbb4
AJ
3583 [BZ #10254]
3584 * manual/stdio.texi (Opening Streams): Document additional fopen
3585 parameters.
3586
8de131cb
RM
35872012-04-09 Roland McGrath <roland@hack.frob.com>
3588
3589 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3590 %eax without telling the compiler.
3591
c0ed9d7d
CD
35922012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3593
3594 [BZ # 13963]
3595 * manual/install.texi: Use sourceware.org.
3596
c483f6b4
JM
35972012-04-09 Joseph Myers <joseph@codesourcery.com>
3598
d7dd9453
JM
3599 [BZ #13873]
3600 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3601 (__ieee754_pow): Generate overflow and underflow using huge*huge
3602 and tiny*tiny rather than just returning constant infinity or zero
3603 for large exponents.
3604 * math/libm-test.inc (pow_test): Require overflow exceptions for
3605 applicable cases of large exponents.
3606
c483f6b4
JM
3607 [BZ #706]
3608 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3609 (__ieee754_pow): Use iterative multiplication algorithm only for
3610 integer exponents with absolute value below 1024. Check for odd
3611 integer exponents when using algorithm for real exponents.
3612 * math/libm-test.inc (pow_test): Add more tests.
3613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3614
d2de7579
JM
36152012-04-08 Joseph Myers <joseph@codesourcery.com>
3616
3617 [BZ #13705]
3618 * math/libm-test.inc (exp_test): Do not allow overflow exception
3619 on underflow test.
3620
f77f1232
AJ
36212012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3622
3623 [BZ #13705]
3624 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3625 instead of __kernel_standard_f.
3626
3884932b
MF
36272012-04-08 Mike Frysinger <vapier@gentoo.org>
3628
3629 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3630 * sysdeps/x86_64/memset_chk.S: Likewise.
3631
54472e9c
AJ
36322012-04-08 Andreas Jaeger <aj@suse.de>
3633
6ab0fbfc
AJ
3634 [BZ #10153]
3635 * manual/startup.texi (Environment Access): Describe return value
3636 for putenv and setenv.
3637
61efba8c
AJ
3638 [BZ #6895]
3639 * manual/filesys.texi (Directory Entries): Add description for
3640 DT_LNK.
3641
95c3f29a
AJ
3642 [BZ #6890]
3643 * manual/filesys.texi (Directory Entries): Clarify that it's file
3644 system not operating system in the description of DT_UNKNOWN.
3645
54472e9c
AJ
3646 [BZ #6578]
3647 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3648
624254b1
SC
36492012-04-08 Stephen Compall <s11@member.fsf.org>
3650
3651 [BZ #6649]
3652 * manual/llio.texi (Opening and Closing Files): Add cross
3653 reference to explain mode argument.
3654
1e4920e0
MF
36552012-04-07 Mike Frysinger <vapier@gentoo.org>
3656
3657 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3658 * sysdeps/x86_64/memset_chk.S: Likewise.
3659
5ed848f3
DM
36602012-04-07 David S. Miller <davem@davemloft.net>
3661
3662 * elf/elf.h (R_SPARC_WDISP10): Define.
3663 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3664 R_SPARC_SIZE32.
3665 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3666 R_SPARC_SIZE64 and R_SPARC_H34.
3667
96154cd8
CD
36682012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3669
3670 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3671 conditions and remove no longer applicable assertion.
3672
9904dc47
L
36732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3674
3675 * bits/byteswap.h: Include <features.h>.
3676 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3677 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3678
f8887d0a
L
36792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3680
3681 * bits/byteswap.h (__bswap_16): Removed.
3682 Include <bits/byteswap-16.h> to get __bswap_16.
3683 * sysdeps/i386/bits/byteswap.h: Likewise.
3684 * sysdeps/s390/bits/byteswap.h: Likewise.
3685 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3686 * bits/byteswap-16.h: New file.
3687 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3688 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3689 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3690 * string/Makefile (headers): Add bits/byteswap-16.h.
3691
62470f60
PP
36922012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3693
3694 [BZ #13895]
3695 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3696 extra indirection.
3697 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3698 * nss/tst-nss-static.c: New.
3699
4dad7bab
RM
37002012-04-06 Robert Millan <rmh@gnu.org>
3701
3702 [BZ #6486]
3703 * manual/llio.texi (File Position Primitive): lseek
3704 refers to WHENCE when it really means OFFSET.
3705
e9142a17
AJ
37062012-04-06 Andreas Jaeger <aj@suse.de>
3707
2c040eff
AJ
3708 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3709 strncmp declarations.
3710
e9142a17
AJ
3711 * abilist/libc.abilist: Add __poll and __ppoll.
3712
ff9f1c5f
DM
37132012-04-05 David S. Miller <davem@davemloft.net>
3714
dcd2ae90
DM
3715 * scripts/check-local-headers.sh: Accept a host triplet in the
3716 path matched by the exclude regexp.
3717
993eb054
DM
3718 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3719 definition.
3720 * sysdeps/powerpc/powerpc32/dl-machine.h
3721 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3722 * sysdeps/s390/s390-32/dl-machine.h
3723 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3724 * sysdeps/sparc/sparc32/dl-machine.h
3725 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3726 * sysdeps/sparc/sparc64/dl-machine.h
3727 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3728
ff9f1c5f
DM
3729 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3730 lazy binding.
48e2e132 3731 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3732 undefined symbol errors.
3733
48e2e132 3734 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3735 DT_NEEDED entries.
3736
e80d6f94
MM
37372012-04-05 Michael Matz <matz@suse.de>
3738
3739 [BZ #13592]
3740 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3741
349fa79f
AJ
37422012-04-05 Andreas Jaeger <aj@suse.de>
3743
3744 [BZ #13908]
3745 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3746 comment.
3747
f402708f
KK
37482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3749
3750 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3751 which ROUND is no valid rounding mode.
3752
2ecccfc9
KK
37532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3754
3755 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3756 read again.
3757 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3758
8a53f50f
KK
37592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3760
3761 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3762 an exception using FPU order intentionally.
3763
37642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3765
3766 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3767 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3768 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3769 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3770
d653abb7
SJ
37712012-04-05 Simon Josefsson <simon@josefsson.org>
3772
3773 [BZ #12340]
3774 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3775 EINVAL when BUFLEN is too smal.
3776
c3b1bf7d
TS
37772012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3778
3779 [BZ #13553]
3780 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3781 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3782
b1aa60f3
AJ
37832012-04-03 Andreas Jaeger <aj@suse.de>
3784
c3b1bf7d 3785 [BZ #13938]
67f60a26
AJ
3786 * manual/setjmp.texi (System V contexts): Fix sentence.
3787
b1aa60f3
AJ
3788 [BZ #13926]
3789 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3790 New macro for this case.
3791 [!__GNUC__] (__bswap_64): New inline function for this case.
3792 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3793 * bits/byteswap.h: Likewise.
3794 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3795 ull, guard with __GLIBC_HAVE_LONG_LONG.
3796
3797 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3798 __GLIBC_HAVE_LONG_LONG.
3799
3800 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3801 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3802
39c59c35
TMQMF
38032012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3804
3805 [BZ #13691]
3806 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3807 inptr and inend, rather than using last_ch.
3808
135ffda8
DM
38092012-04-02 David S. Miller <davem@davemloft.net>
3810
3811 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3812 * stdio-common/printf-parse.h (read_int): Change return type to
3813 'int', return -1 on INT_MAX overflow.
3814 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3815 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3816 overflows INT_MAX. Check for overflow of in-format-string precision
3817 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3818 SIZE_MAX not INT_MAX for integer overflow test.
3819 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3820 skip the construct in the format string but do not record anything.
3821 * stdio-common/bug22.c: Adjust to test both width/prevision
3822 INT_MAX overflow as well as total length INT_MAX overflow. Check
3823 explicitly for proper errno values.
3824
228c019e
TS
38252012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3826
302cadd3
TS
3827 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3828 CHAR_MAX.
3829 * string/test-strcmp.c [! WIDE]: Likewise.
3830 * time/tst-mktime2.c: Likewise for INT_MAX.
3831 * string/test-string.h: #include <sys/param.h> for MIN.
3832
228c019e
TS
3833 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3834 * sysdeps/i386/init-first.c (init): Likewise.
3835 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3836 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3837 * sysdeps/sh/init-first.c (init): Likewise.
3838
cfa633f5
UD
38392012-04-01 Ulrich Drepper <drepper@gmail.com>
3840
3841 * po/ru.po: Update from translation team.
d1635ef8 3842 * po/vi.po: Likewise.
cfa633f5 3843
6cd0a5ea
SP
38442012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3845
3846 * resolv/nss_dns/dns-host.c: Merge copyright years.
3847
4b43400f
LD
38482012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3849
3850 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3851 Optimize memcpy with prefetch if
3852 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3853 src, dst pointers have unequal 16 byte alignments.
3854
48c41d04
SP
38552012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3856
3857 [BZ #13928]
3858 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3859 from a CNAME entry and return the minimum ttl for the query.
3860 (gaih_getanswer_slice): Likewise.
3861
b8dc394d
JL
38622012-03-30 Jeff Law <law@redhat.com>
3863
3864 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3865 due to long keys.
3866 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3867 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3868
2f5a5ed0
JL
3869 * resolv/nss_dns/dns-host.c: Update copyright year.
3870
1d39e359
UD
38712012-03-30 Ulrich Drepper <drepper@gmail.com>
3872
c030f70c 3873 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3874 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3875
1d39e359
UD
3876 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3877 comments for sendmmsg.
3878
38792012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3880
3881 [BZ #13691]
3882 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3883 with only 1 character between 0x0041 and 0x01b0.
3884 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3885 * wcsmbs/tst-mbsnrtowcs.c: New file.
3886
20fde227
DM
38872012-03-29 David S. Miller <davem@davemloft.net>
3888
3889 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3890 small copies by hand.
3891
984a4237
JL
38922012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3893
3894 [BZ #13761]
3895 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3896 _nss_compat_initgroups_dyn): Fall back to malloc/free
3897 for large group memberships.
3898
18c9d62b
DM
38992012-03-28 David S. Miller <davem@davemloft.net>
3900
88d85d4f
DM
3901 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3902 that branches into memcpy.
3903 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3904 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3905 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3906 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3908 bits.
3909 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3910 implementation too.
3911 * sysdeps/sparc/mempcpy.S: New file.
3912
e5aa83e1
DM
3913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3914 the IFUNC routine in the libc case.
3915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3916
88570753
DM
3917 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3918 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3919 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3920 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3921 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3922 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3923 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3924 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3925
249d7567
DM
3926 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3927 loop to 256 bytes instead of 64 bytes and fix test signedness.
3928
18c9d62b
DM
3929 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3930 * sysdeps/sparc/sparc32/Makefile: rather than here...
3931 * sysdeps/sparc/sparc64/Makefile: and here.
3932
05f3d1f6
UD
39332012-03-28 Ulrich Drepper <drepper@gmail.com>
3934
3935 * malloc/mallocbug.c: Avoid warnings about unused variables.
3936
86ae07a8
JL
39372012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3938
3939 [BZ #13760]
3940 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3941 in the right place. Discard and retry query if response is
3942 larger than input buffer size.
3943
41bf21a1
JM
39442012-03-28 Joseph Myers <joseph@codesourcery.com>
3945
d6270972
JM
3946 [BZ #369]
3947 [BZ #2678]
3948 [BZ #3866]
3949 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3950 x for large integer exponent.
3951 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3952 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3953 sign of result as needed afterwards.
3954 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3955 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3956 result for underflowing pow the same as for overflow.
3957 (__kernel_standard_l): Handle powl overflow and underflow here
3958 rather than calling __kernel_standard.
3959 * math/libm-test.inc (pow_test): Add more tests.
3960
414fca03 3961 [BZ #3868]
41bf21a1
JM
3962 [BZ #13879]
3963 [BZ #13910]
3964 [BZ #13911]
3965 [BZ #13912]
3966 [BZ #13913]
3967 [BZ #13915]
3968 [BZ #13916]
3969 [BZ #13917]
3970 [BZ #13918]
3971 [BZ #13919]
3972 [BZ #13920]
3973 [BZ #13921]
3974 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3975 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3976 (__kernel_standard_l): New function.
3977 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3978 __kernel_standard.
3979 * math/w_acosl.c (__acosl): Likewise.
3980 * math/w_asinl.c (__asinl): Likewise.
3981 * math/w_atan2l.c (__atan2l): Likewise.
3982 * math/w_atanhl.c (__atanhl): Likewise.
3983 * math/w_coshl.c (__coshl): Likewise.
3984 * math/w_exp10l.c (__exp10l): Likewise.
3985 * math/w_exp2l.c (__exp2l): Likewise.
3986 * math/w_fmodl.c (__fmodl): Likewise.
3987 * math/w_hypotl.c (__hypotl): Likewise.
3988 * math/w_j0l.c (__j0l, __y0l): Likewise.
3989 * math/w_j1l.c (__j1l, __y1l): Likewise.
3990 * math/w_jnl.c (__jnl, __ynl): Likewise.
3991 * math/w_lgammal.c (__lgammal): Likewise.
3992 * math/w_log10l.c (__log10l): Likewise.
3993 * math/w_log2l.c (__log2l): Likewise.
3994 * math/w_logl.c (__logl): Likewise.
3995 * math/w_powl.c (__powl): Likewise.
3996 * math/w_remainderl.c (__remainderl): Likewise.
3997 * math/w_scalbl.c (sysv_scalbl): Likewise.
3998 * math/w_sinhl.c (__sinhl): Likewise.
3999 * math/w_sqrtl.c (__sqrtl): Likewise.
4000 * math/w_tgammal.c (__tgammal): Likewise.
4001 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4002 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4003 * math/libm-test.inc (acos_test): Add more tests.
4004 (acosh_test): Likewise.
4005 (asin_test): Likewise.
4006 (atanh_test): Likewise.
4007 (exp_test): Likewise.
4008 (exp10_test): Likewise.
4009 (exp2_test): Likewise.
4010 (expm1_test): Likewise.
4011 (lgamma_test): Likewise.
4012 (log_test): Likewise.
4013 (log10_test): Likewise.
4014 (log1p_test): Likewise.
4015 (log2_test): Likewise.
4016 (pow_test): Do not allow some spurious overflow exceptions.
4017 (sqrt_test): Add more tests.
4018 (tgamma_test): Likewise.
4019 (y0_test): Likewise.
4020 (y1_test): Likewise.
4021 (yn_test): Likewise.
4022
dd62fda6
AB
40232012-03-27 Anton Blanchard <anton@samba.org>
4024
4025 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4026 MAP_HUGETLB.
4027 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4028 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4029 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4030
1e3cdfda
AJ
40312012-03-27 David S. Miller <davem@davemloft.net>
4032
b855ab85
DM
4033 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4034
1e3cdfda
AJ
4035 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4036 have-as-vis3 check.
4037
40382012-03-27 Andreas Jaeger <aj@suse.de>
4039
4040 * sysdeps/x86_64/elf/configure.in: Moved to ...
4041 * sysdeps/x86_64/configure.in: ... here.
4042 * sysdeps/x86_64/elf/start.S: Moved to ...
4043 * sysdeps/x86_64/start.S: ... here.
4044 * sysdeps/x86_64/elf/configure: Delete.
4045
4046 * sysdeps/x86_64/configure.in: Merge contents from
4047 sysdeps/i386/configure.in (without i686 check).
4048
4049 * sysdeps/i386/elf/Versions: Merge into ...
4050 * sysdeps/i386/Versions: ... this.
4051 * sysdeps/i386/elf/Versions: Delete file.
4052 * sysdeps/i386/elf/start.S: Moved to ...
4053 * sysdeps/i386/start.S: ...here.
4054 * sysdeps/i386/elf/configure.in: Merge into...
4055 * sysdeps/i386/configure.in: ...here.
4056 * sysdeps/i386/elf/configure.in: Delete file.
4057 * sysdeps/i386/elf/configure: Delete file.
4058
4059 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4060 * debug/backtracesyms.c: ... here.
4061 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4062 * debug/backtracesymsfd.c: ... here.
4063 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4064 * sysdeps/generic/ifunc-sel.h: ... here.
4065
4066 * sysdeps/unix/i386/start.c: Delete file.
4067 * sysdeps/unix/sparc/start.c: Delete file.
4068 * sysdeps/unix/start.c: Delete file.
4069
4070 * sysdeps/sh/elf/configure.in: Moved to ...
4071 * sysdeps/sh/configure.in: ... here.
4072 * sysdeps/sh/elf/start.S: Moved to ...
4073 * sysdeps/sh/start.S: ... here.
4074 * sysdeps/sh/elf/configure: Delete file.
4075
4076 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4077 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4078 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4079 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4080 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4081 * sysdeps/powerpc/powerpc64/start.S: here.
4082 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4083 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4084 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4085 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4086 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4087
4088 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4089 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4090 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4091 * sysdeps/powerpc/powerpc32/start.S: ... here.
4092 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4093 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4094 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4095
4096 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4097 * sysdeps/powerpc/ifunc-sel.h: ... here.
4098 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4099 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4100
4101 * sysdeps/sparc/elf/configure.in: Moved to ...
4102 * sysdeps/sparc/configure.in: ... here.
4103 * sysdeps/sparc/elf/configure: Delete file.
4104 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4105 * sysdeps/sparc/sparc32/start.S: ... here.
4106 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4107 * sysdeps/sparc/sparc64/start.S: ... here.
4108 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4109 * sysdeps/sparc/sparc32/Makefile: ... this.
4110 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4111 * sysdeps/sparc/sparc64/Makefile: ... this.
4112
4113 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4114 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4115 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4116 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4117 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4118 * sysdeps/s390/s390-32/setjmp.S: ... here.
4119 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4120 * sysdeps/s390/s390-32/configure.in: ... here.
4121 * sysdeps/s390/s390-32/elf/configure: Delete file.
4122 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4123 * sysdeps/s390/s390-32/start.S: ... here.
4124
4125 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4126 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4127 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4128 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4129 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4130 * sysdeps/s390/s390-64/setjmp.S: ... here.
4131 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4132 * sysdeps/s390/s390-64/configure.in: ... here
4133 * sysdeps/s390/s390-64/elf/configure: Delete file.
4134 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4135 * sysdeps/s390/s390-64/start.S: ... here.
4136 * sysdeps/s390/s390-64/elf/configure: Delete.
4137
4138 * configure.in: Remove support for elf directories in sysdeps.
4139
4140 * configure: Regenerated.
4141 * sysdeps/i386/configure: Regenerated.
4142 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4143 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4144 * sysdeps/s390/s390-32/configure: Regenerated.
4145 * sysdeps/s390/s390-64/configure: Regenerated.
4146 * sysdeps/sh/configure: Regenerated.
4147 * sysdeps/sparc/configure: Regenerated.
4148 * sysdeps/x86_64/configure: Regenerated.
4149
a3f61311
AS
41502012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4151
c876e002
AS
4152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4153
a3f61311
AS
4154 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4155 denormal result into account.
4156
ac4c54f0
RM
41572012-03-25 Roland McGrath <roland@hack.frob.com>
4158
4159 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4160 Reported by Allan McRae <allan@archlinux.org>.
4161
6a9b9c02
JL
41622012-03-23 Jeff Law <law@redhat.com>
4163
4164 * nss/getnssent.c (__nss_getent): Fix typo.
4165
4c42a0c1
DM
41662012-03-23 David S. Miller <davem@davemloft.net>
4167
4168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4169
1532c7ac
L
41702012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4171
4172 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4173 to pad to uint64_t for each field.
4174 (dl_tls_index): Replace unsigned long with uint64_t.
4175
3ff42526
PP
41762012-03-23 Daniel Jacobowitz <dmj@google.com>
4177 Paul Pluzhnikov <ppluzhnikov@google.com>
4178
4179 [BZ #6528]
4180 * grp/Makefile (otherlibs): Don't set it.
4181 * inet/Makefile (otherlibs): Likewise.
4182 * login/Makefile (otherlibs): Likewise.
4183 * nscd/Makefile (otherlibs): Likewise.
4184 * posix/Makefile (otherlibs): Likewise.
4185 * pwd/Makefile (otherlibs): Likewise.
4186 * rt/Makefile (otherlibs): Likewise.
4187 * sunrpc/Makefile (otherlibs): Likewise.
4188 * nss/Makefile (otherlibs): Likewise.
4189 Add libnss_files to routines and static-only-routines.
4190 ($(objpfx)getent): Remove rule.
4191 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4192 static-only-routines.
4193
7c69cd14
JM
41942012-03-22 Joseph Myers <joseph@codesourcery.com>
4195
4196 [BZ #13892]
4197 * math/s_cexp.c: Include <float.h>.
4198 (__cexp): Handle exp result overflowing not necessarily
4199 overflowing both real and imaginary parts of result.
4200 * math/s_cexpf.c: Likewise.
4201 * math/s_cexpl.c: Likewise.
4202 * math/libm-test.inc (cexp_test): Add more tests.
4203 * sysdeps/i386/fpu/libm-test-ulps: Update.
4204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4205
81b035fe
L
42062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4207
4208 * include/link.h (ELFW): New macro.
4209 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4210 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4211
1da7940c
L
42122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4213
4214 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4215 with uint64_t.
4216
b749dbb9
L
42172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4218
4219 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4220 declaration.
4221 (struct La_x32_retval): Likewise.
4222
2ff87f3f
L
42232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4224
4225 * sysdeps/x86_64/preconfigure.in: New file.
4226 * sysdeps/x86_64/preconfigure: New generated file.
4227
c0df8e69
JM
42282012-03-22 Joseph Myers <joseph@codesourcery.com>
4229
48e44791
JM
4230 [BZ #13824]
4231 * math/e_exp2l.c: Include <float.h>.
4232 (__ieee754_exp2l): Handle overflow and underflow cases
4233 separately. Only pass fractional part of argument to
4234 __ieee754_expl.
4235 * math/libm-test.inc (exp2_test): Add more tests.
4236
c0df8e69
JM
4237 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4238 negating x to take absolute value.
4239 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4240 Likewise.
4241 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4242 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4243 Likewise.
4244 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4245 computing low part if x was negated.
4246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4247
c8e43ba7
L
42482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4249
4250 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4251 la_x32_gnu_pltexit.
4252 (pltexit): Cast int_retval to ptrdiff_t.
4253 * elf/tst-auditmod3b.c: Likewise.
4254 * elf/tst-auditmod4b.c: Likewise.
4255 * elf/tst-auditmod5b.c: Likewise.
4256 * elf/tst-auditmod6b.c: Likewise.
4257 * elf/tst-auditmod6c.c: Likewise.
4258 * elf/tst-auditmod7b.c: Likewise.
4259
4260 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4261 and x32_gnu_pltexit.
4262
4263 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4264 __ELF_NATIVE_CLASS.
4265 (La_x32_regs): New macro.
4266 (La_x32_retval): Likewise.
4267 (la_x32_gnu_pltenter): New function prototype.
4268 (la_x32_gnu_pltexit): Likewise.
4269
7998fa78
AS
42702012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4271
dcb33988
AS
4272 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4273 exponent.
4274
233fc563
AS
4275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4276
7998fa78
AS
4277 * configure.in (libc_cv_cc_nofma): Check for option to disable
4278 generation of FMA instructions.
4279 * configure: Regenerate.
4280 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4281 * sysdeps/ieee754/dbl-64/Makefile: New file.
4282 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4283 Remove brandred-fma4.
4284 (CFLAGS-brandred-fma4.c): Remove.
4285 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4286 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4287 define.
4288 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4289 define.
4290
8e95c99a
L
42912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4292
4293 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4294 LLONG_MAX != LONG_MAX.
4295 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4296 (_fitoa_word): Likewise.
4297 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4298 LLONG_MAX != LONG_MAX.
4299 * stdio-common/_itowa.h: Include <_itoa.h>.
4300 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4301 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4302 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4303 only if not defined.
4304 (_ITOA_WORD_TYPE): Likewise.
4305 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4306 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4307
6f4db457
DM
43082012-03-21 David S. Miller <davem@davemloft.net>
4309
4310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4311
7785fe5a
L
43122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4313
4314 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4315 of x86_64 when setting libc_cv_slibdir, libdir and
4316 libc_cv_localedir.
4317 * sysdeps/unix/sysv/linux/configure: Regenerated.
4318
4535cd55
JM
43192012-03-21 Joseph Myers <joseph@codesourcery.com>
4320
4321 * manual/lang.texi (Old Varargs): Remove section.
4322 (How Variadic): Update menu.
4323 (va_start): Do not mention varargs.h.
4324
17228132
TS
43252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4326 Joseph Myers <joseph@codesourcery.com>
4327
4328 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4329 link test.
4330 * configure: Regenerated.
4331
8149f976
TS
43322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4333
05f3d1f6
UD
4334 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4335 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4336 conformtest.pl
8149f976 4337
1a4ac776
JM
43382012-03-21 Joseph Myers <joseph@codesourcery.com>
4339
be22ce65
JM
4340 * NOTES: Remove.
4341 * Makefile (files-for-dist): Remove NOTES.
4342 (NOTES): Remove rule.
4343 * README: Don't refer to NOTES.
4344 * manual/creature.texi: Don't include macros.texi.
4345 * manual/intro.texi (creature.texi): Remove comment referring to
4346 NOTES.
4347
40b601fb
JM
4348 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4349 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4350 * configure: Regenerated.
4351 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4352 LIBC_TRY_CC_OPTION.
4353 (libc_cv_as_i686): Likewise.
4354 (libc_cv_cc_avx): Likewise.
4355 (libc_cv_cc_sse2avx): Likewise.
4356 (libc_cv_cc_fma4): Likewise.
4357 (libc_cv_cc_novzeroupper): Likewise.
4358 * sysdeps/i386/configure: Regenerated.
4359
1a4ac776
JM
4360 [BZ #13883]
4361 * sysdeps/i386/fpu/s_cexp.S: Remove.
4362 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4363 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4364 * math/libm-test.inc (cexp_test): Add more tests.
4365 * sysdeps/i386/fpu/libm-test-ulps: Update.
4366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4367
a458e7fe
AM
43682012-03-21 Allan McRae <allan@archlinux.org>
4369
4370 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4371
0cb7efc5
JM
43722012-03-21 Joseph Myers <joseph@codesourcery.com>
4373
4374 [BZ #13871]
4375 * math/w_exp2.c: Do not include <float.h>.
4376 (o_threshold, u_threshold): Remove.
4377 (__exp2): Calculate result before checking finiteness and calling
4378 __kernel_standard.
4379 * math/w_exp2f.c: Likewise.
4380 * math/w_exp2l.c: Likewise.
4381 * math/libm-test.inc (exp2_test): Require overflow exception for
4382 1e6 input.
2460d3aa
JM
4383
4384 [BZ #3866]
4385 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4386 range of signed 64-bit integers before using fistpll. Remove
4387 checks for whether integers fit in mantissa bits.
4388 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4389 the range of signed 32-bit integers before using fistpl. Remove
4390 checks for whether integers fit in mantissa bits.
4391 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4392 (__ieee754_powl): Test for y outside the range of signed 64-bit
4393 integers before using fistpll. Reduce 64-bit values to 63-bit
4394 ones as needed.
4395 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4396 divide-by-zero is raised for zero to large negative powers.
4397 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4398 (__ieee754_powl): Test for y outside the range of signed 64-bit
4399 integers before using fistpll. Reduce 64-bit values to 63-bit
4400 ones as needed.
4401 * math/libm-test.inc (pow_test): Add more tests.
4402
eb96ffb0
L
44032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4404
4405 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4406 <stdio-common/_itoa.h>.
4407 * debug/segfault.c: Likewise.
4408 * elf/dl-cache.c: Likewise.
4409 * elf/dl-minimal.c: Likewise.
4410 * elf/dl-misc.c: Likewise.
4411 * elf/dl-sysdep.c: Likewise.
4412 * elf/dl-version.c: Likewise.
4413 * elf/rtld.c: Likewise.
4414 * hurd/hurdsock.c: Likewise.
4415 * hurd/lookup-retry.c: Likewise.
4416 * malloc/malloc.c: Likewise.
4417 * malloc/mtrace.c: Likewise.
4418 * nscd/nscd_getgr_r.c: Likewise.
4419 * nscd/nscd_getpw_r.c: Likewise.
4420 * nscd/nscd_getserv_r.c: Likewise.
4421 * posix/getopt_init.c: Likewise.
4422 * posix/wordexp.c: Likewise.
4423 * stdio-common/_itoa.c: Likewise.
4424 * stdio-common/printf_fphex.c: Likewise.
4425 * stdio-common/vfprintf.c: Likewise.
4426 * string/_strerror.c: Likewise.
4427 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4428 * sysdeps/i386/i686/hp-timing.h: Likewise.
4429 * sysdeps/mach/_strerror.c: Likewise.
4430 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4431 * sysdeps/mach/hurd/sethostid.c: Likewise.
4432 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4433 * sysdeps/mach/xpg-strerror.c: Likewise.
4434 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4435 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4436 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4437 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4438 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4439 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4440 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4441 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4442 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4443 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4444 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4445 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4446 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4447 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4448 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4449 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4450 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4451 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4452 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4453 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4454 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4455
4456 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4457
4458 * stdio-common/_itoa.h: Moved to ...
4459 * sysdeps/generic/_itoa.h: Here.
4460
4461 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4462
4463 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4464 instead of "_itoa.h" and "_itowa.h".
4465 * stdio-common/vfprintf.: Likewise.
4466
d1af992d
L
44672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4468
4469 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4470 <bits/wordsize.h>.
4471 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4472 (__signbit): Likwise.
4473 (llrintf): Likwise.
4474 (llrint): Likwise.
4475
114883e0
L
44762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4477
4478 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4479 __WORDSIZE != 64.
4480
c135cc1b
JM
44812012-03-20 Joseph Myers <joseph@codesourcery.com>
4482
4483 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4484 OVERFLOW_EXCEPTION_OK.
4485 * math/libm-test.inc ("Philosophy"): Update comment about
4486 exception testing.
4487 (OVERFLOW_EXCEPTION): Define.
4488 (OVERFLOW_EXCEPTION_OK): Likewise.
4489 (INVALID_EXCEPTION_OK): Renumber.
4490 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4491 (IGNORE_ZERO_INF_SIGN): Likewise.
4492 (test_exceptions): Handle FE_OVERFLOW.
4493 (exp10_test): Expect overflow exceptions.
4494 (exp2_test): Likewise.
4495 (expm1_test): Likewise.
4496 (nextafter_test): Likewise.
4497 (pow_test): Likewise.
4498 (scalbn_test): Likewise.
4499 (scalbln_test): Likewise.
4500
95443d88
L
45012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4502
4503 * sysdeps/x86_64/bits/atomic.h
4504 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4505 64bit integer.
4506 (atomic_exchange_acq): Likewise.
4507 (__arch_exchange_and_add_body): Likewise.
4508 (__arch_add_body): Likewise.
4509 (atomic_add_negative): Likewise.
4510 (atomic_add_zero): Likewise.
4511
490df6c4
L
45122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4513
c2722551 4514 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4515 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4516
5e52b189
L
45172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4518
4519 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4520 Check __x86_64__ instead of __WORDSIZE.
4521
a9879d4c
L
45222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4523
4524 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4525
5df98260
DM
45262012-03-19 David S. Miller <davem@davemloft.net>
4527
e1497744
DM
4528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4529
5df98260
DM
4530 * sysdeps/sparc/fpu/fenv_private.h: New file.
4531 * sysdeps/sparc/fpu/math_private.h: Use it.
4532 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4533 Remove.
4534 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4535 (libc_feholdexcept_setroundl): Remove.
4536 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4537 Remove.
4538 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4539 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4540
b4c35121
L
45412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4542
4543 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4544 int64_t instead of long int.
4545 (INSERT_WORDS64): Likwise.
4546
56965fd7
L
45472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4548
4549 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4550 _Unwind_GetCFA return to _Unwind_Ptr first.
4551
83d1aec8
JM
45522012-03-19 Joseph Myers <joseph@codesourcery.com>
4553
1897ad44
JM
4554 [BZ #13629]
4555 * math/s_clog.c: Include <float.h>.
4556 (__clog): Scale large or subnormal inputs.
4557 * math/s_clogf.c: Likewise.
4558 * math/s_clogl.c: Likewise.
4559 * math/s_clog10.c: Include <float.h>.
4560 (M_LOG10_2): Define.
4561 (__clog10): Scale large or subnormal inputs.
4562 * math/s_clog10f.c: Likewise.
4563 * math/s_clog10l.c: Likewise.
4564 * math/libm-test.inc (clog_test): Add more tests.
4565 (clog10_test): Likewise.
4566 * sysdeps/i386/fpu/libm-test-ulps: Update.
4567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4568
7726d6a9
JM
4569 [BZ #11451]
4570 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4571 x and y.
4572 * math/libm-test.inc (atan2_test): Add another test.
4573
83d1aec8
JM
4574 * Makerules (common-objdir-compile): Remove.
4575 * sysdeps/unix/Makefile (config-generated): Do not add
4576 $(unix-generated) to variable.
4577 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4578 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4579 Remove rule.
4580 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4581 Likewise.
4582 [generic bits/local_lim.h] (before-compile): Do not append to
4583 variable.
4584 [generic bits/local_lim.h] (common-generated): Likewise.
4585 [generic sys/param.h] (before-compile): Do not append to variable.
4586 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4587 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4588 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4589 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4590 include.
4591 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4592 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4593 [generic sys/param.h] ($(addprefix
4594 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4595 [generic sys/param.h] (common-generated): Do not append to
4596 variable.
4597 [generic sys/param.h] (sysdep_headers): Likewise.
4598 [generic bits/errno.h] (before-compile): Do not append to
4599 variable.
4600 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4601 rule.
4602 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4603 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4604 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4605 [generic bits/errno.h] (common-generated): Do not append to
4606 variable.
4607 [generic bits/ioctls.h] (before-compile): Do not append to
4608 variable.
4609 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4610 rule.
4611 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4612 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4613 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4614 rule.
4615 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4616 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4617 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4618 [generic bits/ioctls.h] (common-generated): Do not append to
4619 variable.
4620 [generic sys/syscall.h] (syscall.h): Remove variable.
4621 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4622 rule.
4623 [generic sys/syscall.h] (before-compile): Do not append to
4624 variable.
4625 [generic sys/syscall.h] (common-generated): Likewise.
4626 * sysdeps/unix/errnos-tmpl.c: Remove file.
4627 * sysdeps/unix/errnos.awk: Likewise.
4628 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4629 * sysdeps/unix/ioctls.awk: Likewise.
4630 * sysdeps/unix/mk-local_lim.c: Likewise.
4631 * sysdeps/unix/snarf-ioctls: Likewise.
4632
4851a949
RH
46332012-03-19 Richard Henderson <rth@twiddle.net>
4634
bd37f2ee
RH
4635 * sysdeps/i386/fpu/fenv_private.h: New file.
4636 * sysdeps/i386/fpu/math_private.h: Use it.
4637 (math_opt_barrier, math_force_eval): Remove.
4638 (libc_feholdexcept_setround_53bit): Remove.
4639 (libc_feupdateenv_53bit): Remove.
4640 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4641 (math_opt_barrier, math_force_eval): Remove.
4642 (libc_feholdexcept): Remove.
4643 (libc_feholdexcept_setround): Remove.
4644 (libc_fetestexcept, libc_fesetenv): Remove.
4645 (libc_feupdateenv_test): Remove.
4646 (libc_feupdateenv, libc_feholdsetround): Remove.
4647 (libc_feresetround): Remove.
4648
d0adc922
RH
4649 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4650 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4651
0fe0f1f8
RH
4652 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4653 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4654 (libc_feupdateenv_testl): New.
4655 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4656 (libc_feupdateenv_testf): New.
4657 (libc_feupdateenv): Use libc_feupdateenv_test.
4658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4659 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4660
eb92c487
RH
4661 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4662 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4663 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4664 (libc_feresetround_noex): New.
4665 (libc_feresetround_noexf): New.
4666 (libc_feresetround_noexl): New.
4667 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4668 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4669 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4670 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4671 SET_RESTORE_ROUND.
4672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4673 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4674 (__cos): Likewise.
4675 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4676 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4677 SET_RESTORE_ROUND_NOEX.
4678 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4679 SET_RESTORE_ROUND_NOEXF.
4680 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4681 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4682 (libc_feholdsetroundf): New.
4683 (libc_feresetround, libc_feresetroundf): New.
4684
7d2e8012
RH
4685 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4686 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4687 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4688
b4dabbb4
RH
4689 * sysdeps/generic/math_private.h: Include <fenv.h>.
4690 (default_libc_feholdexcept): New.
4691 (default_libc_feholdexcept_setround): New.
4692 (default_libc_fesetenv, default_libc_feupdateenv): New.
4693 (libc_feholdexcept): Only define if undefined.
4694 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4695 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4696 (libc_feholdexcept_setroundl): Likewise.
4697 (libc_feholdexcept_setround_53bit): Likewise.
4698 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4699 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4700 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4701 (libc_feupdateenv_53bit): Likewise.
4702 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4703 (libc_feholdexcept): Convert from macro to inline function.
4704 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4705 (libc_fesetenv, libc_feupdateenv): Likewise.
4706
4851a949
RH
4707 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4708 not previously defined.
4709 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4710 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4711 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4712 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4713 * sysdeps/ieee754/flt-32/math_private.h: New file.
4714 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4715 math_private.h below SET_FLOAT_WORD.
4716 (__isnan, __isinf_ns, __finite): Remove.
4717 (__isnanf, __isinf_nsf, __finitef): Remove.
4718
e79d442e
AS
47192012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4720
4721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4722
90b80344
DM
47232012-03-17 David S. Miller <davem@davemloft.net>
4724
4725 [BZ #6471]
4726 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4727 for 2.16.
4728
edc21804
DM
47292012-03-16 David S. Miller <davem@davemloft.net>
4730
77e927af
DM
4731 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4732 warnings.
4733
374976dd
DM
4734 [BZ #6471]
4735 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4736 properly.
4737 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4738 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4739 sysdep_routines when subdir is sysvipc.
4740 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4741 __getshmlba helper.
4742
edc21804
DM
4743 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4744
473c3ef3
L
47452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4746
4747 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4748 [__LP64__].
4749
eb0f39b6
L
47502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4751
4752 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4753 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4754 (__lround): Renamed to ...
4755 (__llround): This. Replace long int with long long int.
4756 Define lround functions as aliases of llround functions.
4757 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4758
6b6cd74b
L
47592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4760
4761 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4762 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4763 adresses to uintptr_t. Replace "long int" and "unsigned long
4764 int" with "greg_t" on va_arg.
4765
f1a77b01
L
47662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4767
4768 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4769 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4770
4771 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4772 Move e_machine check before EI_CLASS check. Handle x32
4773 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4774 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4775 SKIP_EM_IA_64 and include
4776 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4777
4778 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4779 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4780 (add_system_dir): New macro.
4781
4782 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4783 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4784
11b90b9f
JM
47852012-03-16 Joseph Myers <joseph@codesourcery.com>
4786
c36e1d23
JM
4787 [BZ #2551]
4788 [BZ #2552]
4789 [BZ #2553]
4790 [BZ #2554]
4791 [BZ #2562]
4792 [BZ #2563]
4793 [BZ #2565]
4794 [BZ #2566]
4795 [BZ #2576]
4796 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4797 (y0): Likewise.
4798 * math/w_j0f.c (j0f): Likewise.
4799 (y0f): Likewise.
4800 * math/w_j0l.c (__j0l): Likewise.
4801 (__y0l): Likewise.
4802 * math/w_j1.c (j1): Likewise.
4803 (y1): Likewise.
4804 * math/w_j1f.c (j1f): Likewise.
4805 (y1f): Likewise.
4806 * math/w_j1l.c (__j1l): Likewise.
4807 (__y1l): Likewise.
4808 * math/w_jn.c (jn): Likewise.
4809 (yn): Likewise.
4810 * math/w_jnf.c (jnf): Likewise.
4811 (ynf): Likewise.
4812 * math/w_jnl.c (__jnl): Likewise.
4813 (__ynl): Likewise.
4814 * math/libm-test.inc (j0_test): Add more tests.
4815 (j1_test): Likewise.
4816 (jn_test): Likewise. Add trailing semicolon to existing test.
4817 (y0_test): Likewise.
4818 (y1_test): Likewise.
4819 * sysdeps/i386/fpu/libm-test-ulps: Update.
4820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4821
11b90b9f
JM
4822 [BZ #13851]
4823 [BZ #13854]
4824 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4825 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4826 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4827 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4828 (__tanl): Set errno for infinite argument.
4829 * sysdeps/i386/fpu/mptan.c: Remove.
4830 * sysdeps/i386/fpu/s_tan.S: Likewise.
4831 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4832 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4833 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4834 * math/libm-test.inc (tan_test): Add more tests and enable more
4835 tests for double and long double.
4836 * sysdeps/i386/fpu/libm-test-ulps: Update.
4837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4838
6a1bd2a1
JK
48392012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4840
4841 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4842 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4843
10a803e0
RM
48442012-03-16 Roland McGrath <roland@hack.frob.com>
4845
4846 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4847 * configure.in: Use it for both main tree and add-ons.
4848 * configure: Regenerated.
4849
f196c7f7
L
48502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4851
4852 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4853
8848d99d
JM
48542012-03-16 Joseph Myers <joseph@codesourcery.com>
4855
96cbe7f4
JM
4856 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4857 in comment.
4858
8848d99d
JM
4859 [BZ #13851]
4860 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4861 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4864 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4865 infinite argument.
4866 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4867 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4868 != 0 for prec == 2.
4869 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4870 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4871 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4872 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4873 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4874 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4875 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4876 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4877 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4878 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4879 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4880 * math/libm-test.inc (cos_test): Add more tests and enable more
4881 tests for long double.
4882 (sin_test): Likewise.
4883 (sincos_test): Likewise.
4884 * sysdeps/i386/fpu/libm-test-ulps: Update.
4885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4886
dd7f4703
DM
48872012-03-16 David S. Miller <davem@davemloft.net>
4888
4889 * sysdeps/sparc/fpu/math_private.h: New file.
4890
006f1daa
DM
48912012-03-15 David S. Miller <davem@davemloft.net>
4892
c0c83bc8
DM
4893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4894 file.
e6a62e18 4895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4897 file.
e6a62e18
DM
4898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4904 sysdep routines.
4905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4906
88cb87d9
DM
4907 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4908 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4909
006f1daa 4910 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4912 sparc-ifunc.h
006f1daa 4913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4915 Likewise.
4916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4917 Likewise.
006f1daa
DM
4918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4922 Likewise.
006f1daa
DM
4923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4928 Likewise.
4929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4930 Likewise.
006f1daa
DM
4931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4937 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4938 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4949 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4950 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4951 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4952 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4954 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4955
11e0098e
AS
49562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4957
4958 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4959 scaling.
4960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4961
e85b09d0
AJ
49622012-03-15 Andreas Jaeger <aj@suse.de>
4963
4964 [BZ #13852]
4965 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4966 ieee754/flt-32 implementation for sin, cos and sincos.
4967 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4968 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4969 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4970 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4971 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4972 ieee754/flt-32 implementation for tan.
4973
4974 * math/libm-test.inc (cos_test): Enable some large input tests for
4975 float as well
4976 (sin_test): Likewise.
4977 (sincos_test): Likewise.
4978 (tan_test): Add tests for large input.
4979
4980 * sysdeps/i386/fpu/libm-test-ulps: Update.
4981
81c64153
AJ
49822012-03-15 Andreas Jaeger <aj@suse.de>
4983
4984 [BZ #13658]
4985 * math/libm-test.inc (cos_test): Add more test cases.
4986 (sin_test): Likewise.
4987 (sincos_test): Likewise.
4988
7bbfa5c6
AJ
49892012-03-15 Andreas Jaeger <aj@suse.de>
4990
4991 [BZ #13837]
4992 * math/libm-test.inc (cos_test): Add a test case for large input
4993 value.
4994 (sin_test): Likewise.
4995 (sincos_test): Likewise.
4996
49972012-03-15 Andreas Jaeger <aj@suse.de>,
4998 Joseph Myers <joseph@codesourcery.com>
4999
5000 [BZ #13658]
0671f479 5001 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5002 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5003 * sysdeps/i386/fpu/branred.c: Likewise.
5004 * sysdeps/i386/fpu/dosincos.c: Likewise.
5005 * sysdeps/i386/fpu/mpa.c: Likewise.
5006 * sysdeps/i386/fpu/s_cos.S: Likewise.
5007 * sysdeps/i386/fpu/s_sin.S: Likewise.
5008 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5009 * sysdeps/i386/fpu/sincos32.c: Likewise.
5010
5011 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5012 Define.
5013 (libc_feupdateenv_53bit): Define.
5014 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5015 Define.
5016 (libc_feupdateenv_53bit): Define.
5017
5018 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5019 53 bit (without extend i386 double precision).
5020
5021 * math/libm-test.inc (sincos_test): Add tests for large input.
5022 (sin): Likewise.
5023 (cos): Likewise.
5024
5025 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5026
9cad04ea
AS
50272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5028
5029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5030
f7062b9a
DM
50312012-03-15 David S. Miller <davem@davemloft.net>
5032
5033 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5034 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5035 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5036 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5049 file.
f7062b9a 5050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5052 file.
f7062b9a 5053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
5054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5055 file.
f7062b9a 5056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
5057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5058 file.
f7062b9a
DM
5059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5060 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5061 fmin/fmax sysdep routines.
5062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5063
7bd951ff
DM
50642012-03-14 David S. Miller <davem@davemloft.net>
5065
559398ab
DM
5066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5070 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5071 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5072 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5073 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5086 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5087 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5088 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5089 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5090 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5091 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5092 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5093 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5094 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5095 routines.
5096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5097 file.
559398ab 5098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5100 file.
559398ab 5101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5103 file.
559398ab 5104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5106 file.
559398ab 5107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5109 file.
559398ab 5110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5112 file.
5113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5114 file.
5115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5116 file.
5117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5118 file.
5119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5120 New file.
5121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5122 file.
5123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5124 file.
559398ab 5125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5127 file.
559398ab 5128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5130 file.
559398ab 5131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5133 file.
559398ab 5134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5136 VIS3 routines.
559398ab
DM
5137
5138 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5139 New file.
5140
5a1c1e32
DM
5141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5142
eae47a36
DM
5143 * sysdeps/sparc/configure.in: New file.
5144 * sysdeps/sparc/configure: Generate.
5145 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5146 * configure: Regenerate.
5147 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5148 * config.make.in (have-as-vis3): New.
5149 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5150 available use -Av9d instead of -Av9a.
5151 * sysdeps/sparc/sparc64/Makefile: Likewise.
5152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5154 New file.
5155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5156 file.
5157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5158 New file.
5159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5160 file.
eae47a36
DM
5161 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5162 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5165 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5166
c0c83bc8
DM
5167 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5168 fzeros/fnegs to load 0x80000000 into a float register instead of
5169 using the stack.
7bd951ff
DM
5170 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5171
bd951ccb
JM
51722012-03-14 Joseph Myers <joseph@codesourcery.com>
5173
5174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5175 bits/syscall.h.
5176 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5177 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5178 ($(inst_includedir)/bits/syscall.h): Remove rule.
5179 ($(objpfx)bits/syscall.d): Include instead of
5180 $(objpfx)syscall-list.d.
5181 (generated): Change syscall-list.h and syscall-list.d to
5182 bits/syscall.h and bits/syscall.d.
5183
bb4e6db2
RM
51842012-03-14 Roland McGrath <roland@hack.frob.com>
5185
5186 [BZ #13846]
5187 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5188
aa4a2ae1
JM
51892012-03-14 Joseph Myers <joseph@codesourcery.com>
5190
e456826d
JM
5191 [BZ #13841]
5192 * math/s_csqrt.c: Include <float.h>.
5193 (__csqrt): Scale large or subnormal inputs.
5194 * math/s_csqrtf.c: Likewise.
5195 * math/s_csqrtl.c: Likewise.
5196 * math/libm-test.inc (csqrt_test): Add more tests.
5197 * sysdeps/i386/fpu/libm-test-ulps: Update.
5198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5199
aa4a2ae1
JM
5200 [BZ #13840]
5201 * math/libm-test.inc (hypot_test): Add more tests.
5202
7c10fd35
DM
52032012-03-13 David S. Miller <davem@davemloft.net>
5204
5205 [BZ #13840]
5206 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5207 double-precision for the calculation instead of scaling.
5208
f453b98b
JM
52092012-03-13 Joseph Myers <joseph@codesourcery.com>
5210
5211 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5212 manipulate bits before adding and subtracting TWO52[sx].
5213 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5214 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5215 Likewise.
5216 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5217
09a3453f
DM
52182012-03-13 David S. Miller <davem@davemloft.net>
5219
8e59da90
DM
5220 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5221 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5223 rtld-global-offsets.h
5224 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5225
2a8ab7f2
DM
5226 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5227 large parameters.
5228
10f62770
DM
5229 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5230
5f0bdb18
DM
5231 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5232 'err' in the ifdef scope in which it is actually used.
5233
09a3453f
DM
5234 * nss/nss_db/db-init.c: Include string.h
5235
b4b2eb5e
DM
52362012-03-12 David S. Miller <davem@davemloft.net>
5237
98bb2f1c
DM
5238 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5239 masking out of the most significant byte of random value used.
5240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5241 Fix coding style in previous change.
5242
b4b2eb5e
DM
5243 * sysdeps/unix/sysv/linux/kernel-features.h
5244 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5245 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5246 expression.
5247 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5248 later.
5249
6e226b09
DM
52502012-03-11 David S. Miller <davem@davemloft.net>
5251
a1bcbd40
DM
5252 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5253 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5254 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5255 for 'resultvar' otherwise things get truncated on 64-bit.
5256
cb9d6174
DM
5257 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5258 Fix masking out of the most significant byte of random value used.
5259
6e226b09
DM
5260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5261
058c132d
AS
52622012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5263
5264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5265
2d2cd515
DM
52662012-03-09 David S. Miller <davem@davemloft.net>
5267
5268 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5269 variables with appropriate CPP guards.
5270 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5271 frame pointer, not the stack pointer. Correct layout comments. Fix test
5272 on resulting framesize and the management of the outregs buffer for pltexit.
5273 Preserve floating point return values across _dl_call_pltexit call.
5274 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5275 framesize and the management of the outregs buffer for pltexit.
5276 Preserve floating point return values across _dl_call_pltexit
5277 call.
5278 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5279 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5280 (print_exit): Fix format string for return register value.
5281
9a07f9d0
JM
52822012-03-10 Joseph Myers <joseph@codesourcery.com>
5283
5284 * sunrpc/Makefile (others): Add rpcgen.
5285 ($(objpfx)rpcgen): Remove special build rule and dependency on
5286 libc.
5287 * sunrpc/rpcgen.c: New file.
5288
547b5e30
PE
52892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5290
c524201a
PE
5291 [BZ #13673]
5292 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5293 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5294 * sysdeps/i386/crti.S: Likewise.
5295 * sysdeps/i386/crtn.S: Likewise.
5296 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5297 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5298 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5299 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5300 * sysdeps/sh/crti.S: Likewise.
5301 * sysdeps/sh/crtn.S: Likewise.
5302 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5303
7b6235f2
PE
5304 [BZ #13673]
5305 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5306 with URL.
5307 * locale/programs/locfile-kw.gperf: Likewise.
5308 * locale/programs/charmap-kw.h: Regenerated.
5309 * locale/programs/locfile-kw.h: Likewise.
5310
547b5e30
PE
5311 [BZ #13673]
5312 * intl/plural.y: Replace FSF snail mail address with URL.
5313 * intl/plural.c: Regenerated.
5314
5f0a5dae
RH
53152012-03-09 Richard Henderson <rth@twiddle.net>
5316
5317 * include/math_private.h: Remove file.
5318 * math/math_private.h: Move file ...
5319 * sysdeps/generic/math_private.h: ... here.
5320
b8c03620
RH
5321 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5322 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5323 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5324
4e234f5d 5325 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5326 and <math_private.h>.
5327 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5328 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5329 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5330 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5331 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5332 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5333 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5334 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5335 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5336 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5341 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5342 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5352 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5354 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5407 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5409 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5415 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5416 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5417 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5418 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5419 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5420 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5421 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5422 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5423 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5424 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5425 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5426 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5427 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5428 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5429 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5430 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5431 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5432 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5433 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5434 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5435 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5436 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5437 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5438 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5439 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5440 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5441 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5442 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5443 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5444 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5445 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5446 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5447 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5448 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5449 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5450 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5451 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5452 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5453 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5454 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5455 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5456 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5457 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5458 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5459 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5460 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5461 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5462 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5463 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5464 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5465 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5466 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5467 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5468 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5469 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5470 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5471 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5472 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5473 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5474 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5475 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5476 * sysdeps/ieee754/k_standard.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5495 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5514 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5517 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5519 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5521 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5522 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5524 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5570 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5572 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5574 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5575 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5578 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5579 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5580 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5581 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5582 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5584 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5585 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5590 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5592 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5596 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5597 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5599 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5600 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5608 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5609 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5613 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5618 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5624 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5625 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5626 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5627 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5629 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5630 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5631 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5632 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5634 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5635 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5637 * sysdeps/ieee754/s_lib_version.c: Likewise.
5638 * sysdeps/ieee754/s_matherr.c: Likewise.
5639 * sysdeps/ieee754/s_signgam.c: Likewise.
5640 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5641 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5642 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5643 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5644 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5645 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5646 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5647 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5648 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5649 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5650 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5651 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5652 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5653 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5654 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5655 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5656 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5657 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5658 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5659 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5660 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5661
1991fa03
JM
56622012-03-09 Joseph Myers <joseph@codesourcery.com>
5663
5664 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5665 * sunrpc/rpc_main.c: Likewise.
5666 * sunrpc/rpc_svcout.c: Likewise.
5667
60d6f5a6
DM
56682012-03-09 David S. Miller <davem@davemloft.net>
5669
5670 * include/math_private.h: New file.
5671
4962050e
JM
56722012-03-09 Joseph Myers <joseph@codesourcery.com>
5673
02a6f887
JM
5674 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5675 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5676 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5677 from <bits/socket_type.h>.
5678 (enum __socket_type): Don't define here.
5679 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5681 bits/socket_type.h.
5682
c6e013c1
JM
5683 [BZ #13566]
5684 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5685 checking __USE_GNU.
5686
4962050e
JM
5687 * Makerules ($(inst_includedir)/%.h): New rule.
5688 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5689 (install-others): Remove variable setting.
5690 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5691
38842f45
RH
56922012-03-08 Richard Henderson <rth@twiddle.net>
5693
67bb6da6
RH
5694 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5695 from macro to inline function; merge with the
5696 !__LIBC_INTERNAL_MATH_INLINES version.
5697 (__ieee754_sqrtf): Likewise.
5698
15194b4b
RH
5699 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5700 to inline function.
5701 (__rintf, __floor, __floorf): Likewise.
5702
64e21ede
RH
5703 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5704 macro to inline function.
5705 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5706
38842f45
RH
5707 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5708 not <math/math_private.h>.
5709
c64bf5fe
DM
57102012-03-08 David S. Miller <davem@davemloft.net>
5711
5712 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5713 copyright year.
5714 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5715
82d86f28
TS
57162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5717
5718 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5719 normalization.
5720 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5721 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5722
aea5d727
UD
57232012-03-08 Ulrich Drepper <drepper@gmail.com>
5724
5725 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5726 be defined individually, they must be defined as a block. Define
5727 S for printing a string instead of hidint the different by using a
5728 macro for adding the 'l'.
5729 * stdio-common/tst-fphex-wide.c: Adjust.
5730
70bca0a3
MP
57312012-03-07 Marek Polacek <polacek@redhat.com>
5732
5733 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5734
65b81130
MP
57352012-03-08 Marek Polacek <polacek@redhat.com>
5736
5737 [BZ #13806]
5738 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5739 * stdio-common/tst-fphex.c: Define a few macros to make the
5740 test reusable. Use them.
5741 * stdio-common/tst-fphex-wide.c: New file.
5742
07037eeb
JM
57432012-03-08 Joseph Myers <joseph@codesourcery.com>
5744
a7a93d50
JM
5745 [BZ #6911]
5746 * manual/macros.texi (gnusystems): New macro.
5747 (nongnusystems): Likewise.
5748 (gnulinuxhurdsystems): Likewise.
5749 (gnuhurdsystems): Likewise..
5750 (gnulinuxsystems): Likewise.
5751 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5752 variants of the GNU system, not "GNU system".
5753 * manual/conf.texi: Likewise.
5754 * manual/errno.texi: Likewise. Update example of errno macro
5755 expansion.
5756 * manual/filesys.texi: Likewise.
5757 (getumask): Document as specific to GNU/Hurd.
5758 * manual/install.texi: Likewise. Reword some references to
5759 GNU/Linux.
5760 * manual/intro.texi: Likewise.
5761 * manual/io.texi: Likewise.
5762 (File Name Portability): Detail which constraints are inapplicable
5763 to all GNU systems and which are only inapplicable to GNU/Hurd.
5764 * manual/job.texi: Likewise.
5765 * manual/llio.texi: Likewise.
5766 (O_NOCTTY): Document as present on GNU/Linux.
5767 * manual/maint.texi: Likewise.
5768 * manual/memory.texi: Likewise.
5769 * manual/pattern.texi: Likewise.
5770 * manual/pipe.texi: Likewise.
5771 * manual/process.texi: Likewise.
5772 * manual/resource.texi: Likewise.
5773 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5774 child on GNU/Hurd.
5775 * manual/setjmp.texi: Likewise.
5776 * manual/signal.texi: Likewise.
5777 * manual/startup.texi: Likewise.
5778 * manual/stdio.texi: Likewise.
5779 * manual/terminal.texi: Likewise.
5780 (ONLCR): Document as POSIX.
5781 (OXTABS): Document availability on GNU/Linux as XTABS.
5782 (ONOEOT): Document availability separately from other bits.
5783 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5784 * manual/time.texi: Likewise.
5785 * manual/users.texi: Likewise.
5786 * INSTALL: Regenerated.
5787 * sysdeps/gnu/errlist.c: Regenerated.
5788
07037eeb
JM
5789 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5790 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5791 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5792 puts.
5793 * configure: Regenerated.
5794
d1d3431a
JM
57952012-03-07 Joseph Myers <joseph@codesourcery.com>
5796
af6a1e37
JM
5797 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5798 default includes instead of AC_HEADER_CHECK.
5799 * sysdeps/i386/configure: Regenerated.
5800
d1d3431a
JM
5801 [BZ #10716]
5802 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5803 * math/s_cacoshf.c (__cacoshf): Likewise.
5804 * math/s_cacoshl.c (__cacoshl): Likewise.
5805 * math/s_casinh.c (__casinh): Set signs of result from argument.
5806 * math/s_casinhf.c (__casinhf): Likewise.
5807 * math/s_casinhl.c (__casinhl): Likewise.
5808 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5809 (casinh_test): Add more tests.
5810 * sysdeps/i386/fpu/libm-test-ulps: Update.
5811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5812
482ff4da
UD
58132012-03-07 Ulrich Drepper <drepper@gmail.com>
5814
872fda05
UD
5815 * po/zh_TW.po: Update from translation team.
5816
a4300c7a
UD
5817 * login/Makefile (distribute): Remove variable.
5818 * catgets/Makefile: Likewise.
5819 * mach/Makefile: Likewise.
5820 * malloc/Makefile: Likewise.
5821 * misc/Makefile: Likewise.
5822 * iconv/Makefile: Likewise.
5823 * nscd/Makefile: Likewise.
5824 * hurd/Makefile: Likewise.
5825 * manual/Makefile: Likewise.
5826 * locale/Makefile: Likewise.
5827 * intl/Makefile: Likewise.
5828 * conform/Makefile: Likewise.
5829 * nss/Makefile: Likewise.
5830 * time/Makefile: Likewise.
5831 * soft-fp/Makefile: Likewise.
5832 * dirent/Makefile: Likewise.
5833 * gmon/Makefile: Likewise.
5834 * po/Makefile: Likewise.
5835 * rt/Makefile: Likewise.
5836 * socket/Makefile: Likewise.
5837 * math/Makefile: Likewise.
5838 * signal/Makefile: Likewise.
5839 * debug/Makefile: Likewise.
5840 * elf/Makefile: Likewise.
5841 * timezone/Makefile: Likewise.
5842 * stdlib/Makefile: Likewise.
5843 * iconvdata/Makefile: Likewise.
5844 * sunrpc/Makefile: Likewise.
5845 * io/Makefile: Likewise.
5846 * argp/Makefile: Likewise.
5847 * inet/Makefile: Likewise.
5848 * hesiod/Makefile: Likewise.
5849 * grp/Makefile: Likewise.
5850 * csu/Makefile: Likewise.
5851 * wctype/Makefile: Likewise.
5852 * crypt/Makefile: Likewise.
5853 * libio/Makefile: Likewise.
5854 * string/Makefile: Likewise.
5855 * nis/Makefile: Likewise.
5856 * resolv/Makefile: Likewise.
5857 * stdio-common/Makefile: Likewise.
5858 * wcsmbs/Makefile: Likewise.
5859 * dlfcn/Makefile: Likewise.
5860 * posix/Makefile: Likewise.
5861
3b7c4e74 5862 [BZ #6959]
482ff4da
UD
5863 * timezone/Makefile: Don't install timezone files, just the programs
5864 and scripts.
5865
f72ed77d
UD
58662012-03-06 Ulrich Drepper <drepper@gmail.com>
5867
a000466f
UD
5868 * nss/databases.def: Add missing gshadow entry.
5869
f72ed77d
UD
5870 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5871
a53b7a4e
MP
58722012-03-06 Marek Polacek <polacek@redhat.com>
5873
5874 [BZ #13726]
5875 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5876 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5877 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5878 * stdio-common/tst-long-dbl-fphex.c: New file.
5879
e9258400
DM
58802012-03-06 David S. Miller <davem@davemloft.net>
5881
5882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5883 (set_obp_int): New function.
5884 (get_obp_int): New function.
5885 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5886 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5887 Avoid unused variable warnings on 'val' and use builtin_expect.
5888 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5889 __builtin_expect.
e9258400
DM
5890 (INLINE_CLONE_SYSCALL): Likewise.
5891
3bd2c723
DM
58922012-03-05 David S. Miller <davem@davemloft.net>
5893
5894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5895
bbb78d03
AS
58962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5897
884c5db4
AS
5898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5899
bbb78d03
AS
5900 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5901 only for |x| >= 40.
5902 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5903
1c9f702a 59042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5905
5906 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5907 Replace gettimeofday with __vdso_gettimeofday.
5908
7be16f82
RM
5909 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5910 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5911 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5912
5913 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5914 time with __vdso_time.
5915
ed58a00f
JM
59162012-03-05 Joseph Myers <joseph@codesourcery.com>
5917
5918 * manual/lang.texi (size_t): Note types to which size_t may be
5919 equivalent with the GNU C Library, but do not describe when
5920 differences between them are significant.
5921
30ee4ced
AJ
59222012-03-05 Andreas Jaeger <aj@suse.de>
5923
5924 * sysdeps/i386/fpu/libm-test-ulps: Update.
5925
b7cd39e8
JM
59262012-03-05 Joseph Myers <joseph@codesourcery.com>
5927
5928 [BZ #3976]
5929 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5930 (__ieee754_pow): Save and restore rounding mode and use
5931 round-to-nearest for main computations.
5932 * math/libm-test.inc (pow_test_tonearest): New function.
5933 (pow_test_towardzero): Likewise.
5934 (pow_test_downward): Likewise.
5935 (pow_test_upward): Likewise.
5936 (main): Call the new functions.
5937 * sysdeps/i386/fpu/libm-test-ulps: Update.
5938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5939
5940 [BZ #3976]
5941 * math/libm-test.inc (cosh_test_tonearest): New function.
5942 (cosh_test_towardzero): Likewise.
5943 (cosh_test_downward): Likewise.
5944 (cosh_test_upward): Likewise.
5945 (sinh_test_tonearest): Likewise.
5946 (sinh_test_towardzero): Likewise.
5947 (sinh_test_downward): Likewise.
5948 (sinh_test_upward): Likewise.
5949 (main): Call the new functions.
5950 * sysdeps/i386/fpu/libm-test-ulps: Update.
5951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5952
6c6a98c9
TV
59532012-03-05 Tom de Vries <tom@codesourcery.com>
5954
5955 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5956 default stack guard is set in last bytes.
5957 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5958
21bb2d2e 59592012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5960
21bb2d2e 5961 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5962
21bb2d2e
AJ
5963 [BZ #13656]
5964 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5965 possibly allocate from heap instead of stack.
5966 * stdio-common/bug-vfprintf-nargs.c: New file.
5967 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5968
c6922934
AS
59692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5970
5971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5972
bc957d53
MP
59732012-03-03 Marek Polacek <polacek@redhat.com>
5974
5975 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5976 * math/math_private.h: Likewise.
5977 * stdlib/tst-strtod.c: Likewise.
5978 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5979 * sysdeps/x86_64/bits/atomic.h: Likewise.
5980
6358490d
DM
59812012-03-02 David S. Miller <davem@davemloft.net>
5982
5983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5987 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5988 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5989 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5990 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5991
01ae168d
RM
59922012-03-02 Roland McGrath <roland@hack.frob.com>
5993
d9a17c07
RM
5994 [BZ #13792]
5995 * manual/examples/README: New file, says the example source files
5996 can be used under GPL>=2.
5997 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5998 line containing just "*/".
5999 * manual/examples/add.c: Add copyright header (GPL>=2).
6000 * manual/examples/argp-ex1.c: Likewise.
6001 * manual/examples/argp-ex2.c: Likewise.
6002 * manual/examples/argp-ex3.c: Likewise.
6003 * manual/examples/argp-ex4.c: Likewise.
6004 * manual/examples/atexit.c: Likewise.
6005 * manual/examples/db.c: Likewise.
6006 * manual/examples/dir.c: Likewise.
6007 * manual/examples/dir2.c: Likewise.
6008 * manual/examples/execinfo.c: Likewise.
6009 * manual/examples/filecli.c: Likewise.
6010 * manual/examples/filesrv.c: Likewise.
6011 * manual/examples/fmtmsgexpl.c: Likewise.
6012 * manual/examples/genpass.c: Likewise.
6013 * manual/examples/inetcli.c: Likewise.
6014 * manual/examples/inetsrv.c: Likewise.
6015 * manual/examples/isockad.c: Likewise.
6016 * manual/examples/longopt.c: Likewise.
6017 * manual/examples/memopen.c: Likewise.
6018 * manual/examples/memstrm.c: Likewise.
6019 * manual/examples/mkfsock.c: Likewise.
6020 * manual/examples/mkisock.c: Likewise.
6021 * manual/examples/mygetpass.c: Likewise.
6022 * manual/examples/pipe.c: Likewise.
6023 * manual/examples/popen.c: Likewise.
6024 * manual/examples/rprintf.c: Likewise.
6025 * manual/examples/search.c: Likewise.
6026 * manual/examples/select.c: Likewise.
6027 * manual/examples/setjmp.c: Likewise.
6028 * manual/examples/sigh1.c: Likewise.
6029 * manual/examples/sigusr.c: Likewise.
6030 * manual/examples/stpcpy.c: Likewise.
6031 * manual/examples/strdupa.c: Likewise.
6032 * manual/examples/strftim.c: Likewise.
6033 * manual/examples/strncat.c: Likewise.
6034 * manual/examples/subopt.c: Likewise.
6035 * manual/examples/swapcontext.c: Likewise.
6036 * manual/examples/termios.c: Likewise.
6037 * manual/examples/testopt.c: Likewise.
6038 * manual/examples/testpass.c: Likewise.
6039 * manual/examples/timeval_subtract.c: Likewise.
6040
01ae168d
RM
6041 [BZ #13792]
6042 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6043 function to ...
6044 * manual/timeval_subtract.c.texi: ... here, new file.
6045
49efa33d
DM
60462012-03-02 David S. Miller <davem@davemloft.net>
6047
6048 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6049
28afd92d
JM
60502012-03-02 Joseph Myers <joseph@codesourcery.com>
6051
804360ed
JM
6052 [BZ #3976]
6053 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6054 (__sin): Save and restore rounding mode and use round-to-nearest
6055 for all computations.
6056 (__cos): Save and restore rounding mode and use round-to-nearest
6057 for all computations.
6058 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6059 <fenv.h>.
6060 (tan): Save and restore rounding mode and use round-to-nearest for
6061 all computations.
6062 * math/libm-test.inc (cos_test_tonearest): New function.
6063 (cos_test_towardzero): Likewise.
6064 (cos_test_downward): Likewise.
6065 (cos_test_upward): Likewise.
6066 (sin_test_tonearest): Likewise.
6067 (sin_test_towardzero): Likewise.
6068 (sin_test_downward): Likewise.
6069 (sin_test_upward): Likewise.
6070 (tan_test_tonearest): Likewise.
6071 (tan_test_towardzero): Likewise.
6072 (tan_test_downward): Likewise.
6073 (tan_test_upward): Likewise.
6074 (main): Call the new functions.
6075 * sysdeps/i386/fpu/libm-test-ulps: Update.
6076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6077
a6d06d7b
JM
6078 [BZ #10135]
6079 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6080 small n, then large n, before computing and testing k+n.
6081 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6082 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6083 Likewise.
6084 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6085 Likewise.
6086 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6087 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6088 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6089 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6090 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6091 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6092 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6093 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6094 * math/libm-test.inc (scalbn_test): Add more tests.
6095 (scalbln_test): Likewise.
6096
07e12bb3
JM
6097 * manual/filesys.texi (mode_t): Describe constraints on size and
6098 signedness, not exact equivalence to a particular type.
6099 (ino_t): Likewise.
6100 (ino64_t): Likewise.
6101 (dev_t): Likewise.
6102 (nlink_t): Likewise.
6103 (blkcnt_t): Likewise.
6104 (blkcnt64_t): Likewise.
6105 * manual/llio.texi (off_t): Likewise.
6106
28afd92d
JM
6107 [BZ #3976]
6108 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6109 (__ieee754_exp): Save and restore rounding mode and use
6110 round-to-nearest for all computations.
6111 * math/libm-test.inc (exp_test_tonearest): New function.
6112 (exp_test_towardzero): Likewise.
6113 (exp_test_downward): Likewise.
6114 (exp_test_upward): Likewise.
6115 (main): Call the new functions.
6116 * sysdeps/i386/fpu/libm-test-ulps: Update.
6117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6118
b1eeb65d
CD
61192012-03-01 Chris Demetriou <cgd@google.com>
6120
6121 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6122 have predictable order.
6123
53362a4b
DM
61242012-03-01 David S. Miller <davem@davemloft.net>
6125
3c969083
DM
6126 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6127
759707de
DM
6128 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6129 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6130 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6131 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6132
dfdb8ff2
DM
6133 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6134 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6135 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6137 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6138 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6139 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6140 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6141 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6142
ead89f96
DM
6143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6144
7f66bd07
DM
6145 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6146 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6147 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6148
53362a4b
DM
6149 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6150 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6151 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6152 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6153 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6154 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6155 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6156 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6157 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6158 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6159 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6160 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6161 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6162 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6163 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6165 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6166 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6167 * sysdeps/sparc/elf/configure: Regenerated.
6168
7b1902cb
JM
61692012-03-01 Joseph Myers <joseph@codesourcery.com>
6170
bec039bc
JM
6171 * configure.in (AS, LD): Require binutils 2.20 or later.
6172 * configure: Regenerated.
6173 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6174 as required minimum version.
6175 * INSTALL: Regenerated.
6176
7b1902cb
JM
6177 [BZ #2541]
6178 [BZ #4108]
6179 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6180 before squaring exponent.
6181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6182 bottom long double and 27 bits of top long double before squaring
6183 exponent.
6184 * math/libm-test.inc (erfc_test): Add more tests.
6185 * sysdeps/i386/fpu/libm-test-ulps: Update.
6186 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6188
f775c276
KT
61892012-03-01 Kai Tietz <ktietz@redhat.com>
6190
6191 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6192 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6193 containing bit-fields.
6194 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6195 * soft-fp/single.h (_FP_UNION_S): Likewise.
6196 * soft-fp/double.h (_FP_UNION_D): Likewise.
6197
5b8a4d4a
JM
61982012-02-29 Joseph Myers <joseph@codesourcery.com>
6199
0bab47b6
JM
6200 [BZ #13786]
6201 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6202 not include ../strcmp.S.
6203 [USE_AS_STRNCASECMP_L]: Likewise.
6204 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6205 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6206 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6207 (__strncasecmp_l_ia32): Define as alias to
6208 __strncasecmp_l_nonascii.
6209
0fcad3e2
JM
6210 [BZ #5794]
6211 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6212 * sysdeps/i386/fpu/libm-test-ulps: Update.
6213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6214
5b8a4d4a
JM
6215 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6217
8fdceb2e
JL
62182012-02-29 Jeff Law <law@redhat.com>
6219
6220 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6221 out of bounds read.
6222
1f393a11
MP
62232012-02-29 Marek Polacek <polacek@redhat.com>
6224
6225 [BZ #13706]
6226 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6227 * elf/Makefile: Add rules to run tst-unused-dep.out.
6228
8847f037
DM
62292012-02-28 David S. Miller <davem@davemloft.net>
6230
6231 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6232 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6235 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6236 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6237
169d7f11
JM
62382012-02-29 Joseph Myers <joseph@codesourcery.com>
6239
6240 * math/libm-test.inc (llround_test): Move one test from
6241 lround_test. Use TEST_f_L in moved test.
6242 (lround_test): Move misplaced test to llround_test. Add testcase
6243 from bug 2561.
6244
39adf059
UD
62452012-02-28 Ulrich Drepper <drepper@gmail.com>
6246
6247 * sysdeps/x86_64/fpu/e_expf.S: New file.
6248 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6249
71b5d1c5
SB
62502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6251
6252 [BZ #13637]
6253 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6254 of remain_len that may cause incomplete multi-byte character and
6255 false match.
6256 * posix/bug-regex33.c: New file.
6257 * posix/Makefile (tests): Add bug-regex33.
6258
1f77f049
JM
62592012-02-28 Joseph Myers <joseph@codesourcery.com>
6260
6261 * manual/macros.texi: New file.
6262 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6263 * manual/libc.texinfo: Include macros.texi.
6264 * manual/creatute.texi: Likewise.
6265 * manual/install.texi: Likewise.
6266 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6267 @glibcadj{} in references to the GNU C Library.
6268 * manual/charset.texi: Likewise.
6269 * manual/conf.texi: Likewise.
6270 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6271 when not using those macros.
6272 * manual/creature.texi: Likewise.
6273 * manual/crypt.texi: Likewise.
6274 * manual/errno.texi: Likewise.
6275 * manual/filesys.texi: Likewise.
6276 * manual/header.texi: Likewise.
6277 * manual/install.texi: Likewise.
6278 * manual/intro.texi: Likewise.
6279 * manual/io.texi: Likewise.
6280 * manual/job.texi: Likewise.
6281 * manual/lang.texi: Likewise.
6282 * manual/libc.texiinfo: Likewise.
6283 * manual/llio.texi: Likewise.
6284 * manual/locale.texi: Likewise.
6285 * manual/maint.texi: Likewise.
6286 * manual/math.texi: Likewise.
6287 * manual/memory.texi: Likewise.
6288 * manual/message.texi: Likewise.
6289 * manual/nss.texi: Likewise.
6290 * manual/pattern.texi: Likewise.
6291 * manual/process.texi: Likewise.
6292 * manual/resource.texi: Likewise.
6293 * manual/search.texi: Likewise.
6294 * manual/setjmp.texi: Likewise.
6295 * manual/signal.texi: Likewise.
6296 * manual/socket.texi: Likewise.
6297 * manual/startup.texi: Likewise.
6298 * manual/stdio.texi: Likewise.
6299 * manual/string.texi: Likewise.
6300 * manual/sysinfo.texi: Likewise.
6301 * manual/syslog.texi: Likewise.
6302 * manual/terminal.texi: Likewise.
6303 * manual/time.texi: Likewise.
6304 * manual/users.texi: Likewise.
6305 * INSTALL: Regenerated.
6306 * NOTES: Regenerated.
d40c5d54 6307 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6308
450bf206
AS
63092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6310
6311 * include/dirent.h: Include <dirstream.h> before
6312 <dirent/dirent.h>.
6313
741a235b
DM
63142012-02-28 David S. Miller <davem@davemloft.net>
6315
6316 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6317 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6318 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6319 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6320
d6b5aa58
DM
63212012-02-27 David S. Miller <davem@davemloft.net>
6322
1aff59a3
DM
6323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6325 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6326 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6327
d6b5aa58
DM
6328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6329 frame pointer instead of stack pointer relative arg slot.
6330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6331 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6332 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6333
433f48bf
CD
63342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6335
6336 [BZ #3992]
6337 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6338
d674b76d
DM
63392012-02-27 David S. Miller <davem@davemloft.net>
6340
6341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6345 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6346 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6347 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6348 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6349
0e7727f7
JM
63502012-02-27 Joseph Myers <joseph@codesourcery.com>
6351
6352 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6353 later. Allow versions 5-9.
43be4ca2 6354 * configure: Regenerated.
0e7727f7
JM
6355 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6356 required minimum version and 4.6 as recommended version. Do not
6357 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6358 * INSTALL: Regenerated.
0e7727f7 6359
a78bc654
DM
63602012-02-27 David S. Miller <davem@davemloft.net>
6361
428d5830
DM
6362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6366 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6367 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6368 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6369 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6370
a78bc654
DM
6371 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6372 manipulate bits before adding and subtracting TWO112[sx].
6373 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6374
4579f81c
RM
63752012-02-27 Roland McGrath <roland@hack.frob.com>
6376
36c8acb4
RM
6377 [BZ #13775]
6378 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6379 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6380 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6381 being in POSIX, because they are in 1003.1-2008.
6382
84ad622b
RM
6383 * rt/tst-aio.c: Include <fcntl.h>.
6384 * rt/tst-aio7.c: Likewise.
6385 * rt/tst-aio64.c: Likewise.
6386
4579f81c
RM
6387 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6388
abd923db
JM
63892012-02-27 Joseph Myers <joseph@codesourcery.com>
6390
6391 * manual/install.texi (--with-headers): Describe headers as
6392 interface headers, not private headers.
6393 (Specific advice for GNU/Linux systems): Describe use of headers
6394 from "make headers_install", not private headers from older
6395 kernels.
43be4ca2 6396 * INSTALL: Regenerated.
abd923db
JM
6397 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6398 Change to 2.6.19.
6399 * sysdeps/unix/sysv/linux/configure: Regenerated.
6400
6664049b
JM
6401 * manual/llio.texi (fclean): Remove documentation.
6402
bb8b6697
JM
6403 * manual/Makefile (libc-texi-generated): New variable. Include
6404 version.texi.
6405 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6406 $(libc-texi-generated), not duplicated list of files.
6407 (version.texi, stamp-version): New rules.
6408 (realclean): Remove $(libc-texi-generated), not individual files
6409 from that list. Do not remove dir-add.texinfo.
6410 * manual/libc.texinfo: Comment out uses of edition numbers and
6411 references to printed manual. Remove last-updated dates.
6412 (EDITION): Comment out.
6413 (ISBN): Likewise.
6414 (VERSION, UPDATED): Remove.
6415 (version.texi): Include.
6416
12e5c3b9
AS
64172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6418
6419 * sysdeps/posix/spawni.c: Include <signal.h>.
6420 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6421 * sysdeps/pthread/aio_fsync.c: Likewise.
6422
4efeffc1 64232012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6424
ba63ba08
UD
6425 * conform/Makefile (tests): Run only when not cross-compiling and
6426 when fast-check is not defined.
6427
d94a4670
UD
6428 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6429 * conform/data/limits.h-data: Fixes for POSIX2008.
6430 * conform/run-conformtest.sh: Run all tests.
6431 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6432 headers.
6433 * include/bits/dlfcn.h: Likewise.
6434 * include/langinfo.h: Likewise.
6435 * include/monetary.h: Likewise.
6436 * include/sys/poll.h: Likewise.
6437
6438 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6439 for __USE_GNU.
6440 * posix/spawn.h: Define __need_sigset_t.
6441 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6442 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6443 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6444 to get sigevent_t only.
6445 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6446 only for __USE_GNU.
6447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6448 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6449 process_vm_writev only for __USE_GNU.
6450 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6451
6452 * conform/Makefile: For now ignore errors from run-conformtest.
6453 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6454 POSIX to avoid namespace pollution. Don't prepend headers.
6455 * conform/data/aio.h-data: Fixes for POSIX testing.
6456 * conform/data/fcntl.h-data: Likewise.
6457 * conform/data/glob.h-data: Likewise.
6458 * conform/data/grp.h-data: Likewise.
6459 * conform/data/pthread.h-data: Likewise.
6460 * conform/data/pwd.h-data: Likewise.
6461 * conform/data/signal.h-data: Likewise.
6462 * conform/data/spawn.h-data: Likewise.
6463 * conform/data/stdio.h-data: Likewise.
6464 * conform/data/stdlib.h-data: Likewise.
6465 * conform/data/stropts.h-data: Likewise.
6466 * conform/data/sys/mman.h-data: Likewise.
6467 * conform/data/sys/stat.h-data: Likewise.
6468 * conform/data/sys/types.h-data: Likewise.
6469 * conform/data/sys/wait.h-data: Likewise.
6470 * conform/data/time.h-data: Likewise.
6471 * conform/data/unistd.h-data: Likewise.
6472 * conform/data/utime.h-data: Likewise.
6473
6474 * io/sys/stat.h: fchmod was always in POSIX.
6475 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6476 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6477 * rt/aio.h: Define __need_timespec before including <time.h>.
6478 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6479 struct. Add forward declaration of pthread_attr_t and use it in
6480 sigevent.
6481 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6482 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6483 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6484 always remove CLK_TCK definition.
6485
c20105c3
AS
64862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6487
6488 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6489
7a270350
UD
64902012-02-25 Ulrich Drepper <drepper@gmail.com>
6491
31341567
UD
6492 * conform/run-conformtest.sh: New file.
6493 * conform/Makefile: Run run-conformtest for tests.
6494 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6495 support.
6496
6497 * conform/data/uchar.h-data: New file.
6498 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6499 * conform/data/arpa/inet.h-data: Likewise.
6500 * conform/data/assert.h-data: Likewise.
6501 * conform/data/complex.h-data: Likewise.
6502 * conform/data/cpio.h-data: Likewise.
6503 * conform/data/ctype.h-data: Likewise.
6504 * conform/data/dirent.h-data: Likewise.
6505 * conform/data/dlfcn.h-data: Likewise.
6506 * conform/data/errno.h-data: Likewise.
6507 * conform/data/fcntl.h-data: Likewise.
6508 * conform/data/float.h-data: Likewise.
6509 * conform/data/fmtmsg.h-data: Likewise.
6510 * conform/data/fnmatch.h-data: Likewise.
6511 * conform/data/ftw.h-data: Likewise.
6512 * conform/data/glob.h-data: Likewise.
6513 * conform/data/grp.h-data: Likewise.
6514 * conform/data/iconv.h-data: Likewise.
6515 * conform/data/inttypes.h-data: Likewise.
6516 * conform/data/langinfo.h-data: Likewise.
6517 * conform/data/libgen.h-data: Likewise.
6518 * conform/data/limits.h-data: Likewise.
6519 * conform/data/locale.h-data: Likewise.
6520 * conform/data/math.h-data: Likewise.
6521 * conform/data/monetary.h-data: Likewise.
6522 * conform/data/mqueue.h-data: Likewise.
6523 * conform/data/ndbm.h-data: Likewise.
6524 * conform/data/net/if.h-data: Likewise.
6525 * conform/data/netdb.h-data: Likewise.
6526 * conform/data/netinet/in.h-data: Likewise.
6527 * conform/data/nl_types.h-data: Likewise.
6528 * conform/data/poll.h-data: Likewise.
6529 * conform/data/pthread.h-data: Likewise.
6530 * conform/data/pwd.h-data: Likewise.
6531 * conform/data/regex.h-data: Likewise.
6532 * conform/data/sched.h-data: Likewise.
6533 * conform/data/search.h-data: Likewise.
6534 * conform/data/semaphore.h-data: Likewise.
6535 * conform/data/setjmp.h-data: Likewise.
6536 * conform/data/signal.h-data: Likewise.
6537 * conform/data/spawn.h-data: Likewise.
6538 * conform/data/stdarg.h-data: Likewise.
6539 * conform/data/stdio.h-data: Likewise.
6540 * conform/data/stdlib.h-data: Likewise.
6541 * conform/data/string.h-data: Likewise.
6542 * conform/data/strings.h-data: Likewise.
6543 * conform/data/stropts.h-data: Likewise.
6544 * conform/data/sys/ipc.h-data: Likewise.
6545 * conform/data/sys/mman.h-data: Likewise.
6546 * conform/data/sys/msg.h-data: Likewise.
6547 * conform/data/sys/resource.h-data: Likewise.
6548 * conform/data/sys/select.h-data: Likewise.
6549 * conform/data/sys/sem.h-data: Likewise.
6550 * conform/data/sys/shm.h-data: Likewise.
6551 * conform/data/sys/socket.h-data: Likewise.
6552 * conform/data/sys/stat.h-data: Likewise.
6553 * conform/data/sys/statvfs.h-data: Likewise.
6554 * conform/data/sys/time.h-data: Likewise.
6555 * conform/data/sys/timeb.h-data: Likewise.
6556 * conform/data/sys/times.h-data: Likewise.
6557 * conform/data/sys/types.h-data: Likewise.
6558 * conform/data/sys/uio.h-data: Likewise.
6559 * conform/data/sys/un.h-data: Likewise.
6560 * conform/data/sys/utsname.h-data: Likewise.
6561 * conform/data/sys/wait.h-data: Likewise.
6562 * conform/data/syslog.h-data: Likewise.
6563 * conform/data/tar.h-data: Likewise.
6564 * conform/data/termios.h-data: Likewise.
6565 * conform/data/utime.h-data: Likewise.
6566 * conform/data/utmpx.h-data: Likewise.
6567 * conform/data/varargs.h-data: Likewise.
6568 * conform/data/wchar.h-data: Likewise.
6569 * conform/data/wctype.h-data: Likewise.
6570 * conform/data/wordexp.h-data: Likewise.
6571
6572 * include/stropts.h: New file.
6573 * include/uchar.h: New file.
6574 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6575 * include/assert.h: Likewise.
6576 * include/ctype.h: Likewise.
6577 * include/dirent.h: Likewise.
6578 * include/dlfcn.h: Likewise.
6579 * include/fcntl.h: Likewise.
6580 * include/fnmatch.h: Likewise.
6581 * include/glob.h: Likewise.
6582 * include/grp.h: Likewise.
6583 * include/libio.h: Likewise.
6584 * include/locale.h: Likewise.
6585 * include/math.h: Likewise.
6586 * include/net/if.h: Likewise.
6587 * include/netdb.h: Likewise.
6588 * include/netinet/in.h: Likewise.
6589 * include/pthread.h: Likewise.
6590 * include/pwd.h: Likewise.
6591 * include/regex.h: Likewise.
6592 * include/sched.h: Likewise.
6593 * include/search.h: Likewise.
6594 * include/setjmp.h: Likewise.
6595 * include/signal.h: Likewise.
6596 * include/stdio.h: Likewise.
6597 * include/stdlib.h: Likewise.
6598 * include/string.h: Likewise.
6599 * include/sys/cdefs.h: Likewise.
6600 * include/sys/mman.h: Likewise.
6601 * include/sys/msg.h: Likewise.
6602 * include/sys/resource.h: Likewise.
6603 * include/sys/select.h: Likewise.
6604 * include/sys/socket.h: Likewise.
6605 * include/sys/stat.h: Likewise.
6606 * include/sys/statvfs.h: Likewise.
6607 * include/sys/time.h: Likewise.
6608 * include/sys/times.h: Likewise.
6609 * include/sys/uio.h: Likewise.
6610 * include/sys/utsname.h: Likewise.
6611 * include/sys/wait.h: Likewise.
6612 * include/termios.h: Likewise.
6613 * include/time.h: Likewise.
6614 * include/ulimit.h: Likewise.
6615 * include/unistd.h: Likewise.
6616 * include/utime.h: Likewise.
6617 * include/wchar.h: Likewise.
6618 * include/wctype.h: Likewise.
6619 * include/wordexp.h: Likewise.
6620
6621 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6622
7a270350
UD
6623 * time/time.h: TIME_UTC must be a macro.
6624 Make timespec_get available for ISO C11 only as well.
6625
7724defc
UD
66262012-02-24 Ulrich Drepper <drepper@gmail.com>
6627
6628 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6629 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6630
6b1d1d46
JM
66312012-02-24 Joseph Myers <joseph@codesourcery.com>
6632
6633 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6634
0f8bbd69
JM
66352012-02-24 Joseph Myers <joseph@codesourcery.com>
6636
6637 * manual/texinfo.tex: Update to version 2012-01-19.16.
6638
66ab80bc
JM
66392012-02-24 Joseph Myers <joseph@codesourcery.com>
6640
6641 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6642
74981cc5
RM
66432012-02-24 Roland McGrath <roland@hack.frob.com>
6644
ee968201
RM
6645 [BZ #13738]
6646 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6647 * manual/fdl-1.3.texi: New file.
6648 * manual/fdl-1.1.texi: File removed.
6649
74981cc5
RM
6650 [BZ #13738]
6651 * manual/libc.texinfo (FDL_VERSION): New @set.
6652 Use it for mention of FDL in cover text.
6653 (Documentation License): Use it in @include file name.
6654
7bb764bc
JM
66552012-02-22 Joseph Myers <joseph@codesourcery.com>
6656 Roland McGrath <roland@hack.frob.com>
6657
6658 [BZ #5461]
6659 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6660 not LONG_LONG_MAX and LONG_LONG_MIN.
6661 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6662 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6663 name.
6664 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6665
6cbeae47
JM
66662012-02-22 Joseph Myers <joseph@codesourcery.com>
6667
6668 [BZ #2547]
6669 [BZ #11365]
6670 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6671 manipulate bits before adding and subtracting TWO23[sx].
6672 * math/libm-test.inc (nearbyint_test): Add more tests.
6673
fe45ce09
JM
66742012-02-22 Joseph Myers <joseph@codesourcery.com>
6675
6676 [BZ #2548]
6677 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6678 bits before adding and subtracting TWO23[sx].
6679 * math/libm-test.inc (rint_test): Add more tests.
6680 (rint_test_tonearest): Likewise.
6681 (rint_test_towardzero): Likewise.
6682 (rint_test_downward): Likewise.
6683 (rint_test_upward: Likewise.
6684
ff3b3d82
JM
66852012-02-22 Joseph Myers <joseph@codesourcery.com>
6686
6687 [BZ #10110]
6688 * include/stdc-predef.h: New file. Extracted from features.h.
6689 * include/features.h: Include stdc-predef.h.
6690 * Makefile (headers): Add stdc-predef.h.
6691 * CONFORMANCE (Compiler limitations): Update.
6692
ef0aab35
JM
66932012-02-22 Joseph Myers <joseph@codesourcery.com>
6694
6695 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6696
58639409
DM
66972012-02-21 David S. Miller <davem@davemloft.net>
6698
6699 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6700 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6701
c0e70b25
DM
67022012-02-20 David S. Miller <davem@davemloft.net>
6703
6704 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6705 using a normal save/restore sequence, rather than allocating a
6706 dummy stack frame just to store a frame pointer and restore.
6707 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6708
fb06851d
JM
67092012-02-21 Joseph Myers <joseph@codesourcery.com>
6710
6711 * manual/install.texi: Fix stray word in line-wrapped comment.
6712
7a8b71c3
DM
67132012-02-20 David S. Miller <davem@davemloft.net>
6714
d510c123
DM
6715 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6716 both binutils and gcc support GOTDATA.
6717
0722d7c2
DM
6718 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6719 "rd %pc" in the PIC register setup sequences.
6720
3d2b3019
DM
6721 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6722 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6723 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6724 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6725 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6726 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6727 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6728 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6729 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6730 (SYSCALL_ERROR_HANDLER): Likewise.
6731 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6732 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6734 (SYSCALL_ERROR_HANDLER): Likewise.
6735
c80098a9
DM
6736 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6737 (HAVE_GCC_GOTDATA): New.
6738 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6739 relocation support in both binutils and gcc.
6740 * sysdeps/sparc/elf/configure: Regenerate.
6741
3a2545a0
DM
6742 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6743 * sysdeps/sparc/sparc32/elf/configure: Delete.
6744 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6745 * sysdeps/sparc/sparc64/elf/configure: Delete.
6746 * sysdeps/sparc/elf/configure.in: New file.
6747 * sysdeps/sparc/elf/configure: Generate.
6748
7a8b71c3
DM
6749 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6750 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6751 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6752 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6753 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6754
f1e86fca
JM
67552012-02-21 Joseph Myers <joseph@codesourcery.com>
6756
6757 * manual/install.texi: Do not mention specific glibc version
6758 numbers.
6759 * manual/libc.texinfo (VERSION, UPDATED): Update.
6760 (@copying): Use @copyright{} and range of years.
6761
0e7dfaef
JM
67622012-02-21 Joseph Myers <joseph@codesourcery.com>
6763
6764 [BZ #13695]
6765 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6766 [crti.S not in sysdirs] (generated): Do not append.
6767 [crti.S not in sysdirs] (omit-deps): Likewise.
6768 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6769 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6770 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6771 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6772 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6773 Likewise.
6774 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6775 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6776 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6777 * csu/defs.awk: Remove file.
6778 * sysdeps/generic/initfini.c: Likewise.
6779 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6780 variable.
6781 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6782 Likewise.
6783
599af3ca
JM
67842012-02-20 Joseph Myers <joseph@codesourcery.com>
6785
6786 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6787 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6788 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6789 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6790 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6791 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6792 <bits/epoll.h>.
6793 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6794 (__EPOLL_PACKED): Define to empty if not defined by
6795 <bits/epoll.h>.
6796 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6798 bits/epoll.h.
6799
0e499750
JM
68002012-02-20 Joseph Myers <joseph@codesourcery.com>
6801
6802 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6803 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6804 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6805 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6806 <bits/timerfd.h>.
6807 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6809 bits/timerfd.h.
6810
5ad91f6e
JM
68112012-02-20 Joseph Myers <joseph@codesourcery.com>
6812
6813 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6814 in C locale.
6815 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6816 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6817 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6819
06b99b02
AJ
68202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6821
6822 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6823 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6824
7638c0fd
AS
68252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6826
6827 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6828 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6829 defined.
6830 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6831 Likewise.
6832 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6833 entry for 2.16.
6834
92221550
AJ
68352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6836
6837 * math/w_acos.c: Use non-signaling floating-point comparisons.
6838 * math/w_acosf.c: Likewise.
6839 * math/w_acosh.c: Likewise.
6840 * math/w_acoshf.c: Likewise.
6841 * math/w_acoshl.c: Likewise.
6842 * math/w_acosl.c: Likewise.
6843 * math/w_asin.c: Likewise.
6844 * math/w_asinf.c: Likewise.
6845 * math/w_asinl.c: Likewise.
6846 * math/w_atanh.c: Likewise.
6847 * math/w_atanhf.c: Likewise.
6848 * math/w_atanhl.c: Likewise.
6849 * math/w_exp2.c: Likewise.
6850 * math/w_exp2f.c: Likewise.
6851 * math/w_exp2l.c: Likewise.
6852 * math/w_j0.c: Likewise.
6853 * math/w_j0f.c: Likewise.
6854 * math/w_j0l.c: Likewise.
6855 * math/w_j1.c: Likewise.
6856 * math/w_j1f.c: Likewise.
6857 * math/w_j1l.c: Likewise.
6858 * math/w_jn.c: Likewise.
6859 * math/w_jnf.c: Likewise.
6860 * math/w_log.c: Likewise.
6861 * math/w_log10.c: Likewise.
6862 * math/w_log10f.c: Likewise.
6863 * math/w_log10l.c: Likewise.
6864 * math/w_log2.c: Likewise.
6865 * math/w_log2f.c: Likewise.
6866 * math/w_log2l.c: Likewise.
6867 * math/w_logf.c: Likewise.
6868 * math/w_logl.c: Likewise.
6869 * math/w_sqrt.c: Likewise.
6870 * math/w_sqrtf.c: Likewise.
6871 * math/w_sqrtl.c: Likewise.
6872 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6873 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6874 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6875 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6876 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6877
ebaf36eb
JM
68782012-02-19 Joseph Myers <joseph@codesourcery.com>
6879
6880 [BZ #9739]
6881 * manual/string.texi (strnlen): Use correct parameter name in
6882 equivalent expression.
6883
71c254a6
JM
68842012-02-19 Joseph Myers <joseph@codesourcery.com>
6885
6886 [BZ #11174]
6887 * manual/users.texi (seteuid): Consistently use neweuid for
6888 argument name.
6889
16d2c631
JM
68902012-02-19 Joseph Myers <joseph@codesourcery.com>
6891
6892 [BZ #13704]
6893 * manual/nss.texi (Services in the NSS configuration): Correct
6894 list of services in example configuration file.
6895
cd837b09
NB
68962012-02-19 Nick Bowler <nbowler@draconx.ca>
6897
6898 [BZ #11322]
6899 * manual/arith.texi: Remove statements about negative zero
6900 behaving identically to zero.
6901
02c4bbad
JM
69022012-02-18 Joseph Myers <joseph@codesourcery.com>
6903
6904 [BZ #5993]
6905 * manual/install.texi: Do not document upgrading from libc5.
6906
366842e7
JM
69072012-02-18 Joseph Myers <joseph@codesourcery.com>
6908
6909 [BZ #4596]
6910 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6911
dd54084d
DM
69122012-02-18 David S. Miller <davem@davemloft.net>
6913
6914 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6915 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6916 %o7 across the call.
6917 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6918 instead.
6919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6920 SETUP_PIC_REG_LEAF.
6921 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6922 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6923 * sysdeps/sparc/crtn.S: Likewise.
6924
2bcc53a3
UD
69252012-02-17 Ulrich Drepper <drepper@gmail.com>
6926
6927 * aout/Makefile: Remove.
6928
09c093b5
RK
69292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6930
6931 [BZ #13058]
6932 * manual/examples/argp-ex1.c (main): Format definition in GNU
6933 style.
6934 * manual/examples/argp-ex2.c (main): Likewise.
6935 * manual/examples/argp-ex3.c (main): Likewise.
6936 * manual/examples/argp-ex4.c (main): Likewise.
6937 * manual/examples/longopt.c (main): Use new-style prototype
6938 definition.
6939 * manual/examples/strncat.c (main): Specify return type and use
6940 (void) for arguments.
6941 * manual/examples/subopt.c (main): Use char **argv argument.
6942
2ee633a2
JM
69432012-02-17 Joseph Myers <joseph@codesourcery.com>
6944
6945 [BZ #5077]
6946 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6947 rounding modes.
6948
0520adde
FB
69492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6950
6951 [BZ #6907]
6952 * manual/string.texi (strchr): Change when strchrnul is
6953 recommended.
6954
3f4081cd
DGM
69552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6956
6957 [BZ #174]
6958 * manual/locale.texi (setlocale): Document LOCPATH.
6959
d1b10e78
JM
69602012-02-17 Joseph Myers <joseph@codesourcery.com>
6961
6962 [BZ #10210]
6963 * manual/process.texi (execle): Move @dots{} before last argument.
6964
79c6869c
PB
69652012-02-17 Paul Bolle <pebolle@tiscali.nl>
6966
6967 [BZ #12047]
6968 * manual/charset.texi (Generic Charset Conversion): Fix typo
6969 (LC_TYPE -> LC_CTYPE).
6970
cc6e48bc
NB
69712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6972
6973 [BZ #5805]
6974 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6975 (scalbnf): Likewise.
6976 (scalbnl): Likewise.
6977 (scalbln): Likewise.
6978 (scalblnf): Likewise.
6979 (scalblnl): Likewise.
6980 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6981 (vwarnx): Likewise.
6982 (verr): Likewise.
6983 (verrx): Likewise.
6984 * manual/filesys.texi (telldir): Use braces around return type.
6985 * manual/llio.texi (mmap): Add space after comma.
6986 (mmap64): Likewise.
6987 * manual/math.texi (jn): Use @var{} on parameter names.
6988 (jnf): Likewise.
6989 (jnl): Likewise.
6990 (yn): Likewise.
6991 (ynf): Likewise.
6992 (ynl): Likewise.
6993 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6994 line.
6995 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6996 "...".
6997 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6998 (sched_get_priority_max): Likewise.
6999 * manual/signal.texi (sigvec): Add space after comma.
7000 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7001 names.
7002 (if_indextoname): Likewise.
7003 (if_freenameindex): Likewise.
7004 (sendto): Use ',' instead of '.' in prototype.
7005 * manual/startup.texi (syscall): Use @dots{} instead of literal
7006 "...".
7007 * manual/stdio.texi (__fpending): Separate initial words of
7008 paragraph from @deftypefun line.
7009 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7010 "...".
7011 (vsyslog): Use @var{} on parameter names.
7012 * manual/terminal.texi (stty): Use @var{} on parameter names.
7013 * manual/users.texi (getutmp): Use @var{} on parameter names.
7014 (getutmpx): Likewise.
7015
5b23062f
JM
70162012-02-17 Joseph Myers <joseph@codesourcery.com>
7017
7018 [BZ #6884]
7019 * manual/stdio.texi (fopen): Fix typos in description of
7020 ",ccs=STRING".
7021
8dee4833
AJ
70222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7023
7024 [BZ #4026]
7025 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7026 get clock_id definition.
7027
9078ce93
TS
70282012-02-17 Thomas Schwinge <thomas@schwinge.name>
7029
7030 [BZ #4822]
7031 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7032 (madvise): Cast every argument to void on its own.
7033
3835c55f
JM
70342012-02-17 Joseph Myers <joseph@codesourcery.com>
7035
7036 [BZ #9902]
7037 * manual/startup.texi (Exit Status): Fix typo.
7038
35c47e37
JM
70392012-02-17 Joseph Myers <joseph@codesourcery.com>
7040
7041 [BZ #10140]
7042 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7043 * manual/examples/argp-ex2.c: Likewise.
7044 * manual/examples/argp-ex3.c: Likewise.
7045
e3b69ca7
RH
70462012-02-16 Richard Henderson <rth@redhat.com>
7047
7048 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7049 * sysdeps/s390/s390-32/initfini.c: Remove.
7050 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7051 * sysdeps/s390/s390-64/initfini.c: Remove.
7052
df83af67
KK
70532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7054
7055 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7056 compiler output for sysdeps/generic/initfini.c.
7057 * sysdeps/sh/elf/initfini.c: Remove file.
7058
f63f3380
DM
70592012-02-16 David S. Miller <davem@davemloft.net>
7060
fb59b3a4
DM
7061 [BZ #11494]
7062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7063
f63f3380
DM
7064 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7065 * sysdeps/sparc/crti.S: New file.
7066 * sysdeps/sparc/crtn.S: New file.
7067 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7068 * sysdeps/sparc/sparc64/Makefile: Likewise.
7069
df6a4a4a
MF
70702012-02-15 Mike Frysinger <vapier@gentoo.org>
7071
6dd8f3dc 7072 [BZ #3335]
df6a4a4a
MF
7073 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7074
1cac7236
RM
70752012-02-15 Roland McGrath <roland@hack.frob.com>
7076
d2c736f8
RM
7077 [BZ #4822]
7078 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7079
1cac7236
RM
7080 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7081 (write, read, close): Likewise.
7082 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7083
8e475601
JM
70842012-02-15 Joseph Myers <joseph@codesourcery.com>
7085
7086 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7087 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7088 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7089 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7090 <bits/signalfd.h>.
7091 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7093 bits/signalfd.h.
7094
ed656b40
MP
70952012-02-14 Marek Polacek <polacek@redhat.com>
7096
7097 * sysdeps/x86_64/crti.S: New file.
7098 * sysdeps/x86_64/crtn.S: New file.
7099 * sysdeps/x86_64/elf/initfini.c: Remove file.
7100
2a979d3a
JM
71012012-02-13 Joseph Myers <joseph@codesourcery.com>
7102
7103 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7104 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7105 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7106 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7107 <bits/inotify.h>.
7108 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7110 bits/inotify.h.
7111
2a418ac3
JM
71122012-02-13 Joseph Myers <joseph@codesourcery.com>
7113
7114 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7115 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7116 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7117 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7118 <bits/eventfd.h>.
7119 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7121 bits/eventfd.h.
7122
fb779be7
TS
71232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7124
e19e83c5
RM
7125 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7126 __feraiseexcept instead of feraiseexcept.
7c35ffed 7127
fb779be7
TS
7128 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7129 nanosleep invocations.
7130 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7131 strings, and add error checking for a nanosleep invocations.
7132
59ba27a6
PE
71332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7134
7135 Replace FSF snail mail address with URLs, as per GNU coding standards.
7136 Most of the snail mail addresses were wrong anyway, and omitting
7137 them makes the source code easier to maintain. Almost all of the
7138 changes are to license notices and to locale LC_IDENTIFICATION
7139 addresses, except for this one:
7140 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7141 not its snail mail address.
7142
57b957eb
RH
71432012-02-09 Richard Henderson <rth@twiddle.net>
7144
af850b1c
RH
7145 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7146 of kernel-features.h.
7147
57b957eb
RH
7148 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7149
6b73181a
MP
71502012-02-08 Marek Polacek <polacek@redhat.com>
7151
7152 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7153 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7154 * sysdeps/gnu/_G_config.h: Likewise.
7155 * sysdeps/generic/_G_config.h: Likewise.
7156
26ecc33a
AS
71572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7158
6c6dbc63
AS
7159 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7160 tests.
7161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7162
e216c012
AS
7163 * sysdeps/powerpc/powerpc32/crti.S: New file.
7164 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7165 * sysdeps/powerpc/powerpc64/crti.S: New file.
7166 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7167
26ecc33a
AS
7168 * Makeconfig (have-initfini): Don't set.
7169 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7170 * configure.in (nopic_initfini): Don't substitute.
7171 * config.h.in (HAVE_INITFINI): Don't #undef.
7172 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7173 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7174
3add8e13
JM
71752012-02-08 Joseph Myers <joseph@codesourcery.com>
7176
7177 Support crti.S and crtn.S provided directly by architectures.
7178 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7179 [crti.S in sysdirs] (omit-deps): Likewise.
7180 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7181 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7182 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7183 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7184 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7185 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7186 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7187 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7188 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7189 compiler output for sysdeps/generic/initfini.c.
7190 * sysdeps/i386/elf/Makefile: Remove file.
7191 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7192
a22f12b4
MP
71932012-02-07 Marek Polacek <polacek@redhat.com>
7194
7195 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7196 * sysdeps/gnu/_G_config.h: Likewise.
7197 * sysdeps/mach/hurd/_G_config.h: Likewise.
7198
148cf100
MP
71992012-02-07 Marek Polacek <polacek@redhat.com>
7200
7201 * math/Makefile (tests): Add tst-CMPLX2.
7202 * math/tst-CMPLX2.c: New file.
7203
cfdc0dd7
AS
72042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7205
84ba42c4
AS
7206 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7207
cfdc0dd7
AS
7208 * math/libm-test.inc (jn_test): Add missing L suffix.
7209
622c86f4
MP
72102012-02-06 Marek Polacek <polacek@redhat.com>
7211
7212 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7213 * sysdeps/i386/fpu/e_powf.S: Likewise.
7214 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7215 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7216 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7217 * sysdeps/i386/fpu/e_pow.S: Likewise.
7218 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7219 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7220 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7221 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7222 * sysdeps/i386/fpu/e_log2.S: Likewise.
7223 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7224 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7225 * sysdeps/i386/fpu/e_powl.S: Likewise.
7226 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7227 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7228 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7229 * sysdeps/i386/fpu/e_logl.S: Likewise.
7230 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7231 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7232 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7233 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7234 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7235 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7236 * sysdeps/i386/fpu/e_log.S: Likewise.
7237 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7238 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7239 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7240 * sysdeps/i386/fpu/e_logf.S: Likewise.
7241 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7242 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7243 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7244 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7245 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7246 * sysdeps/i386/fpu/e_log10.S: Likewise.
7247 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7248 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7249 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7250 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7251 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7252 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7253 * sysdeps/i386/asm-syntax.h: Likewise.
7254 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7255 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7256 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7257 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7258 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7259 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7260 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7261 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7262 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7263 * sysdeps/powerpc/sysdep.h: Likewise.
7264 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7265 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7266
d4a54ac6
JM
72672012-02-06 Joseph Myers <joseph@codesourcery.com>
7268
7269 [BZ #411]
7270 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7271
314054ea
JM
72722012-02-06 Joseph Myers <joseph@codesourcery.com>
7273
7274 * sysdeps/i386/sysdep.h: Include <features.h>.
7275 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7276 version.
7277
d8e0ca50
JM
72782012-02-05 Joseph Myers <joseph@codesourcery.com>
7279
7280 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7281 Define.
7282 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7283 LOAD_PIC_REG_STR.
7284
b1da7dd9
JM
72852012-02-03 Joseph Myers <joseph@codesourcery.com>
7286
7287 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7288 (SETUP_PIC_REG): Use GET_PC_THUNK.
7289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7290 macro.
7291
9a1d9254
JM
72922012-02-03 Joseph Myers <joseph@codesourcery.com>
7293
7294 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7295 for non-PIC compilation.
7296 (SETUP_PIC_REG): Add .p2align directive.
7297 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7298 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7299 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7300 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7301 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7302 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7303 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7304 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7305 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7306 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7307 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7308 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7309 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7311 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7312 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7313 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7314 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7315 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7316 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7317 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7318 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7319 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7320 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7321 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7323 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7324 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7325 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7326 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7327 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7328 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7329 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7330 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7331 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7332 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7333 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7334 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7335 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7336 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7337 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7338
65dc3b75
JM
73392012-02-03 Joseph Myers <joseph@codesourcery.com>
7340
7341 * math/tst-CMPLX.c: Include <stdio.h>.
7342
d55bf177
JM
73432012-01-31 Joseph Myers <joseph@codesourcery.com>
7344
7345 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7346 float.
7347 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7348 * sysdeps/sparc/bits/mathdef.h: Likewise.
7349
69db4f8f
MP
73502012-01-31 Marek Polacek <polacek@redhat.com>
7351
7352 * libio/libio.h: Don't define _PARAMS.
7353 * locale/programs/config.h: Don't define PARAMS.
7354 * stdlib/strtol_l.c: Likewise.
7355 (__strtol_l): Remove PARAMS from the prototype.
7356
41b81892
UD
73572012-01-31 Ulrich Drepper <drepper@gmail.com>
7358
3b49edc0
UD
7359 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7360 names. Just use the correct names. Remove unnecessary wrapper
7361 functions.
7362 * malloc/arena.c: Likewise.
7363 * malloc/hooks.c: Likewise.
7364
41b81892
UD
7365 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7366 ARENA_TEST says not to. Simplify test for creation of a new arena.
7367 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7368
27a25b6e
UD
73692012-01-30 Ulrich Drepper <drepper@gmail.com>
7370
7371 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7372 into tail calls.
7373 (update_get_addr): New function.
7374 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7375 GET_ADDR_MODULE parameter.
7376
c8a89e7d
JM
73772012-01-30 Joseph Myers <joseph@codesourcery.com>
7378
7379 * crypt/cert.c: Remove __STDC__ conditionals.
7380 * crypt/crypt-entry.c: Likewise.
7381 * crypt/crypt_util.c: Likewise.
7382 * libio/filedoalloc.c: Likewise.
7383 * libio/fileops.c: Likewise.
7384 * libio/genops.c: Likewise.
7385 * libio/iofclose.c: Likewise.
7386 * libio/iofdopen.c: Likewise.
7387 * libio/iofopen.c: Likewise.
7388 * libio/iofopen64.c: Likewise.
7389 * libio/iogetdelim.c: Likewise.
7390 * libio/iopopen.c: Likewise.
7391 * libio/obprintf.c: Likewise.
7392 * libio/oldfileops.c: Likewise.
7393 * libio/oldiofclose.c: Likewise.
7394 * libio/oldiofdopen.c: Likewise.
7395 * libio/oldiofopen.c: Likewise.
7396 * libio/oldiopopen.c: Likewise.
7397 * libio/wfiledoalloc.c: Likewise.
7398 * libio/wgenops.c: Likewise.
7399 * locale/programs/xmalloc.c: Likewise.
7400 * misc/syslog.c: Likewise.
7401 * stdio-common/xbug.c: Likewise.
7402 * string/memchr.c: Likewise.
7403 * string/memcmp.c: Likewise.
7404 * string/memrchr.c: Likewise.
7405 * string/rawmemchr.c: Likewise.
7406 * sysdeps/posix/getcwd.c: Likewise.
7407 * time/strftime_l.c: Likewise.
7408
3b100462
JM
74092012-01-30 Joseph Myers <joseph@codesourcery.com>
7410
7411 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7412 * config.make.in (config-cflags-sse2avx): Define.
7413 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7414 Fix typo.
7415
607998af
CM
74162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7417
7418 * scripts/config.guess: Update from upstream config git repository.
7419 * scripts/config.sub: Likewise.
7420
3601428f
CM
74212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7422
3ac8b282
CM
7423 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7424 (EM_NUM): Update.
7425 (R_TILEPRO_*, R_TILEGX_*): New macros.
7426
e034841e
CM
7427 * scripts/firstversions.awk: Fix bug in version range handling.
7428
540d7568
CM
7429 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7430
3601428f
CM
7431 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7432
463de862
CM
7433 * include/sys/epoll.h: New file.
7434 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7435 libc_hidden_def.
7436
73139a76
UD
74372012-01-28 Ulrich Drepper <drepper@gmail.com>
7438
96bc5b45
UD
7439 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7440 Avoid unnecessary __WORDSIZE == 64 test.
7441 (fmaxf): Use VEX format if possible.
7442 (fmax): Likewise.
7443 (fminf): Likewise.
7444 (fmin): Likewise.
7445
56f6f6a2
UD
7446 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7447 * math/math_private.h: Remove libc_fegetround* and
7448 libc_fesetround*.
7449 * sysdeps/i386/configure.in: Check for -msse2avx.
7450 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7451 also if SSE2AVX is defined.
7452 Remove libc_fegetround* and libc_fesetround*.
7453 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7454 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7455 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7456 of HAS_YMM_USABLE.
7457 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7458 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7459 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7460 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7461 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7462
73139a76
UD
7463 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7464
d73f93a4
AZ
74652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7466
7467 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7468 size is not set.
7469 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7470
6ee65ed6
UD
74712012-01-27 Ulrich Drepper <drepper@gmail.com>
7472
7473 [BZ #13618]
7474 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7475 relocation.
7476 * Makeconfig (libm): Define.
7477 * elf/Makefile: Add rules to build and run tst-relsort1.
7478 * elf/tst-relsort1.c: New file.
7479 * elf/tst-relsort1mod1.c: New file.
7480 * elf/tst-relsort1mod2.c: New file.
7481
8db21882
JM
74822012-01-27 Joseph Myers <joseph@codesourcery.com>
7483
7484 * math/s_ldexp.c: Remove __STDC__ conditionals.
7485 * math/s_ldexpf.c: Likewise.
7486 * math/s_ldexpl.c: Likewise.
7487 * math/s_nextafter.c: Likewise.
7488 * math/s_nexttowardf.c: Likewise.
7489 * math/s_significand.c: Likewise.
7490 * math/s_significandf.c: Likewise.
7491 * math/s_significandl.c: Likewise.
7492 * math/w_jnl.c: Likewise.
7493 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7494 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7495 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7496 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7497 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7498 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7499 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7500 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7501 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7502 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7505 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7507 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7508 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7509 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7510 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7511 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7512 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7513 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7514 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7515 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7516 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7517 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7518 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7519 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7520 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7521 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7522 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7523 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7524 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7525 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7526 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7527 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7528 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7529 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7530 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7531 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7532 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7533 * sysdeps/ieee754/k_standard.c: Likewise.
7534 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7535 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7536 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7537 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7538 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7541 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7595 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7600 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7608 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7613 * sysdeps/ieee754/s_matherr.c: Likewise.
7614 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7615 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7616 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7617 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7618
965a54a4
JM
76192012-01-26 Joseph Myers <joseph@codesourcery.com>
7620
7621 * crypt/md5.h: Remove __STDC__ conditionals.
7622 * libio/libioP.h: Likewise.
7623 * locale/programs/config.h: Likewise.
7624 * sysdeps/generic/sysdep.h: Likewise.
7625 * sysdeps/i386/asm-syntax.h: Likewise.
7626 * sysdeps/s390/asm-syntax.h: Likewise.
7627 * sysdeps/unix/sysdep.h: Likewise.
7628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7630
7071ad79
JM
76312012-01-26 Joseph Myers <joseph@codesourcery.com>
7632
7633 * libio/libio.h: Remove __STDC__ conditionals.
7634 * malloc/obstack.h: Likewise.
7635 * math/complex.h: Likewise.
7636 * math/math.h: Likewise.
7637 * sysdeps/generic/_G_config.h: Likewise.
7638 * sysdeps/gnu/_G_config.h: Likewise.
7639 * sysdeps/mach/hurd/_G_config.h: Likewise.
7640 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7641 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7642 * sysdeps/sparc/bits/mathdef.h: Likewise.
7643
afc5ed09
UD
76442012-01-26 Ulrich Drepper <drepper@gmail.com>
7645
7646 [BZ #13583]
7647 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7648 Clean up HAS_* macros.
afc5ed09 7649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7650 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7651 possible.
7652 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7653 HAS_AVX.
7654 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7655 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7656 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7657 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7658 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7659
bdb6de1d
JM
76602012-01-25 Joseph Myers <joseph@codesourcery.com>
7661
7662 * elf/tst-unique3.cc (gets): Remove declaration.
7663 * elf/tst-unique3lib.cc (gets): Likewise.
7664 * elf/tst-unique3lib2.cc (gets): Likewise.
7665 * elf/tst-unique4.cc (gets): Likewise.
7666
b15549e6
UD
76672012-01-24 Ulrich Drepper <drepper@gmail.com>
7668
7669 * include/stdio.h: Add C++ protection. Add gets declarations and
7670 definitions.
7671 * debug/tst-chk1.c: Don't declare gets here.
7672 * stdio-common/tst-gets.c: Likewise.
7673
a037381f
JM
76742012-01-24 Joseph Myers <joseph@codesourcery.com>
7675
7676 * posix/glob: Remove directory.
7677
f1d4aa75
JM
76782012-01-24 Joseph Myers <joseph@codesourcery.com>
7679
7680 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7681
81c0c964
PT
76822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7683
7684 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7685 of the non-standard EPFNOSUPPORT.
7686
0ea698ae
ST
76872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7688
7689 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7690 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7691 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7692
d220b117
UD
76932012-01-21 Ulrich Drepper <drepper@gmail.com>
7694
7695 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7696
3e1aa84e
UD
76972012-01-20 Ulrich Drepper <drepper@gmail.com>
7698
7699 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7700 transient errors.
7701 * nscd/grpcache.c (cache_addgr): Likewise.
7702 * nscd/hstcache.c (cache_addhst): Likewise.
7703 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7704 * nscd/pwdcache.c (cache_addpw): Likewise.
7705 * nscd/servicescache.c (cache_addserv): Likewise.
7706
400aa020
UD
77072012-01-16 Ulrich Drepper <drepper@gmail.com>
7708
d77e7869
UD
7709 * malloc/malloc.c: Various cleanups.
7710 * malloc/hooks.c: Likewise.
7711
400aa020
UD
7712 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7713 * stdlib/bug-fmtmsg1.c: New file.
7714
7715 * stdlib/fmtmsg.c (init): Add missing unlock.
7716 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7717
e0a309cf
MP
77182012-01-12 Marek Polacek <polacek@redhat.com>
7719
7720 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7721 and _GNU_SOURCE.
7722
929d11c7
WS
77232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7724
7725 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7726 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7727 macro to ensure uniqueness of label name.
7728 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7729 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7730
41d0e869
UD
77312012-01-11 Ulrich Drepper <drepper@gmail.com>
7732
0cc5ed3b
UD
7733 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7734
41d0e869
UD
7735 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7736 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7737 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7739
a47a831a
UD
77402012-01-10 Ulrich Drepper <drepper@gmail.com>
7741
daa891c0
UD
7742 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7743
7744 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7745 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7746 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7747
e58ef0f2
UD
7748 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7749
a47a831a 7750 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7751 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7752 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7753 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7754
7755 * math/bits/math-finite.h: Add ldexp support.
7756
a0bfc9c7
MP
77572012-01-10 Marek Polacek <polacek@redhat.com>
7758
7759 * locale/programs/localedef.h (show_archive_content): Add noreturn
7760 attribute.
7761
d6e97a1d
UD
77622012-01-09 Ulrich Drepper <drepper@gmail.com>
7763
7764 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7765
d5835c26
UD
77662012-01-08 Ulrich Drepper <drepper@gmail.com>
7767
e5f484c6
UD
7768 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7769
d5835c26
UD
7770 * io/Makefile (headers): Add bits/poll2.h.
7771
d1f741e9
WS
77722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7773
7774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7775 typo #include statement.
7776
ec09c1c4
UD
77772012-01-08 Ulrich Drepper <drepper@gmail.com>
7778
7779 * include/sys/cdefs.h: Define __attribute_alloc_size.
7780 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7781 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7782 * elf/pldd.c: Likewise.
7783 * iconv/iconv_charmap.c: Likewise.
7784 * iconv/iconvconfig.c: Likewise.
7785 * iconv/strtab.c: Likewise.
7786 * locale/programs/locale.c: Likewise.
7787 * locale/programs/localedef.h: Likewise.
7788 * locale/programs/simple-hash.c: Likewise.
7789 * nscd/nscd.h: Likewise.
7790 * nss/makedb.c: Likewise.
7791 * sysdeps/generic/ldconfig.h: Likewise.
7792 * locale/programs/localedef.c: Remove xmalloc prototype.
7793 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7794
20b38e03
PP
77952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7796
7797 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7798 appropriate.
7799
a0da5fe1
UD
78002012-01-08 Ulrich Drepper <drepper@gmail.com>
7801
1d5a644a 7802 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7803 * math/tst-CMPLX.c: New file.
1d5a644a 7804
8784a6db
UD
7805 * math/complex.h (CMPLXL): Fix typo.
7806
d9a216c0
UD
7807 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7808 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7809 GLIBC_2.16.
7810 * debug/tst-chk1.c: Add poll and ppoll tests.
7811 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7812 * include/sys/poll.h: Add hidden proto for ppoll.
7813 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7814 * sysdeps/mach/hurd/ppoll.c: Likewise.
7815 * io/ppoll.c: Likewise.
7816 * debug/poll_chk.c: New file.
7817 * debug/ppoll_chk.c: New file.
7818 * include/bits/poll2.h: New file.
7819 * io/bits/poll2.h: New file.
7820
ac097f5c
UD
7821 [BZ #1350]
7822 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7823
2119dcfa
UD
7824 * configure.in: static is always set to yes. Remove.
7825 * config.make.in: Don't set build-static.
7826 * Makeconfig: Remove use of build-static.
7827 * dlfcn/Makefile: Likewise.
7828 * elf/Makefile: Likewise.
7829 * math/Makefile: Likewise.
7830 * misc/Makefile: Likewise.
7831 * nptl/Makefile: Likewise.
7832 * sysdeps/mach/hurd/Makefile: Likewise.
7833
121766a9
UD
7834 * configure.in: PWD_P is not used anymore.
7835 * config.make.in: Remove PWD_P entry.
7836
51a1d39c 7837 * configure.in: Remove last remnants of RANLIB.
8720d066 7838 No need to check for signed size_t anymore.
215f4bdc
UD
7839 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7840 and IA-64.
3857022a 7841 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7842 * aclocal.m4: Likewise.
7843
d3ed7225
UD
7844 * wcsmbs/mbrtoc16.c: Implement using towc function.
7845 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7846 * wcsmbs/wcsmbsload.c: Likewise.
7847 * iconv/gconv_simple.c: Likewise.
7848 * iconv/gconv_int.h: Likewise.
7849 * iconv/gconv_builtin.h: Likewise.
7850 * iconv/iconv_prog.c: Remove CHAR16 handling.
7851
7852 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7853
7854 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7855
a0da5fe1
UD
7856 * configure.in: Remove --with-elf and --enable-bounded options.
7857 Dont set base_machine for ia64. More non-ELF conditions removed.
7858 Remove testing and setting of leading underscore information.
7859 * config.make.in (build-bounded): Set to no.
7860 * config.h.in: Remove NO_UNDERSCORES entry.
7861 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7862 them.
7863 * csu/start.c: Remove !NO_UNDERSCORE code.
7864 * locale/localeinfo.h: Likewise.
7865 * sysdeps/generic/machine-gmon.h: Likewise.
7866 * sysdeps/generic/sysdep.h: Likewise.
7867 * sysdeps/i386/sysdep.h: Likewise.
7868 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7869 * sysdeps/mach/sysdep.h: Likewise.
7870 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7871 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7872 * sysdeps/sh/sysdep.h: Likewise.
7873 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7874 * sysdeps/unix/i386/sysdep.S: Likewise.
7875 * sysdeps/unix/sparc/start.c: Likewise.
7876 * sysdeps/unix/sparc/sysdep.S: Likewise.
7877 * sysdeps/unix/sparc/sysdep.h: Likewise.
7878 * sysdeps/unix/start.c: Likewise.
7879 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7880 * sysdeps/x86_64/sysdep.h: Likewise.
7881
df78418a
UD
78822012-01-07 Ulrich Drepper <drepper@gmail.com>
7883
a784e502
UD
7884 [BZ #13553]
7885 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7886 for non-gcc.
7887 * argp/argp-fmtstream.h: Use const instead __const.
7888 * argp/argp.h: Likewise.
7889 * assert/assert.h: Likewise.
7890 * bits/fenv.h: Likewise.
7891 * bits/sched.h: Likewise.
7892 * bits/sigset.h: Likewise.
7893 * bits/sigthread.h: Likewise.
7894 * catgets/nl_types.h: Likewise.
7895 * conform/data/pthread.h-data: Likewise.
7896 * crypt/crypt-private.h: Likewise.
7897 * crypt/crypt.h: Likewise.
7898 * crypt/crypt_util.c: Likewise.
7899 * ctype/ctype.h: Likewise.
7900 * debug/execinfo.h: Likewise.
7901 * debug/mbsnrtowcs_chk.c: Likewise.
7902 * debug/mbsrtowcs_chk.c: Likewise.
7903 * debug/wcsnrtombs_chk.c: Likewise.
7904 * debug/wcsrtombs_chk.c: Likewise.
7905 * debug/wcstombs_chk.c: Likewise.
7906 * dirent/dirent.h: Likewise.
7907 * dlfcn/dlfcn.h: Likewise.
7908 * elf/neededtest4.c: Likewise.
7909 * grp/grp.h: Likewise.
7910 * gshadow/gshadow.h: Likewise.
7911 * iconv/gconv.h: Likewise.
7912 * iconv/gconv_int.h: Likewise.
7913 * iconv/gconv_simple.c: Likewise.
7914 * iconv/iconv.h: Likewise.
7915 * iconv/loop.c: Likewise.
7916 * iconv/skeleton.c: Likewise.
7917 * include/aio.h: Likewise.
7918 * include/aliases.h: Likewise.
7919 * include/argz.h: Likewise.
7920 * include/arpa/inet.h: Likewise.
7921 * include/assert.h: Likewise.
7922 * include/dirent.h: Likewise.
7923 * include/dlfcn.h: Likewise.
7924 * include/execinfo.h: Likewise.
7925 * include/fcntl.h: Likewise.
7926 * include/fenv.h: Likewise.
7927 * include/glob.h: Likewise.
7928 * include/grp.h: Likewise.
7929 * include/libintl.h: Likewise.
7930 * include/mntent.h: Likewise.
7931 * include/netdb.h: Likewise.
7932 * include/pwd.h: Likewise.
7933 * include/rpc/netdb.h: Likewise.
7934 * include/sched.h: Likewise.
7935 * include/search.h: Likewise.
7936 * include/shadow.h: Likewise.
7937 * include/signal.h: Likewise.
7938 * include/stdio.h: Likewise.
7939 * include/stdlib.h: Likewise.
7940 * include/string.h: Likewise.
7941 * include/sys/socket.h: Likewise.
7942 * include/sys/stat.h: Likewise.
7943 * include/sys/statfs.h: Likewise.
7944 * include/sys/statvfs.h: Likewise.
7945 * include/sys/syslog.h: Likewise.
7946 * include/sys/time.h: Likewise.
7947 * include/sys/uio.h: Likewise.
7948 * include/time.h: Likewise.
7949 * include/unistd.h: Likewise.
7950 * include/utmp.h: Likewise.
7951 * include/wchar.h: Likewise.
7952 * include/wctype.h: Likewise.
7953 * inet/aliases.h: Likewise.
7954 * inet/arpa/inet.h: Likewise.
7955 * inet/netinet/ether.h: Likewise.
7956 * inet/netinet/in.h: Likewise.
7957 * intl/libintl.h: Likewise.
7958 * io/bits/fcntl2.h: Likewise.
7959 * io/fcntl.h: Likewise.
7960 * io/ftw.h: Likewise.
7961 * io/sys/poll.h: Likewise.
7962 * io/sys/stat.h: Likewise.
7963 * io/sys/statfs.h: Likewise.
7964 * io/sys/statvfs.h: Likewise.
7965 * io/utime.h: Likewise.
7966 * libio/bits/stdio.h: Likewise.
7967 * libio/bits/stdio2.h: Likewise.
7968 * libio/libio.h: Likewise.
7969 * libio/libioP.h: Likewise.
7970 * libio/stdio.h: Likewise.
7971 * locale/lc-ctype.c: Likewise.
7972 * locale/locale.h: Likewise.
7973 * login/utmp.h: Likewise.
7974 * malloc/arena.c: Likewise.
7975 * malloc/malloc.c: Likewise.
7976 * malloc/malloc.h: Likewise.
7977 * malloc/mcheck.c: Likewise.
7978 * malloc/mtrace.c: Likewise.
7979 * math/bits/mathcalls.h: Likewise.
7980 * math/fenv.h: Likewise.
7981 * math/math_private.h: Likewise.
7982 * misc/bits/error.h: Likewise.
7983 * misc/bits/syslog.h: Likewise.
7984 * misc/err.h: Likewise.
7985 * misc/error.h: Likewise.
7986 * misc/fstab.h: Likewise.
7987 * misc/mntent.h: Likewise.
7988 * misc/regexp.h: Likewise.
7989 * misc/search.h: Likewise.
7990 * misc/sgtty.h: Likewise.
7991 * misc/sys/mman.h: Likewise.
7992 * misc/sys/syslog.h: Likewise.
7993 * misc/sys/uio.h: Likewise.
7994 * misc/sys/xattr.h: Likewise.
7995 * misc/ttyent.h: Likewise.
7996 * nis/rpcsvc/ypclnt.h: Likewise.
7997 * nss/nss.h: Likewise.
7998 * posix/bits/unistd.h: Likewise.
7999 * posix/fnmatch.h: Likewise.
8000 * posix/glob.h: Likewise.
8001 * posix/sched.h: Likewise.
8002 * posix/spawn.h: Likewise.
8003 * posix/sys/wait.h: Likewise.
8004 * posix/unistd.h: Likewise.
8005 * posix/wordexp.h: Likewise.
8006 * pwd/pwd.h: Likewise.
8007 * resolv/netdb.h: Likewise.
8008 * resource/sys/resource.h: Likewise.
8009 * rt/aio.h: Likewise.
8010 * rt/bits/mqueue2.h: Likewise.
8011 * rt/mqueue.h: Likewise.
8012 * shadow/shadow.h: Likewise.
8013 * signal/signal.h: Likewise.
8014 * socket/send.c: Likewise.
8015 * socket/sendto.c: Likewise.
8016 * socket/sys/socket.h: Likewise.
8017 * stdio-common/printf.h: Likewise.
8018 * stdlib/bits/stdlib.h: Likewise.
8019 * stdlib/fmtmsg.h: Likewise.
8020 * stdlib/monetary.h: Likewise.
8021 * stdlib/stdlib.h: Likewise.
8022 * stdlib/ucontext.h: Likewise.
8023 * streams/stropts.h: Likewise.
8024 * string/argz.h: Likewise.
8025 * string/bits/string2.h: Likewise.
8026 * string/string.h: Likewise.
8027 * string/strings.h: Likewise.
8028 * sunrpc/rpc/auth.h: Likewise.
8029 * sunrpc/rpc/auth_des.h: Likewise.
8030 * sunrpc/rpc/clnt.h: Likewise.
8031 * sunrpc/rpc/netdb.h: Likewise.
8032 * sunrpc/rpc/pmap_clnt.h: Likewise.
8033 * sunrpc/rpc/xdr.h: Likewise.
8034 * sysdeps/generic/inttypes.h: Likewise.
8035 * sysdeps/generic/net/if.h: Likewise.
8036 * sysdeps/generic/sys/swap.h: Likewise.
8037 * sysdeps/gnu/net/if.h: Likewise.
8038 * sysdeps/gnu/utmpx.h: Likewise.
8039 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8040 * sysdeps/i386/i486/bits/string.h: Likewise.
8041 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8042 * sysdeps/s390/bits/string.h: Likewise.
8043 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8044 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8045 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8046 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8047 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8048 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8049 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8050 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8051 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8052 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8053 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8054 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8055 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8056 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8057 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8058 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8059 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8061 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8062 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8063 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8065 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8066 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8067 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8068 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8069 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8070 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8071 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8072 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8073 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8074 * sysvipc/sys/ipc.h: Likewise.
8075 * sysvipc/sys/msg.h: Likewise.
8076 * sysvipc/sys/sem.h: Likewise.
8077 * sysvipc/sys/shm.h: Likewise.
8078 * termios/termios.h: Likewise.
8079 * time/sys/time.h: Likewise.
8080 * time/time.h: Likewise.
8081 * wcsmbs/bits/wchar2.h: Likewise.
8082 * wcsmbs/uchar.h: Likewise.
8083 * wcsmbs/wchar.h: Likewise.
8084 * wctype/wctype.h: Likewise.
8085
0269750c
UD
8086 [BZ #13551]
8087 * Makeconfig: Remove all but ELF support including AIX support.
8088 * Makerules: Likewise.
8089 * config.h.in: Likewise.
8090 * config.make.in: Likewise.
8091 * configure: Likewise.
8092 * configure.in: Likewise.
8093 * csu/Makefile: Likewise.
8094 * csu/version.c: Likewise.
8095 * debug/Makefile: Likewise.
8096 * dlfcn/Makefile: Likewise.
8097 * elf/Makefile: Likewise.
8098 * extra-lib.mk: Likewise.
8099 * iconv/Makefile: Likewise.
8100 * include/libc-symbols.h: Likewise.
8101 * include/shlib-compat.h: Likewise.
8102 * resolv/Makefile: Likewise.
8103 * resolv/res_libc.c: Likewise.
8104 * rt/Makefile: Likewise.
8105 * sysdeps/i386/asm-syntax.h: Likewise.
8106 * sysdeps/i386/sysdep.h: Likewise.
8107 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8108 * sysdeps/mach/sysdep.h: Likewise.
8109 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8110 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8111 * sysdeps/s390/asm-syntax.h: Likewise.
8112 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8113 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8114 * sysdeps/sh/sysdep.h: Likewise.
8115 * sysdeps/unix/sparc/sysdep.h: Likewise.
8116 * sysdeps/wordsize-32/divdi3.c: Likewise.
8117 * sysdeps/x86_64/sysdep.h: Likewise.
8118
00bbd29b
UD
8119 * argp/Versions: Remove _argp_unlock_xxx.
8120
8121 [BZ #13559]
8122 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8123 * abilist/libBrokenLocale.abilist: Likewise.
8124 * abilist/libanl.abilist: Likewise.
8125 * abilist/libc.abilist: Likewise.
8126 * abilist/libcrypt.abilist: Likewise.
8127 * abilist/libdl.abilist: Likewise.
8128 * abilist/libm.abilist: Likewise.
8129 * abilist/libnsl.abilist: Likewise.
8130 * abilist/libpthread.abilist: Likewise.
8131 * abilist/libresolv.abilist: Likewise.
8132 * abilist/librt.abilist: Likewise.
8133 * abilist/libthread_db.abilist: Likewise.
8134 * abilist/libutil.abilist: Likewise.
8135 * abilist/libnss_db.abilist: New file.
8136
8137 * scripts/abilist.awk: Add support for indirect functions.
8138
a2693a0e
UD
8139 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8140
3f05895f
UD
8141 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8142
ecb6fb48
UD
8143 * shlib-versions: Remove entries for ports architectures.
8144
664f8cb9
UD
8145 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8146 files in ports.
8147 * elf/stackguard-macros.h: Remove support for IA-64.
8148 * elf/tst-auditmod1.c: Likewise.
8149 * sysdeps/generic/ldsodefs.h: Likewise.
8150
7ae81d88
UD
8151 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8152 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8153 configure files.
8154
bdeba135
UD
8155 [BZ #13552]
8156 * configure.in: Remove --enable-omitfp support.
8157 * FAQ.in: Adjust.
8158 * config.make.in: Likewise.
8159 * Makeconfig: Likewise.
8160 * manual/install.texi: Likewise.
8161
d75a0a62
UD
8162 In case anyone cares, the IA-64 architecture could move to ports.
8163 * sysdeps/ia64/*: Removed.
8164 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8165 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8166
dcc9756b
UD
8167 [BZ #13555]
8168 * configure.in: Remove entries for unsupported architectures.
8169
d3761ebc 8170 [BZ #13533]
9954432e
UD
8171 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8172 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8173 routines.
8174 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8175 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8176 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8177 fall back to using wcrtomb.
8178 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8179 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8180 renaming.
8181 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8182 * wcsmbs/tst-c16c32-1.c: New file.
8183
8184 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8185 local variable.
8186
c3a87236
UD
8187 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8188
28926a1b
UD
8189 * elf/tst-unique3.cc: Add explicit declaration of gets.
8190 * elf/tst-unique3lib.cc: Likewise.
8191 * elf/tst-unique3lib2.cc: Likewise.
8192 * elf/tst-unique4.cc: Likewise.
8193
df78418a
UD
8194 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8195
8ecd6b2a
JM
81962012-01-06 Joseph Myers <joseph@codesourcery.com>
8197
8198 [BZ #13566]
8199 * assert/assert.h (static_assert): Don't define for C++.
8200 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8201 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8202
9f115170
UD
82032012-01-03 Ulrich Drepper <drepper@gmail.com>
8204
5e0d0300
UD
8205 * iconv/loop.c (single loop): Fix assertion in storing of
8206 remaining bytes.
8207
9f115170
UD
8208 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8209
81fb02b0
UD
82102012-01-01 Ulrich Drepper <drepper@gmail.com>
8211
8212 * posix/getconf.c: Update copyright year.
8213 * nss/getent.c: Likewise.
a316c1f6 8214 * nss/makedb.c: Likewise.
81fb02b0
UD
8215 * iconv/iconvconfig.c: Likewise.
8216 * iconv/iconv_prog.c: Likewise.
8217 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8218 * elf/pldd.c: Likewise.
8219 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8220 * catgets/gencat.c: Likewise.
8221 * csu/version.c: Likewise.
8222 * elf/ldd.bash.in: Likewise.
8223 * elf/sprof.c (print_version): Likewise.
8224 * locale/programs/locale.c: Likewise.
8225 * locale/programs/localedef.c: Likewise.
a316c1f6 8226 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8227 * nscd/nscd.c (print_version): Likewise.
8228 * debug/xtrace.sh: Likewise.
8229 * malloc/memusage.sh: Likewise.
8230 * malloc/mtrace.pl: Likewise.
8231 * debug/catchsegv.sh: Likewise.
8232
2ba92745
JJ
82332011-12-30 Jakub Jelinek <jakub@redhat.com>
8234
8235 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8236 pure attribute.
8237
dadebdae
UD
82382011-12-24 Ulrich Drepper <drepper@gmail.com>
8239
d3761ebc 8240 [BZ #13533]
db6af3eb
UD
8241 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8242 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8243 transformations.
8244 * iconv/gconv_int.h: Likewise.
8245 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8246 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8247 from libc for GLIBC_2.16.
8248 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8249 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8250 * wcsmbs/uchar.h: Really define mbstate_t.
8251 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8252 * wcsmbs/c16rtomb.c: New file.
8253 * wcsmbs/mbrtoc16.c: New file.
8254 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8255 for C/POSIX locale.
8256 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8257 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8258
dadebdae
UD
8259 * wcsmbs/wchar.h: Add missing __restrict.
8260
67371b56
UD
82612011-12-23 Ulrich Drepper <drepper@gmail.com>
8262
74033a25
UD
8263 [BZ #13532]
8264 * time/Makefile (routines): Add timespec_get.
8265 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8266 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8267 timespec for ISO C11.
8268 * time/timespec_get.c: New file.
8269 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8270 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8271
380d7e87
UD
8272 [BZ #13531]
8273 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8274 * stdlib/stdlib.h: Declare aligned_alloc.
8275 * Versions.def: Add GLIBC_2.16 for libc.
8276 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8277
4e9e7a35
UD
8278 [BZ 13527]
8279 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8280 ISO C11.
8281
380d7e87 8282 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8283 code.
8284
03a71829
UD
8285 [BZ #13528]
8286 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8287
839e283e
UD
8288 [BZ #13529]
8289 * assert/assert.h (static_assert): Define.
8290
ce5294e2 8291 * version.h: Update for 2.16 development version.
90fa7312 8292
8d44e150 8293 [BZ #13526]
d7809905
UD
8294 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8295 _ISOC11_SOURCE.
8296
c0da14cd
UD
8297 * version.h (RELEASE): Bump for 2.15 release.
8298 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8299
530a3249
MP
8300 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8301 Patch by Marek Polacek <mpolacek@redhat.com>.
8302
67371b56
UD
8303 * bits/byteswap.h: Protect long long constants with __extension__.
8304 * sysdeps/i386/bits/byteswap.h: Likewise.
8305 * sysdeps/ia64/bits/byteswap.h: Likewise.
8306 * sysdeps/s390/bits/byteswap.h: Likewise.
8307 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8308
15db4de1
LD
83092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8310
8311 [BZ #13540]
bbe315ea
LD
8312 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8313 destination buffer.
15db4de1
LD
8314 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8315
2b2596b1
MP
83162011-12-23 Marek Polacek <polacek@redhat.com>
8317
8318 * elf/dl-addr.c (determine_info): Add inline keyword.
8319 * elf/tst-auditmod4b.c (check_avx): Likewise.
8320 * elf/tst-auditmod6b.c (check_avx): Likewise.
8321 * elf/tst-auditmod6c.c (check_avx): Likewise.
8322 * elf/tst-auditmod7b.c (check_avx): Likewise.
8323
70c6c246
UD
83242011-12-23 Ulrich Drepper <drepper@gmail.com>
8325
8326 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8327 !__SSE_MATH__.
8328
c044cf14
LD
83292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8330
15db4de1 8331 [BZ #13540]
c044cf14
LD
8332 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8333 processing for last bytes.
8334
6b13d9d9
BH
83352011-08-06 Bruno Haible <bruno@clisp.org>
8336
d455f537
BH
8337 [BZ #13061]
8338 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8339 U+0385, not to U+1FEE.
8340
6b13d9d9
BH
8341 [BZ #13062]
8342 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8343 entry for U+00A5 U+0301.
8344
db910efd
UD
83452011-12-22 Ulrich Drepper <drepper@gmail.com>
8346
27deeafc
UD
8347 [BZ #13166]
8348 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8349 buffer for the output is too small.
8350
aed9d171
UD
8351 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8352 optimization.
8353
db910efd
UD
8354 [BZ #13185]
8355 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8356 SSE flags if possible.
8357
2bd779ae
LD
83582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8359
e7f9dac3 8360 [BZ #13540]
2bd779ae
LD
8361 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8362 processing for last bytes.
8363
154bfc16
JM
83642011-12-22 Joseph Myers <joseph@codesourcery.com>
8365
8366 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8367 (syscall-list-default-options, syscall-list-default-condition)
8368 (syscall-list-includes): Define.
8369 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8370 list of ABIs and options and #if conditions for each ABI. Do not
8371 handle common syscalls between ABIs specially.
8372 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8373 Remove.
8374 (syscall-list-variants, syscall-list-32bit-options)
8375 (syscall-list-32bit-condition, syscall-list-64bit-options)
8376 (syscall-list-64bit-condition): Define.
8377 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8378 (syscall-list-variants, syscall-list-32bit-options)
8379 (syscall-list-32bit-condition, syscall-list-64bit-options)
8380 (syscall-list-64bit-condition): Define.
8381 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8382 Remove.
8383 (syscall-list-variants, syscall-list-32bit-options)
8384 (syscall-list-32bit-condition, syscall-list-64bit-options)
8385 (syscall-list-64bit-condition): Define.
8386 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8387 Remove.
8388 (syscall-list-variants, syscall-list-32bit-options)
8389 (syscall-list-32bit-condition, syscall-list-64bit-options)
8390 (syscall-list-64bit-condition): Define.
8391
21eaf3a5
UD
83922011-12-22 Ulrich Drepper <drepper@gmail.com>
8393
16c6f992
UD
8394 * locale/iso-639.def: Add brx entry.
8395
41043168
UD
8396 [BZ #13328]
8397 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8398 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8399
21eaf3a5
UD
8400 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8401 __feraiseexcept_renamed.
8402
e3a851a2
UD
84032011-12-21 Ulrich Drepper <drepper@gmail.com>
8404
4920765e
UD
8405 [BZ #13538]
8406 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8407 EPOLLET with unsigned values.
8408 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8409 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8410
e3a851a2
UD
8411 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8412 to large cancellation.
8413 * math/s_cacoshf.c: Likewise.
8414 * math/s_cacoshl.c: Likewise.
8415
b27e24b8
RK
84162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8417
8418 [BZ #13305]
aebefeee 8419 [BZ #12786]
b27e24b8
RK
8420 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8421 * math/s_cacoshf.c: Likewise.
8422 * math/s_cacoshl.c: Likewise.
8423
ee190f67
UD
84242011-12-21 Ulrich Drepper <drepper@gmail.com>
8425
8426 [BZ #13439]
8427 * iconv/gconv.h: Define __GCONV_SWAP.
8428 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8429 * iconvdata/utf-16.c: Likewise.
8430 * iconvdata/utf-32.c: Likewise.
8431
707f25df
AS
84322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8433
8434 [BZ #13524]
8435 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8436 numerator after shifting it by one limb.
8437
d2daaa1e
RÁE
84382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8439
8440 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8441 under [__USE_EXTERN_INLINES].
8442
a4647e72
UD
84432011-12-17 Ulrich Drepper <drepper@gmail.com>
8444
8445 [BZ #13446]
8446 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8447
f0b264f1
AZ
84482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8449
8450 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8451 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8452 optimized code.
8453 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8454 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8455 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8456 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8457 for strncasecmp/strncasecmp_l compilation.
8458 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8459 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8460
8ef4f244
MP
84612011-12-08 Marek Polacek <mpolacek@redhat.com>
8462
8463 [BZ #13484]
8464 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8465 of __asm__.
8466
97ac2654
UD
84672011-12-17 Ulrich Drepper <drepper@gmail.com>
8468
8469 [BZ #13506]
8470 * time/tzfile.c (__tzfile_read): Check values from file header.
8471
91d2a845
WS
84722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8473
8474 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8475 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8476 * powerpc/powerpc32/dl-start.S: Likewise.
8477 * powerpc/powerpc32/elf/start.S: Likewise.
8478 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8479 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8480 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8481 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8482 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8483 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8484 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8485 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8486 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8487 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8488 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8489 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8490 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8491 * powerpc/powerpc32/memset.S: Likewise.
8492 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8493 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8494 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8495 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8496 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8497 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8498 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8499 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8500 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8501 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8502 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8503 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8504 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8505
a1267ba1
AZ
85062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8507
8508 * math/libm-test.inc: Added more nearbyint tests.
8509 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8510 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8511 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8512 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8513
ad8ac1bd
RL
85142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8515
8516 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8517 FD_CLOEXEC.
8518
1d3e4b61
UD
85192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8520
8521 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8522 Add wcscpy-ssse3 wcscpy-c.
8523 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8524 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8525 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8526 * sysdeps/x86_64/wcschr.S: New file.
8527 * sysdeps/x86_64/wcsrchr.S: New file.
8528 * string/test-strcmp.c: Remove checking of wcscmp function for
8529 wrong alignments.
8530 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8531 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8532 wcsrchr-sse2 wcsrchr-c.
8533 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8534 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8535 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8536 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8537 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8538 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8539 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8540 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8541 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8542 * wcsmbc/wcschr.c (WCSCHR): New macro.
8543
5b330a2d
UD
85442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8545
8546 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8547 * wcsmbs/test-wcsrchr.c: New file.
8548 * string/test-strrchr.c: Add wcsrchr support.
8549 (WIDE): New macro.
8550 * wcsmbs/test-wcscpy.c: New file.
8551 * string/test-strcpy.c: Add wcscpy support.
8552 (WIDE): New macro.
26428b7c 8553
f039c043
UD
85542011-12-10 Ulrich Drepper <drepper@gmail.com>
8555
8556 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8557 the inner loop.
8558
850fb039
AS
85592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8560
8561 [BZ #13472]
8562 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8563
4efbd5cb
UD
85642011-12-04 Ulrich Drepper <drepper@gmail.com>
8565
52ff5dd0 8566 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8567 Minor optimizations.
52ff5dd0 8568
4efbd5cb
UD
8569 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8570 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8571 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8572
8a426e12
UD
85732011-12-03 Ulrich Drepper <drepper@gmail.com>
8574
aff2453d
UD
8575 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8576 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8577 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8578 for gcc to avoid warnings.
8579 * inet/Makefile (tests): Add tst-checks.
8580 * inet/tst-checks.c: New file.
8581
8582 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8583 warning.
8584
8585 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8586 __wmemcmp_sse2.
8587
8588 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8589 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8590
8a426e12
UD
8591 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8592
9bea3473
UD
85932011-12-02 Ulrich Drepper <drepper@gmail.com>
8594
3a965496
UD
8595 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8596 problem.
8597
9bea3473
UD
8598 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8599
f101631b
UD
86002011-11-29 Joseph Myers <joseph@codesourcery.com>
8601
8602 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8603 conditional on GCC version.
8604 (__arch_compare_and_exchange_val_8_acq)
8605 (__arch_compare_and_exchange_val_16_acq)
8606 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8607 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8608 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8609
a98275aa
UD
86102011-12-02 Joseph Myers <joseph@codesourcery.com>
8611
8612 * sysdeps/sh/backtrace.c: New file.
8613
d4cc29a2
AS
86142011-12-02 Andreas Schwab <schwab@redhat.com>
8615
8616 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8617 parenthesis.
8618
6257af2d
AS
86192011-12-01 Andreas Schwab <schwab@redhat.com>
8620
8621 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8622 falling back to utime.
8623
b5f44c1a
AS
86242011-11-30 Andreas Schwab <schwab@redhat.com>
8625
8626 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8627 expectations for float.
8628
f3a6cc0a
AS
86292011-11-29 Andreas Schwab <schwab@redhat.com>
8630
8631 * locale/weight.h (findidx): Add parameter len.
8632 * locale/weightwc.h (findidx): Likewise.
8633 * posix/fnmatch_loop.c (FCT): Adjust caller.
8634 * posix/regcomp.c (build_equiv_class): Likewise.
8635 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8636 * posix/regexec.c (check_node_accept_bytes): Likewise.
8637 * string/strcoll_l.c (STRCOLL): Likewise.
8638 * string/strxfrm_l.c (STRXFRM): Likewise.
8639
9d65ea3a
UD
86402011-11-17 Ulrich Drepper <drepper@gmail.com>
8641
8642 * Makefile.in: Remove CVSOPT handling.
8643 * configure.in: Remove use of AC_REVISION.
8644 * iconvdata/Makefile (distribute): No need to filter out CVS.
8645 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8646 handling.
8647
5583a086
AS
86482011-11-16 Andreas Schwab <schwab@redhat.com>
8649
8650 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8651 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8652 [USE_AS_STRNCASECMP_L]: Likewise.
8653 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8654 NO_TLS_DIRECT_SEG_REFS.
8655 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8656 Fix argument offsets for non-PIC.
8657 [USE_AS_STRNCASECMP_L]: Likewise.
8658 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8659 NO_TLS_DIRECT_SEG_REFS.
8660
d62a8200
UD
86612011-11-15 Ulrich Drepper <drepper@gmail.com>
8662
9d65ea3a 8663 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8664 O_CLOEXEC.
8665 * locale/loadlocale.c (_nl_load_locale): Likewise.
8666
09f93bd3
AS
86672011-11-15 Andreas Schwab <schwab@redhat.com>
8668
446514f9
AS
8669 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8670 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8671 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8672 (SYSCALL_GETTIME): Set errno on error.
8673
09f93bd3
AS
8674 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8675 count references to noai6ai_cached.
8676
312be3f9
UD
86772011-11-15 Ulrich Drepper <drepper@gmail.com>
8678
8679 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8680
8681 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8682 FD_CLOEXEC for /proc/self/maps.
8683
8684 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8685 FD_CLOEXEC for /proc/meminfo.
8686
8687 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8688 gai.conf.
8689
8690 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8691 FD_CLOEXEC for given file.
8692
8693 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8694
8695 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8696 FD_CLOEXEC for /etc/hosts.
8697 (_gethtent): Likewise.
8698
8699 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8700
8701 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8702 cancellation and set FD_CLOEXEC for /etc/netgroup.
8703
8704 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8705 reading /etc/publickey.
8706
8707 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8708 allow cancellation when reading /etc/group.
8709
8710 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8711 cancellation.
8712 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8713
8714 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8715 when using data file.
8716
8717 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8718
8719 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8720 (write_nis_obj): Use "c" and "e" in fopen.
8721
8722 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8723
8724 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8725
8726 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8727
8728 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8729
8730 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8731 locale.alias.
8732
8733 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8734
8735 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8736
8737 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8738
8739 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8740 file parsing and set FD_CLOEXEC.
8741
82af0fa8
UD
87422011-11-14 Ulrich Drepper <drepper@gmail.com>
8743
8744 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8745
a5fb313c
AS
87462011-11-14 Andreas Schwab <schwab@redhat.com>
8747
8748 * malloc/arena.c (arena_get2): Don't call reused_arena when
8749 _int_new_arena failed.
8750
6abf3465
UD
87512011-11-14 Ulrich Drepper <drepper@gmail.com>
8752
8753 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8754 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8755 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8756 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8757 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8758 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8759 to compile strcasecmp and strncasecmp.
8760 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8761 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8762
8763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8764
76e3966e
UD
87652011-11-13 Ulrich Drepper <drepper@gmail.com>
8766
8767 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8768 locale-defines.sym to gen-as-const-headers.
8769 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8770 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8772 to compile strcasecmp and strncasecmp.
8773 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8774 strcasecmp_l and strncasecmp_l.
8775 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8776 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8777 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8778 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8779 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8780 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8781 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8782 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8783 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8784 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8785 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8786
ab26144e
UD
87872011-11-12 Ulrich Drepper <drepper@gmail.com>
8788
7edb22ef
UD
8789 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8790 result of SYSDEP_GETTIME_CPU to retval.
8791 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8792 parameter list to macro. Remove trailing semicolon. Adjust users.
8793
9694fc44
UD
8794 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8795 variable.
8796
8ad89ef8
UD
8797 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8798 mantissa words.
8799 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8800
0c822ef9
UD
8801 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8802 from unused variable.
8803
874e0564
UD
8804 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8805 DWARF definitions.
8806 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8807 for assembling.
8808
3a2edc79
UD
8809 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8810 over namespaces.
8811
f3c2577f
UD
8812 * sunrpc/rpc_prot.c (rejected): Fix case value.
8813
294ce126
UD
8814 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8815 unsigned long long int to avoid warnings in shift.
8816
5e2b63c6
UD
8817 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8818 of use of trans.
8819 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8820 variable tmp.
8821
e7f4b08e
UD
8822 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8823 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8824 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8825
ab26144e
UD
8826 * nis/nis_table.c (nis_list): Use variable of correct type for
8827 result of __follow_path call.
8828
8a6d5255
AZ
88292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8830
8831 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8832 of math functions ceil, trunc, floor, round, and sqrt, when
8833 avaliable on the platform.
8834 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8835 name clash.
8836 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8837 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8838 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8839
aaddc98c
MP
88402011-10-30 Marek Polacek <mpolacek@redhat.com>
8841
8842 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8843 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8844
95b7042b
RM
88452011-11-11 Roland McGrath <roland@hack.frob.com>
8846
8847 * include/unistd.h: Fix __readlink return type.
8848 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8849
57769839
UD
88502011-11-11 Ulrich Drepper <drepper@gmail.com>
8851
8852 * stdlib/ucontext.h: Undo last change for makecontext.
8853
edc5984d
AS
88542011-11-11 Andreas Schwab <schwab@redhat.com>
8855
98591e58
AS
8856 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8857
edc5984d
AS
8858 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8859 * setjmp/setjmp.h: Mark functions as non-leaf.
8860 * setjmp/bits/setjmp2.h: Likewise.
8861 * stdlib/ucontext.h: Likewise.
8862
77cdc054
AS
88632011-11-10 Andreas Schwab <schwab@redhat.com>
8864
8865 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8866 (reused_arena): Don't check arena limit.
8867 (arena_get2): Atomically check arena limit.
8868
fe72eebd
UD
88692011-11-08 Ulrich Drepper <drepper@gmail.com>
8870
5f078c32
UD
8871 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8872 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8873
fe72eebd
UD
8874 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8875 instructions.
8876
ae1bc2fa
AS
88772011-11-07 Andreas Schwab <schwab@redhat.com>
8878
7583a88d
AS
8879 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8880 handler when locking.
8881
ae1bc2fa
AS
8882 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8883 Fix size of allocated buffer.
8884
10fb0bfa
AS
88852011-11-04 Andreas Schwab <schwab@redhat.com>
8886
998832a4
AS
8887 [BZ #10103]
8888 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8889 declarations for long double functions.
8890 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8891
10fb0bfa
AS
8892 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8893
3d7ba52b
AS
88942011-11-03 Andreas Schwab <schwab@redhat.com>
8895
a9ae54a1
AS
8896 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8897 installed.
8898
3d7ba52b
AS
8899 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8900 is disabled.
8901
bc8db248
ST
89022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8903
8904 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8905
45b96dd6
AS
89062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8907
647776f6
AS
8908 * include/alloca.h (stackinfo_alloca_round): Define.
8909 (extend_alloca): Use it.
8910 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8911 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8912 here.
8913
d91a8b93
AS
8914 * scripts/check-local-headers.sh: Ignore libaudit.h.
8915
45b96dd6
AS
8916 * nscd/Makefile (extra-objs): Make recursively expanded.
8917
432d41ce
UD
89182011-11-01 Ulrich Drepper <drepper@gmail.com>
8919
34372fc6
UD
8920 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8921 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8922
fadb59f8
UD
8923 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8924 * posix/tst-rfc3484-2.c: Likewise.
8925 * posix/tst-rfc3484-3.c: Likewise.
8926
78239589
UD
8927 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8928 process_vm_writev.
8929 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8930 process_vm_writev.
8931 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8932 process_vm_writev from libc using GLIBC_2.15 version.
8933
432d41ce
UD
8934 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8935
02f9c6cf
PP
89362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8937
8938 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8939 stack usage.
8940
3a2c0242
UD
89412011-10-31 Ulrich Drepper <drepper@gmail.com>
8942
f4ec4833
UD
8943 [BZ #13367]
8944 * nss/getent.c (initgroups_keys): Show error message in case no group
8945 names are given.
8946
3a2c0242
UD
8947 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8948 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8949 __bump_nl_timestamp.
8950 * nscd/connections (nscd_init): When host database is served open
8951 netlink socket and request notification about configuration changes.
8952 (main_loop_poll): Track netlink file descriptor and bump timestamp
8953 in case data becomes available.
8954 (main_loop_epoll): Likewise.
8955 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8956 (database_pers_head): Add extra_data fileds.
8957 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8958 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8959 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8960 Adjust caller.
8961 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8962 in6ai data, call __free_in6ai.
8963 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8964 Add -DHAVE_NETLINK.
8965 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8966 interface information. Reuse previous data if netlink timestamp
8967 is not changed.
8968 (__bump_nl_timestamp): New function.
8969 (__free_in6ai): New function.
8970
636064eb
UD
89712011-10-30 Ulrich Drepper <drepper@gmail.com>
8972
8973 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8974 close_not_cancel_no_status here.
8975 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8976
9beb2334
UD
89772011-10-29 Ulrich Drepper <drepper@gmail.com>
8978
6ef76f3b
UD
8979 [BZ #13276]
8980 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8981 return value.
8982
0ffc4f3e 8983 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8984 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8985 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8986
cb95113e
UD
89872011-07-03 Andreas Jaeger <aj@suse.de>
8988
8989 [BZ #10709]
8990 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8991 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8992 * math/libm-test.inc (sin_test): Add test case.
8993
a1b560ff
UD
89942011-10-29 Ulrich Drepper <drepper@gmail.com>
8995
c9aaface
UD
8996 [BZ #13337]
8997 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8998 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8999
d272e7f1
UD
9000 * elf/chroot_canon.c (chroot_canon): Cleanups.
9001
1bc33071
UD
9002 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9003
1760874d
TJ
9004 [BZ #13335]
9005 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9006 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9007
51d91b18
UD
9008 * string/test-strchr.c: Make usable for strchrnul testing.
9009 * string/test-strchrnul.c: New file.
9010 * string/Makefile (strop-tests): Add strchrnul.
9011
a1b560ff 9012 * po/it.po: Update from translation team.
b611fb81 9013 * po/es.po: Likewise.
a1b560ff 9014
a5b81e1f
UD
90152011-10-28 Ulrich Drepper <drepper@gmail.com>
9016
fd52bc6d
UD
9017 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9018 the three constants needed as parameters. Drop the others.
9019 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9020 __m128i_strloadu_tolower.
52e4b9eb
UD
9021 Create and initialize variable zero and use it in all the places
9022 where _mm_setzero_si128 was used.
fd52bc6d 9023
a5b81e1f
UD
9024 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9025 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9026 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9027 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9028 anymore.
9029 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9030 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9031 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9032 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9033 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9034 __mpranred, __mptan.
9035 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9036 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9037 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9038 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9039 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9040 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9041 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9042 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9043 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9044
b4343346
AS
90452011-10-28 Andreas Schwab <schwab@redhat.com>
9046
0c92d8a8
AS
9047 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9048 redefine if SHARED.
9049 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9050
b4343346
AS
9051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9052 wide char related routines to wcsmbs subdir.
9053
3871f58f
AS
90542011-10-27 Andreas Schwab <schwab@redhat.com>
9055
9056 [BZ #13344]
9057 * misc/sys/cdefs.h (__THROWNL): Define.
9058 * posix/unistd.h: Use __THREADNL instead of __THREAD
9059 for memory synchronization functions.
9060
94d44d9f
RM
90612011-10-26 Roland McGrath <roland@hack.frob.com>
9062
21b64b15 9063 [BZ #13349]
94d44d9f
RM
9064 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9065 doesn't exist.
9066 * manual/stdio.texi (Obstack Streams): Node removed.
9067
f6ce9294
AS
90682011-10-26 Andreas Schwab <schwab@redhat.com>
9069
80479147
AS
9070 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9071 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9072 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9073
f6ce9294
AS
9074 * math/math_private.h (math_force_eval): Allow non-addressable
9075 arguments.
9076 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9077
618280a1
UD
90782011-10-25 Ulrich Drepper <drepper@gmail.com>
9079
e0016b11
UD
9080 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9081 file is not needed.
9082
9083 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9084 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9085 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9086 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9087 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9089 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9090 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9091 Add AVX variants.
9092 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9093 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9094 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9095 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9096 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9097 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9098 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9099 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9100 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9101 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9102 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9103 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9104 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9105 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9106 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9107 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9108 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9109 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9110 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9111
9112 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9113 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9114
618280a1
UD
9115 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9116 place. Use VEX encoding when compiling for AVX.
9117
37822576
AS
91182011-10-25 Andreas Schwab <schwab@redhat.com>
9119
1f1e1947
AS
9120 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9121 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9122
37822576
AS
9123 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9124
31ea014d
UD
91252011-10-25 Ulrich Drepper <drepper@gmail.com>
9126
d7826aa1 9127 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9128 useless if() expression.
d7826aa1
UD
9129 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9138 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9139 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9140 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9141 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9142 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9143 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9144 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9145 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9147 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9148
31ea014d
UD
9149 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9150
16437fec
AS
91512011-10-25 Andreas Schwab <schwab@redhat.com>
9152
9153 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9154 condition.
9155 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9156
31d3cc00
UD
91572011-10-25 Ulrich Drepper <drepper@gmail.com>
9158
9159 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9160 .text section. Avoid duplicate constants.
9161 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9171 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9173 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9176 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9178 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9184 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9185 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9186 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9187 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9188 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9189 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9190 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9191 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9192 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9193 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9194 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9195 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9196 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9197 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9198 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9199 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9200 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9201 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9202 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9203 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9204 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9205 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9206
58985aa9
UD
92072011-10-24 Ulrich Drepper <drepper@gmail.com>
9208
202c9deb
UD
9209 * sysdeps/x86_64/dla.h: Move to ...
9210 * sysdeps/x86_64/fpu/dla.h: ...here.
9211 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9212 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9213
af968f62
UD
9214 * config.make.in: Add have-mfma4 entry.
9215 * configure.in: Substitute libc_cv_cc_fma4.
9216 * math/Makefile (dbl-only-routines): Add sincostab.
9217 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9218 Use __sincostab not sincos.
9219 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9220 name is a macro.
9221 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9224 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9225 using __copysign.
9226 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9227 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9228 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9229 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9230 and __inv.
9231 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9232 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9233 __copysign.
9234 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9235 define aliases when function name is a macro.
9236 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9237 sysdeps/ieee754/dbl-64/sincos.tbl.
9238 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9239 fma4-enabled routines.
9240 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9241 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9242 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9243 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9244 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9245 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9246 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9247 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9248 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9249 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9250 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9251 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9252 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9253 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9254 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9255 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9256 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9257 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9258 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9259 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9260 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9261 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9262 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9263 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9264 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9265 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9266 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9267 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9268 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9269 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9270
58985aa9
UD
9271 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9272 rename.
9273 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9281
a201fbcf
AS
92822011-10-24 Andreas Schwab <schwab@redhat.com>
9283
9284 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9285
fc2ee42a
LD
92862011-10-23 Ulrich Drepper <drepper@gmail.com>
9287
bb3129bd
UD
9288 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9289
0275fff8
UD
9290 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9291 prediction.
9292 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9293
2fa2ae85
UD
9294 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9295 Remove unused variable magic_bits.
9296 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9297
fc2ee42a
LD
9298 * string/strnlen.c: Define and use STRNLEN macro.
9299 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9300 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9301 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9302 * wcsmbs/wcslen.c: Define and use WCSLEN.
9303 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9304 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9305 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9306 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9307 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9308 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9309 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9310
ce7dd29f
LD
93112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9312
9313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9314 strnlen-sse2-no-bsf.
9315 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9317 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9318 Add strnlen support.
9319 (USE_AS_STRNLEN): New macro.
9320 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9321 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9322 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9323 * sysdeps/x86_64/wcslen.S: New file.
9324
979c70a3
MZ
93252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9326
9327 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9328 XMM-moves are used for copying on small sizes.
9329
2d09f82f
LD
93302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9331
9332 * wcsmbs/Makefile (strop-tests): Add wcschr.
9333 * wcsmbs/test-wcschr.c: New file.
9334 * string/test-strchr.c: Update.
9335 Add wcschr support.
9336 (WIDE): New macro.
9337
619fccca
LD
93382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9339
2d09f82f 9340 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9341 * wcsmbs/test-wcslen.c: New file.
9342 * string/test-strlen.c: Update.
9343 Add wcslen support.
9344 (WIDE): New macro.
9345
09f699ea
UD
93462011-10-23 Ulrich Drepper <drepper@gmail.com>
9347
9348 * po/it.po: Update from translation team.
9349
95584d3b
LD
93502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9351
9352 * sysdeps/x86_64/wcscmp.S: Update.
9353 Fix wrong comparison semantics.
9354 wcscmp shall use signed comparison not unsigned.
9355 Don't use substraction to avoid overflow bug.
9356 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9357 * wcsmbc/wcscmp.c: Likewise.
9358 * string/test-strcmp.c: Likewise.
9359 Add new tests to check cases with negative values.
9360
c8b3296b
UD
93612011-10-23 Ulrich Drepper <drepper@gmail.com>
9362
9363 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9364 * sysdeps/x86_64/dla.h: ...here. New file.
9365 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9366 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9367 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9369 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9370 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9374
246ad57a
AS
93752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9376
9377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9378 __ynl_finite aliases.
9379
a1a87169
UD
93802011-10-22 Ulrich Drepper <drepper@gmail.com>
9381
0d355eb7
UD
9382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9383
a1a87169
UD
9384 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9385 define DLA_FMA.
9386 [DLA_FMA] (EMULV): Use DLA_FMA.
9387 [DLA_FMA] (MUL12): Use EMULV.
9388 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9389 that are not needed.
9390 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9397
ee2aafe0
AS
93982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9399
9400 * math/s_nan.c: Undef __nan.
9401 * math/s_nanf.c: Undef __nanf.
9402 * math/s_nanl.c: Undef __nanl.
9403 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9404 "math_private.h".
9405
bc62c2fb
UD
94062011-10-22 Ulrich Drepper <drepper@gmail.com>
9407
77425c63
UD
9408 * math/s_catan.c: Add branch predictions.
9409 * math/s_catanf.c: Likewise.
9410 * math/s_catanh.c: Likewise.
9411 * math/s_catanhf.c: Likewise.
9412 * math/s_catanhl.c: Likewise.
9413 * math/s_catanl.c: Likewise.
9414 * math/s_cexp.c: Likewise.
9415 * math/s_cexpf.c: Likewise.
9416 * math/s_cexpl.c: Likewise.
9417 * math/s_clog.c: Likewise.
9418 * math/s_clog10.c: Likewise.
9419 * math/s_clog10f.c: Likewise.
9420 * math/s_clog10l.c: Likewise.
9421 * math/s_clogf.c: Likewise.
9422 * math/s_clogl.c: Likewise.
9423 * math/s_csqrt.c: Likewise.
9424 * math/s_csqrtf.c: Likewise.
9425 * math/s_csqrtl.c: Likewise.
9426 * math/s_ctanf.c: Likewise.
9427 * math/s_ctanh.c: Likewise.
9428 * math/s_ctanhf.c: Likewise.
9429 * math/s_ctanhl.c: Likewise.
9430 * math/s_ctanl.c: Likewise.
9431
bc62c2fb
UD
9432 * math/math_private.h: Define __nan, __nanf, __nanl.
9433 * math/s_cacosh.c: Include <math_private.h>.
9434 * math/s_cacoshl.c: Likewise.
9435 * math/s_casinh.c: Likewise.
9436 * math/s_casinhf.c: Likewise.
9437 * math/s_casinhl.c: Likewise.
9438 * math/s_ccos.c: Rely entire on ccosh.
9439 * math/s_ccosf.c: Rely entire on ccoshf.
9440 * math/s_ccosl.c: Rely entirely on ccoshl.
9441 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9442 Remove tests for FE_INVALID.
9443 * math/s_ccoshf.c: Likewise.
9444 * math/s_ccoshl.c: Likewise.
9445 * math/s_csin.c: Likewise.
9446 * math/s_csinf.c: Likewise.
9447 * math/s_csinh.c Likewise.
9448 * math/s_csinhf.c: Likewise.
9449 * math/s_csinhl.c: Likewise.
9450 * math/s_csinl.c: Likewise.
9451 * math/s_ctan.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9453 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9454 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9455
8ec250a4
UD
94562011-10-21 Ulrich Drepper <drepper@gmail.com>
9457
c196fed8
UD
9458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9459 compilation problems.
9460
8ec250a4
UD
9461 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9462 __builtin_expect.
9463
8d4f46c6
UD
94642011-10-20 Ulrich Drepper <drepper@gmail.com>
9465
ed72b654
UD
9466 * sysdeps/i386/configure.in: Test for -mfma4 option.
9467 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9468 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9469 COMMON_CPUID_INDEX_80000001.
9470 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9471 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9472 use it if FMA3 is not supported.
9473 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9474
8d4f46c6
UD
9475 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9476 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9477
d45c60c2
AS
94782011-10-20 Andreas Schwab <schwab@redhat.com>
9479
9480 [BZ #12892]
9481 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9482 it would create a cycle with a link time dependency.
9483
d9a4d2ab
UD
94842011-10-19 Ulrich Drepper <drepper@gmail.com>
9485
855d1560
UD
9486 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9487 instruction.
9488 * string/Makefile (strop-tests): Add rawmemchr.
9489 * string/test-rawmemchr.c: New file.
9490
d9a4d2ab
UD
9491 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9492 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9493 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9494 when compiling str{,n}casecmp and when AVX is available. Hook up
9495 new optimized code in initializers.
9496
8f3b1ffe
AS
94972011-10-19 Andreas Schwab <schwab@redhat.com>
9498
9499 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9500 __feraiseexcept instead of feraiseexcept.
9501
d38f1dba
UD
95022011-10-18 Ulrich Drepper <drepper@gmail.com>
9503
d9a8d0ab
UD
9504 * math/math_private.h: Define defaults for libc_fetestexcept and
9505 libc_feupdateenv.
9506 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9507 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9508 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9509 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9510 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9511 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9512 libc_fetestexcept and libc_feupdateenv.
9513
4855e3dd
UD
9514 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9515 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9516 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9517 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9518 libc_feholdexcept_setround.
9519
581d30e3
UD
9520 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9521 Add s_nearbyint-c and s_nearbyintf-c.
9522 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9523 nearbyintf inlines.
9524 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9525 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9526 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9527 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9528
d38f1dba
UD
9529 * math/math_private.h: Define defaults for libc_fegetround,
9530 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9531 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9532 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9533 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9534 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9535 standard functions.
9536 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9537 Remove comments and hacks for old compiler versions.
9538 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9539 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9540 libc_feholdexceptl.
9541
caa6c9d8
AS
95422011-10-18 Andreas Schwab <schwab@redhat.com>
9543
9544 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9545 (__feraiseexcept_renamed): Add __NTH.
9546 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9547 namespace violations.
9548
97c066e6
UD
95492011-10-17 Ulrich Drepper <drepper@gmail.com>
9550
99ce7b04
UD
9551 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9552
1004d182
UD
9553 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9554
228a984d
UD
9555 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9556 recently added interfaces.
9557 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9558
c8553a6a
UD
9559 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9560 about macro parameter expansion.
9561
ed22dcf6
UD
9562 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9563 __NO_MATH_INLINES is defined. Cleanups.
9564
9565 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9566 and __floorf is target has SSE4.1.
9567 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9568 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9569 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9570 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9571
b171c137
UD
9572 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9573 name.
9574 (floorf): Likewise.
9575
97c066e6
UD
9576 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9577
629f62ef
AS
95782011-10-17 Andreas Schwab <schwab@redhat.com>
9579
49a43d80
AS
9580 * misc/sys/cdefs.h: Fix last change.
9581
629f62ef
AS
9582 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9583 database lookup.
9584
e453f6cd
UD
95852011-10-16 Ulrich Drepper <drepper@gmail.com>
9586
aa78043a
UD
9587 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9588
ad0f5cad
UD
9589 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9590 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9595 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9596 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9597 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9598 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9599 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9600 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9601 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9602 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9603 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9604 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9605 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9606 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9607 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9608 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9609 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9610 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9611
9612 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9613 ceil, ceilf, floor, floorf.
9614
9615 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9616 Perform IRELATIVE relocations last.
9617
e453f6cd
UD
9618 * elf/do-rel.h: Add another parameter nrelative, replacing the
9619 local variable with the same name. Change name of the function
9620 to end in Rel or Rela (uppercase).
9621 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9622 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9623 elf_dynamic_do_##reloc function.
9624
fd5bdc09
UD
96252011-10-15 Ulrich Drepper <drepper@gmail.com>
9626
79b195b5
UD
9627 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9628 is sufficient, at least on modern CPUs.
9629
d4a28569
UD
9630 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9631
b61099b5
UD
9632 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9633 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9634
bcf01e6d
UD
9635 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9636 __expl_finite.
9637 * math/bits/math-finite.h: Add entries for exp.
9638 * math/e_expl.c: Add __*_finite alias.
9639 * sysdeps/i386/fpu/e_exp.S: Likewise.
9640 * sysdeps/i386/fpu/e_expf.S: Likewise.
9641 * sysdeps/i386/fpu/e_expl.c: Likewise.
9642 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9643 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9646 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9647 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9648 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9649
ba1a0d59
UD
9650 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9651 is sufficient, at least on modern CPUs.
9652
fd5bdc09
UD
9653 * ctype/ctype-info.c (__ctype_init): Define.
9654 * include/ctype.h (__ctype_init): Declare.
9655 (__ctype_b_loc): The variable is always initialized.
9656 (__ctype_toupper_loc): Likewise.
9657 (__ctype_tolower_loc): Likewise.
9658 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9659 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9660
7872cfb0
AS
96612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9662
b468825a
AS
9663 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9664
7872cfb0
AS
9665 * configure.in: Also look in $cxxmachine/include for C++ system
9666 headers.
9667
be13f7bf
LD
96682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9669
9670 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9671 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9672 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9673 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9674 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9675 (USE_AS_WMEMCMP): New macro.
9676 Fixing indents.
9677 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9678 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9679 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9680 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9682 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9683 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9684 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9685 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9686 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9687 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9688 (USE_AS_WMEMCMP): New macro.
9689 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9690 * sysdeps/string/test-memcmp.c: Update.
9691 Fix simple_wmemcmp.
9692 Add new tests.
9693 * wcsmbs/wmemcmp.c: Update.
9694 (WMEMCMP): New macro.
9695 Fix overflow bug.
9696
556a2007
AJ
96972011-10-12 Andreas Jaeger <aj@suse.de>
9698
9699 [BZ #13268]
9700 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9701
538faaa7
UD
97022011-10-15 Ulrich Drepper <drepper@gmail.com>
9703
ab6737ff
UD
9704 * libio/iofwide.c (do_length): Avoid warning.
9705
538faaa7
UD
9706 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9707
396a21b1
UD
97082011-10-14 Ulrich Drepper <drepper@gmail.com>
9709
cdf2901f
UD
9710 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9711
38ad40ce
UD
9712 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9713 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9714 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9715 * sysdeps/i386/i686/fpu/e_log.S: New file.
9716 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9717 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9718
396a21b1
UD
9719 * ctype/ctype.h: Add support for inlined isXXX functions when
9720 compiling C++ code.
9721
6b1f68c9
AS
97222011-10-14 Andreas Schwab <schwab@redhat.com>
9723
349290c0
AS
9724 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9725
6b1f68c9
AS
9726 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9727
f2282d42
RM
97282011-10-13 Roland McGrath <roland@hack.frob.com>
9729
9730 [BZ #13291]
9731 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9732
5298ffa8
AS
97332011-10-13 Andreas Schwab <schwab@redhat.com>
9734
714fad23
AS
9735 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9736 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9737 feraiseexcept.
9738
81dcc7fb
AS
9739 * sysdeps/x86_64/memrchr.S: Check for zero size.
9740
5298ffa8
AS
9741 * string/stratcliff.c: Add memrchr tests.
9742
951fbcec
LD
97432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9744
9745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9746 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9747 rawmemchr-sse2 rawmemchr-sse2-bsf.
9748 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9749 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9750 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9751 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9752 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9753 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9754 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9755 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9756 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9757 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9758 * string/memrchr.c (MEMRCHR): New macro.
9759
0ac5ae23
UD
97602011-10-12 Ulrich Drepper <drepper@gmail.com>
9761
9762 Add integration with gcc's -ffinite-math-only and optimize wrapper
9763 functions in libm.
9764 * Versions.def: Define GLIBC_2.15 version for libm.
9765 * math/Makefile (headers): Add bits/math-finite.h.
9766 * math/bits/math-finite.h: New file.
9767 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9768 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9769 * math/e_acoshl.c: Add __*_finite alias.
9770 * math/e_acosl.c: Likewise.
9771 * math/e_asinl.c: Likewise.
9772 * math/e_atan2l.c: Likewise.
9773 * math/e_atanhl.c: Likewise.
9774 * math/e_coshl.c: Likewise.
9775 * math/e_exp10.c: Likewise.
9776 * math/e_exp10f.c: Likewise.
9777 * math/e_exp10l.c: Likewise.
9778 * math/e_exp2l.c: Likewise.
9779 * math/e_fmodl.c: Likewise.
9780 * math/e_gammal_r.c: Likewise.
9781 * math/e_hypotl.c: Likewise.
9782 * math/e_j0l.c: Likewise.
9783 * math/e_j1l.c: Likewise.
9784 * math/e_jnl.c: Likewise.
9785 * math/e_lgammal_r.c: Likewise.
9786 * math/e_log10l.c: Likewise.
9787 * math/e_log2l.c: Likewise.
9788 * math/e_logl.c: Likewise.
9789 * math/e_powl.c: Likewise.
9790 * math/e_sinhl.c: Likewise.
9791 * math/e_sqrtl.c: Likewise.
9792 * math/e_scalb.c: Completely rewritten and optimized.
9793 * math/e_scalbf.c: Likewise.
9794 * math/e_scalbl.c: Likewise.
9795 * math/w_acos.c: Likewise.
9796 * math/w_acosf.c: Likewise.
9797 * math/w_acosl.c: Likewise.
9798 * math/w_acosh.c: Likewise.
9799 * math/w_acoshf.c: Likewise.
9800 * math/w_acoshl.c: Likewise.
9801 * math/w_asin.c: Likewise.
9802 * math/w_asinf.c: Likewise.
9803 * math/w_asinl.c: Likewise.
9804 * math/w_atan2.c: Likewise.
9805 * math/w_atan2f.c: Likewise.
9806 * math/w_atan2l.c: Likewise.
9807 * math/w_atanh.c: Likewise.
9808 * math/w_atanhf.c: Likewise.
9809 * math/w_atanhl.c: Likewise.
9810 * math/w_exp10.c: Likewise.
9811 * math/w_exp10f.c: Likewise.
9812 * math/w_exp10l.c: Likewise.
9813 * math/w_fmod.c: Likewise.
9814 * math/w_fmodf.c: Likewise.
9815 * math/w_fmodl.c: Likewise.
9816 * math/w_j0.c: Likewise.
9817 * math/w_j0f.c: Likewise.
9818 * math/w_j0l.c: Likewise.
9819 * math/w_j1.c: Likewise.
9820 * math/w_j1f.c: Likewise.
9821 * math/w_j1l.c: Likewise.
9822 * math/w_jn.c: Likewise.
9823 * math/w_jnf.c: Likewise.
9824 * math/w_log.c: Likewise.
9825 * math/w_logf.c: Likewise.
9826 * math/w_logl.c: Likewise.
9827 * math/w_log10.c: Likewise.
9828 * math/w_log10f.c: Likewise.
9829 * math/w_log10l.c: Likewise.
9830 * math/w_log2.c: Likewise.
9831 * math/w_log2f.c: Likewise.
9832 * math/w_log2l.c: Likewise.
9833 * math/w_pow.c: Likewise.
9834 * math/w_powf.c: Likewise.
9835 * math/w_powl.c: Likewise.
9836 * math/w_remainder.c: Likewise.
9837 * math/w_remainderf.c: Likewise.
9838 * math/w_remainderl.c: Likewise.
9839 * math/w_scalb.c: Likewise.
9840 * math/w_scalbf.c: Likewise.
9841 * math/w_scalbl.c: Likewise.
9842 * math/w_sqrt.c: Likewise.
9843 * math/w_sqrtf.c: Likewise.
9844 * math/w_sqrtl.c: Likewise.
9845 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9846 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9847 used.
9848 * math/math_private.h: Declare __kernel_standard_f.
9849 * math/w_cosh.c: Remove cruft and optimize a bit.
9850 * math/w_coshf.c: Likewise.
9851 * math/w_coshl.c: Likewise.
9852 * math/w_exp2.c: Likewise.
9853 * math/w_exp2f.c: Likewise.
9854 * math/w_exp2l.c: Likewise.
9855 * math/w_hypot.c: Likewise.
9856 * math/w_hypotf.c: Likewise.
9857 * math/w_hypotl.c: Likewise.
9858 * math/w_lgamma.c: Likewise.
9859 * math/w_lgamma_r.c: Likewise.
9860 * math/w_lgammaf.c: Likewise.
9861 * math/w_lgammaf_r.c: Likewise.
9862 * math/w_lgammal.c: Likewise.
9863 * math/w_lgammal_r.c: Likewise.
9864 * math/w_sinh.c: Likewise.
9865 * math/w_sinhf.c: Likewise.
9866 * math/w_sinhl.c: Likewise.
9867 * math/w_tgamma.c: Likewise.
9868 * math/w_tgammaf.c: Likewise.
9869 * math/w_tgammal.c: Likewise.
9870 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9871 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9872 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9873 Minor optimizations. Pretty printing. Remove cruft.
9874 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9875 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9876 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9877 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9878 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9879 * sysdeps/i386/fpu/e_asin.S: Likewise.
9880 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9881 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9882 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9883 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9884 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9885 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9886 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9887 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9888 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9889 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9890 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9891 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9892 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9893 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9894 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9895 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9896 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9897 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9898 * sysdeps/i386/fpu/e_log.S: Likewise.
9899 * sysdeps/i386/fpu/e_log10.S: Likewise.
9900 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9901 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9902 * sysdeps/i386/fpu/e_log2.S: Likewise.
9903 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9904 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9905 * sysdeps/i386/fpu/e_logf.S: Likewise.
9906 * sysdeps/i386/fpu/e_logl.S: Likewise.
9907 * sysdeps/i386/fpu/e_pow.S: Likewise.
9908 * sysdeps/i386/fpu/e_powf.S: Likewise.
9909 * sysdeps/i386/fpu/e_powl.S: Likewise.
9910 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9911 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9912 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9913 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9914 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9915 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9916 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9917 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9918 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9919 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9927 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9928 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9929 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9930 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9932 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9933 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9935 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9936 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9937 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9939 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9940 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9941 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9942 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9943 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9944 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9945 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9946 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9947 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9948 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9949 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9950 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9951 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9952 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9953 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9954 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9955 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9956 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9957 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9958 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9959 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9960 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9963 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9964 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9988 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9990 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9991 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9992 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9993 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9994 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9995 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9996 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9997 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9998 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10000 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10001 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10002 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10003 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10004 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10005 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10006 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10007 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10008 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10009 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10010 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10011 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10012 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10013 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10014 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10015 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10016 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10017 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10018 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10019 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10020 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10021 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10022 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10023 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10024 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10025 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10026 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10027 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10028 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10029 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10030 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10031 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10032 (__isnanf): Likewise.
10033 (__isinf_ns): Likewise.
10034 (__isinf_nsf): Likewise.
10035 (__finite): Likewise.
10036 (__finitef): Likewise.
10037 (__ieee754_sqrt): Define as macro.
10038 (__ieee754_sqrtf): Define as macro.
10039 (__ieee754_sqrtl): Define as macro.
10040 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10041 inlined copy.
10042 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10043 __FINITE_MATH_ONLY__ consistent.
10044 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10045
12cc2fcd
AS
100462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10047
a843a204
AS
10048 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10049 of rawmemchr.
10050
12cc2fcd
AS
10051 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10052
c853acd5
UD
100532011-10-09 Ulrich Drepper <drepper@gmail.com>
10054
10055 * po/ja.po: Update from translation team.
10056
c658d255
RM
100572011-10-08 Roland McGrath <roland@hack.frob.com>
10058
110946e4
RM
10059 * locale/programs/locarchive.c (prepare_address_space): New function.
10060 (create_archive, enlarge_archive, open_archive): Use it.
10061
50604220
RM
10062 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10063 inside [SHARED], where it is used.
10064
c658d255
RM
10065 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10066
10067 * nss/getent.c (netgroup_keys): Remove unused variable.
10068 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10069
6a621eb7
UD
100702011-10-08 Ulrich Drepper <drepper@gmail.com>
10071
7edb55ce
UD
10072 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10073 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10075 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10076 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10077 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10078 * math/Makefile (libm-calls): Add s_isinf_ns.
10079 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10080 * math/multc3.c: Likewise.
10081 * math/s_casin.c: Likewise.
10082 * math/s_casinf.c: Likewise.
10083 * math/s_casinl.c: Likewise.
10084 * math/s_ccos.c: Likewise.
10085 * math/s_ccosf.c: Likewise.
10086 * math/s_ccosl.c: Likewise.
10087 * math/s_ctan.c: Likewise.
10088 * math/s_ctanf.c: Likewise.
10089 * math/s_ctanh.c: Likewise.
10090 * math/s_ctanhf.c: Likewise.
10091 * math/s_ctanhl.c: Likewise.
10092 * math/s_ctanl.c: Likewise.
10093 * math/w_fmod.c: Likewise.
10094 * math/w_fmodf.c: Likewise.
10095 * math/w_fmodl.c: Likewise.
10096 * math/w_remainder.c: Likewise.
10097 * math/w_remainderf.c: Likewise.
10098 * math/w_remainderl.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10100 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10101 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10103 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10104 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10105 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10106 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10107
187da0ae
UD
10108 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10109 of the number.
10110 * stdio-common/printf_fphex.c: Likewise.
10111 * stdio-common/printf_size.c: Likewise.
10112
9277c064
UD
10113 * math/e_exp10.c: Include math_private.h using <...> not "...".
10114 * math/e_exp10f.c: Likewise.
10115 * math/e_exp10l.c: Likewise.
10116 * math/e_exp2l.c: Likewise.
10117 * math/e_j0l.c: Likewise.
10118 * math/e_j1l.c: Likewise.
10119 * math/e_jnl.c: Likewise.
10120 * math/e_lgammal_r.c: Likewise.
10121 * math/e_rem_pio2l.c: Likewise.
10122 * math/e_scalb.c: Likewise.
10123 * math/e_scalbf.c: Likewise.
10124 * math/e_scalbl.c: Likewise.
10125 * math/k_cosl.c: Likewise.
10126 * math/k_sinl.c: Likewise.
10127 * math/k_tanl.c: Likewise.
10128 * math/s_cacoshf.c: Likewise.
10129 * math/s_catan.c: Likewise.
10130 * math/s_catanf.c: Likewise.
10131 * math/s_catanh.c: Likewise.
10132 * math/s_catanhf.c: Likewise.
10133 * math/s_catanhl.c: Likewise.
10134 * math/s_catanl.c: Likewise.
10135 * math/s_ccosh.c: Likewise.
10136 * math/s_ccoshf.c: Likewise.
10137 * math/s_ccoshl.c: Likewise.
10138 * math/s_cexp.c: Likewise.
10139 * math/s_cexpf.c: Likewise.
10140 * math/s_cexpl.c: Likewise.
10141 * math/s_clog.c: Likewise.
10142 * math/s_clog10.c: Likewise.
10143 * math/s_clog10f.c: Likewise.
10144 * math/s_clog10l.c: Likewise.
10145 * math/s_clogf.c: Likewise.
10146 * math/s_clogl.c: Likewise.
10147 * math/s_csin.c: Likewise.
10148 * math/s_csinf.c: Likewise.
10149 * math/s_csinh.c: Likewise.
10150 * math/s_csinhf.c: Likewise.
10151 * math/s_csinhl.c: Likewise.
10152 * math/s_csinl.c: Likewise.
10153 * math/s_csqrt.c: Likewise.
10154 * math/s_csqrtf.c: Likewise.
10155 * math/s_csqrtl.c: Likewise.
10156 * math/s_ctan.c: Likewise.
10157 * math/s_ctanf.c: Likewise.
10158 * math/s_ctanh.c: Likewise.
10159 * math/s_ctanhf.c: Likewise.
10160 * math/s_ctanhl.c: Likewise.
10161 * math/s_ctanl.c: Likewise.
10162 * math/s_ldexp.c: Likewise.
10163 * math/s_ldexpf.c: Likewise.
10164 * math/s_ldexpl.c: Likewise.
10165 * math/s_significand.c: Likewise.
10166 * math/s_significandf.c: Likewise.
10167 * math/s_significandl.c: Likewise.
10168 * math/w_acos.c: Likewise.
10169 * math/w_acosf.c: Likewise.
10170 * math/w_acosh.c: Likewise.
10171 * math/w_acoshf.c: Likewise.
10172 * math/w_acoshl.c: Likewise.
10173 * math/w_acosl.c: Likewise.
10174 * math/w_asin.c: Likewise.
10175 * math/w_asinf.c: Likewise.
10176 * math/w_asinl.c: Likewise.
10177 * math/w_atan2.c: Likewise.
10178 * math/w_atan2f.c: Likewise.
10179 * math/w_atan2l.c: Likewise.
10180 * math/w_atanh.c: Likewise.
10181 * math/w_atanhf.c: Likewise.
10182 * math/w_atanhl.c: Likewise.
10183 * math/w_cosh.c: Likewise.
10184 * math/w_coshf.c: Likewise.
10185 * math/w_coshl.c: Likewise.
10186 * math/w_dremf.c: Likewise.
10187 * math/w_exp10.c: Likewise.
10188 * math/w_exp10f.c: Likewise.
10189 * math/w_exp10l.c: Likewise.
10190 * math/w_exp2.c: Likewise.
10191 * math/w_exp2f.c: Likewise.
10192 * math/w_fmod.c: Likewise.
10193 * math/w_fmodf.c: Likewise.
10194 * math/w_fmodl.c: Likewise.
10195 * math/w_hypot.c: Likewise.
10196 * math/w_hypotf.c: Likewise.
10197 * math/w_hypotl.c: Likewise.
10198 * math/w_j0.c: Likewise.
10199 * math/w_j0f.c: Likewise.
10200 * math/w_j0l.c: Likewise.
10201 * math/w_j1.c: Likewise.
10202 * math/w_j1f.c: Likewise.
10203 * math/w_j1l.c: Likewise.
10204 * math/w_jn.c: Likewise.
10205 * math/w_jnf.c: Likewise.
10206 * math/w_jnl.c: Likewise.
10207 * math/w_lgamma.c: Likewise.
10208 * math/w_lgamma_r.c: Likewise.
10209 * math/w_lgammaf.c: Likewise.
10210 * math/w_lgammaf_r.c: Likewise.
10211 * math/w_lgammal.c: Likewise.
10212 * math/w_lgammal_r.c: Likewise.
10213 * math/w_log.c: Likewise.
10214 * math/w_log10.c: Likewise.
10215 * math/w_log10f.c: Likewise.
10216 * math/w_log10l.c: Likewise.
10217 * math/w_log2.c: Likewise.
10218 * math/w_log2f.c: Likewise.
10219 * math/w_log2l.c: Likewise.
10220 * math/w_logf.c: Likewise.
10221 * math/w_logl.c: Likewise.
10222 * math/w_pow.c: Likewise.
10223 * math/w_powf.c: Likewise.
10224 * math/w_powl.c: Likewise.
10225 * math/w_remainder.c: Likewise.
10226 * math/w_remainderf.c: Likewise.
10227 * math/w_remainderl.c: Likewise.
10228 * math/w_scalb.c: Likewise.
10229 * math/w_scalbf.c: Likewise.
10230 * math/w_scalbl.c: Likewise.
10231 * math/w_sinh.c: Likewise.
10232 * math/w_sinhf.c: Likewise.
10233 * math/w_sinhl.c: Likewise.
10234 * math/w_sqrt.c: Likewise.
10235 * math/w_sqrtf.c: Likewise.
10236 * math/w_sqrtl.c: Likewise.
10237 * math/w_tgamma.c: Likewise.
10238 * math/w_tgammaf.c: Likewise.
10239 * math/w_tgammal.c: Likewise.
10240
6a621eb7
UD
10241 * po/ja.po: Update from translation team.
10242
bf582445
AJ
102432011-09-29 Andreas Jaeger <aj@suse.de>
10244
f9efbf3a
AJ
10245 [BZ #13179]
10246 * sunrpc/netname.c (netname2host): Fix logic.
10247
bf582445
AJ
10248 [BZ #6779]
10249 [BZ #6783]
10250 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10251 correctly.
10252 * math/w_remainder.c (__remainder): Likewise.
10253 * math/w_remainderf.c (__remainderf): Likewise.
10254 * math/libm-test.inc (remainder_test): Add test cases.
10255
48693bea
AK
102562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10257
10258 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10259 sdiv_qrnnd.
10260
42622229
LD
102612011-10-07 Ulrich Drepper <drepper@gmail.com>
10262
10263 * string/test-memcmp.c: Avoid unncessary #defines.
10264 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10265
093ecf92
LD
102662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10267
10268 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10269 Use new sse2 version for core i3 - i7 as it's faster
10270 than sse42 version.
10271 (bit_Prefer_PMINUB_for_stringop): New.
10272 * sysdeps/x86_64/rawmemchr.S: Update.
10273 Replace with faster SSE2 version.
10274 * sysdeps/x86_64/memrchr.S: New file.
10275 * sysdeps/x86_64/memchr.S: Update.
10276 Replace with faster SSE2 version.
10277
fde56e5c
MP
102782011-09-12 Marek Polacek <mpolacek@redhat.com>
10279
10280 * elf/dl-load.c (lose): Add cast to avoid warning.
10281
21fd49a9
UD
102822011-10-07 Ulrich Drepper <drepper@gmail.com>
10283
5a06e643
UD
10284 * po/ca.po: Update from translation team.
10285
684ae515
UD
10286 * inet/getnetgrent_r.c: Hook up nscd.
10287 * nscd/Makefile (routines): Add nscd_netgroup.
10288 (nscd-modules): Add netgroupcache.
10289 (CFLAGS-netgroupcache.c): Define.
10290 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10291 (cache_search): Add const to second parameter.
10292 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10293 INNETGR.
10294 (dbs): Add netgrdb entry.
10295 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10296 (verify_persistent_db): Handle netgrdb.
10297 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10298 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10299 GETFDNETGR.
10300 (netgroup_response_header): Define.
10301 (innetgroup_response_header): Define.
10302 (datahead): Add netgroup_response_header and innetgroup_response_header
10303 elements.
10304 * nscd/nscd.conf: Add entries for netgroup cache.
10305 * nscd/nscd.h (dbtype): Add netgrdb.
10306 (_PATH_NSCD_NETGROUP_DB): Define.
10307 (netgroup_iov_disabled): Declare.
10308 (xmalloc, xcalloc, xrealloc): Move declarations here.
10309 (cache_search): Adjust prototype.
10310 Add netgroup-related prototypes.
10311 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10312 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10313 (__nscd_innetgr): Declare.
10314 * nscd/selinux.c (perms): Use access_vector_t as element type and
10315 add netgroup-related initializers.
10316 * nscd/netgroupcache.c: New file.
10317 * nscd/nscd_netgroup.c: New file.
10318 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10319 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10320 For four parameters use innetgr.
10321 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10322 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10323 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10324 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10325
21fd49a9
UD
10326 * nscd/connections.c (register_traced_file): Don't register file
10327 for disabled databases.
10328
054c0457
UD
103292011-10-06 Ulrich Drepper <drepper@gmail.com>
10330
32b63198
UD
10331 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10332
054c0457
UD
10333 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10334 from tree and freeing node.
10335
64031225
JO
103362011-09-25 Jiri Olsa <jolsa@redhat.com>
10337
10338 * nss/nsswitch.c (__nss_database_lookup): Handle
10339 nss_parse_service_list out of memory case.
10340
0490345c
JO
103412011-09-15 Jiri Olsa <jolsa@redhat.com>
10342
10343 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10344 out of memory case.
10345
3a62d00d
AS
103462011-10-04 Andreas Schwab <schwab@redhat.com>
10347
10348 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10349 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10350 pass it down.
10351 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10352 elf_machine_rela, elf_machine_lazy_rel.
10353 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10354 (ELF_DYNAMIC_DO_REL): Likewise.
10355 (ELF_DYNAMIC_DO_RELA): Likewise.
10356 (ELF_DYNAMIC_RELOCATE): Likewise.
10357 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10358 to ELF_DYNAMIC_DO_REL.
10359 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10360 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10361 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10362 elf_machine_rela.
10363 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10364 skip_ifunc, don't call ifunc function if non-zero.
10365 (elf_machine_rela): Likewise.
10366 (elf_machine_lazy_rel): Likewise.
10367 (elf_machine_lazy_rela): Likewise.
10368 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10369 (elf_machine_lazy_rel): Likewise.
10370 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10371 Likewise.
10372 (elf_machine_lazy_rel): Likewise.
10373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10374 Likewise.
10375 (elf_machine_lazy_rel): Likewise.
10376 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10377 (elf_machine_lazy_rel): Likewise.
10378 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10379 (elf_machine_lazy_rel): Likewise.
10380 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10381 (elf_machine_lazy_rel): Likewise.
10382 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10383 (elf_machine_lazy_rel): Likewise.
10384 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10385 (elf_machine_lazy_rel): Likewise.
10386 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10387 (elf_machine_lazy_rel): Likewise.
10388
68577918
UD
103892011-09-28 Ulrich Drepper <drepper@gmail.com>
10390
10391 * nss/nss_files/files-init.c (_nss_files_init): Use static
10392 initialization for all the *_traced_file variables.
10393
68822d74
AS
103942011-09-28 Andreas Schwab <schwab@redhat.com>
10395
10396 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10397
2056100b
RM
103982011-09-27 Roland McGrath <roland@hack.frob.com>
10399
10400 [BZ #13226]
10401 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10402
32c76b63
AS
104032011-09-27 Andreas Schwab <schwab@redhat.com>
10404
10405 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10406 Reread the line before reparsing it.
10407
bf972c9d
AS
104082011-09-26 Andreas Schwab <schwab@redhat.com>
10409
10410 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10411
e057a1b5
JM
104122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10413 Maxim Kuvyrkov <maxim@codesourcery.com>
10414 Joseph Myers <joseph@codesourcery.com>
10415
10416 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10417 if needed for __stack_chk_guard.
10418
bc7e1c36
RM
104192011-09-19 Roland McGrath <roland@hack.frob.com>
10420
ecb1482f
RM
10421 * sysdeps/posix/spawni.c (script_execute): Always define it.
10422 It will be optimized away if unused.
10423 (maybe_script_execute): New function.
10424 (__spawni): Call it.
10425
bc7e1c36
RM
10426 * Makerules: Don't include tls.make.
10427 (config-tls): Always set to thread.
10428 * tls.make.c: File removed.
10429
1c3b002b
MF
104302011-09-19 Mike Frysinger <vapier@gentoo.org>
10431
10432 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10433 * config.make.in (CPPFLAGS-config): New substituted variable.
10434
2840865d
UD
104352011-09-15 Ulrich Drepper <drepper@gmail.com>
10436
88738eb6
UD
10437 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10438
cbf645a6 10439 [BZ #13192]
2840865d
UD
10440 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10441 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10442
b402e91a
RM
104432011-09-15 Roland McGrath <roland@hack.frob.com>
10444
10445 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10446 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10447 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10448 (CALL_FAIL): Likewise.
10449 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10450 (CALL_FAIL): Macro removed.
10451 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10452
4c1a1f71
UD
104532011-09-15 Ulrich Drepper <drepper@gmail.com>
10454
10455 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10456 for __FINITE_MATH_ONLY__ == 1.
10457
edc121be
AS
104582011-09-15 Andreas Schwab <schwab@redhat.com>
10459
10460 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10461 __ieee754_sqrt instead of sqrt.
10462 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10463 __ieee754_sqrtf instead of sqrtf.
10464 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10465 __floorf instead of floorf.
10466 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10467 __floorf, __truncf instead of floorf, truncf.
10468
cd205654
UD
104692011-09-14 Ulrich Drepper <drepper@gmail.com>
10470
ee4d0315
UD
10471 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10472
cd205654
UD
10473 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10474 __extern_always_inline.
10475 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10476 32-bit.
10477
48b67d71
AS
104782011-09-14 Andreas Schwab <schwab@redhat.com>
10479
10480 * elf/rtld.c (dl_main): Also relocate in dependency order when
10481 doing symbol dependency testing.
10482
1ae12c75
AS
104832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10484
10485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10486 Always define `refsym'.
10487
995a80df
AS
104882011-09-13 Andreas Schwab <schwab@redhat.com>
10489
e529793b
AS
10490 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10491 (__FD_ELT): Renamed from __FDELT.
10492 * misc/bits/select2.h (__FD_ELT): Likewise.
10493 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10494 __FD_MASK instead of __FDELT, __FDMASK.
10495 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10496 Likewise.
10497 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10498 Likewise.
10499
52d4fef8
AS
10500 * elf/Makefile (gen-ldd): Fix pattern.
10501
995a80df
AS
10502 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10503 (init_tls): Likewise.
10504
8682f8b0
UD
105052011-09-12 Ulrich Drepper <drepper@gmail.com>
10506
10507 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10508
de82006d
AS
105092011-09-12 Andreas Schwab <schwab@redhat.com>
10510
a7c8e6a1
AS
10511 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10512 `struct cmsghdr *' instead of `void *'.
10513 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10514 Likewise.
10515
0f31fe77
AS
105162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10517
10518 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10519 if non-absolute.
10520 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10521 ldd_rewrite_script.
0f31fe77 10522
32b4c839
UD
105232011-09-11 Ulrich Drepper <drepper@gmail.com>
10524
83cd1420
UD
10525 * configure.in: Remove --with-tls option.
10526 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10527 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10528 out in case it is missing.
10529 * sysdeps/ia64/elf/configure.in: Likewise.
10530 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10531 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10532 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10533 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10534 * sysdeps/sh/elf/configure.in: Likewise.
10535 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10536 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10537 * sysdeps/x86_64/elf/configure.in: Likewise.
10538 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10539 * sysdeps/mach/hurd/tls.h: Likewise.
10540
633f745d
UD
10541 [BZ #13067]
10542 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10543
f318beb8
UD
10544 [BZ #13090]
10545 * configure.in: Fix use of AC_INIT.
10546
32b4c839
UD
10547 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10548
3ce1f295
UD
105492011-09-10 Ulrich Drepper <drepper@gmail.com>
10550
bb016596
UD
10551 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10552 __set_errno.
8e58439c
UD
10553 * malloc/hooks.c: Likewise.
10554
aebae053 10555 [BZ #11929]
02d46fc4
UD
10556 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10557 variables statically.
10558 (narenas): Initialize.
10559 (list_lock): Initialize.
bb016596
UD
10560 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10561 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10562 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10563 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10564 Add initializers to main_arena and mp_.
10565 (malloc_state): Remove pagesize member. Change all users to use
10566 GLRO(dl_pagesize).
10567
10568 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10569 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10570 is always initialized.
10571
22a89187
UD
10572 * malloc/malloc.c: Removed unused configurations and dead code.
10573 * malloc/arena.c: Likewise.
10574 * malloc/hooks.c: Likewise.
02d46fc4 10575 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10576
d063d164
UD
10577 * include/tls.h: Removed. USE___THREAD must always be defined.
10578 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10579 * elf/dl-libc.c: Likewise.
10580 * elf/dl-tsd.c: Likewise.
10581 * include/errno.h: Likewise.
10582 * include/netdb.h: Likewise.
10583 * include/resolv.h: Likewise.
10584 * inet/herrno-loc.c: Likewise.
10585 * inet/herrno.c: Likewise.
10586 * malloc/arena.c: Likewise.
10587 * malloc/hooks.c: Likewise.
10588 * malloc/malloc.c: Likewise.
10589 * resolv/res-state.c: Likewise.
10590 * resolv/res_libc.c: Likewise.
10591 * sysdeps/i386/dl-machine.h: Likewise.
10592 * sysdeps/ia64/dl-machine.h: Likewise.
10593 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10594 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10595 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10596 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10597 * sysdeps/sh/dl-machine.h: Likewise.
10598 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10599 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10600 * sysdeps/unix/i386/sysdep.S: Likewise.
10601 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10602 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10603 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10604 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10605 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10607 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10611 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10612 * sysdeps/x86_64/dl-machine.h: Likewise.
10613 * tls.make.c: Likewise.
10614
3ce1f295
UD
10615 * configure.in: Remove --with-__thread option. Make tests for
10616 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10617 tls_model attribute fail if no support is available. Remove
10618 USE_IN_LIBIO.
10619 * Makeconfig: Adjust for dropped configure option. All features are
10620 now mandatory.
10621 * Makerules: Likewise.
10622 * Versions.def: Likewise.
10623 * argp/argp-fmtstream.c: Likewise.
10624 * argp/argp-fmtstream.h: Likewise.
10625 * argp/argp-help.c: Likewise.
10626 * assert/assert.c: Likewise.
10627 * config.h.in: Likewise.
10628 * config.make.in: Likewise.
10629 * configure: Likewise.
10630 * configure.in: Likewise.
10631 * csu/Versions: Likewise.
10632 * csu/init.c: Likewise.
10633 * elf/tst-audit2.c: Likewise.
10634 * elf/tst-tls10.c: Likewise.
10635 * elf/tst-tls10.h: Likewise.
10636 * elf/tst-tls11.c: Likewise.
10637 * elf/tst-tls12.c: Likewise.
10638 * elf/tst-tls14.c: Likewise.
10639 * elf/tst-tlsmod11.c: Likewise.
10640 * elf/tst-tlsmod12.c: Likewise.
10641 * elf/tst-tlsmod13.c: Likewise.
10642 * elf/tst-tlsmod13a.c: Likewise.
10643 * elf/tst-tlsmod14a.c: Likewise.
10644 * elf/tst-tlsmod15b.c: Likewise.
10645 * elf/tst-tlsmod16a.c: Likewise.
10646 * elf/tst-tlsmod16b.c: Likewise.
10647 * elf/tst-tlsmod7.c: Likewise.
10648 * elf/tst-tlsmod8.c: Likewise.
10649 * elf/tst-tlsmod9.c: Likewise.
10650 * gmon/gmon.c: Likewise.
10651 * grp/fgetgrent_r.c: Likewise.
10652 * grp/putgrent.c: Likewise.
10653 * hurd/fopenport.c: Likewise.
10654 * include/libc-symbols.h: Likewise.
10655 * include/tls.h: Likewise.
10656 * intl/gettextP.h: Likewise.
10657 * intl/loadinfo.h: Likewise.
10658 * locale/global-locale.c: Likewise.
10659 * locale/localeinfo.h: Likewise.
10660 * mach/devstream.c: Likewise.
10661 * malloc/arena.c: Likewise.
10662 * malloc/set-freeres.c: Likewise.
10663 * misc/err.c: Likewise.
10664 * misc/getttyent.c: Likewise.
10665 * misc/mntent_r.c: Likewise.
10666 * posix/getopt.c: Likewise.
10667 * posix/wordexp.c: Likewise.
10668 * pwd/fgetpwent_r.c: Likewise.
10669 * resolv/Versions: Likewise.
10670 * resolv/res_hconf.c: Likewise.
10671 * shadow/fgetspent_r.c: Likewise.
10672 * shadow/putspent.c: Likewise.
10673 * stdio-common/printf_fphex.c: Likewise.
10674 * stdio-common/tmpfile.c: Likewise.
10675 * stdlib/abort.c: Likewise.
10676 * stdlib/fmtmsg.c: Likewise.
10677 * sunrpc/auth_unix.c: Likewise.
10678 * sunrpc/clnt_perr.c: Likewise.
10679 * sunrpc/clnt_tcp.c: Likewise.
10680 * sunrpc/clnt_udp.c: Likewise.
10681 * sunrpc/clnt_unix.c: Likewise.
10682 * sunrpc/openchild.c: Likewise.
10683 * sunrpc/svc_simple.c: Likewise.
10684 * sunrpc/svc_tcp.c: Likewise.
10685 * sunrpc/svc_udp.c: Likewise.
10686 * sunrpc/svc_unix.c: Likewise.
10687 * sunrpc/xdr.c: Likewise.
10688 * sunrpc/xdr_array.c: Likewise.
10689 * sunrpc/xdr_rec.c: Likewise.
10690 * sunrpc/xdr_ref.c: Likewise.
10691 * sunrpc/xdr_stdio.c: Likewise.
10692
1248c1c4
PB
106932011-09-09 Ulrich Drepper <drepper@gmail.com>
10694
10695 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10696
106972011-07-03 Andreas Jaeger <aj@suse.de>
10698
10699 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10700 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10701 regenerate with gen-libm-tests.pl.
10702
107032010-05-12 Petr Baudis <pasky@suse.cz>
10704
10705 [BZ #11589]
10706 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10707 around j0() zero points by switching to j1().
10708 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10711 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10712
f22e1074
UD
107132011-09-09 Ulrich Drepper <drepper@gmail.com>
10714
f19009c1
UD
10715 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10716 instead of 0.
10717 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10718 instead of 0. .
10719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10720 Patch in part by Pavel Roskin <proski@gnu.org>.
10721
3f8cc204
UD
10722 [BZ #13138]
10723 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10724 realloc.
10725 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10726 Free memory block if necessary.
10727
f22e1074
UD
10728 [BZ #12847]
10729 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10730 be NULL. Don't lock in this case.
10731
0a2349f9
RM
107322011-09-09 Roland McGrath <roland@hack.frob.com>
10733
10734 * elf/elf.h (ELFOSABI_GNU): New macro.
10735 (ELFOSABI_LINUX): Define to that.
10736
f3cdd467
DZ
107372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10738
10739 * string/strncat.c (strncat): Undef the symbol in case it has been
10740 defined in bits/string.h.
10741
74718d13
UD
107422011-09-09 Ulrich Drepper <drepper@gmail.com>
10743
633e9e0f
UD
10744 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10745
0a2349f9 10746 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10747 link map.
10748
f9924780
AJ
107492011-08-17 Andreas Jaeger <aj@suse.de>
10750
10751 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10752
7f5517aa
PP
107532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10754 Ian Lance Taylor <iant@google.com>
10755
10756 * math/libm-test.inc (lround_test): New testcase.
10757 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10758
762011fe
UD
107592011-09-08 Ulrich Drepper <drepper@gmail.com>
10760
92963737
UD
10761 * Makefile: Remove support for automatic cvs check-ins.
10762 * Makerules: Likewise.
10763 * config.make.in: Likewise.
10764 * configure.in: Likewise.
10765 * intl/Makefile: Likewise.
10766 * locale/Makefile: Likewise.
10767 * po/Makefile: Likewise.
10768 * posix/Makefile: Likewise.
10769 * sysdeps/gnu/Makefile: Likewise.
10770 * sysdeps/mach/hurd/Makefile: Likewise.
10771 * sysdeps/sparc/sparc32/Makefile: Likewise.
10772
b0727fd8
JS
10773 [BZ #13118]
10774 * posix/Makefile (bug-regex32-ENV): Define.
10775 Patch by John Stanley <jpsinthemix@verizon.net>.
10776
a0f33f99
UD
10777 * misc/Makefile (headers): Add bits/select2.h.
10778 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10779 * misc/bits/select2.h: New file.
10780 * include/bits/select2.h: New file.
10781 * debug/Makefile (routines): Add fdelt_chk.
10782 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10783 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10784 FD_ISSET.
10785 * debug/fdelt_chk.c: New file.
10786
762011fe
UD
10787 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10788 * wcsmbs/test-wmemcmp.c: Likewise.
10789 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10790 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10791
107922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10793
10794 * string/Makefile (strop-tests): Add memcmp.
10795 * string/test-wmemcmp.c: New file.
10796 * string/test-memcmp.c: Add wmemcmp support.
10797
7f513ec8
RM
107982011-09-08 Roland McGrath <roland@hack.frob.com>
10799
0442afb4
RM
10800 [BZ #13153]
10801 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10802 2011-07-19 change.
10803
7f513ec8
RM
10804 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10805 garbage value in a __mach_port_mod_refs call in the cases of the
10806 task-self and thread-self ports.
10807
a12b2239
ST
108082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10809
10810 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10811
610f9ab4
AS
108122011-09-08 Andreas Schwab <schwab@redhat.com>
10813
7f513ec8 10814 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10815
48882a1a
LD
108162011-09-07 Ulrich Drepper <drepper@gmail.com>
10817
b49865be
UD
10818 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10819
fdc86bc9
UD
10820 * elf/dl-libc.c (dlerror_run): Pass back error code from
10821 dl_catch_error.
10822
c966526a
UD
10823 [BZ #13123]
10824 * elf/dl-load.c (lose): Free l_origin if it is valid.
10825
48882a1a
LD
10826 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10827 names.
10828 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10829 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10830 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10831 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10832 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10833 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10834
77a2a8b4
AZ
108352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10836
10837 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10838 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10839 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10840 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10841 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10842 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10843 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10844 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10845 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10846 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10847
24f579d8
AM
108482011-08-15 Alan Modra <amodra@gmail.com>
10849
10850 [BZ #13092]
10851 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10852 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10853 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10854 ppc_mcount to static-only-routines.
10855 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10856 __mcount_internal.
10857 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10858 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10859
3d4837df
UD
108602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10861
10862 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10863 for finite and infinity parameters.
10864
22700377
WS
108652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10866
10867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10868 and add nop instructions for throughput optimization.
10869 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10870
5025581e
WS
108712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10872
10873 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10874 aligned copy for power7 with vector-scalar instructions.
10875 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10876
08a300c9
L
108772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10878
10879 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10880 AVX check.
10881
59178ef9
AS
108822011-09-07 Andreas Schwab <schwab@redhat.com>
10883
10884 [BZ #13144]
10885 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10886 last change.
10887
e38ba7ab
UD
108882011-09-07 Ulrich Drepper <drepper@gmail.com>
10889
10890 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10891 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10892 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10893 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10894 clock_gettime.
10895
d53a73ac
UD
108962011-09-06 Ulrich Drepper <drepper@gmail.com>
10897
fc8bffcc
UD
10898 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10899 Forgot to demangle the pointer.
10900
ceaa0c5d
UD
10901 * sysdeps/i386/sysdep.h: Define atom_text_section.
10902 * sysdeps/x86_64/sysdep.h: Likewise.
10903 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10904 section with atom_text_section.
10905 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10906 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10907 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10908 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10909 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10910
a77d3c17
UD
10911 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10912 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10913 already be defined. Change to take two parameters and don't assign
10914 result to variable. Adjust all users.
10915 Define INTERNAL_GETTIME if not already defined.
10916 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10917 call.
10918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10919 HAVE_CLOCK_GETTIME_VSYSCALL.
10920 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10921
d53a73ac
UD
10922 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10923 gettimeofday vsyscall, just use time.
10924
a8f84144
AS
109252011-09-06 Andreas Schwab <schwab@redhat.com>
10926
10927 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10928 <errno.h>.
10929
ef606249
UD
109302011-09-06 Ulrich Drepper <drepper@gmail.com>
10931
10932 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10933 syscall on x86-64.
10934 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10935 syscall.
10936 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10937 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10938 syscall if possible.
10939
6585cb60
UD
109402011-09-05 Ulrich Drepper <drepper@gmail.com>
10941
10942 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10943 e_ident. Don't pass to find_mapsXX.
10944 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10945
a5f524e4
LD
109462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10947
10948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10949 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10950 * sysdeps/x86_64/multiarch/strchr.S: Update.
10951 Check bit_slow_BSF bit.
10952 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10953 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10954 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10955
554881ef
UD
109562011-09-05 Ulrich Drepper <drepper@gmail.com>
10957
d96de963
UD
10958 [BZ #13134]
10959 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10960 before glibc 2.15.
10961 (tryshell): Define.
10962 (__spawni): Change last parameter to be flag. Test
10963 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10964 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10965 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10966 * posix/spawni.c: Likewise.
10967 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10968 * posix/spawnp.c: Likewise. Change normal version to use
10969 SPAWN_XFLAGS_USE_PATH.
10970 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10971 SPAWN_XFLAGS_TRY_SHELL.
10972
d48e5868
UD
10973 [BZ #13150]
10974 * posix/glob.h: Remove gcc 1.x support.
10975
554881ef
UD
10976 [BZ #13068]
10977 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10978
693fb948
LD
109792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10980
10981 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10982 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10983 strrchr-sse2-bsf
10984 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10985 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10986 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10987 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10988 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10989 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10990
1b48c537
UD
109912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10992
49d42c37
UD
10993 * sysdeps/x86_64/wcscmp.S: New file.
10994
1b48c537
UD
10995 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10996 wcscmp-c wcscmp-sse2
10997 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10998 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10999 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11000 * wcsmbs/wcscmp.c: Allow renaming.
11001
15c95c5d
DM
110022011-09-05 David S. Miller <davem@davemloft.net>
11003
11004 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11005 stack slot, rather than the struct return pointer slot.
11006 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11007 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11009 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11010
2f0ad8f3
UD
110112011-09-05 Ulrich Drepper <drepper@gmail.com>
11012
d88ae418
UD
11013 * po/ja.po: Update from translation team.
11014
2f0ad8f3
UD
11015 [BZ #13144]
11016 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11017 kernel in 64-bit binaries.
11018
5f4318d1
DM
110192011-09-01 David S. Miller <davem@davemloft.net>
11020
11021 * elf/elf.h (HWCAP_SPARC_*): Move to..
11022 * sysdeps/sparc/sysdep.h: this new file and add new values.
11023 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11024 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11025 _DL_HWCAP_COUNT to 24.
11026 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11027 entries.
11028 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11029 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11030 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11031 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11032 instead of magic constants.
11033 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11034
3ba57516
DM
110352011-08-31 David S. Miller <davem@davemloft.net>
11036
11037 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11039 Reimplement to do errno handling inline.
11040 (SYSCALL_ERROR_HANDLER): New macro.
11041 (__SYSCALL_STRING): Do not do errno handling in asm.
11042 (__CLONE_SYSCALL_STRING): Delete.
11043 (__INTERNAL_SYSCALL_STRING): Delete.
11044 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11045 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11046 (PSEUDO): Reimplement to do errno handling inline.
11047 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11048 (SYSCALL_ERROR_HANDLER): New macro.
11049 (__SYSCALL_STRING): Do not do errno handling in asm.
11050 (__CLONE_SYSCALL_STRING): Delete.
11051 (__INTERNAL_SYSCALL_STRING): Delete.
11052 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11053 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11054 i386.
11055 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11056 (inline_syscall*): Add 'err' argument.
11057 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11058 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11059 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11060 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11061
11062 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11063 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11064
2bc17433
AS
110652011-08-30 Andreas Schwab <schwab@redhat.com>
11066
11067 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11068
fbeb5f4d
JO
110692011-08-29 Jiri Olsa <jolsa@redhat.com>
11070
11071 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11072 directive.
11073
ad69cc26
DM
110742011-08-24 David S. Miller <davem@davemloft.net>
11075
11076 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11077
39dd69df
AS
110782011-08-24 Andreas Schwab <schwab@redhat.com>
11079
11080 * elf/Makefile: Add rules to build and run unload8 test.
11081 * elf/unload8.c: New file.
11082 * elf/unload8mod1.c: New file.
11083 * elf/unload8mod1x.c: New file.
11084 * elf/unload8mod2.c: New file.
11085 * elf/unload8mod3.c: New file.
11086
11087 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11088 it wasn't used.
11089
2c0b250a
DM
110902011-08-23 David S. Miller <davem@davemloft.net>
11091
11092 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11093 subtract stack bias.
11094 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11095 %sp not %fp in calculations.
11096 (_JMPBUF_UNWINDS_ADJ): Likewise.
11097
22044b48
DM
11098 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11099 (aio_suspend): Call it to force an exception region around the
11100 AIO_MISC_WAIT() invocation.
11101
2cae4995
AS
111022011-08-23 Andreas Schwab <schwab@redhat.com>
11103
11104 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11105 backslash.
11106
873a772e
AJ
111072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11108
11109 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11110 protection macro.
11111 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11112 and <dl-machine.h>.
11113 (Elf64_FuncDesc): Remove.
11114
25ad0df1
DM
111152011-08-22 David S. Miller <davem@davemloft.net>
11116
11117 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11118 sigaltstack check, add missing cfi directives.
11119 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11120 missing cfi directives, and sigaltstack handling.
11121
e888bcbe
AS
111222011-08-16 Andreas Schwab <schwab@redhat.com>
11123
11124 [BZ #11724]
11125 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11126 object is seen twice.
11127 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11128
11129 * elf/Makefile (distribute): Add tst-initorder2.c.
11130 (tests): Add tst-initorder2.
11131 (modules-names): Add tst-initorder2a tst-initorder2b
11132 tst-initorder2c tst-initorder2d. Add rules to build them.
11133 ($(objpfx)tst-initorder2.out): New rule.
11134 * elf/tst-initorder2.c: New file.
11135 * elf/tst-initorder2.exp: New file.
11136
87162f46
AS
111372011-08-22 Andreas Schwab <schwab@redhat.com>
11138
70538b7f
AS
11139 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11140
f55ffe58
AS
11141 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11142 dependencies back to end of function.
11143
87162f46
AS
11144 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11145 $(elfobjdir)/ld.so.
11146
91b392a4
UD
111472011-08-21 Ulrich Drepper <drepper@gmail.com>
11148
11149 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11150 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11151 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11152 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11153 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11154 of __vdso_gettimeofday.
11155 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11156 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11157 attribute_hidden.
11158 (_libc_vdso_platform_setup): Remove initialization of
11159 __vdso_gettimeofday and __vdso_time.
11160
5c43483f
UD
111612011-08-20 Ulrich Drepper <drepper@gmail.com>
11162
775a77e7
UD
11163 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11164 and fgetc_unlocked.
11165 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11166 getc_unlocked.
89f447ed 11167
49c74ba9
UD
11168 * elf/dl-open.c (add_to_global): Report additions to the global scope
11169 for LD_DEBUG=scopes.
11170 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11171 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11172
5c43483f
UD
11173 [BZ #13114]
11174 * stdio-common/Makefile (tests): Add bug24.
11175 * stdio-common/bug24.c: New file.
11176
a101b025
AJ
111772011-08-19 Andreas Jaeger <aj@suse.de>
11178
11179 [BZ #13114]
11180 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11181 non-existant file when using close-on-exec mode.
11182
c88f1766
UD
111832011-08-20 Ulrich Drepper <drepper@gmail.com>
11184
0276a718
UD
11185 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11186 the very first instruction.
11187
c88f1766
UD
11188 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11189 the CFI state in the end.
11190 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11191 inclusion of dl-trampoline.h.
11192 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11193
51ccffa0
AS
111942011-08-19 Andreas Schwab <schwab@redhat.com>
11195
94d7165f
AS
11196 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11197 expectations for long double.
11198
51ccffa0
AS
11199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11200 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11201
fd708658 112022011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11203
11204 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11205 artificual limit depends upon the system page size.
11206
44f0a71e
UD
112072011-08-17 Ulrich Drepper <drepper@gmail.com>
11208
11209 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11210 * resolv/Makefile: Define CFLAGS-libresolv.
11211
8de79a24
AS
112122011-08-17 Andreas Schwab <schwab@redhat.com>
11213
11214 * nss/makedb.c (compute_tables): Make variables used in nested
11215 function static.
11216
27724598
UD
112172011-08-17 Ulrich Drepper <drepper@gmail.com>
11218
c5305d88
UD
11219 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11220 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11221 if buffer was too small.
11222
27724598
UD
11223 * elf/pldd.c (main): Attach to all threads in the process.
11224 Rewrite /proc handling to use *at functions.
11225
076fe015
UD
112262011-08-16 Ulrich Drepper <drepper@gmail.com>
11227
174baab3
UD
11228 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11229 specifies first scope to show.
11230 (dl_open_worker): Update callers. Move printing scope of new
11231 object to before the relocation.
44f0a71e 11232 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11233 * sysdeps/generic/ldsodefs.h: Update declaration.
11234
076fe015
UD
11235 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11236 string for the scope number.
11237
a60df2c3
UD
112382011-08-14 Ulrich Drepper <drepper@gmail.com>
11239
11240 * nscd/servicescache.c (cache_addserv): Make sure written is always
11241 initialized.
11242
5e4287d1
RM
112432011-08-14 Roland McGrath <roland@hack.frob.com>
11244
85ae0589
RM
11245 * sysdeps/i386/i486/bits/atomic.h
11246 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11247 statement expression, so as to suppress "set but not used" warning.
11248 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11249
69f63097
RM
11250 * string/strncat.c (STRNCAT): Use prototype definition.
11251
675456ef
RM
11252 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11253 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11254 -Iprograms here.
11255 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11256 (localedef-modules): Add localedef.
11257 (locale-modules): Add locale.
11258
5e4287d1
RM
11259 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11260 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11261 to avoid a warning.
11262
9c96ff23
DM
112632011-08-14 David S. Miller <davem@davemloft.net>
11264
11265 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11266 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11267
f9ddf089
UD
112682011-08-13 Ulrich Drepper <drepper@gmail.com>
11269
44f0a71e 11270 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11271 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11272 * elf/rtld.c (dl_main): Set l_name of vDSO.
11273 Call _dl_show_scope when DL_DEBUG_SCOPES.
11274 (process_dl_debug): Recognize scopes flag and also set it for all.
11275 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11276 Declare _dl_show_scope.
11277
1dc27704
UD
11278 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11279 (do_dlopen): Pass caller_dlopen to dl_open.
11280 (__libc_dlopen_mode): Initialize caller_dlopen.
11281
f9ddf089
UD
11282 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11283 of libc. Make tolower call locale-independent. Optimize a bit by
11284 using isdigit instead of isalnum.
11285 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11286
9ac533d3
UD
112872011-08-12 Ulrich Drepper <drepper@gmail.com>
11288
11289 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11290 was a dependency or dynamically loaded.
11291
89edf2e9
UD
112922011-08-11 Ulrich Drepper <drepper@gmail.com>
11293
8e999d29
UD
11294 * intl/l10nflist.c: Allow architecture-specific pop function.
11295 * sysdeps/x86_64/l10nflist.c: New file.
11296
89edf2e9
UD
11297 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11298 classification.
11299
14d96785
AS
113002011-08-10 Andreas Schwab <schwab@redhat.com>
11301
11302 * include/dirent.h: Add libc_hidden_proto for scandirat and
11303 scandirat64. Don't declare __scandirat64.
11304 * dirent/scandirat.c: Add libc_hidden_def.
11305 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11306 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11307
6761ac04
DM
113082011-08-10 David S. Miller <davem@davemloft.net>
11309
11310 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11311 enum.
11312 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11313 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11314 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11315
c55fbd1e
UD
113162011-08-09 Ulrich Drepper <drepper@gmail.com>
11317
11318 * Versions.def [libc]: Add GLIBC_2.15.
11319 * dirent/Makefile (routines): Add scandirat and scandirat64.
11320 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11321 GLIBC_2.15.
11322 * dirent/dirent.h: Declare scandirat and scandirat64.
11323 * dirent/scandirat.c: New file.
11324 * dirent/scandirat64.c: New file.
11325 * sysdeps/wordsize-64/scandirat.c: New file.
11326 * sysdeps/wordsize-64/scandirat64.c: New file.
11327 * dirent/opendir.c: Define opendirat.
11328 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11329 using scandirat.
11330 * dirent/scandir64.c: Adjust for scandir.c change.
11331 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11332 __scandirat64, and __scandir_cancel_handler.
11333 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11334 additional parameter and use openat instead of open (outside of ld.so).
11335 Add new __opendir as wrapper around __opendirat.
11336 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11337 here without requiring old scandirat implementation.
11338
879165f2
UD
113392011-08-08 Ulrich Drepper <drepper@gmail.com>
11340
11341 * dirent/scandir.c (cancel_handler): Renamed to
11342 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11343 defined. Adjust users.
11344 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11345 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11346
cb7e923b
UD
113472011-08-04 Ulrich Drepper <drepper@gmail.com>
11348
16292edd
UD
11349 * string/test-string.h (IMPL): Use __STRING to expand name and then
11350 stringify it.
11351
cb7e923b
UD
11352 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11353 of cleanups.
11354
cff82933
LD
113552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11356
11357 * string/Makefile: Update.
11358 (strop-tests): Append strncat.
11359 * string/test-wcscmp.c: New file.
11360 New comprehensive test for wcscmp.
11361 * string/test-strcmp.c: Update.
11362 (WIDE): New define.
11363
9be9bfcc
AS
113642011-07-22 Andreas Schwab <schwab@redhat.com>
11365
11366 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11367 line.
11368
2e96f1c7
AS
113692011-07-26 Andreas Schwab <schwab@redhat.com>
11370
11371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11372 encoding to ACE if AI_IDN.
11373
85188888
JJ
113742011-08-01 Jakub Jelinek <jakub@redhat.com>
11375
11376 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11377 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11378
5fa16e9b
LD
113792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11380
11381 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11382 Fix overflow bug in strncat.
11383 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11384
11385 * string/test-strncat.c: Update.
11386 Add new tests for checking overflow bugs.
11387
113882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11389
11390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11391 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11392 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11393 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11394 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11395 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11396 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11397 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11398 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11399
11400 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11401 (USE_AS_STRCAT): Define.
11402 Add strcat and strncat support.
11403 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11404
8c1a459f
AS
114052011-07-25 Andreas Schwab <schwab@redhat.com>
11406
11407 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11408 __n bigger than INT_MAX+1.
11409 (__strncmp_g): Likewise.
11410
bba33c28
UD
114112011-07-23 Ulrich Drepper <drepper@gmail.com>
11412
798be72d
UD
11413 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11414 * libio/stido.h: Likewise.
11415
8accd4dc
UD
11416 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11417 (AF_NFC): Define.
11418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11419 (AF_NFC): Define.
11420
cbff0d96
UD
11421 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11422 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11423 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11424 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11425 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11426
9191c04a
UD
11427 [BZ #13021]
11428 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11429 installed.
11430
bba33c28
UD
11431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11432 typo.
11433 (_dl_x86_64_save_sse): Likewise.
11434
90f139dd
UD
114352011-07-22 Ulrich Drepper <drepper@gmail.com>
11436
1aae088a
UD
11437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11438 OSXSAVE.
11439 (_dl_x86_64_save_sse): Likewise.
11440
8e2045f5
UD
11441 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11442
90f139dd
UD
11443 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11444
1d002f25
AS
114452011-07-21 Andreas Schwab <schwab@redhat.com>
11446
11447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11448 change.
11449 (_dl_x86_64_save_sse): Use correct AVX check.
11450
21137f89
UD
114512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11452
11453 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11454 bug in strncpy/strncat.
11455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11456
a65c0b7a
UD
114572011-07-21 Ulrich Drepper <drepper@gmail.com>
11458
11459 * string/tester.c (test_strcat): Add tests for different alignments
11460 of source and destination.
11461 (test_strncat): Likewise.
11462
6986b98a
UD
114632011-07-20 Ulrich Drepper <drepper@gmail.com>
11464
90bb2039
UD
11465 [BZ #12852]
11466 * posix/glob.c (glob): Check passed in values before using them in
11467 expressions to avoid some overflows.
11468 (glob_in_dir): Likewise.
11469
5644ef54
UD
11470 [BZ #13007]
11471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11472 check for AVX enablement so that we don't crash with old kernels and
11473 new hardware.
11474 * elf/tst-audit4.c: Add same checks here.
11475 * elf/tst-audit6.c: Likewise.
11476
11477 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11478
bfc9dc9b
AS
114792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11480
11481 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11482
702e64bb
UD
114832011-07-20 Ulrich Drepper <drepper@gmail.com>
11484
11485 * po/cs.po: Update from translation team.
11486 * po/bg.po: Likewise.
11487
295e904f
MP
114882011-07-12 Marek Polacek <mpolacek@redhat.com>
11489
11490 * misc/sys/cdefs.h: Add support for const attribute.
11491 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11492 to gnu_dev_{major,minor,makedev} functions.
11493
3ff94596
MP
114942011-07-20 Marek Polacek <mpolacek@redhat.com>
11495
11496 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11497
28b59fca
AS
114982011-07-20 Andreas Schwab <schwab@redhat.com>
11499
11500 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11501 strlen results.
11502
19df733e
AK
115032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11504
11505 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11506 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11507 register in order to avoid conflicts with the soft frame pointer
11508 being held in r11 when necessary.
11509 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11510 (INTERNAL_VSYSCALL_NCS): Likewise.
11511
c8835729
MP
115122011-07-14 Marek Polacek <mpolacek@redhat.com>
11513
11514 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11515 * elf/dl-fini.c (_dl_fini): Adjust caller.
11516 * elf/dl-close.c (_dl_close_worker): Likewise.
11517 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11518
b902330c
MP
115192011-07-15 Marek Polacek <mpolacek@redhat.com>
11520
8991e135
MP
11521 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11522 "aux_cache->nlibs < 0".
11523
b902330c
MP
11524 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11525 in the reload-count case.
11526
99710781
LD
115272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11528
11529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11530 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11531 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11532 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11533 * sysdeps/x86_64/multiarch/strcat.S: New file.
11534 * sysdeps/x86_64/multiarch/strncat.S: New file.
11535 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11536 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11537 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11538 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11539 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11540 (USE_AS_STRCAT): Define.
11541 Add strcat and strncat support.
11542 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11543 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11544 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11545 * string/strncat.c: Update.
11546 (USE_AS_STRNCAT): Define.
11547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11548 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11549 and i7.
11550 * sysdeps/x86_64/multiarch/init-arch.h
11551 (bit_Prefer_PMINUB_for_stringop): New.
11552 (index_Prefer_PMINUB_for_stringop): Likewise.
11553 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11554 bit_Prefer_PMINUB_for_stringop.
11555
7dc6bd90
UD
115562011-07-19 Ulrich Drepper <drepper@gmail.com>
11557
11558 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11559 buffer64.
11560 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11561 of casting of buffer.
11562 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11563 buffer32 and buffer64.
11564 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11565 writes instead of casting of buffer.
11566 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11567 buffer32.
11568 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11569 casting of buffer.
11570
e0e72284
AS
115712011-07-19 Andreas Schwab <schwab@redhat.com>
11572
11573 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11574
feb1eb0b
UD
115752011-07-19 Ulrich Drepper <drepper@gmail.com>
11576
11577 * nscd/nscd.c (termination_handler): Don't do anything for a database
11578 if it has not yet been initialized.
11579
298711ff
UD
115802011-07-18 Ulrich Drepper <drepper@gmail.com>
11581
11582 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11583
115842011-07-15 Marek Polacek <mpolacek@redhat.com>
11585
11586 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11587
f9d68389
UD
115882011-07-18 Ulrich Drepper <drepper@gmail.com>
11589
11590 * po/nl.po: Update from translation team.
11591 * po/sv.po: Likewise.
11592
db290cf5
RM
115932011-07-16 Roland McGrath <roland@hack.frob.com>
11594
11595 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11596 now disallowed by GCC.
5c550700 11597
fd5e21c7
RM
11598 * configure.in (use-default-link): Default to yes if a test -shared
11599 link meets our qualifications.
11600 * configure: Regenerated.
11601
5c550700
RM
11602 * config.make.in (output-format): New variable.
11603 * configure.in: Check for ld --print-output-format support.
11604 * configure: Regenerated.
11605 * Makerules ($(common-objpfx)format.lds)
11606 [$(output-format) != unknown]: Just use $(output-format),
11607 instead of the linker-script munging.
11608
9fa2c032
RM
116092011-07-14 Roland McGrath <roland@hack.frob.com>
11610
a6928d51
RM
11611 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11612 of $(common-objpfx)shlib.lds.
11613 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11614
661607b3
RM
11615 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11616 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11617
9fa2c032
RM
11618 * configure.in (-z relro check): Adjust test code to add a large
11619 writable data section after it.
11620 * configure: Regenerated.
11621
defe9061
RM
116222011-07-11 Roland McGrath <roland@hack.frob.com>
11623
11624 * configure.in (-z relro check): Fix test code to make the variable
11625 truly const.
11626 * configure: Regenerated.
11627
319b9ad4
UD
116282011-07-11 Ulrich Drepper <drepper@gmail.com>
11629
11630 * nscd/nscd.h (struct traced_file): Define.
11631 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11632 elements. Add traced_files.
11633 (inotify_fd): Declare.
11634 (register_traced_file): Declare.
11635 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11636 (inotify_fd): Export.
11637 (resolv_conf_descr): Remove.
11638 (nscd_init): Move inotify descriptor creation to main.
11639 Don't register files for notification here.
11640 (register_traced_file): New function.
11641 (invalidate_cache): Don't use reset_res to determine whether to call
11642 res_init, go through the list of registered files.
11643 (main_loop_poll): The inotify descriptors are now stored in the
11644 structures for the traced files.
11645 (main_loop_epoll): Likewise
11646 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11647 to __nss_disable_nscd.
11648 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11649 for a database anymore. Check the records for all the registered
11650 files instead.
11651 * nss/Makefile (libnss_files-routines): Add files-init.
11652 (libnss_db-routines): Add db-init.
11653 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11654 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11655 * nss/nss_db/db-init.c: New file.
11656 * nss/nss_files/files-init.c: New file.
11657 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11658 __nss_lookup_function.
11659 (__nss_lookup_function): Call nss_load_library.
11660 (nss_load_all_libraries): New function.
11661 (__nss_disable_nscd): Take parameter with callback function for files
11662 to register. Set is_nscd. Load all the DSOs for the NSS modules
11663 used for the cached services.
11664 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11665 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11666 options for features to all the files in nscd.
11667
11668 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11669
23bee3e8
RM
116702011-07-10 Roland McGrath <roland@hack.frob.com>
11671
11672 * csu/elf-init.c (__libc_csu_init): Comment typo.
11673
46a5b7f0
UD
116742011-07-09 Ulrich Drepper <drepper@gmail.com>
11675
11676 * po/pl.po: Update from translation team.
11677 * po/ja.po: Likewise.
11678 * po/ru.po: Likewise.
11679 * po/ko.po: Likewise.
11680 * po/fr.po: Likewise.
11681
d30cf5bb
RM
116822011-07-09 Roland McGrath <roland@hack.frob.com>
11683
113ddea4
RM
11684 * configure.in (.ctors/.dtors header and trailer check):
11685 Use an empirical test on a built program.
11686 * configure: Regenerated.
11687
574920b4
RM
11688 * configure.in (-z relro check): Use an empirical test on a built DSO.
11689 Detect, but do not require, on ia64.
11690 * configure: Regenerated.
11691
d30cf5bb
RM
11692 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11693 Update tests that use readelf to use $READELF instead.
11694 * configure: Regenerated.
11695
8538fdb3
UD
116962011-07-08 Ulrich Drepper <drepper@gmail.com>
11697
11698 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11699 if the result is not used.
11700
04d08991
AJ
117012011-07-05 Andreas Jaeger <aj@suse.de>
11702
11703 [BZ#9696]
11704 * stdlib/tst-strtod.c: Add testcase.
11705
de283087
AD
117062011-07-07 Ulrich Drepper <drepper@gmail.com>
11707
4e5f31c8 11708 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11709 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11710 The latter has a higher limit. Take additional parameter to pass to
11711 the new function.
11712 (__pathconf): Pass file to __statfs_link_max.
11713 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11714 __statfs_link_max.
11715 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11716 __statfs_link_max.
11717
de283087
AD
11718 [BZ #12868]
11719 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11720 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11721 Handle Lustre.
11722 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11723 (__statfs_filesize_max): Likewise.
11724 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11725
c75fa153
AJ
117262011-07-05 Andreas Jaeger <aj@suse.de>
11727
11728 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11729
1a544854
UD
117302011-07-06 Marek Polacek <mpolacek@redhat.com>
11731
11732 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11733 `status' variable.
11734 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11735 Likewise.
11736
6f0eec67
UD
117372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11738
11739 * Makefile (strop-tests): Add strncat.
11740 * string/test-strncat.c: New file.
11741
aae30307
UD
117422011-06-30 Marek Polacek <mpolacek@redhat.com>
11743
11744 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11745
c0cfb5eb
UD
117462011-06-21 Andreas Jaeger <aj@suse.de>
11747
11748 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11749 Copy rule from iconvdata/Makefile.
11750
01636b21
UD
117512011-07-06 Ulrich Drepper <drepper@gmail.com>
11752
11753 [BZ #12922]
11754 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11755 but no long options are defined, just return 'W'.
11756
9895c8bc
UD
117572011-06-22 Marek Polacek <mpolacek@redhat.com>
11758
11759 [BZ #9696]
11760 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11761
5d4cf042
UD
117622011-07-06 Ulrich Drepper <drepper@gmail.com>
11763
11764 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11765 netgroups to read.
960e5535 11766 (innetgr): Likewise.
5d4cf042 11767
751eb97e
RM
117682011-07-05 Roland McGrath <roland@hack.frob.com>
11769
11770 * config.make.in (install_root): Default to $(DESTDIR).
11771
f15f1e45
UD
117722011-07-05 Ulrich Drepper <drepper@gmail.com>
11773
11774 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11775
4e34ac6a
RM
117762011-07-02 Roland McGrath <roland@hack.frob.com>
11777
5e9b6af4
RM
11778 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11779
84f9ea0f
RM
11780 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11781 containing directory rather than embedding absolute directory names.
11782
ea5ee9f7
RM
11783 * scripts/check-local-headers.sh: Rewritten using awk.
11784 Match by word, not by line. Print error messages for matches.
11785 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11786
1b74661a
RM
11787 * Makerules [shlib-lds-flags empty]:
11788 ($(common-objpfx)libc_pic.opts): New target.
11789 ($(common-objpfx)libc_pic.os.clean): New target.
11790 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11791
11792 * config.make.in (OBJCOPY): New variable.
11793 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11794 * configure: Regenerated.
11795
f781ef40
RM
11796 * config.make.in (use-default-link): New variable.
11797 * configure.in (use_default_link): Grok --with-default-link to set it.
11798 * configure: Regenerated.
11799 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11800 (shlib-lds, shlib-lds-flags): Define to empty.
11801
2d4fa81e
RM
11802 * Makerules (shlib-lds): New variable.
11803 (shlib-lds-flags): New variable.
11804 (build-shlib, build-moduile, build-module-asneeded): Use it.
11805 ($(common-objpfx)libc.so): Use $(shlib-lds).
11806 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11807 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11808
31fffa6b
RM
11809 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11810 DT_FLAGS/DT_FLAGS_1 with zero flags.
11811
4e34ac6a
RM
11812 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11813 linker script munging.
11814
fcfc776b
UD
118152011-07-02 Ulrich Drepper <drepper@gmail.com>
11816
11817 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11818 as 128-bit value.
11819 * crypt/sha512.c (sha512_process_block): Perform total addition using
11820 128-bit if possible.
11821 (__sha512_finish_ctx): Likewise.
11822 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11823 as 64-bit value.
11824 * crypt/sha256.c (SWAP64): Define.
11825 (sha256_process_block): Perform total addition using 64-bit if
11826 possible.
11827 (__sha256_finish_ctx): Likewise.
11828
99231d9a
UD
118292011-07-01 Ulrich Drepper <drepper@gmail.com>
11830
11831 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11832 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11833 * nscd/hstcache.c (cache_addhst): Likewise.
11834 * nscd/grpcache.c (cache_addgr): Likewise.
11835 * nscd/aicache.c (addhstaiX): Likewise
11836 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11837
445b4a53
TK
118382011-07-01 Thorsten Kukuk <kukuk@suse.de>
11839
11840 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11842 * nscd/hstcache.c (cache_addhst): Likewise.
11843 * nscd/grpcache.c (cache_addgr): Likewise.
11844 * nscd/aicache.c (addhstaiX): Likewise
11845
6d4d8e8e
AS
118462011-07-01 Andreas Schwab <schwab@redhat.com>
11847
11848 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11849 domain only when needed.
11850
89f654c5
AS
118512011-06-30 Andreas Schwab <schwab@redhat.com>
11852
11853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11854 is always restored.
11855
cf3b23ff
UD
118562011-06-29 Ulrich Drepper <drepper@gmail.com>
11857
11858 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11859 are re-adding the entry.
11860 * nscd/servicescache.c (cache_addserv): Likewise.
11861
751626f9
AJ
118622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11863
11864 * sysdeps/generic/dl-irel.h: fix protection against multiple
11865 inclusions.
11866 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11867
9113ea1f
UD
118682011-06-28 Ulrich Drepper <drepper@gmail.com>
11869
5c0b8d90
UD
11870 [BZ #12935]
11871 * malloc/memusage.sh: Fix quoting in message.
11872 * debug/xtrace.sh: Likewise.
11873
9113ea1f
UD
11874 * configure.in: Remove support for --experimental-malloc option, make
11875 it the default.
11876 * config.make.in: Likewise.
11877 * malloc/Makefile: Likewise.
11878
a4172181
AS
118792011-06-27 Andreas Schwab <schwab@redhat.com>
11880
11881 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11882 two-byte characters.
11883
78a7eee7
RM
118842011-06-27 Roland McGrath <roland@hack.frob.com>
11885
62bede13
RM
11886 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11887 AC_CACHE_CHECK invocation.
11888 * configure: Regenerated.
11889
78a7eee7
RM
11890 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11891
5ce33a62
UD
118922011-06-27 Ulrich Drepper <drepper@gmail.com>
11893
034807a9
UD
11894 [BZ #12350]
11895 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11896 bit from old_res_options.
11897
4902da17
UD
11898 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11899
5ce33a62
UD
11900 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11901 value type for setfct.
11902
c2344f56
L
119032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11904
11905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11906 __gettimeofday instead of gettimeofday.
11907
68468076
UD
119082011-06-26 Ulrich Drepper <drepper@gmail.com>
11909
11910 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11911
acb0d739
L
119122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11913
11914 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11915
11916 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11917 info.
11918
8912479f
L
119192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11920
11921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11922 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11923 strcpy-sse2-unaligned strncpy-sse2-unaligned
11924 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11925 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11926 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11927 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11928 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11929 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11930 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11931 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11932 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11933 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11934 (STRCPY): Support SSE2 and SSSE3 versions.
11935
d5495a11
UD
119362011-06-24 Ulrich Drepper <drepper@gmail.com>
11937
11938 [BZ #12874]
11939 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11940 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11941 kernels which artificially limit size of requests.
11942
0b1cbaae
L
119432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11944
11945 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11946 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11947 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11948 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11949 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11950 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11951 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11952 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11953 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11954 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11955 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11956 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11957 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11958 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11959 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11961 Enable unaligned load optimization for Intel Core i3, i5 and i7
11962 processors.
11963 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11964 Define.
11965 (index_Fast_Unaligned_Load): Define.
11966 (HAS_FAST_UNALIGNED_LOAD): Define.
11967
07f494a0
MP
119682011-06-23 Marek Polacek <mpolacek@redhat.com>
11969
11970 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11971
fa3fc0fe
UD
119722011-06-22 Ulrich Drepper <drepper@gmail.com>
11973
11974 [BZ #12907]
11975 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11976 until it is clear that the information is realy needed.
11977 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11978
e12df166
AS
119792011-06-22 Andreas Schwab <schwab@redhat.com>
11980
11981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11982
852eb34d
UD
119832011-06-22 Ulrich Drepper <drepper@gmail.com>
11984
84e2a551
UD
11985 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11986 /sys/devices/system/cpu/online if it is usable.
11987
852eb34d
UD
11988 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11989 reading the information from the /proc filesystem to once a second.
11990
6e502e19
UD
119912011-06-21 Andreas Jaeger <aj@suse.de>
11992
11993 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11994 NULL after inclusion of kernel headers.
11995
75d39ff2
UD
119962011-06-21 Ulrich Drepper <drepper@gmail.com>
11997
51f9aa6a
UD
11998 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11999 calls to internal_setent.
12000
c0244a9d
UD
12001 [BZ #12885]
12002 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12003 addresses using gethostbyname4_r ignore IPv4 addresses.
12004
c5e3c2ae
UD
12005 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12006 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12007
75d39ff2
UD
12008 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12009
42675c6f
DM
120102011-06-20 David S. Miller <davem@davemloft.net>
12011
12012 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12013 inclusions.
12014 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12015
12016 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12017 (elf_irel): Use it.
12018 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12019 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12020 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12021 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12022 * sysdeps/x86_64/dl-irel.h: Likewise.
12023
12024 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12025 * elf/dl-sym.c: Likewise.
12026
57912a71
UD
120272011-06-15 Ulrich Drepper <drepper@gmail.com>
12028
12029 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12030 need to dereference resplen2.
12031
ee22793d
AS
120322011-06-14 Andreas Schwab <schwab@redhat.com>
12033
12034 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12035
a9e836b0
UD
120362011-06-15 Ulrich Drepper <drepper@gmail.com>
12037
77fb9117
UD
12038 * Makeconfig: Define vardbdir and inst_vardbdir.
12039 * nss/Makefile: Add rules to install db-Makefile.
12040
40c1b22c
UD
12041 * nss/nss_db/db-XXX.c: Cleanup.
12042
9f2da732
UD
12043 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12044 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12045 GLIBC_PRIVATE.
12046 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12047 * nss/makedb.c: Implement -g option to specify that value strings
12048 are generated and should not be added to table iterated over for
12049 get*ent calls.
12050 * nss/nss_db/db-initgroups.c: New file.
12051
82e9a1f7
UD
12052 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12053 interface.
12054
c41af17e
UD
12055 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12056 (internal_getgrouplist): Adjust to name change.
12057 Update use_initgroups_entry if this is not the first call.
12058 * nss/databases.def: Add initgroups entry.
12059
a9e836b0
UD
12060 * nss/makedb.c (compute_tables): Check result of multiple hash table
12061 sizes to minimize maximum chain length.
12062
2666d441
UD
120632011-06-14 Ulrich Drepper <drepper@gmail.com>
12064
12065 * Versions.def: Add entry for libnss_db.
12066 * shlib-versions: Likewise.
12067 * nss/Makefile: Add rules to build libnss_db.
12068 * nss/Versions: Add libnss_db information. Organize libnss_files
12069 entries better.
12070 * nss/db-Makefile: Add gshadow support. Change rules for the new
12071 makedb progra. Some minor improvements to generate smaller files.
12072 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12073 here from...
12074 * nss/makedb.c: ...here.
12075 Improve database format to be smaller and require less memory at
12076 runtime.
12077 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12078 db anymore.
12079 * nss/nss_db/db-netgrp.c: Likewise.
12080 * nss/nss_db/db-open.c: Likewise.
12081 * nss/nss_files/flies-XXX.x: Adjust comments.
12082 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12083 * nss/nss_files/files-grp.c: Likewise.
12084 * nss/nss_files/files-hosts.c: Likewise.
12085 * nss/nss_files/files-network.c: Likewise.
12086 * nss/nss_files/files-proto.c: Likewise.
12087 * nss/nss_files/files-pwd.c: Likewise.
12088 * nss/nss_files/files-rpc.c: Likewise.
12089 * nss/nss_files/files-service.c: Likewise.
12090 * nss/nss_files/files-sgrp.c: Likewise.
12091 * nss/nss_files/files-spwd.c: Likewise.
12092 * nss/nss_db/db-alias.c: Removed.
12093 * nss/nss_db/dummy-db.h: Removed.
12094
9ee76b5a
UD
120952011-06-02 Ulrich Drepper <drepper@gmail.com>
12096
12097 * nss/makedb.c: Rewritten to not use database library.
12098 * nss/Makefile: Update to build new makedb program.
12099
c71ca1f8
AJ
121002011-06-14 Andreas Jaeger <aj@suse.de>
12101
12102 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12103 memset declaration.
12104
3154bfb8
UD
121052011-06-10 Andreas Schwab <schwab@redhat.com>
12106
12107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12108 tmpbuf.
12109
b350afab
RM
121102011-06-10 Roland McGrath <roland@hack.frob.com>
12111
decd4e50
RM
12112 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12113 * elf/Makefile ($(objpfx)ld.so): Likewise.
12114
5615eaf2
RM
12115 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12116 Don't list ld.so twice in dependencies.
12117
12118 * posix/bug-regex31.c: Include <stdlib.h>.
12119
12120 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12121
12122 * nis/nss_compat/compat-spwd.c
12123 (getspent_next_nss_netgr): Remove unused variable.
12124 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12125
12126 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12127 nonmembers" output to use the right array.
12128
12129 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12130
12131 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12132
12133 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12134 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12135 * catgets/gencat.c (read_input_file): Likewise.
12136 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12137
12138 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12139 variable definition inside #if's controlling its use.
12140
12141 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12142
12143 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12144
12145 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12146
12147 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12148 unreachable code.
12149
12150 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12151
b68e08db
RM
12152 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12153 * configure: Regenerated.
12154
b350afab
RM
12155 * Makerules: Revert last change.
12156 * elf/Makefile: Likewise.
12157
28368601
RM
121582011-06-09 Roland McGrath <roland@hack.frob.com>
12159
12160 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12161 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12162 (reloc-link): Likewise.
12163
11988f8f
UD
121642011-06-09 Ulrich Drepper <drepper@gmail.com>
12165
12166 * elf/Makefile: Add rules to build pldd.
12167 * elf/pldd.c: New file.
12168 * elf/pldd-xx.c: New file.
12169
e80fab37
UD
121702011-06-07 Ulrich Drepper <drepper@gmail.com>
12171
12172 * version.h: Update for 2.15 development version.
12173
9b849836
DM
121742011-06-07 David S. Miller <davem@davemloft.net>
12175
12176 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12177 ifuncs.
12178 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12179 elf_machine_lazy_rel): Likewise.
12180 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12182 elf_machine_lazy_rel): Likewise.
12183 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12184 dl_hwcap via passed in argument.
12185 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12186 Likewise.
12187
5a31b283
AK
121882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12189
12190 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12191
069e52f8
RM
121922011-06-06 Roland McGrath <roland@hack.frob.com>
12193
12194 [BZ #12849]
12195 * manual/fdl-1.1.texi: New file, verbatim from:
12196 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12197 * manual/lgpl-2.1.texi: New file, verbatim from:
12198 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12199 * manual/Makefile (licenses): New variable, list those new file names.
12200 (texis): Use it.
12201 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12202
12203 * manual/fdl.texi: File removed.
12204 * manual/lesser.texi: File removed.
12205 * manual/libc.texinfo (Copying, Documentation License):
12206 Use new @include file names, put @appendix directive before @include.
12207
f16846a5
JJ
122082011-06-04 Jakub Jelinek <jakub@redhat.com>
12209
12210 [BZ #12841]
12211 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12212 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12213 (mq_open): Add __NTH.
12214
3d29045b
L
122152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12216
12217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12218 Assume Intel Core i3/i5/i7 processor if AVX is available.
12219
8c297311
UD
122202011-05-31 Ulrich Drepper <drepper@gmail.com>
12221
12222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12223 typo.
12224
c8fc0c91
UD
122252011-05-31 Andreas Schwab <schwab@redhat.com>
12226
12227 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12228 memory. Use alloca_account. Fix memory leak when retrying.
12229
5b27a807
UD
122302011-05-31 Ulrich Drepper <drepper@gmail.com>
12231
356f8bc6
UD
12232 * version.h (RELEASE): Bump for 2.14 release.
12233 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12234
5b27a807
UD
12235 * config.make.in (RANLIB): Remove entry.
12236
01f16ab0
UD
122372011-05-30 Ulrich Drepper <drepper@gmail.com>
12238
41fce8bd
UD
12239 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12240 (libc.pot): Work around missing support for .ksh extension in xgettext.
12241
4769ae77
UD
12242 [BZ #12684]
12243 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12244 if both request failed.
12245 (send_dg): In case of server errors clear resplen or *resplen2.
12246
6b1e7d19
UD
12247 [BZ #12454]
12248 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12249 when there are multiple maps.
12250 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12251 (_dl_fini): Remove test here.
12252
01f16ab0
UD
12253 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12254
b1ebd700
UD
122552011-05-29 Ulrich Drepper <drepper@gmail.com>
12256
7ae22829
UD
12257 [BZ #12350]
12258 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12259 bit from old_res_options.
12260 (gaih_inet): Likewise.
12261
553149f6 12262 [BZ #11099]
18a84741 12263 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12264 as signed.
12265
652ffab1
UD
12266 * resolv/res_init.c (res_setoptions): Make the code more compact.
12267
16985fd0
UD
12268 [BZ #11558]
12269 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12270 set RES_USEVC.
12271
0464f746
UD
12272 [BZ #11634]
12273 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12274
7d17596c
UD
12275 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12276
cf6bbbd7
UD
12277 [BZ #11781]
12278 * malloc/malloc.h: Declare malloc hook variables as volatile.
12279
13f1ab36
UD
12280 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12281 in last patch.
12282
b1ebd700
UD
12283 [BZ #11799]
12284 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12285 raise in the comment.
80e2212d
UD
12286 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12287 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12288 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12289
ce67228d
UD
122902011-05-28 Ulrich Drepper <drepper@gmail.com>
12291
8887a920
UD
12292 [BZ #12811]
12293 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12294 grow the buffers more if it already has to be sufficient.
12295 (build_wcs_upper_buffer): Likewise.
12296 * posix/regexec.c (check_matching): Likewise.
12297 (clean_state_log_if_needed): Likewise.
12298 (extend_buffers): Don't enlarge buffers beyond size of the input
12299 buffer.
12300 Patches mostly by Emil Wojak <emil@wojak.eu>.
12301 * posix/bug-regex32.c: New file.
12302 * posix/Makefile (tests): Add bug-regex32.
12303
4f031072
UD
12304 * locale/findlocale.c (_nl_find_locale): Return right away if
12305 _nl_explode_name failed.
12306 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12307
d0478f0c
UD
12308 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12309
de81b246
UD
12310 * debug/xtrace.sh: Unify messages.
12311 * malloc/memusage.sh: Likewise.
12312
c738465a
UD
12313 [BZ #12813]
12314 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12315 time symbol from vDSO. Substitute with vsyscall if not available.
12316 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12317 __vdso_time.
12318
f1f929d7
UD
12319 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12320 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12321 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12322 Add sendmmsg and internal_sendmmsg.
12323 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12324 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12325 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12326
ce67228d
UD
12327 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12328 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12329 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12330
e57420c6
UD
123312011-05-27 Ulrich Drepper <drepper@gmail.com>
12332
a8509ca5
UD
12333 [BZ #12813]
12334 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12335 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12336 available.
12337 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12338 __vdso_getcpu.
12339
e57420c6
UD
12340 [BZ #12814]
12341 * iconvdata/Makefile (tests): Add bug-iconv9.
12342 * iconvdata/bug-iconv9.c: New file.
12343
4d07db15
AS
123442011-05-27 Andreas Schwab <schwab@redhat.com>
12345
12346 [BZ #12814]
12347 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12348
ea486f69
JJ
123492011-05-25 Jakub Jelinek <jakub@redhat.com>
12350
12351 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12352 (struct user_regs_struct): Change intcs field back to cs.
12353
6f038433
UD
123542011-05-25 Ulrich Drepper <drepper@gmail.com>
12355
12356 * po/ja.po: Update from translation team.
12357
67f86a25
UD
123582011-05-23 Ulrich Drepper <drepper@gmail.com>
12359
12360 [BZ #12795]
12361 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12362 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12363
def7fbd6
AS
123642011-05-20 Andreas Schwab <schwab@redhat.com>
12365
12366 * stdlib/longlong.h: Update from GCC.
12367
f50ef8f1
AS
123682011-05-23 Andreas Schwab <schwab@redhat.com>
12369
12370 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12371 parameter name.
12372 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12373 Add parameter name.
12374 (__sysconf): Pass it down.
12375
de7ce8f1
UD
123762011-05-22 Ulrich Drepper <drepper@gmail.com>
12377
f2962a71
UD
12378 [BZ #12671]
12379 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12380 some situations.
12381 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12382 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12383 add in in __libc_use_alloca calls. Adjust callers.
12384 (glob): Use malloc in some situations.
12385
de7ce8f1
UD
12386 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12387 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12388 pltexit.
12389
aec84f53
UD
123902011-05-21 Ulrich Drepper <drepper@gmail.com>
12391
05bb4a68
UD
12392 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12393 and CLOCK_BOOTTIME_ALARM.
12394
7ea72f99
UD
12395 [BZ #12782]
12396 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12397 is returned.
12398
7e4afad5
UD
12399 * string/_strerror.c (__strerror_r): Print negative errors as signed
12400 numbers.
12401
8e211fec
UD
12402 [BZ #12777]
12403 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12404 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12405 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12406
f7d82dc9
UD
12407 * configure.in: Fix typo in redirection and correct removal of test
12408 files in two cases.
12409
cc9e536d
UD
12410 [BZ #12788]
12411 * locale/setlocale.c (new_composite_name): Fix test to check for
12412 identical name of all categories.
12413
aec84f53
UD
12414 [BZ #12792]
12415 * libio/filedoalloc.c (local_isatty): New function.
12416 (_IO_file_doallocate): Use local_isatty.
12417 * stdio-common/perror.c (perror): In case a new stream is used
12418 forward the stream error.
12419 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12420 error flag.
12421
78e64fdc
RT
124222011-05-20 Ulrich Drepper <drepper@gmail.com>
12423
34a9094f
UD
12424 [BZ #11869]
12425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12426 alloca.
12427 * include/alloca.h (extend_alloca_account): Define.
12428
78e64fdc
RT
12429 [BZ #11857]
12430 * posix/regex.h: Fix comments with documentation of user-accessible
12431 fields after compilation and describe correct free'ing of pattern
12432 after re_compile_pattern.
12433 Patch by Reuben Thomas <rrt@sc3d.org>.
12434
457bddfc
RA
124352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12436
12437 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12438 and -mno-altivec to prevent the compiler from using Altivec and/or
12439 VSX instructions when the corresponding registers are not available.
12440
a4527b51
AS
124412011-05-19 Andreas Schwab <schwab@redhat.com>
12442
12443 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12444
ed690b2f
UD
124452011-05-19 Ulrich Drepper <drepper@gmail.com>
12446
12447 * libio/freopen.c (freopen): Use __dup2, not dup2.
12448 * libio/freopen64.c (freopen64): Likewise.
12449
8db73634
L
124502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12451
12452 [BZ #12775]
12453 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12454 * math/Makefile (tests): Add test-powl.
12455 (CFLAGS-test-powl.c): Define.
12456 * math/test-powl.c: New file.
12457
0a197a9d
L
124582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12459
12460 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12461
ee30c380
UD
124622011-05-17 Ulrich Drepper <drepper@gmail.com>
12463
12464 [BZ #11837]
12465 * iconvdata/gb18030.c: Update to GB18020-2005.
12466
6ce75379
UD
124672011-05-16 Ulrich Drepper <drepper@gmail.com>
12468
a4b89fd8
AR
12469 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12470 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12471 Patch by Aharon Robbins <arnold@skeeve.com>.
12472
ea389b12
UD
12473 [BZ #11892]
12474 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12475 on the stack.
12476
68a3f91f
UD
12477 [BZ #11895]
12478 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12479 through underflows.
12480
15cc7dd1
UD
12481 [BZ #12766]
12482 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12483 point to strings before performing equality test for error_one_per_line
12484 mode.
12485
f3799213
UD
12486 [BZ #11697]
12487 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12488
d79a9c94
UD
12489 [BZ #11820]
12490 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12491 (struct user_fpregs_struct): Avoid __uint*_t types.
12492
56e5eb46
UD
12493 [BZ #6420]
12494 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12495 symbol info. Use it instead of calling _dl_addr locally.
12496 (lock_and_info): New function.
12497 (tr_freehook): Call lock_and_info and pass symbol info as additional
12498 parameter to tr_where.
12499 (tr_mallochook): Likewise.
12500 (tr_reallochook): Likewise.
12501 (tr_memalignhook): Likewise.
12502
6ce75379
UD
12503 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12504 used and couldn't be at all thread-safe.
12505
f8a3b5bf
UD
125062011-05-15 Ulrich Drepper <drepper@gmail.com>
12507
94b7cc37
UD
12508 * libio/freopen.c (freopen): Don't close old file descriptor
12509 before the new one is opened. Instead dup the new file descriptor
12510 to the old one after the new stream is created.
12511 * libio/freopen64.c (freopen64): Likewise.
12512 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12513 * libio/fileops.c (_IO_new_file_close_it): Handle new
12514 _IO_FLAGS2_NOCLOSE flag.
12515 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12516 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12517 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12518 _IO_FLAGS2_NOCLOSE flag.
12519 * include/unistd.h: Add hidden_proto for dup3.
12520 Define __have_dup3.
12521 * io/dup3.c: Define hidden symbol.
12522 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12523
bd25564e
UD
12524 [BZ #7101]
12525 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12526 when an incomplete long option is used.
12527 * posix/tst-getopt_long1.c: New file.
12528 * posix/Makefile (tests): Add tst-getopt_long1.
12529
c84cfef4
UD
12530 [BZ #10138]
12531 * scripts/config.guess: Update from autoconf-2.68.
12532 * scripts/config.sub: Likewise.
12533
3b85df27
UD
12534 [BZ #10157]
12535 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12536 tests into ...
12537 (has_cpuclock): ...this. New function.
12538 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12539 macro here based on has_cpuclock code.
12540
15a856b1
UD
12541 [BZ #10149]
12542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12543 First byte (not low byte) is now always NUL.
12544 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12545
05f399e6
UD
12546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12547 Use non-cancelable interfaces.
12548
10a52685 12549 [BZ #9809]
94ecc67d
UD
12550 * locale/iso-639.def: Add entry for Sorani.
12551
f8a3b5bf
UD
12552 [BZ #11901]
12553 * include/stdlib.h: Move include protection to the right place.
12554 Define abort_msg_s. Declare __abort_msg with it.
12555 * stdlib/abort.c (__abort_msg): Adjust type.
12556 * assert/assert.c (__assert_fail_base): New function. Majority
12557 of code from __assert_fail. Allocate memory for __abort_msg with
12558 mmap.
12559 (__assert_fail): Now call __assert_fail_base.
12560 * assert/assert-perr.c: Remove bulk of implementation. Use
12561 __assert_fail_base.
12562 * include/assert.hL Declare __assert_fail_base.
12563 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12564 mmap.
12565 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12566
1af4e298
UD
125672011-05-14 Ulrich Drepper <drepper@gmail.com>
12568
f8a3b5bf 12569 [BZ #11952]
d26dfc60
MG
12570 [BZ #12453]
12571 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12572 until all modules are registered in the DTV.
12573 * elf/Makefile: Add rules to build and run tst-tls19.
12574 * elf/tst-tls19.c: New file.
12575 * elf/tst-tls19mod1.c: New file.
12576 * elf/tst-tls19mod2.c: New file.
12577 * elf/tst-tls19mod3.c: New file.
12578 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12579
2fc54d6f
UD
12580 [BZ #12083]
12581 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12582 correctly.
12583
98d76b46
UD
12584 [BZ #12601]
12585 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12586 two-byte sequence errors.
12587 * iconvdata/Makefile (tests): Add bug-iconv8.
12588 * iconvdata/bug-iconv8.c: New file.
12589
da3c19ef
UD
12590 [BZ #12626]
12591 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12592 buf2 definition.
12593
ca408c15
UD
12594 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12595
d6f67f7d
UD
12596 [BZ #12432]
12597 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12598 (dummy_getcfa): New function.
12599 (init): Get _Unwind_GetCFA address, use dummy if not found.
12600 (backtrace_helper): In recursion check, also check whether CFA changes.
12601 (__backtrace): Completely initialize arg.
12602
1af4e298 12603 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12604 storing incomplete byte sequence in state object. Avoid testing for
12605 guaranteed too small input if we know there is enough data available.
1af4e298 12606
da62f81b
AS
126072011-05-11 Andreas Schwab <schwab@redhat.com>
12608
12609 * Makeconfig (+link-pie): Indent.
12610 * Rules (binaries-pie): Define if $(have-fpie) and
12611 $(build-shared).
12612 (binaries-shared): Also filter out $(binaries-pie).
12613 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12614 * nscd/Makefile (others-pie): Add nscd.
12615 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12616 ($(objpfx)nscd): Remove command override.
12617 * login/Makefile (others-pie): Add pt_chown.
12618 ($(objpfx)pt_chown): Remove command override.
12619 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12620 remove command overrides.
12621
fcabc0f8
UD
126222011-05-13 Ulrich Drepper <drepper@gmail.com>
12623
20030ae6
UD
12624 * libio/tst_putwc.c: Fix error messages.
12625
fcabc0f8
UD
12626 [BZ #12724]
12627 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12628 currently writing and seek to current position when not.
12629 * libio/Makefile (tests): Add bug-fclose1.
12630 * libio/bug-fclose1.c: New file.
12631
320a5dc0
PB
126322011-05-12 Ulrich Drepper <drepper@gmail.com>
12633
12634 [BZ #12511]
12635 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12636 don't set DF_1_NODELETE here.
12637 (do_lookup_x): When entering new entry test for copy relocation
12638 and if necessary set DF_1_NODELETE flag.
12639 * elf/tst-unique4.cc: New file.
12640 * elf/tst-unique4.h: New file.
12641 * elf/tst-unique4lib.cc: New file.
12642 * elf/Makefile: Add rules to build and run tst-unique4.
12643 Patch by Piotr Bury <pbury@goahead.com>.
12644
22836f52
UD
126452011-05-11 Ulrich Drepper <drepper@gmail.com>
12646
f574184a
UD
12647 [BZ #12052]
12648 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12649
e1fb097f
UD
12650 [BZ #12625]
12651 * misc/mntent_r.c (addmntent): Flush the stream after the output
12652
22836f52
UD
12653 [BZ #12393]
12654 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12655 (is_trusted_path_normalize): Skip initial colon. Append slash
12656 to empty buffer. Duplicate is_trusted_path code but allow
12657 constructed patch to be prefix.
12658 (is_dst): Allow $ORIGIN followed by /.
12659 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12660 Correct testing of result of is_trusted_path_normalize
12661 (decompose_rpath): Fix warning.
12662
7b3b0b2a
UD
126632011-05-10 Ulrich Drepper <drepper@gmail.com>
12664
12665 [BZ #11257]
12666 * grp/initgroups.c (internal_getgrouplist): When we found the service
12667 list through the initgroups entry in nsswitch.conf do not always
12668 continue on a successful lookup. Don't always use the
eac80ce2 12669 __nss_group_database value if it is set.
7b3b0b2a
UD
12670 * nss/nsswitch.conf (initgroups): Change action for successful db
12671 lookup to continue for compatibility.
12672
2a81eaa5
UD
126732011-05-09 Ulrich Drepper <drepper@gmail.com>
12674
be97a69e
UD
12675 [BZ #11532]
12676 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12677 and CP774 modules.
12678 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12679 and CP774 modules.
12680 * iconvdata/tst-tables.sh: Likewise.
12681 * iconvdata/cp770.c: New file.
12682 * iconvdata/cp771.c: New file.
12683 * iconvdata/cp772.c: New file.
12684 * iconvdata/cp773.c: New file.
12685 * iconvdata/cp774.c: New file.
12686 * iconvdata/testdata/CP770: New file.
12687 * iconvdata/testdata/CP770..UTF8: New file.
12688 * iconvdata/testdata/CP771: New file.
12689 * iconvdata/testdata/CP771..UTF8: New file.
12690 * iconvdata/testdata/CP772: New file.
12691 * iconvdata/testdata/CP772..UTF8: New file.
12692 * iconvdata/testdata/CP773: New file.
12693 * iconvdata/testdata/CP773..UTF8: New file.
12694 * iconvdata/testdata/CP774: New file.
12695 * iconvdata/testdata/CP774..UTF8: New file.
12696
12697 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12698 END CHARMAP line.
12699 * iconvdata/gen-8bit-gap.sh: Likewise.
12700 * iconvdata/gen-8bit.sh: Likewise.
12701
c1e9e399
UD
12702 * locale/iso-639.def: Add ary entry.
12703
24c55fb3 12704 [BZ #11258]
96b4b1b0
UD
12705 * locale/C-translit.h.in: Add U20A1 transliteration.
12706
bdc2f971
KB
12707 [BZ #12178]
12708 * locale/iso-639.def: Add wae entry.
12709 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12710
2952b117
UD
12711 [BZ #12545]
12712 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12713 for n.
12714
2a81eaa5
UD
12715 [BZ #12711]
12716 * locale/C-translit.h.in: Add entry for U20B9.
12717 Patch by pravin.d.s@gmail.com.
12718
28377d1b
UD
127192011-05-08 Ulrich Drepper <drepper@gmail.com>
12720
7fb90fb8
UD
12721 [BZ #12713]
12722 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12723 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12724 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12725 in rtld. Use *stat64.
7fb90fb8 12726 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12727 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12728 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12729 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12730 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12731 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12732 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12733 __fstatat64 macros.
7fb90fb8
UD
12734 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12735 * dirent/rewinddir.c: Add libc_hidden_def.
12736 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12737 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12738
28377d1b
UD
12739 * include/dirent.h (__alloc_dir): Add flags parameter.
12740 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12741 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12742 __alloc_dir.
12743 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12744 from fdopendir if O_CLOEXEC is already set.
12745
66bdbaa4
AM
127462011-03-15 Alan Modra <amodra@gmail.com>
12747
12748 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12749 l_tls_firstbyte_offset non-zero. Save padding offset in
12750 l_tls_firstbyte_offset for later use.
12751 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12752 freeing static tls block.
12753
95721191
JN
127542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12755
12756 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12757 where #ifdef was intended. The intent is to prevent ARG_MAX from
12758 being defined by the kernel headers.
12759
f87dfb1f
UD
127602011-05-07 Ulrich Drepper <drepper@gmail.com>
12761
12762 [BZ #12734]
12763 * resolv/resolv.h: Define RES_NOTLDQUERY.
12764 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12765 no-tld-query and set RES_NOTLDQUERY.
12766 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12767 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12768 modern BIND to search name as TLD unless forbidden.
12769
47c3cd7a
UD
127702011-05-07 Petr Baudis <pasky@suse.cz>
12771 Ulrich Drepper <drepper@gmail.com>
12772
12773 [BZ #12393]
12774 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12775 (is_trusted_path): ...to here.
c1e9ea35 12776 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12777 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12778 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12779
8a35c912
PP
127802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12781
12782 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12783 __BEGIN/__END_DECLS.
12784
acd41f47
UD
127852011-05-06 Ulrich Drepper <drepper@gmail.com>
12786
12787 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12788 NSS_STATUS_NOTFOUND if no record was found.
12789
597df647
AS
127902011-05-05 Andreas Schwab <schwab@redhat.com>
12791
12792 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12793 (headers-not-in-tirpc): Remove rpc/netdb.h
12794 * resolv/netdb.h: Revert last change.
12795
b9af1301
PP
127962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12797
12798 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12799 circular dependency between libgcc.a and libc.a.
12800
4e34d5f5
AS
128012011-05-05 Andreas Schwab <schwab@redhat.com>
12802
12803 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12804 * nis/Makefile: Don't install rpcsvc/*.
12805 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12806 instead of <rpc/types.h>.
12807 (MAXHOSTNAMELEN): Define.
12808
00ee369c
AS
128092011-05-03 Andreas Schwab <schwab@redhat.com>
12810
12811 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12812
0b592a30
MB
128132011-04-28 Maciej Babinski <mbabinski@google.com>
12814
12815 [BZ #12714]
12816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12817 gethostbyname4_r when IPv6 results are possible.
12818
6e04cbbe
UD
128192011-05-02 Ulrich Drepper <drepper@gmail.com>
12820
12821 [BZ #12723]
12822 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12823 _PC_PIPE_BUF handling.
12824
e4ecafe0
BH
128252011-04-30 Bruno Haible <bruno@clisp.org>
12826
12827 [BZ #12717]
12828 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12829 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12830 to 'int'.
12831 * inet/getnameinfo.c (getnameinfo): Likewise.
12832
125ee683
UD
128332011-04-29 Ulrich Drepper <drepper@gmail.com>
12834
12835 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12836 to groups setting in database lookup.
12837 * nss/nsswitch.conf: Add initgroups entry.
12838
b722481a
EB
128392011-04-22 Ulrich Drepper <drepper@gmail.com>
12840
12841 [BZ #12685]
12842 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12843 mode string.
12844 Patch by Eric Blake <eblake@redhat.com>.
12845
4df46dbd
L
128462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12847
12848 * sunrpc/Makefile (need-export-routines): Add svc_run.
12849 (routines): Remove svc_run.
12850 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12851 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12852 * sunrpc/svc_run.c (svc_run): Likewise.
12853 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12854
e84142d2
UD
128552011-04-21 Ulrich Drepper <drepper@gmail.com>
12856
12857 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12858 problem in reallocation in last patch.
12859
877175d8
UD
128602011-04-20 Ulrich Drepper <drepper@gmail.com>
12861
12862 * sunrpc/Makefile: Move inclusion of Rules.
12863
ab8eed78
UD
128642011-04-19 Ulrich Drepper <drepper@gmail.com>
12865
12866 * nss/nss_files/files-initgroups.c: New file.
12867 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12868 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12869 _nss_files_initgroups_dyn.
12870
e3d8f584
RS
128712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12872
12873 * elf/elf.h (R_ARM_IRELATIVE): Define.
12874
af190f45
UD
128752011-04-19 Ulrich Drepper <drepper@gmail.com>
12876
12877 * po/ru.po: Update from translation team.
12878
53cf59ef
UD
128792011-04-17 Ulrich Drepper <drepper@gmail.com>
12880
12881 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12882 dependencies.
12883
4c559bcd
MF
128842011-02-06 Mike Frysinger <vapier@gentoo.org>
12885
12886 [BZ #12653]
12887 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12888 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12889 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12890 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12891 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12892
4420675c
AS
128932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12894
12895 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12896 differing bytes.
12897 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12898 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12899 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12900
75ea32ab
UD
129012011-04-17 Ulrich Drepper <drepper@gmail.com>
12902
12903 [BZ #12420]
12904 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12905 storing it.
12906 * stdlib/bug-getcontext.c: New file.
12907 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12908
27390476
AK
129092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12910
12911 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12912 instructions into .machine "z9-109".
12913 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12914 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12915
10442705
AK
129162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12917
12918 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12919 between environment variables and auxiliary vector.
12920
7b57bfe5
UD
129212011-04-16 Ulrich Drepper <drepper@gmail.com>
12922
12923 * Makefile: Add rules to build linkobj/libc.so.
12924 * include/libc-symbols.h: Define libc_hidden_nolink.
12925 * include/rpc/auth.h: Mark functions which are to be hidden.
12926 * include/rpc/auth_des.h: Likewise.
12927 * include/rpc/auth_unix.h: Likewise.
12928 * include/rpc/clnt.h: Likewise.
12929 * include/rpc/des_crypt.h: Likewise.
12930 * include/rpc/key_prot.h: Likewise.
12931 * include/rpc/pmap_clnt.h: Likewise.
12932 * include/rpc/pmap_prot.h: Likewise.
12933 * include/rpc/pmap_rmt.h: Likewise.
12934 * include/rpc/rpc_msg.h: Likewise.
12935 * include/rpc/svc.h: Likewise.
12936 * include/rpc/svc_auth.h: Likewise.
12937 * include/rpc/xdr.h: Likewise.
12938 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12939 * nss/Makefile: Likewise.
12940 * sunrpc/Makefile: Don't install headers. Build library with normal
12941 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12942 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12943 for the compat linking library. Remove use of INTDEF/INTUSE.
12944 * sunrpc/auth_none.c: Likewise.
12945 * sunrpc/auth_unix.c: Likewise.
12946 * sunrpc/authdes_prot.c: Likewise.
12947 * sunrpc/authuxprot.c: Likewise.
12948 * sunrpc/clnt_gen.c: Likewise.
12949 * sunrpc/clnt_perr.c: Likewise.
12950 * sunrpc/clnt_raw.c: Likewise.
12951 * sunrpc/clnt_simp.c: Likewise.
12952 * sunrpc/clnt_tcp.c: Likewise.
12953 * sunrpc/clnt_udp.c: Likewise.
12954 * sunrpc/clnt_unix.c: Likewise.
12955 * sunrpc/des_crypt.c: Likewise.
12956 * sunrpc/des_soft.c: Likewise.
12957 * sunrpc/get_myaddr.c: Likewise.
12958 * sunrpc/key_call.c: Likewise.
12959 * sunrpc/key_prot.c: Likewise.
12960 * sunrpc/netname.c: Likewise.
12961 * sunrpc/pm_getmaps.c: Likewise.
12962 * sunrpc/pm_getport.c: Likewise.
12963 * sunrpc/pmap_clnt.c: Likewise.
12964 * sunrpc/pmap_prot.c: Likewise.
12965 * sunrpc/pmap_prot2.c: Likewise.
12966 * sunrpc/pmap_rmt.c: Likewise.
12967 * sunrpc/publickey.c: Likewise.
12968 * sunrpc/rpc_cmsg.c: Likewise.
12969 * sunrpc/rpc_common.c: Likewise.
12970 * sunrpc/rpc_dtable.c: Likewise.
12971 * sunrpc/rpc_prot.c: Likewise.
12972 * sunrpc/rpc_thread.c: Likewise.
12973 * sunrpc/rtime.c: Likewise.
12974 * sunrpc/svc.c: Likewise.
12975 * sunrpc/svc_auth.c: Likewise.
12976 * sunrpc/svc_authux.c: Likewise.
12977 * sunrpc/svc_raw.c: Likewise.
12978 * sunrpc/svc_run.c: Likewise.
12979 * sunrpc/svc_simple.c: Likewise.
12980 * sunrpc/svc_tcp.c: Likewise.
12981 * sunrpc/svc_udp.c: Likewise.
12982 * sunrpc/svc_unix.c: Likewise.
12983 * sunrpc/svcauth_des.c: Likewise.
12984 * sunrpc/xcrypt.c: Likewise.
12985 * sunrpc/xdr.c: Likewise.
12986 * sunrpc/xdr_array.c: Likewise.
12987 * sunrpc/xdr_float.c: Likewise.
12988 * sunrpc/xdr_intXX_t.c: Likewise.
12989 * sunrpc/xdr_mem.c: Likewise.
12990 * sunrpc/xdr_rec.c: Likewise.
12991 * sunrpc/xdr_ref.c: Likewise.
12992 * sunrpc/xdr_sizeof.c: Likewise.
12993 * sunrpc/xdr_stdio.c: Likewise.
12994
e6c61494
UD
129952011-04-10 Ulrich Drepper <drepper@gmail.com>
12996
12997 [BZ #12650]
12998 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12999 * sysdeps/ia64/dl-tls.h: Likewise.
13000 * sysdeps/powerpc/dl-tls.h: Likewise.
13001 * sysdeps/s390/dl-tls.h: Likewise.
13002 * sysdeps/sh/dl-tls.h: Likewise.
13003 * sysdeps/sparc/dl-tls.h: Likewise.
13004 * sysdeps/x86_64/dl-tls.h: Likewise.
13005 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13006
34fe483e
AS
130072011-03-14 Andreas Schwab <schwab@redhat.com>
13008
13009 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13010 rpath element also skip the following colon.
13011 (expand_dynamic_string_token): Add is_path parameter and pass
13012 down to DL_DST_REQUIRED and _dl_dst_substitute.
13013 (decompose_rpath): Call expand_dynamic_string_token with
13014 non-zero is_path. Ignore empty rpaths.
13015 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13016 with zero is_path.
13017
f12a32e6
AS
130182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13019
13020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13021 Make cancelable.
13022
38a7d692
UD
130232011-04-09 Ulrich Drepper <drepper@gmail.com>
13024
13025 [BZ #12655]
13026 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13027 Patch by Filipe David Manana <fdmanana@apache.org>.
13028
e451d22b
AS
130292011-04-07 Andreas Schwab <schwab@redhat.com>
13030
13031 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13032 Maintain aligned stack.
13033 (CHECK_RSP): Remove unused macro.
13034
dedc7c7b
UD
130352011-04-03 Ulrich Drepper <drepper@gmail.com>
13036
13037 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13038 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13039
94521213
UD
130402011-04-02 Ulrich Drepper <drepper@gmail.com>
13041
13042 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13043
8cb700c0 13044 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13045
0354e355
L
130462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13047
13048 [BZ #12518]
13049 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13050 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13051 * sysdeps/x86_64/memmove.c: New file.
13052 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13053 (memcpy): Renamed to ...
13054 (__new_memcpy): This.
13055 (memcpy): Provide GLIBC_2_14 memcpy.
13056 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13057 (memcpy): Provide GLIBC_2_2_5 memcpy.
13058
8593482f
UD
130592011-04-01 Ulrich Drepper <drepper@gmail.com>
13060
13061 [BZ #12631]
13062 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13063
81a5726b
AS
130642011-03-30 Andreas Schwab <schwab@redhat.com>
13065
13066 * misc/syncfs.c: New file.
13067 * misc/Makefile (routines): Add syncfs.
13068 * posix/unistd.h: Declare syncfs.
13069 * sysdeps/unix/syscalls.list: Add syncfs.
13070
00e5419f
AS
130712011-04-01 Andreas Schwab <schwab@redhat.com>
13072
13073 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13074 open_by_handle_at.
13075 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13076 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13078 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13080 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13081 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13082
748876bf
UD
130832011-04-01 Ulrich Drepper <drepper@gmail.com>
13084
658e451d
UD
13085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13087 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13089 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13092
748876bf
UD
13093 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13094 sync_file_range.c with -fexceptions.
13095 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13096 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13097 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13098 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13099 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13100 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13101 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13102 sync_file_range as cancellation point
13103 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13104 now a wrapper around __call_sync_file_range with cancellation handling.
13105 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13106 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13107 function name to __call_sync_file_range.
13108 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13109 Add call_sync_file_range.
748876bf 13110
6e63d5e1
AS
131112011-04-01 Andreas Schwab <schwab@redhat.com>
13112
13113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13114 bits/timex.h.
6e63d5e1 13115
46998f74
UD
131162011-04-01 Ulrich Drepper <drepper@gmail.com>
13117
4c1423ed
UD
13118 * iconv/iconv.h: Fix typo in comment.
13119 * io/fcntl.h: Likewise.
13120 * libio/stdio.h: Likewise.
13121 * posix/spawn.h: Likewise.
13122 * posix/unistd.h: Likewise.
13123 * stdlib/stdlib.h: Likewise.
13124 * time/time.h: Likewise.
13125 * wcsmbs/wchar.h: Likewise.
13126
158648c0
UD
13127 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13128 open_by_handle): Add.
13129 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13130 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13131 Augment a few comments.
13132 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13134 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13137 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13138 open_by_handle.
13139
46998f74
UD
13140 * io/fcntl.h (AT_EMPTY_PATH): Define.
13141
83fe108b
UD
131422011-03-30 Ulrich Drepper <drepper@gmail.com>
13143
13144 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13145 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13146 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13147 to...
13148 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13149 * Versions.def: Add GLIBC_2.14.
13150 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13151 Export.
83fe108b 13152
bb242059
UD
131532011-03-22 Ulrich Drepper <drepper@gmail.com>
13154
13155 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13156 round counter.
13157 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13158
c97a1282
L
131592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13160
13161 [BZ #12597]
13162 * string/test-strncmp.c (do_page_test): New function.
13163 (check2): Likewise.
13164 (test_main): Call check2.
13165 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13166
2a115601
UD
131672011-03-20 Ulrich Drepper <drepper@gmail.com>
13168
13169 [BZ #12587]
13170 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13171 Handle cache information in CPU leaf 4.
13172 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13173
8126d904
UD
131742011-03-18 Ulrich Drepper <drepper@gmail.com>
13175
042c49c6 13176 [BZ #12583]
8126d904
UD
13177 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13178 character representation.
13179 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13180
ccfe366e
RA
131812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13182
13183 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13184 END(__isnan) to END(__isnanf) to match function entry point/label
13185 EALIGN(__isnanf,...).
13186
c6e13027
JJ
131872011-03-10 Jakub Jelinek <jakub@redhat.com>
13188
13189 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13190
33f85a3f
UD
131912011-03-10 Ulrich Drepper <drepper@gmail.com>
13192
028478fa
UD
13193 [BZ #12510]
13194 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13195 copy from the symbol referenced in the relocation to initialize the
13196 used variable.
13197 Patch by Piotr Bury <pbury@goahead.com>.
13198 * elf/Makefile: Add rules to build and tst-unique3.
13199 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13200 * elf/tst-unique3.cc: New file.
13201 * elf/tst-unique3.h: New file.
13202 * elf/tst-unique3lib.cc: New file.
13203 * elf/tst-unique3lib2.cc: New file.
13204
33f85a3f
UD
13205 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13206
03592fc7
MF
132072011-03-10 Mike Frysinger <vapier@gentoo.org>
13208
13209 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13210 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13211 to _start.
03592fc7 13212
6a5ee102
UD
132132011-03-06 Ulrich Drepper <drepper@gmail.com>
13214
13215 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13216 to-be-loaded object along a path to loader is ld.so.
13217
7e4ba49c
HJ
132182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13219 Ulrich Drepper <drepper@gmail.com>
13220
13221 * sysdeps/x86_64/memset.S: After aligning destination, code
13222 branches to different locations depending on the value of
13223 misalignment, when multiarch is enabled. Fix this.
13224
132252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13226
13227 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13228 Set _x86_64_preferred_memory_instruction for AMD processsors.
13229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13230 Set bit_Prefer_SSE_for_memop for AMD processors.
13231
13a804de
UD
132322011-03-04 Ulrich Drepper <drepper@gmail.com>
13233
13234 * libio/fmemopen.c (fmemopen): Optimize a bit.
13235
9d25c392
AS
132362011-03-03 Andreas Schwab <schwab@redhat.com>
13237
13238 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13239
a5543c6a
RM
132402011-03-03 Roland McGrath <roland@redhat.com>
13241
13242 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13243
012d35f7
DM
132442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13245
7e4ba49c 13246 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13247 __bzero_ultra1 instead of __memset_ultra1.
13248
4bff6e01
AS
132492011-02-23 Andreas Schwab <schwab@redhat.com>
13250 Ulrich Drepper <drepper@gmail.com>
13251
13252 [BZ #12509]
13253 * include/link.h (struct link_map): Add l_orig_initfini.
13254 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13255 returning unsuccessfully.
13256 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13257 close of a file loaded at startup, restore the original l_initfini
13258 list.
13259 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13260 list, store the pointer.
13261 * elf/Makefile ($(objpfx)noload-mem): New rule.
13262 (noload-ENV): Define.
13263 (tests): Add $(objpfx)noload-mem.
13264 * elf/noload.c: Include <memcheck.h>.
13265 (main): Call mtrace. Close all opened handles.
13266
f2092faf
AS
132672011-02-17 Andreas Schwab <schwab@redhat.com>
13268
13269 [BZ #12454]
13270 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13271 dependencies are missing.
13272
6c8a2e88
ST
132732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13274
f2092faf 13275 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13276 Hurd needs munmap.
13277 * sysdeps/mach/hurd/ifreq.h: New file.
13278
84a42118
PB
132792011-01-27 Petr Baudis <pasky@suse.cz>
13280 Ulrich Drepper <drepper@gmail.com>
13281
071f805e 13282 [BZ 12445]#
84a42118
PB
13283 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13284 to extend_alloca().
13285 * stdio-common/bug23.c: New file.
13286 * stdio-common/Makefile (tests): Add bug23.
13287
e23fe25b
AS
132882010-09-28 Andreas Schwab <schwab@redhat.com>
13289 Ulrich Drepper <drepper@gmail.com>
13290
13291 [BZ #12489]
13292 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13293 before performing relro protection. At old place add assertion
13294 to make sure nothing changed.
13295
d3f02e10
NS
132962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13297 Glauber de Oliveira Costa <glommer@gmail.com>
13298
13299 * elf/elf.h: Add new ARM TLS relocs.
13300
d55fd7a5
RA
133012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13302
13303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13304 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13305 cast from r3.
13306 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13307 'tests' variable.
13308 * sysdeps/wordsize-64/tst-writev.c: New file.
13309
2206397e
RA
133102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13311
13312 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13313 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13314 insns in _dl_start to prevent a TOC reference before relocs are
13315 resolved.
13316
e9433893
UD
133172011-02-15 Ulrich Drepper <drepper@gmail.com>
13318
13319 [BZ #12469]
13320 * Makeconfig: Remove RANLIB definition.
13321 * Makerules: Don't use RANLIB.
13322 * aclocal.m4: Remove ranlib test.
13323 * configure.in: No need to check for ranlib.
13324 * elf/rtld-Rules: Don't use RANLIB.
13325
f75286c6
ST
133262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13327
8e31c82d
ST
13328 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13329 protection macro.
13330 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13331 inclusion protection macro.
13332
f75286c6
ST
13333 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13334 SIGRTMIN and SIGRTMAX and print information in that case only when
13335 SIGRTMIN is defined.
13336
c1d0e639
JJ
133372011-02-11 Jakub Jelinek <jakub@redhat.com>
13338
13339 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13340 arginfo fn returning -1.
13341
13342 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13343 and thousands string is zero terminated.
13344
edf9294e
AS
133452011-02-03 Andreas Schwab <schwab@redhat.com>
13346
13347 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13348 sysdeps/unix/sysv/linux/bits/socket.h.
13349
2b7e92df
ST
133502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13351
edf9294e
AS
13352 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13353 (__CPU_COUNT): Remove old macros.
13354 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13355 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13356 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13357 (__sched_cpualloc, __sched_cpufree): Add declarations.
13358
a4c7ea7b
UD
133592011-02-05 Ulrich Drepper <drepper@gmail.com>
13360
13361 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13362 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13363 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13364 (readdhstai): Return value of addhstaiX call.
13365 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13366 (addgrbyX): Return value returned by cache_addgr.
13367 (readdgrbyname): Return value returned by addgrbyX.
13368 (readdgrbygid): Likewise.
13369 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13370 (addpwbyX): Return value returned by cache_addpw.
13371 (readdpwbyname): Return value returned by addhstbyX.
13372 (readdpwbyuid): Likewise.
13373 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13374 (addservbyX): Return value returned by cache_addserv.
13375 (readdservbyname): Return value returned by addservbyX:
13376 (readdservbyport): Likewise.
13377 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13378 (addhstbyX): Return value returned by cache_addhst.
13379 (readdhstbyname): Return value returned by addhstbyX.
13380 (readdhstbyaddr): Likewise.
13381 (readdhstbynamev6): Likewise.
13382 (readdhstbyaddrv6): Likewise.
13383 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13384 (readdinitgroups): Return value returned by addinitgroupsX.
13385 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13386 (prune_cache): Keep track of timeout value of re-added entries.
13387 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13388 * nscd/nscd.h: Adjust prototypes of readd* functions.
13389
a0bf67cc
RM
133902011-02-04 Roland McGrath <roland@redhat.com>
13391
13392 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13393 (nis_stats): Likewise.
13394 * nis/nis_modify.c (nis_modify): Likewise.
13395 * nis/nis_remove.c (nis_remove): Likewise.
13396 * nis/nis_add.c (nis_add): Likewise.
13397
13398 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13399
13400 * posix/fnmatch_loop.c: Add some consts.
13401
13402 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13403
435b95eb
L
134042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13405
13406 [BZ #12460]
13407 * config.make.in (config-cflags-novzeroupper): Define.
13408 * configure.in: Substitute libc_cv_cc_novzeroupper.
13409 * elf/Makefile (AVX-CFLAGS): Define.
13410 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13411 (CFLAGS-tst-auditmod4a.c): Likewise.
13412 (CFLAGS-tst-auditmod4b.c): Likewise.
13413 (CFLAGS-tst-auditmod6b.c): Likewise.
13414 (CFLAGS-tst-auditmod6c.c): Likewise.
13415 (CFLAGS-tst-auditmod7b.c): Likewise.
13416 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13417
8517b15e
UD
134182011-02-02 Ulrich Drepper <drepper@gmail.com>
13419
13420 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13421 function to the callback.
13422 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13423
10a656fe
AS
134242011-02-02 Andreas Schwab <schwab@redhat.com>
13425
13426 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13427 of errno.
13428
968dad0a
UD
134292011-01-19 Ulrich Drepper <drepper@gmail.com>
13430
9f94d2ea 13431 [BZ #11724]
968dad0a
UD
13432 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13433 of constructors.
13434 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13435 of destructors.
13436 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13437
13438 [BZ #11724]
13439 * elf/Makefile: Add rules to build and run new test.
13440 * elf/tst-initorder.c: New file.
13441 * elf/tst-initorder.exp: New file.
13442 * elf/tst-initordera1.c: New file.
13443 * elf/tst-initordera2.c: New file.
13444 * elf/tst-initordera3.c: New file.
13445 * elf/tst-initordera4.c: New file.
13446 * elf/tst-initorderb1.c: New file.
13447 * elf/tst-initorderb2.c: New file.
13448 * elf/tst-order-a1.c: New file.
13449 * elf/tst-order-a2.c: New file.
13450 * elf/tst-order-a3.c: New file.
13451 * elf/tst-order-a4.c: New file.
13452 * elf/tst-order-b1.c: New file.
13453 * elf/tst-order-b2.c: New file.
13454 * elf/tst-order-main.c: New file.
13455 New test case by George Gensure <werkt0@gmail.com>.
13456
86e92359
UD
134572010-10-01 Andreas Schwab <schwab@redhat.com>
13458
13459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13460 decoding ACE if AI_CANONIDN.
13461
5d5732b0
UD
134622011-01-18 Ulrich Drepper <drepper@gmail.com>
13463
13464 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13465
a77e8cbc
UD
134662011-01-17 Ulrich Drepper <drepper@gmail.com>
13467
6392473f
UD
13468 * version.h (RELEASE): Bump for 2.13 release.
13469 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13470
620a0529
UD
13471 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13472
18ba70a5
UD
13473 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13474 MADV_NOHUGEPAGE.
32465c3e
UD
13475 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13476 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13477 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13478 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13479 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13480 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13481
c0dafcf1
UD
13482 * posix/getconf.c: Update copyright year.
13483 * catgets/gencat.c: Likewise.
13484 * csu/version.c: Likewise.
13485 * debug/catchsegv.sh: Likewise.
13486 * debug/xtrace.sh: Likewise.
13487 * elf/ldconfig.c: Likewise.
13488 * elf/ldd.bash.in: Likewise.
13489 * elf/sprof.c (print_version): Likewise.
13490 * iconv/iconv_prog.c: Likewise.
13491 * iconv/iconvconfig.c: Likewise.
13492 * locale/programs/locale.c: Likewise.
13493 * locale/programs/localedef.c: Likewise.
13494 * malloc/memusage.sh: Likewise.
13495 * malloc/mtrace.pl: Likewise.
13496 * nscd/nscd.c (print_version): Likewise.
13497 * nss/getent.c: Likewise.
13498
a77e8cbc
UD
13499 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13500 PF_CAIF, and PF_ALG.
13501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13502
77e8bddf
AS
135032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13504
1f20b93a
AS
13505 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13506 (modules-names): Use them.
13507 (ifunc-test-modules, ifunc-pie-tests): Define.
13508 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13509 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13510 (test-extras): Likewise.
13511 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13512 $(compile-command.c).
13513 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13514 (all-built-dso): Define.
13515 (check-textrel.out, check-execstack.out): Depend on it.
13516
77e8bddf
AS
13517 * configure.in: Don't override --enable-multi-arch.
13518
bc425b33
UD
135192011-01-15 Ulrich Drepper <drepper@gmail.com>
13520
13521 [BZ #6812]
13522 * nscd/hstcache.c (tryagain): Define.
13523 (cache_addhst): Return tryagain not notfound for temporary errors.
13524 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13525 failed.
13526
794c3ad3
UD
135272011-01-14 Ulrich Drepper <drepper@gmail.com>
13528
70181fdd
UD
13529 [BZ #10563]
13530 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13531 to make the syscall.
13532 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13533
794c3ad3
UD
13534 [BZ #12378]
13535 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13536 and fall back to matching as normal character if the string ends before
13537 the matching ']' is found. This is what POSIX requires.
13538 * posix/testfnm.c: Adjust test result.
13539 * posix/globtest.sh: Adjust test result. Add new test.
13540 * posix/tst-fnmatch.input: Likewise.
13541 * posix/tst-fnmatch2.c: Add new test.
13542
68dc9497
AS
135432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13544
13545 * elf/Makefile (check-execstack): Revert last change. Depend on
13546 check-execstack.h.
13547 (check-execstack.h): New target.
13548 (generated): Add check-execstack.h.
13549 * elf/check-execstack.c: Include "check-execstack.h".
13550 (main): Revert last change.
13551 (handle_file): Return zero if GNU_STACK is absent and
13552 DEFAULT_STACK_PERMS doesn't include PF_X.
13553
451f001b
UD
135542011-01-13 Ulrich Drepper <drepper@gmail.com>
13555
cfa28e56
UD
13556 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13557 in child fails because the descriptor is already closed.
8cf8ce17
UD
13558 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13559 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13560 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13561
1086d70d
UD
13562 [BZ #12397]
13563 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13564 syscall.
13565
451f001b
UD
13566 [BZ #10484]
13567 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13568 temporary buffer used to handle multi lookups locally.
a85b5cb4 13569 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13570
08769175
UD
135712011-01-12 Ulrich Drepper <drepper@gmail.com>
13572
13573 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13574 loader is ld.so.
13575
5e49c52e
UD
135762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13577
13578 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13579 alignment for SSE2.
13580
60522a5f
UD
135812011-01-12 Ulrich Drepper <drepper@gmail.com>
13582
13583 [BZ #12394]
13584 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13585 characters. When rounding increased number of integer digits recompute
13586 number of groups.
13587 * stdio-common/tst-grouping.c: New file.
13588 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13589
f257bbd7
UD
135902011-01-09 Ulrich Drepper <drepper@gmail.com>
13591
13592 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13593 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13594
13595 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13596 void.
13597 * bits/select.h: Likewise.
13598
fa9c15cb
UD
135992011-01-08 Ulrich Drepper <drepper@gmail.com>
13600
13601 * po/ja.po: Update from translation team.
13602
16c2895f
DM
136032011-01-04 David S. Miller <davem@sunset.davemloft.net>
13604
13605 [BZ #11155]
13606 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13607 implementation just like for lxstat, fxstatat, et al.
13608
2543fef2
JM
136092010-12-27 Jim Meyering <meyering@redhat.com>
13610
13611 [BZ #12348]
13612 * posix/regexec.c (build_trtable): Return failure indication upon
13613 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13614
98727dbe
UD
136152010-12-25 Ulrich Drepper <drepper@gmail.com>
13616
5bd6dc5c
UD
13617 [BZ #12201]
13618 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13619 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13620 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13621 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13622
97983464
UD
13623 [BZ #12207]
13624 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13625
98727dbe
UD
13626 [BZ #12204]
13627 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13628 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13629
4a531bb0
L
136302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13631
13632 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13633 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13634 script has SORT_BY_INIT_PRIORITY.
13635 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13636 NO_CTORS_DTORS_SECTIONS is defined.
13637 * elf/soinit.c: Likewise.
13638 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13639 NO_CTORS_DTORS_SECTIONS is defined.
13640 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13641 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13642 * sysdeps/sh/init-first.c: Likewise.
13643 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13644
07eb4b71
UD
136452010-12-24 Ulrich Drepper <drepper@gmail.com>
13646
13647 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13648 always use the slow path.
13649
30950a5f
RA
136502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13651
13652 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13653 similar rule which adds the sysdep directories to the header search in
13654 order to pick up the correct platform stackinfo.h.
13655 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13656 perform test if it is, otherwise return successfully without testing.
13657 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13658 DEFAULT_STACK_PERMS define in stackinfo.h.
13659 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13660 defined in stackinfo.h.
13661 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13662 DEFAULT_STACK_PERMS defined in stackinfo.h.
13663 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13664 * sysdeps/ia64/stackinfo.h: Likewise.
13665 * sysdeps/s390/stackinfo.h: Likewise.
13666 * sysdeps/sh/stackinfo.h: Likewise.
13667 * sysdeps/sparc/stackinfo.h: Likewise.
13668 * sysdeps/x86_64/stackinfo.h: Likewise.
13669 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13670 PF_X for powerpc64. Retain PF_X for powerpc32.
13671
db753e2c
UD
136722010-12-19 Ulrich Drepper <drepper@gmail.com>
13673
14b697f7
UD
13674 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13675 accurately.
db753e2c
UD
13676 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13677 GETDENTS_64BIT_ALIGNED.
13678
28300719
UD
136792010-12-14 Ulrich Drepper <dreper@gmail.com>
13680
14b697f7 13681 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13682
4f197237
AS
136832010-12-10 Andreas Schwab <schwab@redhat.com>
13684
dbb0472f
AS
13685 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13686 _GNU_SOURCE.
13687
4f197237
AS
13688 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13689 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13690 Remove __restrict.
13691 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13692 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13693
fb88ac72
UD
136942010-12-09 Ulrich Drepper <drepper@gmail.com>
13695
13696 [BZ #11655]
13697 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13698 are initialized.
13699
42acbb92
JJ
137002010-12-09 Jakub Jelinek <jakub@redhat.com>
13701
13702 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13703
c038d98d
UD
137042010-12-03 Ulrich Drepper <drepper@gmail.com>
13705
13706 * po/it.po: Update from translation team.
13707
3a4a2499
L
137082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13709
13710 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13711 unused codes.
13712
1e24cf6e
UD
137132010-11-30 Ulrich Drepper <drepper@gmail.com>
13714
13715 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13716
a7690819
AS
137172010-11-24 Andreas Schwab <schwab@redhat.com>
13718
13719 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13720 specially.
13721 (gaih_getanswer_slice): Likewise.
13722
3bf8d1b1
JJ
137232010-10-20 Jakub Jelinek <jakub@redhat.com>
13724
13725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13726
6db52fbb
PB
137272010-05-31 Petr Baudis <pasky@suse.cz>
13728
13729 [BZ #11149]
13730 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13731 silently even in the chroot mode.
13732
eaca7569
UD
137332010-11-22 Ulrich Drepper <drepper@gmail.com>
13734
13735 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13736 last patch a bit. Pretty printing
13737
3056dcdb
UD
137382010-05-31 Petr Baudis <pasky@suse.cz>
13739
13740 [BZ #10085]
13741 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13742 initialization of skip_initgroups_dyn.
13743
cf7c9078
UD
137442010-11-19 Ulrich Drepper <drepper@gmail.com>
13745
13746 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13747 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13748
a1fb5e3e
UD
137492010-11-16 Ulrich Drepper <drepper@gmail.com>
13750
13751 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13752
3540d66b
AS
137532010-11-11 Andreas Schwab <schwab@redhat.com>
13754
13755 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13756 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13757 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13758 ($(objpfx)tst-fnmatch-mem): New rule.
13759 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13760 * posix/tst-fnmatch.c (main): Call mtrace.
13761
13b69574
L
137622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13763
13764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13765 Support Intel processor model 6 and model 0x2c.
13766
da93d214
LM
137672010-11-10 Luis Machado <luisgpm@br.ibm.com>
13768
13769 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13770 signed comparison.
13771
8ca52c6e
L
137722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13773
13774 [BZ #12205]
13775 * string/test-strncasecmp.c (check_result): New function.
13776 (do_one_test): Use it.
13777 (check1): New function.
13778 (test_main): Use it.
13779 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13780 Support strcasecmp and strncasecmp.
13781
69da074d
UD
137822010-11-08 Ulrich Drepper <drepper@gmail.com>
13783
13784 [BZ #12194]
13785 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13787
ff02d528
L
137882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13789
13790 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13791 IFUNC support.
13792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13793 memset-x86-64.
13794 * sysdeps/x86_64/multiarch/bzero.S: New file.
13795 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13796 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13797 * sysdeps/x86_64/multiarch/memset.S: New file.
13798 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13800 Set bit_Prefer_SSE_for_memop for Intel processors.
13801 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13802 Define.
13803 (index_Prefer_SSE_for_memop): Define.
13804 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13805
344d0b54
LM
138062010-11-04 Luis Machado <luisgpm@br.ibm.com>
13807
13808 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13809 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13810
c0dde15b
UD
138112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13812
13813 [BZ #12191]
13814 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13815 (__x86_64_raw_data_cache_size_half): Likewise.
13816 (__x86_64_raw_shared_cache_size): Likewise.
13817 (__x86_64_raw_shared_cache_size_half): Likewise.
13818
13819 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13820 (__x86_64_raw_data_cache_size_half): Likewise.
13821 (__x86_64_raw_shared_cache_size): Likewise.
13822 (__x86_64_raw_shared_cache_size_half): Likewise.
13823 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13824 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13825 and __x86_64_raw_shared_cache_size_half. Round
13826 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13827 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13828 to multiple of 256 bytes.
13829
0e516e0e
MS
138302010-11-03 Ulrich Drepper <drepper@gmail.com>
13831
13832 [BZ #12167]
13833 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13834 of inacessible symlinks. Verify result of symlink before returning it.
13835 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13836 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13837
0e012e87
ER
138382010-10-28 Erich Ritz <erichritz@gmail.com>
13839
13840 * math/math.h (isinf): Fix typo in comment.
13841
de0ff7bc
UD
138422010-11-01 Ulrich Drepper <drepper@gmail.com>
13843
13844 * po/da.po: Update from translation team.
13845
fa41c84d
UD
138462010-10-26 Ulrich Drepper <drepper@gmail.com>
13847
13848 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13849 is added to the list.
13850
f0967738
AK
138512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13852 Ulrich Drepper <drepper@gmail.com>
13853
13854 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13855 the global list here. Move code to...
13856 (_dl_add_to_namespace_list): ...here. New function.
13857 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13858 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13859 * elf/dl-load.c (lose): Don't remove the element from the list.
13860 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13861 (_dl_map_object): Likewise.
13862
138632010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13864
13865 [BZ #12159]
13866 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13867 into all bytes of SSE register.
13868 Patch by Richard Li <richardpku@gmail.com>.
13869
f0967738 138702010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13871
13872 [BZ #12140]
13873 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13874 perturbing.
13875
d0b9e94f
MB
138762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13877
13878 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13879 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13880 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13881 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13883 submachine.
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13885
8e9f92e9
AS
138862010-10-22 Andreas Schwab <schwab@redhat.com>
13887
13888 * include/dlfcn.h (__RTLD_SECURE): Define.
13889 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13890 mode & __RTLD_SECURE instead.
13891 (open_path): Rename preloaded parameter to secure.
13892 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13893 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13894 * elf/dl-deps.c (openaux): Likewise.
13895 * elf/rtld.c (struct map_args): Remove is_preloaded.
13896 (map_doit): Don't use it.
13897 (dl_main): Likewise.
13898 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13899 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13900
bc96fbda
AS
139012010-09-09 Andreas Schwab <schwab@redhat.com>
13902
13903 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13904 (sysd-rules-targets): Remove duplicates.
13905 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13906 rtld-%.$o dependency.
13907
22cd1c9b
AS
139082010-10-18 Andreas Schwab <schwab@redhat.com>
13909
13910 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13911 _dl_map_object do it.
13912
18edac48
UD
139132010-10-19 Ulrich Drepper <drepper@gmail.com>
13914
13915 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13916 fast fma builtins, define the macros in the C99 standard.
13917 (FP_FAST_FMAF): Likewise.
13918 (FP_FAST_FMAL): Likewise.
13919 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13920
13921 * bits/mathdef.h: Update copyright year.
13922 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13923
d2050124
MM
139242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13925
13926 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13927 builtins, define the macros in the C99 standard.
13928 (FP_FAST_FMAF): Likewise.
13929 (FP_FAST_FMAL): Likewise.
13930 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13931 multiply/add.
13932 (FP_FAST_FMAF): Likewise.
13933
475facd1
JJ
139342010-10-15 Jakub Jelinek <jakub@redhat.com>
13935
13936 [BZ #3268]
13937 * math/libm-test.inc (fma_test): Some new testcases.
13938 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13939 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13940 y and infinite z. Do multiplication by C already in long double.
13941 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13943 y and infinite z. Do bitwise or of inexact bit into u.d.
13944 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13945 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13946 * sysdeps/i386/fpu/s_fma.S: Removed.
13947 * sysdeps/i386/fpu/s_fmal.S: Removed.
13948
7c08a05c
JJ
139492010-10-16 Jakub Jelinek <jakub@redhat.com>
13950
13951 [BZ #3268]
13952 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13953 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13954 computation is not scheduled after fetestexcept. Fix value
13955 of minimum denormal long double.
13956
f3f7372d
JJ
139572010-10-14 Jakub Jelinek <jakub@redhat.com>
13958
13959 [BZ #3268]
13960 * math/libm-test.inc (fma_test): Add some more tests.
13961 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13962 correctly.
13963
14d43591
AS
139642010-10-15 Andreas Schwab <schwab@redhat.com>
13965
13966 * scripts/data/localplt-s390-linux-gnu.data: New file.
13967 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13968
5e908464
JJ
139692010-10-13 Jakub Jelinek <jakub@redhat.com>
13970
13971 [BZ #3268]
13972 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13973 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13974 instead of dbl-64.
13975 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13976 inlines.
13977 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13979 if one of x and y is very large and the other is subnormal.
13980 * sysdeps/s390/fpu/s_fmaf.c: New file.
13981 * sysdeps/s390/fpu/s_fma.c: New file.
13982 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13983 * sysdeps/powerpc/fpu/s_fma.S: New file.
13984 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13985 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13986 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13987
139882010-10-12 Jakub Jelinek <jakub@redhat.com>
13989
13990 [BZ #3268]
13991 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13992 fma tests.
13993 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13994 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13995 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13996 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13997 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13998 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13999 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14000
b833d51f
UD
140012010-10-12 Ulrich Drepper <drepper@redhat.com>
14002
14003 [BZ #12078]
14004 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14005 * posix/bug-regex31.input: Add test case.
14006
1751705d
UD
140072010-10-11 Ulrich Drepper <drepper@gmail.com>
14008
e9b9cbf5
UD
14009 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14010 * posix/bug-regex31.input: New file.
14011
14012 [BZ #12078]
14013 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14014 (parse_sub_exp): Fix last change, use postorder.
14015
ef06edbe
UD
14016 * posix/bug-regex31.c: New file.
14017 * posix/Makefile: Add rules to build and run bug-regex31.
14018
a129c80d
UD
14019 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14020
14021 [BZ #12078]
14022 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14023
b76b818e
UD
14024 [BZ #12108]
14025 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14026 to have entries in sys_siglist.
14027
1751705d
UD
14028 [BZ #12093]
14029 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14030 be NULL.
14031
9ff8d36f
JJ
140322010-10-07 Jakub Jelinek <jakub@redhat.com>
14033
14034 [BZ #3268]
14035 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14036 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14037 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14038 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14039 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14040 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14041 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14042 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14043 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14044 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14045 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14046 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14047 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14048 * math/ftestexcept.c (fetestexcept): Likewise.
14049 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14050 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14051 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14052 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14053 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14054 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14055 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14056
af325969
UD
140572010-10-11 Ulrich Drepper <drepper@gmail.com>
14058
c579b202 14059 [BZ #12107]
af325969
UD
14060 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14061 newline.
14062
67a67b95
UD
140632010-10-06 Ulrich Drepper <drepper@gmail.com>
14064
14065 * string/bug-strstr1.c: New file.
14066 * string/Makefile: Add rules to build and run bug-strstr1.
14067
5fb308bc
EB
140682010-10-05 Eric Blake <eblake@redhat.com>
14069
14070 [BZ #12092]
14071 * string/str-two-way.h (two_way_long_needle): Always clear memory
14072 when skipping input due to the shift table.
14073
45db99c7
UD
140742010-10-03 Ulrich Drepper <drepper@gmail.com>
14075
3b111893
UD
14076 [BZ #12005]
14077 * malloc/mcheck.c: Handle large requests.
14078
45db99c7
UD
14079 [BZ #12077]
14080 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14081 for strncmp and strncasecmp.
14082 * string/stratcliff.c: Add tests for strcmp and strncmp.
14083 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14084
cf7a1eb8
NI
140852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14086
14087 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14088 __set_fpscr.
14089
6484ba5e
AJ
140902010-09-30 Andreas Jaeger <aj@suse.de>
14091
14092 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14093 (CGROUP_SUPER_MAGIC): Define.
14094 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14095 Handle btrfs and cgroup file systems.
14096 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14097 Likewise.
14098
91c42559
LM
140992010-09-27 Luis Machado <luisgpm@br.ibm.com>
14100
14101 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14102 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14103
87a97932
AK
141042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14105
14106 [BZ #12067]
14107 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14108 trying to locate the ELF header.
14109
c21cc9bc
AS
141102010-09-27 Andreas Schwab <schwab@redhat.com>
14111
14112 [BZ #11611]
14113 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14114 Mask out sign-bit copies when constructing f_fsid.
14115
315970f6
PB
141162010-09-24 Petr Baudis <pasky@suse.cz>
14117
14118 * debug/stack_chk_fail_local.c: Add missing licence exception.
14119 * debug/warning-nop.c: Likewise.
14120
1ac7a2c7
JM
141212010-09-15 Joseph Myers <joseph@codesourcery.com>
14122
14123 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14124 implementing getdents64 using getdents syscall, set d_type if
14125 __ASSUME_GETDENTS32_D_TYPE.
14126
56801c50
AS
141272010-09-16 Andreas Schwab <schwab@redhat.com>
14128
14129 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14130 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14131
dda51327
UD
141322010-09-21 Ulrich Drepper <drepper@redhat.com>
14133
14134 [BZ #12037]
14135 * posix/unistd.h: Undo change of feature selection for ftruncate from
14136 2010-01-11.
14137
8ffcee4a
UD
141382010-09-20 Ulrich Drepper <drepper@redhat.com>
14139
a545ecd9 14140 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14141 detection.
14142
e24f0a8b
AS
141432010-09-20 Andreas Schwab <schwab@redhat.com>
14144
14145 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14146 fanotify_mark.
14147 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14148
7291c56f
AS
141492010-09-14 Andreas Schwab <schwab@redhat.com>
14150
14151 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14152 variables after CHECK_SP call.
14153 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14154
bc5fb037
AS
141552010-09-13 Andreas Schwab <schwab@redhat.com>
14156 Ulrich Drepper <drepper@redhat.com>
14157
14158 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14159 re-relocationg ld.so.
14160 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14161 _dl_init_paths call.
14162 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14163 here anymore.
14164
e66e7419
UD
141652010-09-14 Ulrich Drepper <drepper@redhat.com>
14166
14167 * resolv/res_init.c (__res_vinit): Count the default server we added.
14168
c044aa75
CLT
141692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14170 Ulrich Drepper <drepper@redhat.com>
14171
14172 [BZ #11968]
14173 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14174 (____longjmp_chk): Use %ebx for saving value across system call.
14175 Add unwind info.
14176
32cf4069
AS
141772010-09-06 Andreas Schwab <schwab@redhat.com>
14178
14179 * manual/Makefile: Don't mix pattern rules with normal rules.
14180
817328ee
AS
141812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14182
14183 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14184 operation.
14185 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14186 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14187 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14188 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14190 Likewise.
14191
29fddf61
UD
141922010-09-04 Ulrich Drepper <drepper@redhat.com>
14193
14194 [BZ #11979]
14195 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14196 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14197
0959ffc9
UD
141982010-09-02 Ulrich Drepper <drepper@redhat.com>
14199
14200 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14201 * sysdeps/x86_64/addmul_1.S: Likewise.
14202 * sysdeps/x86_64/lshift.S: Likewise.
14203 * sysdeps/x86_64/mul_1.S: Likewise.
14204 * sysdeps/x86_64/rshift.S: Likewise.
14205 * sysdeps/x86_64/sub_n.S: Likewise.
14206 * sysdeps/x86_64/submul_1.S: Likewise.
14207
ece29840
ST
142082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14209
0959ffc9
UD
14210 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14211 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14212 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14213 * bits/sched.h [__need_schedparam]
ece29840 14214 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14215 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14216 (__defined_schedparam): Define to 1.
ece29840
ST
14217 (__sched_param): New structure, identical to sched_param.
14218 (__need_schedparam): Undefine.
14219
e53a31fe
MF
142202010-08-31 Mike Frysinger <vapier@gentoo.org>
14221
fdc0c10d
MF
14222 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14223 (epoll_create1): Declare.
14224
e53a31fe
MF
14225 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14226
a726d796
AS
142272010-08-31 Andreas Schwab <schwab@redhat.com>
14228
14229 [BZ #7066]
14230 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14231 shifting retval into place.
14232
2f3e3dc7
UD
142332010-09-01 Ulrich Drepper <drepper@redhat.com>
14234
f2933da9
UD
14235 * nis/rpcsvc/nis.h: Update copyright notice.
14236 * nis/rpcsvc/nis.x: Likewise.
14237 * nis/rpcsvc/nis_callback.h: Likewise.
14238 * nis/rpcsvc/nis_callback.x: Likewise.
14239 * nis/rpcsvc/nis_object.x: Likewise.
14240 * nis/rpcsvc/nis_tags.h: Likewise.
14241 * nis/rpcsvc/yp.h: Likewise.
14242 * nis/rpcsvc/yp.x: Likewise.
14243 * nis/rpcsvc/ypupd.h: Likewise.
14244 * nis/yp_xdr.c: Likewise.
14245 * nis/ypupdate_xdr.c: Likewise.
14246
2f3e3dc7
UD
14247 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14248 mainly the body of pmap_getport. Add parameters to specify timeouts.
14249 (pmap_getport): Use __libc_rpc_getport.
14250 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14251 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14252 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14253
f3dcc2f9
AS
142542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14255
14256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14257 fanotify_mark.
14258
6d34eb5b
RM
142592010-08-27 Roland McGrath <roland@redhat.com>
14260
14261 * sysdeps/i386/i686/multiarch/Makefile
14262 (CFLAGS-varshift.c): New variable.
14263
9ea3de11
UD
142642010-08-27 Ulrich Drepper <drepper@redhat.com>
14265
c96d23fc
UD
14266 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14267 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14268
9ea3de11
UD
14269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14270
14271 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14272
623aac7f
L
142732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14274
14275 * sysdeps/x86_64/strlen.S: Unroll the loop.
14276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14277 strlen-sse2 strlen-sse2-bsf.
14278 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14279 __strlen_no_bsf if bit_Slow_BSF is set.
14280 (__strlen_sse42): Removed.
14281 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14282 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14283
8b2b7715
RM
142842010-08-25 Roland McGrath <roland@redhat.com>
14285
14286 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14287 * sysdeps/x86_64/multiarch/varshift.c: New file.
14288 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14289 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14290 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14291 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14292
e73015f2
L
142932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14294
14295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14296 strlen-sse2 strlen-sse2-bsf.
14297 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14298 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14299 (__strlen_sse2): Removed.
14300 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14301 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14303 bit_Slow_BSF for Atom.
14304 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14305 (index_Slow_BSF): Define.
14306 (HAS_SLOW_BSF): Define.
14307
df24a73e
UD
143082010-08-25 Ulrich Drepper <drepper@redhat.com>
14309
14310 [BZ #10851]
14311 * resolv/res_init.c (__res_vinit): When no server address at all
14312 is given default to loopback.
14313
f2ac4868
RM
143142010-08-24 Roland McGrath <roland@redhat.com>
14315
09055553
RM
14316 * configure.in: Remove config-name.h generation.
14317 * configure: Regenerated.
14318 * config-name.in: File removed.
14319 * scripts/config-uname.sh: New file.
14320 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14321 ($(objdir)config-name.h): New target.
14322
f2ac4868
RM
14323 * sunrpc/rpc_parse.h: Avoid nested comment.
14324
73f27d5e
RH
143252010-08-24 Richard Henderson <rth@redhat.com>
14326 Ulrich Drepper <drepper@redhat.com>
14327 H.J. Lu <hongjiu.lu@intel.com>
14328
14329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14331 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14332 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14333 _mm_alignr_epi8 with _mm_loadu_si128.
14334 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14335 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14336 (__m128i_shift_right): Removed.
14337 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14338 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14339 * sysdeps/x86_64/multiarch/varshift.h: New file.
14340 * sysdeps/x86_64/multiarch/varshift.S: New file.
14341
84b9230c
MF
143422010-08-21 Mike Frysinger <vapier@gentoo.org>
14343
14344 * configure.in: Move assembler checks to before sysdep dir checking.
14345
9bbd0ddc
PB
143462010-08-20 Petr Baudis <pasky@suse.cz>
14347
14348 * LICENSES: Sync the sunrpc license.
14349
9da4bb31
UD
143502010-08-19 Ulrich Drepper <drepper@redhat.com>
14351
a7ab6ec8
UD
14352 * sunrpc/auth_des.c: Update copyright notice once again.
14353 * sunrpc/auth_none.c: Likewise.
14354 * sunrpc/auth_unix.c: Likewise.
14355 * sunrpc/authdes_prot.c: Likewise.
14356 * sunrpc/authuxprot.c: Likewise.
14357 * sunrpc/bindrsvprt.c: Likewise.
14358 * sunrpc/clnt_gen.c: Likewise.
14359 * sunrpc/clnt_perr.c: Likewise.
14360 * sunrpc/clnt_raw.c: Likewise.
14361 * sunrpc/clnt_simp.c: Likewise.
14362 * sunrpc/clnt_tcp.c: Likewise.
14363 * sunrpc/clnt_udp.c: Likewise.
14364 * sunrpc/clnt_unix.c: Likewise.
14365 * sunrpc/des_crypt.c: Likewise.
14366 * sunrpc/des_soft.c: Likewise.
14367 * sunrpc/get_myaddr.c: Likewise.
14368 * sunrpc/getrpcport.c: Likewise.
14369 * sunrpc/key_call.c: Likewise.
14370 * sunrpc/key_prot.c: Likewise.
14371 * sunrpc/openchild.c: Likewise.
14372 * sunrpc/pm_getmaps.c: Likewise.
14373 * sunrpc/pm_getport.c: Likewise.
14374 * sunrpc/pmap_clnt.c: Likewise.
14375 * sunrpc/pmap_prot.c: Likewise.
14376 * sunrpc/pmap_prot2.c: Likewise.
14377 * sunrpc/pmap_rmt.c: Likewise.
14378 * sunrpc/rpc/auth.h: Likewise.
14379 * sunrpc/rpc/auth_unix.h: Likewise.
14380 * sunrpc/rpc/clnt.h: Likewise.
14381 * sunrpc/rpc/des_crypt.h: Likewise.
14382 * sunrpc/rpc/key_prot.h: Likewise.
14383 * sunrpc/rpc/netdb.h: Likewise.
14384 * sunrpc/rpc/pmap_clnt.h: Likewise.
14385 * sunrpc/rpc/pmap_prot.h: Likewise.
14386 * sunrpc/rpc/pmap_rmt.h: Likewise.
14387 * sunrpc/rpc/rpc.h: Likewise.
14388 * sunrpc/rpc/rpc_des.h: Likewise.
14389 * sunrpc/rpc/rpc_msg.h: Likewise.
14390 * sunrpc/rpc/svc.h: Likewise.
14391 * sunrpc/rpc/svc_auth.h: Likewise.
14392 * sunrpc/rpc/types.h: Likewise.
14393 * sunrpc/rpc/xdr.h: Likewise.
14394 * sunrpc/rpc_clntout.c: Likewise.
14395 * sunrpc/rpc_cmsg.c: Likewise.
14396 * sunrpc/rpc_common.c: Likewise.
14397 * sunrpc/rpc_cout.c: Likewise.
14398 * sunrpc/rpc_dtable.c: Likewise.
14399 * sunrpc/rpc_hout.c: Likewise.
14400 * sunrpc/rpc_main.c: Likewise.
14401 * sunrpc/rpc_parse.c: Likewise.
14402 * sunrpc/rpc_parse.h: Likewise.
14403 * sunrpc/rpc_prot.c: Likewise.
14404 * sunrpc/rpc_sample.c: Likewise.
14405 * sunrpc/rpc_scan.c: Likewise.
14406 * sunrpc/rpc_scan.h: Likewise.
14407 * sunrpc/rpc_svcout.c: Likewise.
14408 * sunrpc/rpc_tblout.c: Likewise.
14409 * sunrpc/rpc_util.c: Likewise.
14410 * sunrpc/rpc_util.h: Likewise.
14411 * sunrpc/rpcinfo.c: Likewise.
14412 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14413 * sunrpc/rpcsvc/key_prot.x: Likewise.
14414 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14415 * sunrpc/rpcsvc/mount.x: Likewise.
14416 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14417 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14418 * sunrpc/rpcsvc/rex.x: Likewise.
14419 * sunrpc/rpcsvc/rstat.x: Likewise.
14420 * sunrpc/rpcsvc/rusers.x: Likewise.
14421 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14422 * sunrpc/rpcsvc/spray.x: Likewise.
14423 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14424 * sunrpc/rtime.c: Likewise.
14425 * sunrpc/svc.c: Likewise.
14426 * sunrpc/svc_auth.c: Likewise.
14427 * sunrpc/svc_authux.c: Likewise.
14428 * sunrpc/svc_raw.c: Likewise.
14429 * sunrpc/svc_run.c: Likewise.
14430 * sunrpc/svc_simple.c: Likewise.
14431 * sunrpc/svc_tcp.c: Likewise.
14432 * sunrpc/svc_udp.c: Likewise.
14433 * sunrpc/svc_unix.c: Likewise.
14434 * sunrpc/svcauth_des.c: Likewise.
14435 * sunrpc/xcrypt.c: Likewise.
14436 * sunrpc/xdr.c: Likewise.
14437 * sunrpc/xdr_array.c: Likewise.
14438 * sunrpc/xdr_float.c: Likewise.
14439 * sunrpc/xdr_mem.c: Likewise.
14440 * sunrpc/xdr_rec.c: Likewise.
14441 * sunrpc/xdr_ref.c: Likewise.
14442 * sunrpc/xdr_sizeof.c: Likewise.
14443 * sunrpc/xdr_stdio.c: Likewise.
14444
9da4bb31
UD
14445 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14446 handling.
14447
bdaa77bc
AS
144482010-08-19 Andreas Schwab <schwab@redhat.com>
14449
14450 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14451
fe2f79db
LM
144522010-08-19 Luis Machado <luisgpm@br.ibm.com>
14453
14454 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14455 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14456 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14457 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14458 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14459 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14460 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14461 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14462 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14463 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14464 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14465 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14466 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14467 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14468
b9b42ee0
AB
144692010-07-26 Anton Blanchard <anton@samba.org>
14470
14471 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14472 * malloc/arena.c (heap_trim): Likewise.
14473
1c06ba31
UD
144742010-08-16 Ulrich Drepper <drepper@redhat.com>
14475
14476 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14477 here. Not...
14478 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14479 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14480
f8392f40
L
144812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14482
14483 * sysdeps/i386/elf/Makefile: New file.
14484
3162f12e
AS
144852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14486
14487 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14488 from fanotify_init.
14489 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14490 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14491
28c90b2c
UD
144922010-08-15 Ulrich Drepper <drepper@redhat.com>
14493
14494 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14495 of strncasecmp_l.
1feccb6c 14496 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14497
ca6bb004
UD
144982010-08-14 Ulrich Drepper <drepper@redhat.com>
14499
e9f82e0d
UD
14500 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14501 strncase_l-nonascii.
14502 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14503 Add strncase_l-ssse3.
14504 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14505 * sysdeps/x86_64/strcmp.S: Likewise.
14506 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14507 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14508 * sysdeps/x86_64/strncase.S: New file.
14509 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14510 * sysdeps/x86_64/strncase_l.S: New file.
14511 * string/Makefile (strop-tests): Add strncasecmp.
14512 * string/test-strncasecmp.c: New file.
14513
14514 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14515 warning.
14516
ca6bb004
UD
14517 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14518 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14519
052fa7b3
AS
145202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14521
14522 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14523
962dba78
UD
145242010-08-12 Ulrich Drepper <drepper@redhat.com>
14525
14526 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14527 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14528 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14529
bebff237
AM
145302010-05-01 Alan Modra <amodra@gmail.com>
14531
14532 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14533 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14534 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14535 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14536 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14537 tidying. Don't tail-call __sigjmp_save for static lib.
14538 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14539 save location.
14540 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14541 (CALL_MCOUNT): Add eh info, and nop after bl.
14542 (TAIL_CALL_SYSCALL_ERROR): New macro.
14543 (PSEUDO_RET): Use it.
14544 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14545 Correct save location of integer regs and cr.
14546 (_dl_profile_resolve): Correct cr save location. Delete nops
14547 after bl when SHARED. Reduce cfi size a little by better
14548 placement of cfi directives.
14549 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14550 make a stack frame. Instead use parm save area as a temp.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14552 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14554 Don't make a stack frame for parent, use parm save area.
14555 Increase child stack frame to 112 bytes. Don't save unused reg,
14556 and adjust reg usage. Set up cfi on error recovery and
14557 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14559 (__makecontext): Add dummy nop after jump to exit.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14561 Use correct parm save area and cr save, reduce stack frame.
14562 Correct cfi for possible PSEUDO_RET frame setup.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14564 Branch to local label emitted by PSEUDO_RET rather than
14565 __syscall_error.
14566
02637374
AS
145672010-08-12 Andreas Schwab <schwab@redhat.com>
14568
14569 [BZ #11904]
14570 * locale/programs/locale.c (print_assignment): New function.
14571 (show_locale_vars): Use it.
14572
c3e2f19b
UD
145732010-08-11 Ulrich Drepper <drepper@redhat.com>
14574
3cdaa6ad
UD
14575 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14576 field.
14577 (struct statfs64): Likewise.
14578 (_STATFS_F_FLAGS): Define.
14579 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14580 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14581 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14582 (ST_VALID): Define locally.
14583 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14584 __statvfs_getflags, use the provided value.
14585 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14586 __ASSUME_STATFS_F_FLAGS.
14587
754f7da3
UD
14588 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14589
10b3bedc
UD
14590 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14591 Add sys/fanotify.h.
14592 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14593 fanotify_mask for GLIBC_2.13.
14594 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14595 fanotify_init and fanotify_mark.
14596 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14597 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14598
c08fb0d7
UD
14599 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14600 Add prlimit.
14601 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14602 prlimit64 for GLIBC_2.13.
14603 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14604 prlimit64.
14605 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14606 syscall.
14607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14608 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14609 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14610 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14611 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14612 add prlimit alias.
14613 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14614
15bac72b
UD
14615 [BZ #11903]
14616 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14617 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14618
c3e2f19b
UD
14619 * nss/Makefile: Add rules to build and run tst-nss-test1.
14620 * shlib-versions: Add entry for libnss_test1.
14621 * nss/nss_test1.c: New file.
14622 * nss/tst-nss-test1.c: New file.
14623
14624 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14625 (__nss_configure_lookup): Set appropriate entry in
14626 __nss_configure_lookup to true.
14627 * nss/nsswitch.h: Define enum with indeces of databases in
14628 databases and __nss_database_custom arrays. Declare
14629 __nss_database_custom.
14630 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14631 to avoid using nscd when custom rules are installed.
14632 * nss/getXXbyYY_r.c: Likewise.
14633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14634
14635 * nss/nss_files/files-parse.c: Whitespace fixes.
14636
f15ce4d8
UD
146372010-08-09 Ulrich Drepper <drepper@redhat.com>
14638
14639 [BZ #11883]
14640 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14641 * posix/fnmatch_loop.c: Likewise.
14642
d22e4cc9
AK
146432010-07-17 Andi Kleen <ak@linux.intel.com>
14644
14645 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14646 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14647 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14648 * Versions.def [GLIBC_2.13]: Add.
14649
805bc17d
UD
146502010-08-06 Ulrich Drepper <drepper@redhat.com>
14651
14652 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14653 Also fail if tpwd after pwuid call is NULL.
14654
5a42321d
ST
146552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14656
14657 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14658 when converting to ms.
14659
fd3ebeda
ST
146602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14661
14662 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14663 EOPNOTSUPP errors with ENOTTY.
14664 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14665 EOPNOTSUPP errors with ENOTTY.
14666
73507d3a
UD
146672010-07-31 Ulrich Drepper <drepper@redhat.com>
14668
14669 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14670 Add strcasecmp_l-ssse3.
14671 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14672 strcasecmp.
14673 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14674 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14675 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14676
fe36dd02
UD
146772010-07-30 Ulrich Drepper <drepper@redhat.com>
14678
66f6765a
UD
14679 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14680
42e08a54
UD
14681 * string/Makefile (strop-tests): Add strcasecmp.
14682 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14683 strcasecmp_l-nonascii.
14684 (gen-as-const-headers): Add locale-defines.sym.
14685 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14686 * sysdeps/x86_64/strcasecmp.S: New file.
14687 * sysdeps/x86_64/strcasecmp_l.S: New file.
14688 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14689 * sysdeps/x86_64/locale-defines.sym: New file.
14690 * string/test-strcasecmp.c: New file.
14691
fe36dd02
UD
14692 * string/test-strcasestr.c: Test both ends of the range of characters.
14693 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14694
48cbc0d6
RM
146952010-07-29 Roland McGrath <roland@redhat.com>
14696
76e6d6bc 14697 [BZ #11856]
48cbc0d6
RM
14698 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14699
880113d9
UD
147002010-07-27 Ulrich Drepper <drepper@redhat.com>
14701
14702 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14703 for ld.so.
14704
deb9cabb
AS
147052010-07-27 Andreas Schwab <schwab@redhat.com>
14706
14707 * manual/memory.texi (Malloc Tunable Parameters): Document
14708 M_PERTURB.
14709
1c7570ff
RM
147102010-07-26 Roland McGrath <roland@redhat.com>
14711
14712 [BZ #11840]
14713 * configure.in (-fgnu89-inline check): Set and substitute
14714 gnu89_inline, not libc_cv_gnu89_inline.
14715 * configure: Regenerated.
14716 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14717
24fb0f88
UD
147182010-07-26 Ulrich Drepper <drepper@redhat.com>
14719
14720 * string/test-strnlen.c: New file.
14721 * string/Makefile (strop-tests): Add strnlen.
14722 * string/tester.c (test_strnlen): Add a few more test cases.
14723 * string/tst-strlen.c: Better error reporting.
14724
14725 * sysdeps/x86_64/strnlen.S: New file.
14726
8e96b93a
UD
147272010-07-24 Ulrich Drepper <drepper@redhat.com>
14728
14729 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14730 lower-latency instructions.
14731
dbc676d4
UD
147322010-07-23 Ulrich Drepper <drepper@redhat.com>
14733
14734 * string/test-strcasestr.c: New file.
14735 * string/test-strstr.c: New file.
14736 * string/Makefile (strop-tests): Add strstr and strcasestr.
14737 * string/str-two-way.h: Don't undefine MAX.
14738 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14739
f6a31e0e
AS
147402010-07-21 Andreas Schwab <schwab@redhat.com>
14741
14742 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14743 strcasestr-nonascii.
14744 (CFLAGS-strcasestr-nonascii.c): Define.
14745 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14746 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14747 Remove unused attribute.
14748
5dbc3b6c
RM
147492010-07-20 Roland McGrath <roland@redhat.com>
14750
14751 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14752 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14753 ld.so.cache was broken. With it, there is no way to disable dsocaps
14754 like LD_HWCAP_MASK can disable hwcaps.
14755
23d101d8
EPM
147562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14757
14758 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14759
cc9f2e47
UD
147602010-07-16 Ulrich Drepper <drepper@redhat.com>
14761
14762 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14763 call in strcasestr.
14764 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14765 __strcasestr_sse42_nonascii.
14766 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14767 strcasestr-nonascii.c.
14768 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14769
77c1b069
LM
147702010-06-15 Luis Machado <luisgpm@br.ibm.com>
14771
14772 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14773 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14774 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14775 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14776
440566c3
UD
147772010-07-09 Ulrich Drepper <drepper@redhat.com>
14778
14779 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14780 fcntl.
14781
5be9d05d
AS
147822010-07-06 Andreas Schwab <schwab@redhat.com>
14783
c30b7ee2 14784 [BZ #11577]
5be9d05d
AS
14785 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14786 dl_signal_cerror.
14787
8a492a67
UD
147882010-07-06 Ulrich Drepper <drepper@redhat.com>
14789
14790 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14791 _PC_PIPE_BUF using F_GETPIPE_SZ.
14792
713df3d5
RM
147932010-07-05 Roland McGrath <roland@redhat.com>
14794
14795 * manual/arith.texi (Rounding Functions): Fix rint description
14796 implicit in round description.
14797
702e8f14
UD
147982010-07-02 Ulrich Drepper <drepper@redhat.com>
14799
14800 * elf/Makefile: Fix linking for a few tests to make recent linker
14801 happy.
14802
52ed8be9
AS
148032010-06-30 Andreas Schwab <schwab@redhat.com>
14804
14805 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14806 $(common-objpfx)libc_nonshared.a.
14807
f47c9a11
LM
148082010-06-21 Luis Machado <luisgpm@br.ibm.com>
14809
14810 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14811 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14812 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14813 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14814 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14815 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14816 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14817 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14832 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14833 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14834 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14835 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14836 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14837 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14838 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14839 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14840 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14841 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14842 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14843 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14858
6fb8cbcb
L
148592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14860
14861 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14862 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14863 * string/memmove.c (memmove): Renamed to ...
14864 (MEMMOVE): ...this. Default to memmove.
14865 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14866 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14867 (END_CHK): Define.
14868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14869 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14870 mempcpy-ssse3-back memmove-ssse3-back.
14871 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14872 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14873 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14874 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14875 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14876 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14877 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14878 * sysdeps/x86_64/multiarch/memmove.c: New file.
14879 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14880 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14881 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14882 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14883 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14884 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14885 Define.
14886 (index_Fast_Copy_Backward): Define.
14887 (HAS_ARCH_FEATURE): Define.
14888 (HAS_FAST_REP_STRING): Define.
14889 (HAS_FAST_COPY_BACKWARD): Define.
14890
4e733bac 148912010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14892
14893 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14894 Restore proper fallback handling.
14895
63c4ed22
UD
148962010-06-19 Ulrich Drepper <drepper@redhat.com>
14897
ac2b484c
UD
14898 [BZ #11701]
14899 * posix/group_member.c (__group_member): Correct checking loop.
14900
63c4ed22
UD
14901 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14902 OOM in getpwuid_r correctly. Return error number when the caller
14903 should return, otherwise -1.
14904 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14905 call returning > 0 value.
14906 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14907
765ade4b
AS
149082010-06-07 Andreas Schwab <schwab@redhat.com>
14909
14910 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14911 libc_nonshared.a from targets in modules-names.
14912
80da2e09
KS
149132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14914
14915 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14916 requires it.
14917
158db122
LM
149182010-06-10 Luis Machado <luisgpm@br.ibm.com>
14919
14920 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14921 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14922 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14924
caa78cf8
AS
149252010-06-02 Andreas Schwab <schwab@redhat.com>
14926
14927 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14928
b2ef2c01
UD
149292010-06-14 Ulrich Drepper <drepper@redhat.com>
14930
14931 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14932 and F_GETPIPE_SZ.
14933 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14934 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14935 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14937 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14938 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14939
fbd643b6
RM
149402010-06-14 Roland McGrath <roland@redhat.com>
14941
14942 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14943
f32f2869
JJ
149442010-06-07 Jakub Jelinek <jakub@redhat.com>
14945
14946 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14947 __REDIRECT followed by __THROW.
14948 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14949 * posix/getopt.h (getopt): Likewise.
14950
2a50c078
EPM
149512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14952
14953 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14954 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14955 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14956 in AT_FLAGS.
14957 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14958 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14959
eb5ad2eb
LM
149602010-05-28 Luis Machado <luisgpm@br.ibm.com>
14961
14962 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14963
3c88fe1e
L
149642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14965
14966 [BZ #11640]
14967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14968 Properly check family and model.
14969
d2f73151
TY
149702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14971
14972 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14973
ebd2e13d
LM
149742010-05-24 Luis Machado <luisgpm@br.ibm.com>
14975
14976 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14977
b32b8b45
UD
149782010-05-21 Ulrich Drepper <drepper@redhat.com>
14979
14980 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14981 symbol reference.
14982
9acbe24d
AS
149832010-05-19 Andreas Schwab <schwab@redhat.com>
14984
14985 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14986 symbol reference.
14987
f0ccf6ea
AS
149882010-05-21 Andreas Schwab <schwab@redhat.com>
14989
3d04ff3a
AS
14990 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14991 and internal_recvmmsg.
14992 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14993 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14994 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14995 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14996
f0ccf6ea
AS
14997 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14998 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14999 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15000
5b08ac57
AS
150012010-05-20 Andreas Schwab <schwab@redhat.com>
15002
15003 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15004
4828935d
LM
150052010-05-17 Luis Machado <luisgpm@br.ibm.com>
15006
15007 POWER7 optimizations.
15008 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15009 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15010
373d545e
UD
150112010-05-19 Ulrich Drepper <drepper@redhat.com>
15012
15013 * version.h: Update for 2.13 development version.
15014
21a2b1ae
AS
150152010-05-12 Andrew Stubbs <ams@codesourcery.com>
15016
15017 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15018 exceptions. Return 0.
15019
3f7dcb2b
RM
150202010-05-07 Roland McGrath <roland@redhat.com>
15021
15022 * elf/ldconfig.c (main): Add a const.
15023
5f24d53a 150242010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15025
a160f8d8
UD
15026 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15027 (args_options): Add no-idn option.
15028 (ahosts_keys_int): Add idn_flags to ai_flags.
15029 (parse_option): Handle 'i' option to clear idn_flags.
15030
5f24d53a
UD
15031 * malloc/malloc.c (_int_free): Possible race in the most recently
15032 added check. Only act on the data if no current modification
15033 happened.
265bb1ce
UD
15034
15035See ChangeLog.17 for earlier changes.