]> sourceware.org Git - glibc.git/blame - ChangeLog
mktime: merge DEBUG change from gnulib
[glibc.git] / ChangeLog
CommitLineData
95770f14
PE
12012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2
826dd0ab
PE
3 mktime: merge DEBUG change from gnulib
4 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5 case system <time.h> has a #define.
6
bd83aabe
PE
7 mktime: merge <sys/types.h> change from gnulib
8 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9 since <time.t> is now guaranteed to define time_t.
10
95770f14
PE
11 mktime: merge HAVE_CONFIG_H change from gnulib
12 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13
5e1a27a9
L
142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15
0e44a77e
L
16 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17 Use "neg %eax".
18
5e1a27a9
L
19 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20 __rlim_t cast.
21 (struct rusage): Use anonymous union to pad each field to
22 __syscall_slong_t.
23
46259bec
DM
242012-05-21 David S. Miller <davem@davemloft.net>
25
26 * Makefules (o-iterator): Remove .s cases.
27 (compile-command.s): Delete.
28 (COMPILE.s): Delete.
29 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30
59f0c22e
JM
312012-05-21 Joseph Myers <joseph@codesourcery.com>
32
33 * configure.in (libc_cv_predef_stack_protector): Only consider
34 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35 * configure: Regenerated.
36
20c07380
L
372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38
bbb3154b
L
39 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40 New macro. Use R*LP on int and pointer.
41 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
44 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45
20c07380
L
46 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47 [__WORDSIZE_TIME64_COMPAT32] instead of
48 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49 (struct utmp): Likewise.
50 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
52 Renamed to ...
53 (__WORDSIZE_TIME64_COMPAT32): This.
54 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
55 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
59 (__WORDSIZE_TIME64_COMPAT32): New macro.
60
d8d1017e
AJ
612012-05-21 Andreas Jaeger <aj@suse.de>
62
63 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64 only if [SHARED]. Add prototype for __wcschr_ia32.
65
6c7fb145
RM
662012-05-21 Roland McGrath <roland@hack.frob.com>
67
68 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
69 of %rbp unmolested in the jmp_buf while mangling the low bits.
70 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
71 unmolested high bits of %rbp while demangling the low bits.
72 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73
66274218
AJ
742012-05-21 Andreas Jaeger <aj@suse.de>
75
07c58f8f
AJ
76 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
77 * sunrpc/svc_simple.c: Use it for registerrpc.
78 * sunrpc/xcrypt.c: Use it for passwd2des.
79
66274218
AJ
80 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81
61f65140
L
822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
83
84 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
85 Don't define if [__SYSCALL_WORDSIZE != 32].
86 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
87 New macro.
88
5fefb436
AJ
892012-05-21 Bruno Haible <bruno@clisp.org>
90 Andreas Jaeger <aj@suse.de>
91
92 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
93 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
94 inptr and inend for must_buffer_ch.
95 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
96 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
97 * stdio-common/Makefile (tests): Remove bug15.
98 (bug15-ENV): Remove macro.
99 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
100 anymore.
101
d8e272ab
AJ
1022012-05-19 Andreas Jaeger <aj@suse.de>
103 Roland McGrath <roland@hack.frob.com>
104
105 * manual/contrib.texi: Completely rewritten. It contains now an
106 alphabetical list of contributors and their contributions.
107
4a56a162
RH
1082012-05-21 Richard Henderson <rth@twiddle.net>
109
110 * misc/getauxval.c (__getauxval): Use unsigned long int.
111 * misc/sys/auxv.h: Include <sys/cdefs.h>.
112 (getauxval): Use unsigned long int.
113
d024d23c
L
1142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
115
116 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
117
cbc00a03
RM
1182012-05-21 Roland McGrath <roland@hack.frob.com>
119
120 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
121 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
122 __alignof__ (long double).
123
478143fa
AZ
1242012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
125
126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
127
c7683a6d
RH
1282012-05-20 Richard Henderson <rth@twiddle.net>
129
130 * misc/getauxval.c: New file.
131 * misc/sys/auxv.h: New file.
132 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
133 (routines): Add getauxval.
134 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
135 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
136 * elf/dl-sysdep.c (_dl_auxv): Remove.
137 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
138 * elf/dl-support.c (_dl_auxv): New variable.
139 (_dl_aux_init): Initialize it.
140 * manual/startup.texi (Auxiliary Vector): New node.
141 * sysdeps/generic/bits/hwcap.h: New file.
142 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
143 * sysdeps/powerpc/sysdep.h: ... here. Include it.
144 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
145 * sysdeps/sparc/sysdep.h: ... here. Include it.
146 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
147 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
149 Update.
c7683a6d
RH
150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
153 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
158
a6f1845d
AZ
1592012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
160
161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
162
cbcbe830
DM
1632012-05-19 David S. Miller <davem@davemloft.net>
164
165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
166
e0b16cc2
JM
1672012-05-19 Joseph Myers <joseph@codesourcery.com>
168
169 [BZ #14123]
170 * math/s_ccosh.c: Include <float.h>
171 (__ccosh): Avoid internal overflow calculating sinh and cosh
172 values before multiplying by sin and cos values.
173 * math/s_ccoshf.c: Likewise.
174 * math/s_ccoshl.c: Likewise.
175 * math/s_csin.c: Likewise.
176 * math/s_csinf.c: Likewise.
177 * math/s_csinl.c: Likewise.
178 * math/s_csinh.c: Likewise.
179 * math/s_csinhf.c: Likewise.
180 * math/s_csinhl.c: Likewise.
181 * math/libm-test.inc (ccos_test): Add more tests.
182 (ccosh_test): Likewise.
183 (csin_test): Likewise.
184 (csinh_test): Likewise.
185 * sysdeps/i386/fpu/libm-test-ulps: Update.
186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
187
6ad13e08
L
1882012-05-19 H.J. Lu <hongjiu.lu@intel.com>
189
f66f0ce8
L
190 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
191 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
192
6ad13e08
L
193 * sysdeps/x86_64/x32/_itoa.h: Add comment.
194
b1d072a7
JM
1952012-05-19 Joseph Myers <joseph@codesourcery.com>
196
197 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
198 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
199 * sysdeps/powerpc/soft-fp/Versions: Likewise.
200 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
201 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
202 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
203 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
204 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
205 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
206 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
207 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
208 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
209 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
210 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
211 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
212 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
213 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
214 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
215 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
216 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
217 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
218 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
219 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
220 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
221 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
222 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
223 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
224 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
225 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
226 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
227 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
228
9eae47cb
AJ
2292012-05-18 Andreas Jaeger <aj@suse.de>
230
231 * csu/.gitignore: Delete.
232
bb07f69f
L
2332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
234
235 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
236 (timex): Use __syscall_slong_t.
237
e6bdb741
AJ
2382012-05-18 Andreas Jaeger <aj@suse.de>
239 Carlos O'Donell <carlos_odonell@mentor.com>
240
241 * manual/install.texi (Configuring and compiling): Update
242 description about files modified in the source directory.
243 * INSTALL: Regenerated.
244
1b74487e
L
2452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
246
247 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
248 value. Use "or" to set return value to -1.
249 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
250 negate return value.
251
a88b64b9
TMQMF
2522012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
253
254 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
255 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
256 failure if the compiler has Graphite support disabled.
257 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
258 Likewise.
259 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
260 CFLAGS-memmove.c): Likewise.
261 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
262 Likewise.
263
3707636e
L
2642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
265
610b8622
L
266 * sysdeps/x86_64/x32/_itoa.h: New file.
267
7cd195df
L
268 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
269 getdents system call only if kernel and user dirents have the
270 same d_ino and d_off.
271
94b07d20
L
272 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
273 LLONG_MAX != LONG_MAX.
274 (_itoa_word): Use _ITOA_WORD_TYPE on value.
275 (_fitoa_word): Likewise.
276
18298070
L
277 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
278 years.
279 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
280 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
281 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
282
553c7ea4
L
283 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
284 include <bits/wordsize.h>. Check __x86_64__ instead of
285 __WORDSIZE.
286 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
287 if __x86_64__ is defined. Use anonymous union on fpstate.
288
3707636e
L
289 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
290 anonymous union.
291
b53ef01a
AS
2922012-05-18 Andreas Schwab <schwab@linux-m68k.org>
293
37fb1dc0
AS
294 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
295 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
296 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
297 Refer to _rtld_local_ro instead of _rtld_global_ro.
298 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
299 Likewise.
300 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
301 Likewise.
302 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
303 Likewise.
304 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
305 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
306 of _rtld_global, and rtld_progname instead of _dl_argv[0].
307
b53ef01a
AS
308 * sysdeps/powerpc/powerpc32/dl-machine.c
309 (__elf_machine_runtime_setup) [PROF]: Don't reference
310 _dl_prof_resolve.
311
7a185db2
AJ
3122012-05-18 Andreas Jaeger <aj@suse.de>
313
314 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
315 function only available for GCCs before 3.4 since GCC 3.4
316 introduced a builtin.
317 (lrint): Likewise.
318 (llrintf): Likewise.
319 (llrint): Likewise.
320 (fmaxf): Likewise.
321 (fmax): Likewise.
322 (fminf): Likewise.
323 (fmin): Likewise.
324 (rint): Likewise.
325 (rintf): Likewise.
326 (nearbyint): Likewise.
327 (nearbyintf): Likewise.
328 (ceil): Likewise.
329 (ceilf): Likewise.
330 (floor): Likewise.
331 (floorf): Likewise.
332
3e5aef87
L
3332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
334
428bd707
L
335 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
336 on both fields and cast pointer to __syscall_ulong_t.
337
3e5aef87
L
338 * bits/types.h (__fsword_t): New type.
339 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
340 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
342 (__FSWORD_T_TYPE): Likewise.
343 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
344 (__FSWORD_T_TYPE): Likewise.
345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
346 (__FSWORD_T_TYPE): Likewise.
347 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
348 (__FSWORD_T_TYPE): Likewise.
349 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
350 __SWORD_TYPE with __fsword_t.
351 (statfs64): Likewise.
352
1ba7c3dc
DM
3532012-05-17 David S. Miller <davem@davemloft.net>
354
355 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
356
59910343
AJ
3572012-05-17 Andreas Jaeger <aj@suse.de>
358
359 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
360 warning.
361
2e4c1e9e
L
3622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
363
364 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
365
de7f5ce7
AJ
3662012-05-17 Andreas Jaeger <aj@suse.de>
367
368 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
369 when it is used.
370
286abc3d
CM
3712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
372
373 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
374
477cc68e
L
3752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
376
377 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
378 * sysdeps/x86_64/tst-mallocalign1.c: New file.
379
1a0994f5
CD
3802012-05-17 Andreas Jaeger <aj@suse.de>
381 Carlos O'Donell <carlos_odonell@mentor.com>
382
383 [BZ #14059]
384 * sysdeps/x86_64/multiarch/init-arch.h
385 (bit_YMM_Usable): Rename to...
386 (bit_AVX_Usable): ... this.
387 (bit_FMA4_Usable): New macro.
388 (bit_XMM_state): New macro.
389 (bit_YMM_state): New macro.
390 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
391 [__ASSEMBLER__] (index_AVX_Usable): ... this.
392 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
393 (CPUID_OSXSAVE): New macro.
394 (CPUID_AVX): New macro.
395 (CPUID_FMA4): New macro.
396 (index_YMM_Usable): Rename to...
397 (index_AVX_Usable): ... this.
398 (HAS_AVX): Use HAS_ARCH_FEATURE.
399 (HAS_FMA4): Likewise.
400 (HAS_YMM_USABLE): Remove.
401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
402 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
403 are present.
404 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
405 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
406 * sysdeps/x86_64/multiarch/Makefile: Likewise.
407 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
408 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
409
0af797de
CM
4102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
411
412 * math/libm-test.c: Support platforms without multiple rounding modes.
413 * math/bug-nextafter.c: Support platforms without FP exceptions.
414 * math/bug-nexttoward.c: Likewise.
415 * math/test-fenv.c: Likewise.
416 * math/test-misc.c: Likewise.
417 * stdlib/bug-getcontext.c: Likewise.
418
e39745ff
AJ
4192012-05-17 Andreas Jaeger <aj@suse.de>
420
421 * manual/examples/search.c (critter_cmp): Change signature to
422 avoid warnings.
423 * manual/string.texi (Collation Functions): Likewise.
424
48970aba
L
4252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
426
427 * bits/types.h: Fold copyright years.
428 * bits/typesizes.h: Likewise.
429 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
433 * time/time.h: Likewise.
434
bedee953
PP
4352012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
436
437 [BZ #208]
438 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
439 in instead of returning them. Return void.
440 (__libc_mallinfo): Accumulate over all arenas.
441 (__malloc_stats): Adjust for change in int_mallinfo interface.
442
61653dfb
RM
4432012-05-16 Roland McGrath <roland@hack.frob.com>
444
30b99d79
RM
445 [BZ #10375]
446 * configure.in (NM): Add AC_CHECK_TOOL for it.
447 (libc_extra_cflags): New substituted variable.
448 Check for -fstack-protector being used implicitly.
449 * configure: Regenerated.
450 * config.make.in (config-extra-cflags): New variable,
451 gets @libc_extra_cflags@.
452 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
453
61653dfb
RM
454 [BZ #10375]
455 * configure.in: Check for _FORTIFY_SOURCE being predefined.
456 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
457 * configure: Regenerated.
458 * config.make.in (CPPUNDEFS): New substituted variable.
459 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
460 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
461 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
462
661768bb
L
4632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
464
465 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
466 (mq_attr): Use __syscall_slong_t.
467
d4261567
L
4682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
469
470 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
471 Check __x86_64__ instead of __WORDSIZE.
472 (_STAT_VER_LINUX): Likewise.
473 (stat): Check __x86_64__ instead of __WORDSIZE. Use
474 __syscall_ulong_t and __syscall_slong_t.
475 (stat64): Likewise.
476
cf3ff365
L
4772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
478
479 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
480
76cf3e4d
L
4812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
482
483 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
484
a637753a
L
4852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
486
487 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
488 __syscall_ulong_t.
489
d5e05119
L
490 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
491 include <bits/wordsize.h>. Check __x86_64__ instead of
492 __WORDSIZE.
493 (greg_t): Use "__extension__ long long int" if __x86_64__ is
494 defined.
495 (mcontext_t): Replace "unsigned long" with "unsigned long long".
496
f62ee380
L
497 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
498 include <bits/wordsize.h>. Check __x86_64__ instead of
499 __WORDSIZE.
500 (user_regs_struct): Use "__extension__ unsigned long long"
501 instead of "unsigned long" if __x86_64__ is defined.
502 (user): Likewise. Pad after pointer field if __ILP32__ is
503 defined.
504
4e124ced
JM
5052012-05-16 Joseph Myers <joseph@codesourcery.com>
506
6a3951a0
JM
507 * configure.in (makeinfo): Require version 4.5 or later. Allow
508 versions 5 to 9.
509 * configure: Regenerated.
510 * manual/install.texi (texinfo): Increase version requirement to
511 4.5 or later.
512 * INSTALL: Regenerated.
513
4e124ced
JM
514 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
515
953ca31a
L
5162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
517
518 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
519
617aca05
L
520 * sysdeps/x86_64/x32/ffs.c: New file.
521
5762f7ae
L
522 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
523 __syscall_ulong_t.
524 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
525 defined. Use __syscall_ulong_t.
526 (shminfo): Use __syscall_ulong_t.
527 (shm_info): Likewise.
528
a26b6856
L
529 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
530 __syscall_ulong_t.
531
cb2b9ef7
L
532 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
533 <bits/wordsize.h>.
534 (msgqnum_t): Use __syscall_ulong_t.
535 (msglen_t): Likewise.
536 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
537 __syscall_ulong_t.
538
34683bb0
L
539 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
540 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
541
84a68786
L
542 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
543
48baa5f1
L
544 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
545 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
546
180be88b
L
547 * sysvipc/sys/msg.h (msgbuf): Replace long int with
548 __syscall_slong_t.
549
5e90c8ad
L
550 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
551 include <bits/wordsize.h>. Check __x86_64__ instead of
552 __WORDSIZE.
553
23dfb58b
L
554 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
555 "unsigned long long int" if __x86_64__ is defined.
556 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
557
ce5d54b0
L
558 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
559 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
560 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
561
13dc9eac
L
562 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
563 <stdint.h>.
564 (GET_PC): Cast to uintptr_t first.
565 (GET_FRAME): Likewise.
566 (GET_STACK): Likewise.
567
a7895d15
L
568 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
569 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
570 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
571 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
572 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
573 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
574 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
575 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
576 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
577 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
579 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
580 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
581 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
582 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
583 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
584 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
585 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
586 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
587 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
588 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
589 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
590 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
591 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
593 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
594 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
595 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
596 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
597
656416c9
AS
5982012-05-16 Andreas Schwab <schwab@linux-m68k.org>
599
5bd66283
AS
600 * Makerules (+depfiles): Also collect depfiles from .oS in
601 $(extra-objs).
602 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
603 .oS, $(libnldbl-routines)).
604
656416c9
AS
605 * Makerules (native-compile-mkdep-flags): Define.
606 * sunrpc/Makefile (extra-objs): Add $(addprefix
607 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
608 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
609 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
610 calling $(make-target-directory).
611
a46f2169
L
6122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
613
614 * bits/types.h (__snseconds_t): Removed.
615 * time/time.h (struct timespec): Replace __snseconds_t with
616 __syscall_slong_t.
617 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
618 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
619 Likewise.
620 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
621 (__SNSECONDS_T_TYPE): Likewise.
622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
623 (__SNSECONDS_T_TYPE): Likewise.
624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
625 (__SNSECONDS_T_TYPE): Likewise.
626
6af6528b
L
6272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
628
629 * sysdeps/mach/hurd/bits/typesizes.h
630 (__SYSCALL_SLONG_TYPE): New macro.
631 (__SYSCALL_ULONG_TYPE): Likewise.
632
de986b56
L
6332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
634
635 * bits/types.h (__syscall_slong_t): New type.
636 (__syscall_ulong_t): Likewise.
637
638 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
639 (__SYSCALL_ULONG_TYPE): Likewise.
640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
641 (__SYSCALL_SLONG_TYPE): Likewise.
642 (__SYSCALL_ULONG_TYPE): Likewise.
643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
644 (__SYSCALL_SLONG_TYPE): Likewise.
645 (__SYSCALL_ULONG_TYPE): Likewise.
646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
647 (__SYSCALL_SLONG_TYPE): Likewise.
648 (__SYSCALL_ULONG_TYPE): Likewise.
649
85736dc7
L
6502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
651
652 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
653 Add sigaltstack-offsets.sym.
654 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
655 <sigaltstack-offsets.h>.
656 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
657 longjmp_msg pointer.
658 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
659 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
660 signal stack.
661 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
662
cc03b296
JM
6632012-05-15 Joseph Myers <joseph@codesourcery.com>
664
a9538892
JM
665 * elf/stackguard-macros.h: Remove file.
666 * sysdeps/generic/stackguard-macros.h: New file.
667 * sysdeps/i386/stackguard-macros.h: Likewise.
668 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
669 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
670 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
671 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
672 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
673 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
674 * sysdeps/x86_64/stackguard-macros.h: Likewise.
675 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
676 <elf/stackguard-macros.h>.
677
cc03b296
JM
678 [BZ #14109]
679 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
680 __aligned__ in attribute.
681 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
682 (gregset_t): Likewise.
683
93171016
L
6842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
685
686 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
687 * sysdeps/x86_64/64/Implies-after: Here. New file.
688 * sysdeps/x86_64/x32/Implies-after: New file.
689
d86813a0
L
6902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
691
692 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
693 and access return value for _dl_profile_fixup. Use R10_LP to
694 load frame size.
695
2953ec75
L
6962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
697
698 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
699
3b550e9e
L
7002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
701
702 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
703 * sysdeps/x86_64/x32/sysdep.h: New file.
704
eda41706
L
7052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
706
707 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
708 * sysdeps/x86_64/setjmp.S: Likewise.
709
9ea01d93
AZ
7102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
711
712 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
714 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
715 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
716 remove unused global constant.
717
02a91938
CM
7182012-05-15 Chris Metcalf <cmetcalf@tilera.com>
719
720 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
721 include of <not-cancel.h>.
722
6540185f
RM
7232012-05-15 Roland McGrath <roland@hack.frob.com>
724
725 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
726
509072a0
AJ
7272012-05-15 Jeff Law <law@redhat.com>
728 Andreas Jaeger <aj@suse.de>
729
730 [BZ #13594]
731 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
732 out from...
733 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
734 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
735 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
736 code changing __hst_map_handle.map.
737
ba75122d
RM
7382012-05-15 Roland McGrath <roland@hack.frob.com>
739
740 * configure.in (sysnames): Look for Implies-before and Implies-after
741 files.
742 * configure: Regenerated.
743
890d8bd8
L
7442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
745
746 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
747 8-byte data alignment with LP_SIZE alignment.
748
f6ee6623
L
7492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
750
751 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
752 into R10_LP.
753
ea2626f6
L
7542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
755
756 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
757
085f715e
L
7582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
759
760 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
761 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
762 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
763 Likewise.
764 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
765
be8498fc
L
7662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
767
768 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
769 (stackinfo_sub_sp): Likewise.
770
70bc83b9
L
7712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
772
773 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
774 RAX_LP.
775
9bc0b730
L
7762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
777
778 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
779 into R*_LP.
780
6d2850e7
L
7812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
782
783 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
784 sizes into R*_LP.
785
3cb84561
L
7862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
787
788 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
789
54e2ed81
L
7902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
791
792 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
793 into R11_LP and load __x86_64_shared_cache_size_half into
794 R8_LP.
795
8a17f349
L
7962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
797
798 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
799 R8_LP.
800
777b1eea
AZ
8012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
802
803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
804 logb for POWER7.
805 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
806 logbf for POWER7.
807 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
808 logbl for POWER7.
809 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
810 powerpc32/power7/fpu/s_logb.c via #include.
811 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
812 powerpc32/power7/fpu/s_logbf.c via #include.
813 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
814 powerpc32/power7/fpu/s_logbl.c via #include.
815
d20d4ac2
JM
8162012-05-15 Joseph Myers <joseph@codesourcery.com>
817
818 * README.libm: Remove file.
819
6cdef1ab
L
8202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
821
822 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
823 count for x32. Use R*_LP and omit operand-size suffix.
824
0b254d8f
L
8252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
826
827 * shlib-versions: Move x86_64-.*-linux.* entries to ...
828 * sysdeps/x86_64/64/shlib-versions: Here. New file.
829 * sysdeps/x86_64/x32/shlib-versions: New file.
830
ceb809dc
RM
8312012-05-14 Roland McGrath <roland@hack.frob.com>
832
833 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
834 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
835 Use _dl_fatal_printf instead.
836
37f1abd4
JM
8372012-05-14 Joseph Myers <joseph@codesourcery.com>
838
839 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
840 set if not set by the user. Do not allow for being unset.
841 * sysdeps/unix/sysv/linux/configure: Regenerated.
842
11de3a33
L
8432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
844
845 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
846 the `q' suffix from lea and replace .quad with ASM_ADDR.
847
e02f153a
L
8482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
849
850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
851 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
852 instead of $17.
853 (PTR_DEMANGLE): Likewise.
854
520ae0fd
L
8552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
856
857 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
858 (LP_OP): Likewise.
859 (ASM_ADDR): Likewise.
860 (RAX_LP): Likewise.
861 (RBP_LP): Likewise.
862 (RBX_LP): Likewise.
863 (RCX_LP): Likewise.
864 (RDI_LP): Likewise.
865 (RSI_LP): Likewise.
866 (RSP_LP): Likewise.
867 (R8_LP): Likewise.
868 (R9_LP): Likewise.
869 (R10_LP): Likewise.
870 (R10_LP): Likewise.
871 (R11_LP): Likewise.
872 (R12_LP): Likewise.
873 (R13_LP): Likewise.
874 (R14_LP): Likewise.
875 (R15_LP): Likewise.
876
b985be81
L
8772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
878
879 * sysdeps/x86_64/x32/dl-machine.h: New file.
880
6a4888ff
AJ
8812012-05-14 Andreas Jaeger <aj@suse.de>
882
883 * manual/Makefile (subdir): Remove export of subdir.
884 (all): Remove target.
885 (.PHONY): Remove all from list.
886 (mkinstalldirs): Remove.
887 (.PHONY): Remove installdirs from list.
888 ($(inst_infodir)/libc.info): Use make-target-directory.
889 (installdirs): Remove.
890 (subdir_%): Remove.
891 (glibc-targets): Remove.
892 (lib): Remove.
893 (stubs): Remove.
894 ($(objpfx)stubs ../po/manual.pot): Remove.
895 ($(objpfx)stamp%): Remove.
896 (make-target-directory): Remove.
897 (subdir_install): Remove.
898 (routines): Remove.
899 (aux): Remove.
900 (sources): Remove.
901 (objects): Remove.
902 (headers): Remove.
903
904 [BZ #13750]
905 * manual/.gitignore: Remove, it's not needed anymore.
906 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
907 all files in it.
908 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
909 directory.
910 (texis): Renamed to $(objpfx)texis.
911 (texis-path): New, contains path to generated files.
912 (chapters.%): Use texis-path for complete path, add extra argument
913 libc-texinfo.sh.
914 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
915 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
916 (summary,texi, stamp-summary): Use complete path of
917 files. Generate files in build dir.
918 (dir-add.texi): Build in build dir.
919 (libm-err.texi,stamp-libm-err): Likewise.
920 (version.texi, stamp-version): Likewise.
921 (.%c.texi): Likewise.
922 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
923 (mostlyclean): Remove target.
924 (realclean): Remove target.
925 (generated): Add new variable with contents from mostlyclean and
926 realclean, remove entries duplicated in common-mostlyclean, add
927 stamp-libm-err and stamp-version.
928 (generated-dirs): Add libc directory.
929 ($(inst_infodir)/libc.info): Install files from build dir.
930
931 * manual/install.texi (Configuring and compiling): Adjust since
932 the info files are not part of the tar ball anymore.
933
7ac77294
AJ
9342012-05-14 Andreas Jaeger <aj@suse.de>
935
936 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
937 variable.
938
ffb7875d
JM
9392012-05-14 Joseph Myers <joseph@codesourcery.com>
940
941 [BZ #13717]
942 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
943 to 2.2.0 where earlier.
944 * sysdeps/unix/sysv/linux/configure: Regenerated.
945 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
946 Remove conditional code.
947 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
948 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
949 Remove conditional code.
950 [!__NR_lchown]: Likewise.
951 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
952 [__NR_lchown]: Likewise.
953 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
954 comment referencing __ASSUME_LCHOWN_SYSCALL.
955 * sysdeps/unix/sysv/linux/i386/sigaction.c
956 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
957 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
958 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
959 Remove conditional code.
960 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
961 (__protocol_available): Remove #if 0 code.
962 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
963 conditional code.
964 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
965 * sysdeps/unix/sysv/linux/kernel-features.h
966 (__ASSUME_GETCWD_SYSCALL): Don't define.
967 (__ASSUME_REALTIME_SIGNALS): Likewise.
968 (__ASSUME_PREAD_SYSCALL): Likewise.
969 (__ASSUME_PWRITE_SYSCALL): Likewise.
970 (__ASSUME_POLL_SYSCALL): Likewise.
971 (__ASSUME_LCHOWN_SYSCALL): Likewise.
972 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
973 non-SPARC.
974 (__ASSUME_SIOCGIFNAME): Don't define.
975 (__ASSUME_MSG_NOSIGNAL): Likewise.
976 (__ASSUME_SENDFILE): Define unconditionally.
977 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
978 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
979 conditional code.
980 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
981 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
982 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
983 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
984 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
985 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
986 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
988 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
989 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
991 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
994 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
995 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
997 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1000 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1001 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1003 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1004 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1006 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1009 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1010 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1011 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1012 Remove conditional code.
1013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1014 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1015 Remove conditional code.
1016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1017 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1018 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1019 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1020 Remove conditional code.
1021 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1022 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1023 Remove conditional code.
1024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1025 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1026 Remove conditional code.
1027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1028 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1029 Remove conditional code.
1030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1031 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1032 Remove conditional code.
1033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1034 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1035 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1037 * sysdeps/unix/sysv/linux/sigaction.c
1038 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1039 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1040 * sysdeps/unix/sysv/linux/sigpending.c
1041 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1042 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1043 * sysdeps/unix/sysv/linux/sigprocmask.c
1044 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1045 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1046 * sysdeps/unix/sysv/linux/sigsuspend.c
1047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1050 (__libc_missing_rt_sigs): Remove.
1051 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1052 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1053 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1054 Remove conditional code.
1055 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1056 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1057 return 1.
1058 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1059 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1060 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1061 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1062
1bfb7291
AJ
10632012-05-14 Andreas Jaeger <aj@suse.de>
1064
caae5a81
AJ
1065 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1066 it's not used in glibc.
1067 (__coshm1): Likewise.
1068 (__acosh1p): Likewise.
1069 (__sgn): Likewise.
1070
1bfb7291
AJ
1071 * manual/string.texi (Copying and Concatenation): Add missing
1072 variable in concat example.
1073 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1074
c044d724
L
10752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1076
144c5467 1077 [BZ #14103]
c044d724
L
1078 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1079 __builtin_clzl with __builtin_clzll.
1080
2523c62b
L
10812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1082
1083 [BZ #14104]
1084 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1085 libc_freeres_ptr.
1086
d7bb4c42
LD
10872012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1088
1089 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1090 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1091 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1092 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1093
9dc4e1fb
MF
10942012-05-14 Mike Frysinger <vapier@gentoo.org>
1095
1096 * NEWS: Update ia64 info.
1097
c7df0112
AS
10982012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1099
1100 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1101 used as bcopy.
1102
dc70356c
TS
11032012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1104
1105 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1106 * sysdeps/unix/syscalls.list (dup3): Likewise.
1107 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1108 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1109
9fb1a21f
L
11102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1111
1112 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1113 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1114
4822a2a5
L
11152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1116
1117 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1118 thread pointer.
1119 (TLS_IE): Use mov/add instead of movq/addq to load thread
1120 pointer.
1121 (TLS_GD_PREFIX): New.
1122 (TLS_GD): Use it.
1123
842b81d6
DM
11242012-05-11 David S. Miller <davem@davemloft.net>
1125
1126 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1127 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1128 (_FPU_SETCW): Likewise.
1129
1cf463cd
L
11302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1131
1132 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1133 is 32-byte aligned.
1134
60cc4a18
AS
11352012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1136
1137 [BZ #11837]
1138 * iconvdata/gb18030.c: Update tables.
1139 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1140 characters specially.
1141 (BODY for TO_LOOP): Add encoding of missing ranges.
1142
febb44a4
TS
11432012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1144
1145 [BZ #13673]
1146 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1147 * sysdeps/mach/hurd/dup3.c: Likewise.
1148 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1149 * sysdeps/powerpc/memmove.c:: Likewise.
1150
0a10fb9e
L
11512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1152
1153 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1154 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1155
df8a552f
L
11562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1157
1158 * elf/elf.h (R_X86_64_RELATIVE64): New.
1159 (R_X86_64_NUM): Updated.
1160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1161 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1162 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1163 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1164 tst-quad1pie tst-quad2pie
1165 (modules-names): Add tst-quadmod1 tst-quadmod2.
1166 ($(objpfx)tst-quad1): New dependency.
1167 ($(objpfx)tst-quad2): Likewise.
1168 ($(objpfx)tst-quad1pie): Likewise.
1169 ($(objpfx)tst-quad2pie): Likewise.
1170 * sysdeps/x86_64/tst-quad1.c: New file.
1171 * sysdeps/x86_64/tst-quad1pie.c: New file.
1172 * sysdeps/x86_64/tst-quad2.c: Likewise.
1173 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1174 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1175 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1176 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1177 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1178
f34d6f84
ST
11792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1180
f42d41d1
ST
1181 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1182 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1183 * streams/stropts.h (t_scalar_t): Define type.
1184
3c3571fc
ST
1185 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1186 (_PATH_PRESERVE): Set to "/var/lib".
1187 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1188
61f06bd3
ST
1189 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1190 instead of int.
1191
918d4d71
ST
1192 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1193 if __dir_mkfile succeeded.
1194
f34d6f84
ST
1195 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1196 checking for _hurd_dtablesize. Unlock it right after having
1197 finished _hurd_dtable allocation.
1198
10589b4a
TS
11992012-05-10 Thomas Schwinge <thomas@schwinge.name>
1200
674cdbc7
TS
1201 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1202 * sysdeps/mach/hurd/configure: Regenerated.
1203 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1204 special-casing to...
1205 * sysdeps/gnu/configure.in: ... this new file.
1206 * sysdeps/unix/sysv/linux/configure: Regenerated.
1207 * sysdeps/gnu/configure: New generated file.
1208
8e41b99f
TS
1209 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1210 for Linux: use nsec instead of usec, as well as:
1211 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1212 members of type struct timespec.
1213 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1214 New macros.
1215 (struct stat64): Likewise.
1216 (_STATBUF_ST_NSEC): New macro.
1217 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1218
10589b4a
TS
1219 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1220 __strtoul_internal rather than strtoul.
1221
63643c85
PT
12222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1223
1224 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1225 and reject them.
1226
3faebe6a
ST
12272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1228
1229 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1230 which preserves existing values.
1231 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1232
c6474b07
PT
12332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1234
1235 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1236 TIMEOUT values. Return EINVAL for NFDS values either negative or
1237 greater than FD_SETSIZE.
1238
1043890b
ST
12392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1240
1241 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1242 allocated, call __vm_protect to finish enabling the existing space, and
1243 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1244 allocate the remainder.
1245
37ed8b9b
PT
12462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1247
1248 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1249 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1250
db653660
ST
12512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1252
37ed8b9b
PT
1253 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1254 sysdeps/mach/hurd/readlink.c.
b29d4053 1255
db653660
ST
1256 * posix/tst-sysconf.c (posix_options): Only use
1257 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1258 _POSIX_SYNCHRONIZED_IO when they are defined
1259 * sysdeps/mach/hurd/bits/posix_opt.h:
1260 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1261 (_XOPEN_REALTIME): Undefine macro.
1262 (_XOPEN_REALTIME_THREADS): Undefine macro.
1263 (_XOPEN_SHM): Undefine macro.
1264 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1265 macro to -1.
1266 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1267 macro to -1.
1268 (_POSIX_ASYNC_IO): Undefine macro.
1269 (_POSIX_PRIORITIZED_IO): Undefine macro.
1270 (_POSIX_SPIN_LOCKS): Define macro to -1.
1271
ee16e894
ST
1272 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1273 SA_NODEFER, SA_RESETHAND.
1274 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1275 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1276 F_DUPFD_CLOEXEC.
1277
6103ae3b
TS
12782012-05-10 Thomas Schwinge <thomas@schwinge.name>
1279
1280 * elf/Makefile (pldd-modules): Define unconditionally.
1281
80b4e5f3
TS
12822012-05-10 Thomas Schwinge <thomas@schwinge.name>
1283
1284 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1285
edadcbd6
ST
12862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1287
1288 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1289 Return ENOENT when name is empty.
1290 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1291
80694780
TS
12922012-05-10 Thomas Schwinge <thomas@schwinge.name>
1293
1792c087
TS
1294 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1295
80694780
TS
1296 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1297
6b645f0d
ST
12982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1299
80694780
TS
1300 Fix mlock in all cases except non-readable pages.
1301 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1302 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1303
6b645f0d
ST
1304 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1305 (__mkdir): When path is `/', just fail with EEXIST.
1306 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1307
e468f8a3
TS
13082012-05-10 Thomas Schwinge <thomas@schwinge.name>
1309
1310 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1311 <sys/uio.h> (for writev).
1312 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1313 and <sys/param.h> (for MIN).
1314
a4186cff
PT
13152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1316
1317 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1318 REQUESTED_TIME. Properly set the remaining time and return EINTR
1319 if interrupted.
1320
510bbf14
TS
13212012-05-10 Thomas Schwinge <thomas@schwinge.name>
1322
1323 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1324 Depend on against $(link-rpcuserlibs).
1325
5d5722e8
ST
13262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1327
a4186cff
PT
1328 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1329 (__libc_stack_end): Do not use attribute_relro.
1330 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1331 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1332 to libthread-provided value.
a4186cff
PT
1333 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1334 attribute_relro.
5d5722e8 1335
37233df9
TS
13362012-05-10 Thomas Schwinge <thomas@schwinge.name>
1337
be971a2b
TS
1338 [BZ #3748]
1339 * bits/libc-lock.h (__libc_once_get): New macro.
1340 * sysdeps/mach/bits/libc-lock.h: Likewise.
1341 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1343 instead of using implementation details.
1344
37233df9
TS
1345 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1346 * libio/freopen.c: Likewise.
1347 * libio/freopen64.c: Likewise.
1348 * misc/syslog.c: Likewise.
1349 * nscd/connections.c: Likewise.
1350 * nscd/netgroupcache.c: Likewise.
1351 * sysdeps/posix/getcwd.c: Likewise.
1352
38de94a5
RM
13532012-05-10 Roland McGrath <roland@hack.frob.com>
1354
1355 * math/w_ilogbf.c: Add #include <limits.h>.
1356
67530489
ST
13572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1358
a4186cff 1359 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1360 path instead of returning without unlocking.
1361
67530489
ST
1362 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1363 immediate-write ioctls.
1364 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1365
5aa3a74a
TS
13662012-05-10 Thomas Schwinge <thomas@schwinge.name>
1367
18bad2ae
TS
1368 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1369 __builtin_frame_address instead of making assumptions about the
1370 location of the return address relative to DATA. Force early load of
1371 the return address.
1372 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1373 __builtin_frame_address.
1374
5aa3a74a
TS
1375 dup3 for GNU Hurd.
1376 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1377 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1378 implement dup3 and do some further code clean-ups.
1379 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1380 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1381
ecd0de9a
ST
13822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1383
cd9fa985
ST
1384 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1385
a4186cff
PT
1386 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1387 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1388 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1389 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1390 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1391 d->port.lock.
802ca5a5 1392
a4186cff
PT
1393 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1394 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1395 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1396
bcf55240
TS
13972012-05-10 Thomas Schwinge <thomas@schwinge.name>
1398
6960eb42
TS
1399 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1400 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1401 definitions.
1402
eb43375f
TS
1403 accept4 for GNU Hurd.
1404 * include/sys/socket.h (__libc_accept4): New prototype.
1405 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1406 to implement __libc_accept4.
1407 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1408 __libc_accept4.
1409 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1410
bcf55240
TS
1411 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1412 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1413 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1414 signal-defines.sym.
1415
6178c55b
ST
14162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1417
a4186cff 1418 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1419
6f080c2f
TS
14202012-05-10 Thomas Schwinge <thomas@schwinge.name>
1421
1422 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1423 assertion on O_CLOEXEC flag.
1424 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1425 * hurd/intern-fd.c: Likewise.
1426 * hurd/port2fd.c: Likewise.
1427
bcfe3a54
ST
14282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1429
1430 [BZ #3906]
1431 * bits/in.h (IPV6_PKTINFO): Define new macro.
1432 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1433
89c9aa49
AZ
14342012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435
1436 [BZ #13954]
1437 [BZ #13955]
1438 [BZ #13956]
1439 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1440 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1441 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1442 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1443 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1444 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1445 * math/libm-test.inc (logb_test) : Additional logb tests.
1446
021db4be
AJ
14472012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1448 Andreas Jaeger <aj@suse.de>
1449
1450 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1451 * configure: Regenerated.
1452 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1453 * config.make.in (link-obsolete-rpc): New substituted variable.
1454 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1455 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1456 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1457 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1458 so that libc.a contains the symbols.
1459 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1460 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1461 * sunrpc/auth_none.c: Likewise.
1462 * sunrpc/auth_unix.c: Likewise.
1463 * sunrpc/authdes_prot.c: Likewise.
1464 * sunrpc/authuxprot.c: Likewise.
1465 * sunrpc/clnt_gen.c: Likewise.
1466 * sunrpc/clnt_perr.c: Likewise.
1467 * sunrpc/clnt_raw.c: Likewise.
1468 * sunrpc/clnt_simp.c: Likewise.
1469 * sunrpc/clnt_tcp.c: Likewise.
1470 * sunrpc/clnt_udp.c: Likewise.
1471 * sunrpc/clnt_unix.c: Likewise.
1472 * sunrpc/des_crypt.c: Likewise.
1473 * sunrpc/des_soft.c: Likewise.
1474 * sunrpc/get_myaddr.c: Likewise.
1475 * sunrpc/key_call.c: Likewise.
1476 * sunrpc/key_prot.c: Likewise.
1477 * sunrpc/netname.c: Likewise.
1478 * sunrpc/pm_getmaps.c: Likewise.
1479 * sunrpc/pm_getport.c: Likewise.
1480 * sunrpc/pmap_clnt.c: Likewise.
1481 * sunrpc/pmap_prot.c: Likewise.
1482 * sunrpc/pmap_prot2.c: Likewise.
1483 * sunrpc/pmap_rmt.c: Likewise.
1484 * sunrpc/publickey.c: Likewise.
1485 * sunrpc/rpc_cmsg.c: Likewise.
1486 * sunrpc/rpc_common.c: Likewise.
1487 * sunrpc/rpc_dtable.c: Likewise.
1488 * sunrpc/rpc_prot.c: Likewise.
1489 * sunrpc/rpc_thread.c: Likewise.
1490 * sunrpc/rtime.c: Likewise.
1491 * sunrpc/svc.c: Likewise.
1492 * sunrpc/svc_auth.c: Likewise.
1493 * sunrpc/svc_raw.c: Likewise.
1494 * sunrpc/svc_run.c: Likewise.
1495 * sunrpc/svc_tcp.c: Likewise.
1496 * sunrpc/svc_udp.c: Likewise.
1497 * sunrpc/svc_unix.c: Likewise.
1498 * sunrpc/svcauth_des.c: Likewise.
1499 * sunrpc/xcrypt.c: Likewise.
1500 * sunrpc/xdr.c: Likewise.
1501 * sunrpc/xdr_array.c: Likewise.
1502 * sunrpc/xdr_float.c: Likewise.
1503 * sunrpc/xdr_intXX_t.c: Likewise.
1504 * sunrpc/xdr_mem.c: Likewise.
1505 * sunrpc/xdr_rec.c: Likewise.
1506 * sunrpc/xdr_ref.c: Likewise.
1507 * sunrpc/xdr_sizeof.c: Likewise.
1508 * sunrpc/xdr_stdio.c: Likewise.
1509
b5c086a2
RM
15102012-05-10 Roland McGrath <roland@hack.frob.com>
1511
1512 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1513 change. Update copyright years.
1514
6d74dd09
JM
15152012-05-10 Joseph Myers <joseph@codesourcery.com>
1516
1517 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1518
28e72501
MK
15192012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1520 Joseph Myers <joseph@codesourcery.com>
1521 Paul Pluzhnikov <ppluzhnikov@google.com>
1522
1523 [BZ #14012]
1524 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1525 requiring rpcgen.
1526 [cross-compiling] (extra-libs): Likewise.
1527 [cross-compiling] (extra-libs-others): Likewise.
1528 [cross-compiling] (librpcsvc-routines): Likewise.
1529 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1530 [cross-compiling] (omit-deps): Likewise.
1531 (sunrpc-CPPFLAGS): New variable.
1532 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1533 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1534 (cross-rpcgen-objs): New variable.
1535 (extra-objs): Append $(cross-rpcgen-objs).
1536 ($(cross-rpcgen-objs)): New rule.
1537 ($(objpfx)cross-rpcgen): Likewise.
1538 (rpcgen-cmd): Define to use $(built-program-file). Expand
1539 comment.
1540 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1541 ($(objpfx)x%.stmp): Likewise.
1542 * sunrpc/proto.h [IS_IN_build] (_): Define.
1543 [IS_IN_build] (_libc_intl_domainname): Likewise.
1544
c8c59454
L
15452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1548 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1549 and R_X86_64_TPOFF64.
1550
6f27cd16
JM
15512012-05-10 Joseph Myers <joseph@codesourcery.com>
1552
1553 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1554 sysdeps/unix/sysv/syscalls.list.
1555 (stime): Likewise.
1556 (utime): Likewise.
1557 * sysdeps/unix/sysv/syscalls.list: Remove file.
1558
02467e1c
PE
15592012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1560
1561 [BZ #3440]
1562 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1563 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1564 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1565 (__LC_IDENTIFICATION): Make these macros useful in #if
1566 expressions, as required by C99.
1567
da392631
AS
15682012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1569
1570 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1571 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1572 after this.
1573
8115f29b
L
15742012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1575
1576 * stdlib/longlong.h: Updated from GCC.
1577
bdd74070
AJ
15782012-05-09 Andreas Jaeger <aj@suse.de>
1579
edfe0dbe
AJ
1580 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1581 default is first entry.
1582 (run_mode): Set type.
1583 (main): Remove informal message about syslog.
1584 (options): Fix typo.
1585
bcfe3a54
ST
1586 [BZ #14053]
1587 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1588 to asm.
bcfe3a54
ST
1589 (lrint): Likewise.
1590 (llrintf): Likewise.
1591 (llrint): Likewise.
1592 (rint): Likewise.
1593 (rintf): Likewise.
1594 (nearbyint): Likewise.
1595 (nearbyintf): Likewise.
bdd74070 1596
91d8d69e
AJ
15972012-05-09 Andreas Jaeger <aj@suse.de>
1598 Pedro Alves <palves@redhat.com>
1599
1600 * nscd/nscd.c (run_mode): Use enum.
1601 (main): Cleanup coding style issue.
1602
bb90b80b
AJ
16032012-05-09 Alexandre Oliva <aoliva@redhat.com>
1604 Andreas Jaeger <aj@suse.de>
1605
bcfe3a54
ST
1606 * nscd/nscd.c (go_background): Replaced with...
1607 (run_mode): ... this.
bb90b80b 1608 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1609 (options): Add -F --foreground.
1610 (main): Implement it.
1611 (parse_opt): Parse it.
bb90b80b 1612
1a4b75a1
AJ
16132012-05-09 Andreas Jaeger <aj@suse.de>
1614
1615 [BZ #14083]
1616 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1617 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1618 -Wconversion warning.
1619 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1620 Likewise.
1621
b1cc2472
JM
16222012-05-09 Joseph Myers <joseph@codesourcery.com>
1623
1624 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1625 == 0.
1626 (LC_ALL): Use macro-int-constant.
1627 (LC_COLLATE): Likewise.
1628 (LC_CTYPE): Likewise.
1629 (LC_MESSAGES): Likewise.
1630 (LC_MONETARY): Likewise.
1631 (LC_NUMERIC): Likewise.
1632 (LC_TIME): Likewise.
1633 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1634 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1635 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1636 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1637 Specify type.
1638 [C99-based standards] (float_t): Expect type.
1639 [C99-based standards] (double_t): Expect type.
1640 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1641 type.
1642 [C99-based standards] (HUGE_VALL): Likewise.
1643 [C99-based standards] (INFINITY): Likewise.
1644 [C99-based standards] (NAN): Likewise.
1645 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1646 [C99-based standards] (FP_NAN): Likewise.
1647 [C99-based standards] (FP_NORMAL): Likewise.
1648 [C99-based standards] (FP_SUBNORMAL): Likewise.
1649 [C99-based standards] (FP_ZERO): Likewise.
1650 [C99-based standards] (FP_FAST_FMA): Use
1651 optional-macro-int-constant. Specify type. Require == 1.
1652 [C99-based standards] (FP_FAST_FMAF): Likewise.
1653 [C99-based standards] (FP_FAST_FMAL): Likewise.
1654 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1655 [C99-based standards] (FP_ILOGBNAN): Likewise.
1656 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1657 Specify type.
1658 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1659 [C99-based standards] (math_errhandling): Specify type.
1660 [ISO99 || ISO11] (signgam): Do not allow.
1661 [non-C99-based standards] (copysignf): Do not allow.
1662 [non-C99-based standards] (exp2f): Likewise.
1663 [non-C99-based standards] (log2f): Likewise.
1664 [non-C99-based standards] (modff): Allow.
1665 [non-C99-based standards] (erff): Do not allow.
1666 [non-C99-based standards] (erfcf): Likewise.
1667 [non-C99-based standards] (gammaf): Likewise.
1668 [non-C99-based standards] (hypotf): Likewise.
1669 [non-C99-based standards] (j0f): Likewise.
1670 [non-C99-based standards] (j1f): Likewise.
1671 [non-C99-based standards] (jnf): Likewise.
1672 [non-C99-based standards] (lgammaf): Likewise.
1673 [non-C99-based standards] (tgammaf): Likewise.
1674 [non-C99-based standards] (y0f): Likewise.
1675 [non-C99-based standards] (y1f): Likewise.
1676 [non-C99-based standards] (ynf): Likewise.
1677 [non-C99-based standards] (isnanf): Likewise.
1678 [non-C99-based standards] (acoshf): Likewise.
1679 [non-C99-based standards] (asinhf): Likewise.
1680 [non-C99-based standards] (atanhf): Likewise.
1681 [non-C99-based standards] (cbrtf): Likewise.
1682 [non-C99-based standards] (expm1f): Likewise.
1683 [non-C99-based standards] (ilogbf): Likewise.
1684 [non-C99-based standards] (log1pf): Likewise.
1685 [non-C99-based standards] (logbf): Likewise.
1686 [non-C99-based standards] (nextafterf): Likewise.
1687 [non-C99-based standards] (remainderf): Likewise.
1688 [non-C99-based standards] (rintf): Likewise.
1689 [non-C99-based standards] (scalbf): Likewise.
1690 [non-C99-based standards] (copysignl): Likewise.
1691 [non-C99-based standards] (exp2l): Likewise.
1692 [non-C99-based standards] (log2l): Likewise.
1693 [non-C99-based standards] (modfl): Allow.
1694 [non-C99-based standards] (erfl): Do not allow.
1695 [non-C99-based standards] (erfcl): Likewise.
1696 [non-C99-based standards] (gammal): Likewise.
1697 [non-C99-based standards] (hypotl): Likewise.
1698 [non-C99-based standards] (j0l): Likewise.
1699 [non-C99-based standards] (j1l): Likewise.
1700 [non-C99-based standards] (jnl): Likewise.
1701 [non-C99-based standards] (lgammal): Likewise.
1702 [non-C99-based standards] (tgammal): Likewise.
1703 [non-C99-based standards] (y0l): Likewise.
1704 [non-C99-based standards] (y1l): Likewise.
1705 [non-C99-based standards] (ynl): Likewise.
1706 [non-C99-based standards] (isnanl): Likewise.
1707 [non-C99-based standards] (acoshl): Likewise.
1708 [non-C99-based standards] (asinhl): Likewise.
1709 [non-C99-based standards] (atanhl): Likewise.
1710 [non-C99-based standards] (cbrtl): Likewise.
1711 [non-C99-based standards] (expm1l): Likewise.
1712 [non-C99-based standards] (ilogbl): Likewise.
1713 [non-C99-based standards] (log1pl): Likewise.
1714 [non-C99-based standards] (logbl): Likewise.
1715 [non-C99-based standards] (nextafterl): Likewise.
1716 [non-C99-based standards] (remainderl): Likewise.
1717 [non-C99-based standards] (rintl): Likewise.
1718 [non-C99-based standards] (scalbl): Likewise.
1719 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1720 [non-C99-based standards] (FP_*): Do not allow.
1721 [C99-based standards] (FP_*): Change to
1722 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1723 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1724 allow.
1725 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1726 (SIG_ERR): Likewise.
1727 [X/Open-based standards] (SIG_HOLD): Likewise.
1728 (SIG_IGN): Likewise.
1729 (SIGABRT): Use macro-int-constant. Specify type. Require
1730 positive value.
1731 (SIGFPE): Likewise.
1732 (SIGILL): Likewise.
1733 (SIGINT): Likewise.
1734 (SIGSEGV): Likewise.
1735 (SIGTER): Likewise.
1736 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1737 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1738 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1739 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1740 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1741 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1742 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1743 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1744 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1745 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1746 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1747 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1748 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1749 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1750 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1751 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1752 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1753 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1754 [X/Open-based standards] (SIGTRAP): Likewise.
1755 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1756 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1757 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1758 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1759 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1760 allow.
1761
b9f1922d
IW
17622012-05-08 Ian Wienand <ianw@vmware.com>
1763
1764 [BZ #14080]
1765 * time/tzset.c (__tzset_parse_tz): Update default rules for
1766 daylight time changes in the Energy Policy Act of 2005.
1767
1db86e88
AJ
17682012-05-09 Andreas Jaeger <aj@suse.de>
1769
1770 [BZ #13983]
1771 * elf/ldconfig.c (parse_conf): Change string to make clear that
1772 ldconfig only issued a warning if ld.so.conf does not exist.
1773
dee4a4e3
DM
17742012-05-08 David S. Miller <davem@davemloft.net>
1775
ee0db190
DM
1776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1777 movxtod instead of popping the value on the stack.
1778
dee4a4e3
DM
1779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1780
6a43ec98
CD
17812012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1782
1783 * config.h.in: Add HAVE_ARM_PCS_VFP.
1784
05c2c961
RMG
17852012-05-08 Roland Mc Grath <roland@hack.frob.com>
1786
bcfe3a54
ST
1787 [BZ #13979]
1788 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1789 checking but the checks are disabled for any reason.
05c2c961 1790
4b30f61a
L
17912012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1792
1793 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1794 and ELF64_R_TYPE with ELFW(R_TYPE).
1795
eee2bc67
JM
17962012-05-08 Joseph Myers <joseph@codesourcery.com>
1797
7ea5391a
JM
1798 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1799 (ulimit): Likewise.
1800
eee2bc67
JM
1801 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1802 (settimeofday): Likewise.
1803
abb66a67
MF
18042012-05-08 Mike Frysinger <vapier@gentoo.org>
1805
1806 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1807 a struct th_u2 inside the union, and move tu_block/tu_code into
1808 a new th_u3 union of tu_block/tu_code inside of that. Move
1809 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1810 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1811 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1812 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1813 (th_stuff): Change to th_u1.tu_stuff.
1814 (th_data): Define.
1815 (th_msg): Change to th_u1.th_u2.tu_data.
1816
7f18b530
DM
18172012-05-07 David S. Miller <davem@davemloft.net>
1818
05760585
DM
1819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1820
7f18b530
DM
1821 [BZ #14074]
1822 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1823 (SETUP_PIC_REG): Use it.
1824 (SETUP_PIC_REG_LEAF): Use it.
1825
495fd99f
JM
18262012-05-07 Joseph Myers <joseph@codesourcery.com>
1827
1828 [BZ #13885]
1829 [BZ #13923]
1830 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1831 USE_AS_EXPM1L.
1832 (EXPL_FINITE): Likewise.
1833 (FLDLOG): Likewise.
1834 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1835 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1836 e_expl.S.
1837 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1838 USE_AS_EXPM1L.
1839 (EXPL_FINITE): Likewise.
1840 (FLDLOG): Likewise.
1841 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1842 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1843 e_expl.S.
1844 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1845 test of -max_value argument for long double.
1846 * sysdeps/i386/fpu/libm-test-ulps: Update.
1847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1848
6693d694
DM
18492012-05-06 David S. Miller <davem@davemloft.net>
1850
1851 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1852 quad soft-float symbols whose references which are compiler
1853 generated.
1854 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1855
6c23e11c
JM
18562012-05-06 Joseph Myers <joseph@codesourcery.com>
1857
d8b82cad
JM
1858 [BZ #13884]
1859 [BZ #13914]
1860 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1861 USE_AS_EXP10L.
1862 (EXPL_FINITE): Likewise.
1863 (FLDLOG): Likewise.
1864 (c0): Likewise.
1865 (c1): Likewise.
1866 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1867 Adjust comments for base varying.
1868 (__expl_finite): Change alias to EXPL_FINITE.
1869 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1870 e_expl.S.
1871 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1872 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1874 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1875 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1885 tests for bugs.
1886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1887
6c23e11c
JM
1888 [BZ #14064]
1889 * math/libm-test.inc (check_float_internal): Correct ulp
1890 calculation for subnormal expected results.
1891
29ba805c
AJ
18922012-05-06 Andreas Jaeger <aj@suse.de>
1893
1894 * Makeconfig (+math-flags): New, set to -frounding-math.
1895 (+cflags): Add +math-flags so that all of glibc gets compiled with
1896 it.
1897
1898 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1899
7b17aeda
JM
19002012-05-05 Joseph Myers <joseph@codesourcery.com>
1901
5779f134
JM
1902 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1903 Disable one test.
1904
41498f4d
JM
1905 [BZ #13787]
1906 [BZ #13922]
1907 [BZ #14036]
1908 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1909 (__ieee754_expl): Allow for and saturate large arguments.
1910 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1911 (u_threshold): Likewise.
1912 (__exp): Call __ieee754_exp before checking for overflow and
1913 underflow.
1914 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1915 (u_threshold): Likewise.
1916 (__expf): Call __ieee754_expf before checking for overflow and
1917 underflow.
1918 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1919 (u_threshold): Likewise.
1920 (__expl): Call __ieee754_expl before checking for overflow and
1921 underflow.
1922 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1923 (__ieee754_expl): Allow for and saturate large arguments.
1924 * math/libm-test.inc (exp_test): Add another test. Do not allow
1925 missing overflow exception on overflow.
1926 (expm1_test): Do not allow missing overflow exception on overflow.
1927
6698b8bf
JM
1928 * sysdeps/i386/fpu/e_expl.c: Move to ...
1929 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1930 rather than using inline asm.
1931 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1932 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1933 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1934
7b17aeda
JM
1935 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1936 (nice): Likewise.
1937 (poll): Likewise.
1938 (signal): Likewise.
1939 (time): Likewise.
1940 (times): Likewise.
1941
f7c85819
JM
19422012-05-04 Joseph Myers <joseph@codesourcery.com>
1943
1944 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1945 sysdeps/unix/common/syscalls.list.
1946 (fchmod): Likewise.
1947 (fchown): Likewise.
1948 (ftruncate): Likewise.
1949 (getrusage): Likewise.
1950 (gettimeofday): Likewise.
1951 (setpgid): Likewise.
1952 (setregid): Likewise.
1953 (setreuid): Likewise.
1954 (sigaction): Likewise.
1955 (truncate): Likewise.
1956 (vhangup): Likewise.
1957 * sysdeps/unix/common/syscalls.list: Remove file.
1958 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1959 * sysdeps/unix/sysv/linux/Implies: Likewise.
1960
336270d0
L
19612012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1962
1963 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1965 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1966 Moved to ...
1967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1968 Here.
1969 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1970 to ...
1971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1972 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1973 to ...
1974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1975 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1976 to ...
1977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1978 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1979 to ...
1980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1981 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1982 to ...
1983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1984 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1985 to ...
1986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1987 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1988 to ...
1989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1990 Here.
1991 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1992 to ...
1993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1994 Here.
1995 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1996 to ...
1997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1998 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1999 Moved to ...
2000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2001 Here.
2002 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2003 to ...
2004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2005
d128e450
JM
20062012-05-04 Joseph Myers <joseph@codesourcery.com>
2007
fa8ee516
JM
2008 * sysdeps/unix/common/bits/dirent.h: Remove file.
2009 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2010
d128e450
JM
2011 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2012 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2013 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2014 * sysdeps/unix/bsd/isatty.c: Likewise.
2015 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2016 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2017 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2018
ff8faaf0 20192012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2020
62881be4 2021 [BZ #13563]
31dc8730
AZ
2022 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2023 long double comparison inaccuracies.
2024 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2026
6fef930c
AS
20272012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2028
2029 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2030 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2031
8f203e6c
JM
20322012-05-04 Joseph Myers <joseph@codesourcery.com>
2033
2034 [BZ #14049]
2035 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2036 nonzero digits before rounding a hex value.
2037 * stdlib/tst-strtod.c (tests): Add another test.
2038
5197d9c2
AK
20392012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2040
2041 * sysdeps/s390/fpu/libm-test-ulps: Update.
2042
f0c1dedf
AJ
20432012-05-03 Andreas Jaeger <aj@suse.de>
2044
2045 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2046 does not get optimized out.
2047 (malloc_opt_barrier): New.
2048
a65ef2ae 20492012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 2050 Roland McGrath <roland@hack.frob.com>
a65ef2ae 2051
2b942cb7 2052 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 2053 intermediate file deletion.
2b942cb7 2054 (generated): Add .symlist files.
a65ef2ae 2055
54b71e02
JM
20562012-05-03 Joseph Myers <joseph@codesourcery.com>
2057
2058 [BZ #13775]
2059 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2060 Redirect under this condition.
2061 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2062 [__USE_GNU] (__dprintf_chk): Not under this condition.
2063 [__USE_GNU] (__vdprintf_chk): Likewise.
2064 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2065 under this condition.
2066 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2067 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2068 [__USE_XOPEN2K8] (vdprintf): Likewise.
2069 [__USE_GNU] (__dprintf_chk): Not under this condition.
2070 [__USE_GNU] (__vdprintf_chk): Likewise.
2071 [__USE_GNU] (dprintf): Likewise.
2072 [__USE_GNU] (vdprintf): Likewise.
2073
d3dfcc41
RM
20742012-05-03 Roland McGrath <roland@hack.frob.com>
2075
2076 * elf/Makefile (common-generated): Set this instead of generated for
2077 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2078 $(all-built-dso)-derived lists.
2079
7ac30cc5
AJ
20802012-05-03 Andreas Jaeger <aj@suse.de>
2081
0c51e550
AJ
2082 * sysdeps/i386/fpu/libm-test-ulps: Update.
2083
7ac30cc5
AJ
2084 * FAQ: Removed.
2085 * FAQ.in: Likewise.
2086 * scripts/gen-FAQ.pl: Likewise.
2087 * manual/install.texi (Installation): Point to online location of
2088 FAQ.
2089 * Makefile (files-for-dist): Remove FAQ.
2090 (FAQ): Remove.
2091
d4c2917f
AM
20922012-05-02 Allan McRae <allan@archlinux.org>
2093
2094 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2095 (LDFLAGS-reldepmod5.so): Likewise.
2096 (LDFLAGS-reldep6mod1.so): Likewise.
2097 (LDFLAGS-reldep6mod4.so): Likewise.
2098 (LDFLAGS-reldep8mod3.so): Likewise.
2099 (LDFLAGS-unload4mod1.so): Likewise.
2100 (LDFLAGS-unload4mod2.so): Likewise.
2101 (LDFLAGS-tst-initorder): Likewise.
2102 (LDFLAGS-tst-initordera2.so): Likewise.
2103 (LDFLAGS-tst-initordera3.so): Likewise.
2104 (LDFLAGS-tst-initordera4.so): Likewise.
2105 (LDFLAGS-tst-initorderb2.so): Likewise.
2106 (LDFLAGS-noload): Likewise.
2107 (LDFLAGS-next): Likewise.
2108 (LDFLAGS-order2mod1.so): Likewise.
2109 (LDFLAGS-order2mod2.so): Likewise.
2110 (LDFLAGS-tst-initorder2): Likewise.
2111 (LDFLAGS-tst-initorder2a.so): Likewise.
2112 (LDFLAGS-tst-initorder2b.so): Likewise.
2113 (LDFLAGS-tst-initorder2c.so): Likewise.
2114 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2115
d77f993f
DM
21162012-05-02 David S. Miller <davem@davemloft.net>
2117
2118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2119
171a70b4
PP
21202012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2121
2122 [BZ #14055]
2123 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2124
0be196ad
AJ
21252012-05-02 Andreas Jaeger <aj@suse.de>
2126
2127 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2128 since we manipulate rounding mode.
2129 (CPPFLAGS-test-idouble.c): Likewise.
2130 (CPPFLAGS-test-ifloat.c): Likewise.
2131 (CFLAGS-test-ldouble.c): Likewise.
2132 (CFLAGS-test-double.c): Likewise.
2133 (CFLAGS-test-float.c): Likewise.
2134 (CFLAGS-test-misc.c): Likewise.
2135 (CFLAGS-test-test-fenv.c): Likewise.
2136
4f9d04aa
AZ
21372012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2138
2b942cb7
RM
2139 [BZ #2550]
2140 [BZ #2570]
2141 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2142 comparisons to determine direction to adjust input.
4f9d04aa 2143
82a79e7d
RM
21442012-05-01 Roland McGrath <roland@hack.frob.com>
2145
f5a01ca9
RM
2146 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2147 output to the target.
2148
90fe4186
RM
2149 * scripts/localplt.awk: New file.
2150 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2151 (check-localplt-CFLAGS): Variable removed.
2152 ($(all-built-dso:=.jmprel)): New static pattern rule.
2153 (generated): Add those targets.
2154 (localplt-built-dso): New variable.
2155 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2156
2157 * elf/check-localplt.c: File removed.
2158
82397ed6
RM
2159 * scripts/check-execstack.awk: New file.
2160 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2161 (check-execstack-CFLAGS): Variable removed.
2162 ($(objpfx)check-execstack.h): Target removed.
2163 ($(objpfx)execstack-default): New target.
2164 (generated): Add that instead of check-execstack.h.
2165 ($(all-built-dso:=.phdr)): New static pattern rule.
2166 (generated): Add those targets.
2167 * elf/check-execstack.c: File removed.
2168
82a79e7d
RM
2169 * scripts/check-textrel.awk: New file.
2170 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2171 (check-textrel-CFLAGS): Variable removed.
2172 (all-built-dso): Use := to define.o
2173 ($(all-built-dso:=.dyn)): New static pattern rule.
2174 (generated): Add those targets.
2175 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2176 * config.make.in (READELF): New substituted variable.
2177 * elf/check-textrel.c: File removed.
2178
62fde54f 21792012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2180
615605c9
JM
2181 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2182 allow.
2183 * conform/data/ctype.h-data [C99-based standards] (isblank):
2184 Expect function.
2185 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2186 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2187 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2188 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2189 Specify type. Require positive value.
2190 (EILSEQ): Likewise.
2191 (ERANGE): Likewise.
2192 [ISO || POSIX] (EILSEQ): Do not expect.
2193 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2194 Specify type. Require positive value.
2195 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2196 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2197 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2198 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2199 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2200 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2201 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2202 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2203 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2204 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2205 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2206 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2207 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2208 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2209 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2210 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2211 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2212 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2213 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2214 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2215 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2216 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2217 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2218 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2219 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2220 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2221 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2222 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2223 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2224 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2225 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2226 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2227 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2228 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2229 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2230 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2231 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2232 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2233 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2234 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2235 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2236 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2237 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2238 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2239 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2240 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2241 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2242 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2243 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2244 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2245 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2246 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2247 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2248 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2249 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2250 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2251 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2252 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2253 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2254 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2255 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2256 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2257 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2258 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2259 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2260 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2261 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2262 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2263 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2264 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2265 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2266 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2267 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2268 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2269 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2270 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2271 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2272 Require >= 2.
2273 (FLT_ROUNDS): Expect as macro, not constant.
2274 (FLT_MANT_DIG): Use macro-int-constant.
2275 (DBL_MANT_DIG): Likewise.
2276 (LDBL_MANT_DIG): Likewise.
2277 (FLT_DIG): Likewise.
2278 (DBL_DIG): Likewise.
2279 (LDBL_DIG): Likewise.
2280 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2281 (DBL_MIN_EXP): Likewise.
2282 (LDBL_MIN_EXP): Likewise.
2283 (FLT_MAX_EXP): Use macro-int-constant.
2284 (DBL_MAX_EXP): Likewise.
2285 (LDBL_MAX_EXP): Likewise.
2286 (FLT_MAX_10_EXP): Likewise.
2287 (DBL_MAX_10_EXP): Likewise.
2288 (LDBL_MAX_10_EXP): Likewise.
2289 (FLT_MAX): Use macro-constant.
2290 (DBL_MAX): Likewise.
2291 (LDBL_MAX): Likewise.
2292 (FLT_EPSILON): Use macro-constant. Give upper bound.
2293 (DBL_EPSILON): Likewise.
2294 (LDBL_EPSILON): Likewise.
2295 (FLT_MIN): Likewise.
2296 (DBL_MIN): Likewise.
2297 (LDBL_MIN): Likewise.
2298 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2299 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2300 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2301 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2302 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2303 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2304 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2305 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2306 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2307 [ISO11] (FLT_TRUE_MIN): Likewise.
2308 [ISO11] (LDBL_TRUE_MIN): Likewise.
2309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2310 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2311 (SCHAR_MIN): Use macro-int-constant. Specify type.
2312 (SCHAR_MAX): Likewise.
2313 (UCHAR_MAX): Likewise.
2314 (CHAR_MIN): Likewise.
2315 (CHAR_MAX): Likewise.
2316 (MB_LEN_MAX): Use macro-int-constant.
2317 (SHRT_MIN): Use macro-int-constant. Specify type.
2318 (SHRT_MAX): Likewise.
2319 (USHRT_MAX): Likewise.
2320 (INT_MAX): Likewise.
2321 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2322 bound negative.
2323 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2324 bound with "U".
2325 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2326 bound with "L".
2327 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2328 bound negative. Suffix upper bound with "L".
2329 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2330 bound with "UL".
2331 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2332 Specify type.
2333 [C99-based standards] (LLONG_MAX): Likewise.
2334 [C99-based standards] (ULLONG_MAX): Likewise.
2335 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2336 == 0.
2337 [ISO11] (max_align_t): Require type.
2338 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2339
c9140a62
JM
2340 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2341 from $CFLAGS, without defining away __attribute__ calls.
2342 (checknamespace): Use $CFLAGS_namespace.
2343
9af0bf29
JM
2344 * conform/conformtest.pl (@keywords): Only include C99 keywords
2345 for standards based on C99 or C11.
2346
343222a2
JM
2347 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2348 Disable tests.
2349 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2350 UNIX98]: Likewise.
2351
661f8cf0
JM
2352 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2353 usability of symbols in #if.
2354
ee74b9cb
JM
2355 * conform/conformtest.pl: If macro or constant types start
2356 "promoted:", expect the symbol to be of the following type
2357 promoted by the integer promotions.
62fde54f 2358
aafc49b3
JM
2359 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2360 in one place. Also handle "macro-constant".
2361
fefdf574
JM
2362 * conform/conformtest.pl: Only accept expected macro values with
2363 "==". Parse all "macro" lines in one place.
2364 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2365
f2d922fe
JM
2366 * conform/conformtest.pl: Handle braced types on "constant" lines
2367 instead of handling "typed-constant".
2368 * conform/data/signal.h-data: Use "constant" instead of
2369 "typed-constant".
2370
d22956c9
JM
2371 * conform/conformtest.pl: Handle "optional-" at start of lines in
2372 one place rather than duplicating several cases. Handle each
2373 format of "macro" line with initial "optional-".
2374
028e2e38
JM
2375 * conform/conformtest.pl: Only accept expected constant or
2376 optional-constant values with "==". Parse all "constant" lines in
2377 one place. Parse all "optional-constant" lines in one place.
2378 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2379 * conform/data/fmtmsg.h-data: Likewise.
2380 * conform/data/netinet/in.h-data: Likewise.
2381 * conform/data/tar.h-data: Likewise.
2382 * conform/data/limits.h-data: Use "==" form on "constant" and
2383 "optional-constant" lines.
2384
1b8f2850
JM
2385 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2386 Use -std=c99 for XOPEN2K.
2387 (@knownproblems): Remove.
2388 (newtoken): Don't check %isknown.
2389
a05a144b
JM
2390 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2391 Do not expect macro.
2392 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2393 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2394 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2396 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2397 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2398 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2399 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2400 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2401 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2402 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2403 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2404 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2405 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2406 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2407 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2408 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2419 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2420 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2422 [XPG3] (acosh): Likewise.
2423 [XPG3] (asinh): Likewise.
2424 [XPG3] (atanh): Likewise.
2425 [XPG3] (cbrt): Likewise.
2426 [XPG3] (expm1): Likewise.
2427 [XPG3] (ilogb): Likewise.
2428 [XPG3] (log1p): Likewise.
2429 [XPG3] (logb): Likewise.
2430 [XPG3] (nextafter): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2433 [XPG3] (remainder): Likewise.
2434 [XPG3] (rint): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2437 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2438 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2439 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2440 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2441 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2442 [UNIX98 || XOPEN2K] (scalb): Expect.
2443 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2444 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2445 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2446 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2447 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2448 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2453 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2457 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2461 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2462 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2463 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2469 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2470 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2471 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2473 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2474 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2475 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2476 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2477 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2478 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2479 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2480 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2482 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2483 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2487 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2490 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2491 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2492 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2493 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2494 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2495 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2496 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2497 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2498 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2499 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2500 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2501 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2502 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2503 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2504 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2505 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2506 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2507 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2508 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2509 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2510 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2511 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2512 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2513 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2514 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2515 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2516 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2517 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2518 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2519 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2520 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2521 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2522 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2523 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2524 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2525 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2526 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2527 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2528 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2529 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2530 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2531 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2532 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2533 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2534 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2535 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2536 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2537 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2538 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2539 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2540 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2541 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2542 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2543 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2544 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2545 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2546 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2547 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2548 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2549 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2550 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2551 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2552 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2553 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2554 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2555 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2556 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2557 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2558 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2559 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2560 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2561 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2562 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2563 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2564 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2565 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2566 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2567 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2568 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2569 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2570 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2571 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2572 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2575 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2576 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2577 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2578 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2579 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2580
73c5ebe3
JM
2581 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2582 _XOPEN_SOURCE_EXTENDED for XPG4.
2583
39c33b6c
JM
2584 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2585
62fde54f
JM
2586 * Makeconfig (localtime): Remove variable.
2587 (inst_localtime-file): Likewise.
2588
0741d64c
AS
25892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2590
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2592 Update.
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2594 Update.
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2596 Update.
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2598 Update.
2599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2600 Update.
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2602 Update.
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2604 Update.
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2606 Update.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2608 Update.
2609
7cb029ee
JM
26102012-05-01 Joseph Myers <joseph@codesourcery.com>
2611
2612 [BZ #2550]
2613 [BZ #2570]
2614 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2615 comparisons to determine direction to adjust input.
2616 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2617 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2618 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2619 Likewise.
2620 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2621 Likewise.
2622 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2623 Likewise.
2624 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2625 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2626 Likewise.
2627 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2628 Likewise.
2629 * math/libm-test.inc (nexttoward_test): Add more tests.
2630
412bd966
AS
26312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2632
2633 [BZ #14040]
2634 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2635 in version GLIBC_2.1, not GLIBC_2.0.
2636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2637 Likewise.
2638
9568c0c2
JM
26392012-04-30 Joseph Myers <joseph@codesourcery.com>
2640
adfbc8ac
JM
2641 [BZ #13942]
2642 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2643 (1 - x) * (1 + x).
2644 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2645 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2646 * math/libm-test.inc (acos_test): Add more tests.
2647 (asin_test): Likewise.
2648 * sysdeps/i386/fpu/libm-test-ulps: Update.
2649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2650
5ba3cc69
JM
2651 [BZ #14034]
2652 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2653 of square root.
2654 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2655 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2656 * math/libm-test.inc (acos_test_tonearest): New function.
2657 (acos_test_towardzero): Likewise.
2658 (acos_test_downward): Likewise.
2659 (acos_test_upward): Likewise.
2660 (asin_test_tonearest): Likewise.
2661 (asin_test_towardzero): Likewise.
2662 (asin_test_downward): Likewise.
2663 (asin_test_upward): Likewise.
2664 (main): Call the new functions.
2665 * sysdeps/i386/fpu/libm-test-ulps: Update.
2666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2667
9568c0c2
JM
2668 [BZ #13884]
2669 [BZ #13924]
2670 * math/e_exp10.c: Include <float.h>.
2671 (__ieee754_exp10): Handle underflow here rather than multiplying
2672 large negative argument by M_LN10.
2673 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2674 of __ieee754_expf.
2675 * math/e_exp10l.c: Include <float.h>.
2676 (__ieee754_exp10l): Handle underflow here rather than multiplying
2677 large negative argument by M_LN10l.
2678 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2679 spurious overflow exception on underflow.
2680
5ac3ea17
MP
26812012-04-29 Marek Polacek <polacek@redhat.com>
2682
2683 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2684 (__fortify_function): New macro.
2685 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2686 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2687 __extern_always_inline.
2688 * libio/bits/stdio2.h: Likewise.
2689 * libio/bits/stdio.h: Likewise.
2690 * string/string.h: Likewise.
2691 * string/bits/string3.h: Likewise.
2692 * include/stdio.h: Likewise.
2693 * stdlib/bits/stdlib.h: Likewise.
2694 * stdlib/stdlib.h: Likewise.
2695 * rt/bits/mqueue2.h: Likewise.
2696 * rt/mqueue.h: Likewise.
2697 * posix/bits/unistd.h: Likewise.
2698 * posix/unistd.h: Likewise.
2699 * io/bits/poll2.h: Likewise.
2700 * io/bits/fcntl2.h: Likewise.
2701 * io/fcntl.h: Likewise.
2702 * io/sys/poll.h: Likewise.
2703 * misc/bits/syslog.h: Likewise.
2704 * misc/bits/syslog-ldbl.h: Likewise.
2705 * misc/sys/syslog.h: Likewise.
2706 * socket/bits/socket2.h: Likewise.
2707 * socket/sys/socket.h: Likewise.
2708 * debug/tst-chk1.c: Likewise.
2709 * wcsmbs/bits/wchar2.h: Likewise.
2710 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2711 * wcsmbs/wchar.h: Likewise.
2712
ecf0ebfb
AJ
27132012-04-29 Andreas Jaeger <aj@suse.de>
2714
2715 * Makerules (tests): Remove enable-check-abi protection.
2716 (check-abi-warn): Remove.
2717 (check-abi-%): Remove check-abi-warn usage.
2718
2719 * configure.in: Remove check-abi configure option.
2720 * configure: Regenerated.
2721 * config.make.in (enable-check-abi): Remove.
2722
6d5c57fa
AS
27232012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2724
24c5d07e 2725 [BZ #14033]
ded5180a
AS
2726 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2727 double functions to double *_finite functions.
2728
7e0d315d
AS
2729 [BZ #13941]
2730 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2731 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2732 LDBL_MIN_EXP.
2733 * stdio-common/Makefile (tests): Add tst-sprintf3.
2734 * stdio-common/tst-sprintf3.c: New file.
2735
6d5c57fa
AS
2736 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2737 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2738
0749ff8b
JM
27392012-04-28 Joseph Myers <joseph@codesourcery.com>
2740
2741 * conform/conformtest.pl: Remove duplicate typed-constant
2742 handling.
2743
8dbd5d7b
DM
27442012-04-28 David S. Miller <davem@davemloft.net>
2745
2746 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2747 (check-abi-%): Remove AWK script prerequisite and explicit
2748 abilist directory.
2749 (check-abi): Rewrite to just diff the symlist with the abilist.
2750 (config-tls, config-abi-config): Delete, no longer used.
2751 (update-abi-%): Remove AWK script and explicit abilist directory.
2752 (update-abi): Rewrite to simply compare and conditionally copy the
2753 symlist and the sysdep abilist file. Remove update-abi-config
2754 checks.
2755 * abilist/ld.abilist: Remove.
2756 * abilist/libBrokenLocale.abilist: Remove.
2757 * abilist/libanl.abilist: Remove.
2758 * abilist/libcrypt.abilist: Remove.
2759 * abilist/libdl.abilist: Remove.
2760 * abilist/librt.abilist: Remove.
2761 * abilist/libthread_db.abilist: Remove.
2762 * abilist/libutil.abilist: Remove.
2763 * scripts/extract-abilist.awk: Remove.
2764 * scripts/merge-abilist.awk: Remove.
2765 * sysdeps/generic/libcidn.abilist: New file.
2766 * sysdeps/generic/libnss_compat.abilist: New file.
2767 * sysdeps/generic/libnss_db.abilist: New file.
2768 * sysdeps/generic/libnss_dns.abilist: New file.
2769 * sysdeps/generic/libnss_files.abilist: New file.
2770 * sysdeps/generic/libnss_hesiod.abilist: New file.
2771 * sysdeps/generic/libnss_nis.abilist: New file.
2772 * sysdeps/generic/libnss_nisplus.abilist: New file.
2773 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2774 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2775 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2776 file.
2777 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2778 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2779 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2780 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2781 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2782 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2783 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2784 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2785 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2786 file.
2787 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2788 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2789 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2790 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2791 file.
2792 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2793 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2794 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2795 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2796 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2797 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2798 file.
2799 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2800 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2801 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2802 file.
2803 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2805 New file.
2806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2807 New file.
2808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2809 New file.
2810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2811 New file.
2812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2813 New file.
2814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2815 New file.
2816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2817 New file.
2818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2819 New file.
2820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2821 New file.
2822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2823 New file.
2824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2825 New file.
2826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2827 New file.
2828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2829 New file.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2831 file.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2833 New file.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2835 New file.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2837 file.
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2839 New file.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2841 New file.
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2843 file.
2844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2845 New file.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2847 New file.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2849 New file.
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2851 New file.
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2853 New file.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2855 New file.
2856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2858 file.
2859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2860 New file.
2861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2862 file.
2863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2864 file.
2865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2866 file.
2867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2868 file.
2869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2870 file.
2871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2872 New file.
2873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2874 file.
2875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2876 file.
2877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2878 New file.
2879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2880 file.
2881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2883 file.
2884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2885 New file.
2886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2887 file.
2888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2889 file.
2890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2891 file.
2892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2893 file.
2894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2895 file.
2896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2897 New file.
2898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2899 file.
2900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2901 file.
2902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2903 New file.
2904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2905 file.
2906 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2907 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2908 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2909 file.
2910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2911 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2912 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2913 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2914 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2915 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2916 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2917 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2918 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2919 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2922 file.
2923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2924 New file.
2925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2926 file.
2927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2928 file.
2929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2930 file.
2931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2932 file.
2933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2934 file.
2935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2936 New file.
2937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2938 New file.
2939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2940 file.
2941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2942 New file.
2943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2944 file.
2945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2947 file.
2948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2949 New file.
2950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2951 file.
2952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2953 file.
2954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2955 file.
2956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2957 file.
2958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2959 file.
2960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2961 New file.
2962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2963 New file.
2964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2965 file.
2966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2967 New file.
2968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2969 file.
2970
41d73a1b
JM
29712012-04-28 Joseph Myers <joseph@codesourcery.com>
2972
2973 * conform/conformtest.pl: Fix typo in handling typed-constant from
2974 allow-header.
2975
28aeeda4
JM
29762012-04-27 Joseph Myers <joseph@codesourcery.com>
2977
adae8f5e
JM
2978 * README: Cut down references to pre-2.6 Linux kernels and
2979 Linuxthreads. Update lists of configurations in libc and ports
2980 and sort alphabetically. Say "or newer" with Linux kernel version
2981 requirements.
2982
28aeeda4
JM
2983 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2984
a462cb63
RA
29852012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2986
2987 [BZ #887]
2988 * math/libm-test.inc (logb_test_downward): New test to expose
2989 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2990 rounding mode.
2991
6ad3493e
JM
29922012-04-27 Joseph Myers <joseph@codesourcery.com>
2993
2994 [BZ #14027]
2995 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2996 to be done.
2997 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2998 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2999
2ce4f015
JM
30002012-04-26 Joseph Myers <joseph@codesourcery.com>
3001
5aeb141a
JM
3002 * sysdeps/unix/i386/brk.S: Remove file.
3003 * sysdeps/unix/i386/dl-brk.S: Likewise.
3004 * sysdeps/unix/i386/pipe.S: Likewise.
3005 * sysdeps/unix/i386/sigreturn.S: Likewise.
3006 * sysdeps/unix/i386/syscall.S: Likewise.
3007 * sysdeps/unix/i386/vfork.S: Likewise.
3008 * sysdeps/unix/i386/wait.S: Likewise.
3009
7143acae
JM
3010 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3011 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3012
2ce4f015
JM
3013 * configure.in (arm*-none*): Do not allow without
3014 --enable-hacker-mode.
3015 (netbsd*): Remove case setting base_os.
3016 (386bsd*): Likewise.
3017 (freebsd*): Likewise.
3018 (bsdi*): Likewise.
3019 (osf*): Likewise.
3020 (sunos*): Likewise.
3021 (ultrix*): Likewise.
3022 (newsos*): Likewise.
3023 (dynix*): Likewise.
3024 (*bsd*): Likewise.
3025 (sysv*): Likewise.
3026 (isc*): Likewise.
3027 (esix*): Likewise.
3028 (sco*): Likewise.
3029 (minix*): Likewise.
3030 (irix4*): Likewise.
3031 (irix6*): Likewise.
3032 (solaris[2-9]*): Likewise.
3033 (none): Likewise.
3034 * configure: Regenerated.
3035
0ac229c8
AZ
30362012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3037
3038 [BZ #11521]
3039 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3040 overflow or cancellation in calculating denominator.
3041 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3042 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3043 down expression to avoid unexpected rounding in newer GCCs.
3044 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3045
33f244f4
DM
30462012-04-26 David S. Miller <davem@davemloft.net>
3047
3048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3049 long-double compat symbols.
3050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3063
cfa1f3e8
DM
30642012-04-25 David S. Miller <davem@davemloft.net>
3065
3066 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3067 HWCAP_* values only after the memory barriers have been defined.
3068 (atomic_full_barrier): Define.
3069 (atomic_read_barrier): Define.
3070 (atomic_write_barrier): Define.
3071
6e236b92
SP
30722012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3073
3074 * shlib-versions: Add libgcc_s version information.
3075 * sysdeps/generic/libgcc_s.h: Remove.
3076 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3077 libgcc_s.h.
3078 * sysdeps/gnu/unwind-resume.c: Likewise.
3079 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3080
aab39a09
DM
30812012-04-25 David S. Miller <davem@davemloft.net>
3082
3083 * sysdeps/unix/sparc/brk.S: Delete.
3084 * sysdeps/unix/sparc/dl-brk.S: Delete.
3085 * sysdeps/unix/sparc/pipe.S: Delete.
3086 * sysdeps/unix/sparc/sysdep.S: Delete.
3087 * sysdeps/unix/sparc/sysdep.h: Delete.
3088 * sysdeps/unix/sparc/vfork.S: Delete.
3089 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3090 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3091 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3092 ret_ERRVAL, r0, r1, MOVE): Define.
3093 (JUMPTARGET): Remove.
3094 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3095 sysdeps/unix/sparc/sysdep.h
3096 (ENTRY, END): Remove.
3097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3098
a3cc4f48
JM
30992012-04-25 Joseph Myers <joseph@codesourcery.com>
3100
2ed8cda2
JM
3101 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3102 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3103 -DIS_IN_build.
3104
35d76d59
JM
3105 * timezone/README: Update upstream location and email address for
3106 tzcode and tzdata.
3107 * timezone/zdump.c: Update from tzcode 2012b.
3108 * timezone/zic.c: Likewise.
3109
a3cc4f48
JM
3110 * configure.in (libc_cv_as_needed): Remove test.
3111 * configure: Regenerated.
3112 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3113 conditional definition.
3114 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3115 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3116 * config.make.in (have-as-needed): Remove variable.
3117
ceab42c3
SP
31182012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3119 Paul Pluzhnikov <ppluzhnikov@google.com>
3120
3121 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3122 strings correctly.
3123
3ce2865f
CLT
31242012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3125
3126 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3127 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3128 * sysdeps/sh/strlen.S: Likewise.
3129
f37e0d68
JM
31302012-04-24 Joseph Myers <joseph@codesourcery.com>
3131
ae186e9a
JM
3132 * sysdeps/unix/fork.S: Remove file.
3133 * sysdeps/unix/i386/fork.S: Likewise.
3134 * sysdeps/unix/sparc/fork.S: Likewise.
3135
b96914af
JM
3136 * sysdeps/unix/system.c: Remove file.
3137 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3138
f37e0d68
JM
3139 * sysdeps/unix/getegid.S: Remove file.
3140 * sysdeps/unix/geteuid.S: Likewise.
3141
87ef29ca
RM
31422012-04-24 Roland McGrath <roland@hack.frob.com>
3143
83bcd236
RM
3144 * scripts/check-localplt.awk: New file.
3145 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3146 of diff.
3147 * scripts/data/localplt-generic.data: Add a comment.
3148
87ef29ca
RM
3149 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3150 NODE when __dir_mkfile failed.
3151 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3152 Reported by Ludovic Courtès <ludo@gnu.org>.
3153
e5a6e567
AJ
31542012-04-24 Andreas Jaeger <aj@suse.de>
3155
3156 * Makerules (common-clean): Also remove gen-as-const-headers
3157 files.
3158
c1820385
JM
31592012-04-24 Joseph Myers <joseph@codesourcery.com>
3160
3161 * Makerules (native-compile): Do not change working directory for
3162 build. Use $(OUTPUT_OPTION) in command.
3163 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3164
94e02fc4
AZ
31652012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3166
3167 [BZ #13886]
3168 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3169 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3170 * math/libm-test.inc (floor_test): Add more tests.
3171 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3172
3a533ca3
JM
31732012-04-24 Joseph Myers <joseph@codesourcery.com>
3174
940ab4b3
JM
3175 * sysdeps/unix/getdents.c: Remove file.
3176 * sysdeps/unix/sysv/getdents.c: Likewise.
3177 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3178
90e037bd
JM
3179 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3180 sysdeps/unix/mman/syscalls.list.
3181 (mmap): Likewise.
3182 (mprotect): Likewise.
3183 (msync): Likewise.
3184 (munmap): Likewise.
3185 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3186 * sysdeps/unix/mman/syscalls.list: Remove.
3187 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3188
3a533ca3
JM
3189 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3190 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3191 * configure: Regenerated.
3192 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3193 $(libgcc_s_suffix).
3194 * config.make.in (libgcc_s_suffix): Remove variable.
3195
1ad743de
JM
31962012-04-23 Joseph Myers <joseph@codesourcery.com>
3197
4ad451e2
JM
3198 * sysdeps/unix/sysv/gethostname.c: Move to ...
3199 * sysdeps/posix/gethostname.c: ... here.
3200
5e37ce39
JM
3201 * sysdeps/unix/execve.S: Remove file.
3202
1ad743de
JM
3203 * sysdeps/unix/_exit.S: Remove file.
3204
4e681b5b
AJ
32052012-04-23 Andreas Jaeger <aj@suse.de>
3206
3207 [BZ #13739]
3208 * manual/Makefile: Remove make dist support, there's no
3209 need for a stand-alone documentation tar ball.
3210 (TEXI2DVI): Define always, it's not in Makeconfig.
3211 (dist): Removed.
3212 (tar-it): Removed.
3213 (edition): Removed.
3214 (glibc-doc-$(edition).tar): Removed
3215 (%.Z): Removed.
3216 (%.gz): Removed.
3217 (%.uu): Removed.
3218 (ETAGS): Remove, it's in Makeconfig.
3219 (move-if-change): Remove, it's in Makeconfig.
3220
c0baea34
PE
32212013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3222
3223 [BZ #13970]
3224 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3225 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3226 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3227 (strtod_l, strtof_l, strtold_l): Remove __wur.
3228 It is not necessarily an error to ignore strtol's return value.
3229 One can reliably look at the stored endptr to decide whether
3230 the number had valid syntax.
3231
7c0616fa
AJ
32322012-04-21 Andreas Jaeger <aj@suse.de>
3233
803cb6b7 3234 [BZ #13739]
7c0616fa
AJ
3235 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3236
b0fe253f
JM
32372012-04-21 Joseph Myers <joseph@codesourcery.com>
3238
3239 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3240 * sysdeps/unix/sysv/Versions: Remove file.
3241
8280f22d
MT
32422012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3243
3244 [BZ #13927]
3245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3246
75ce411f 32472012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3248
3249 [BZ #7064]
3250 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3251 version from __vm86.
3252
097d59fa
JM
32532012-04-20 Joseph Myers <joseph@codesourcery.com>
3254
a90f3bcb
JM
3255 * sysdeps/unix/common/lxstat.c: Remove file.
3256 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3257
edc7ea78
JM
3258 * sysdeps/unix/sysv/Makefile: Remove file.
3259
cb78c221
JM
3260 * sysdeps/unix/sysv/direct.h: Remove file.
3261
efa6a45f
JM
3262 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3263 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3264 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3265 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3266 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3267 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3268 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3269
9c9f2d0c
JM
3270 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3271
4541c83b
JM
3272 * sysdeps/unix/xmknod.c: Remove file.
3273 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3274
f5d153a0
JM
3275 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3276
aa746595
JM
3277 * sysdeps/unix/sysv/i386/time.S: Remove file.
3278
cce5905e
JM
3279 * sysdeps/unix/fxstat.c: Remove file.
3280 * sysdeps/unix/xstat.c: Likewise.
3281 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3282
37fa3841
JM
3283 * sysdeps/unix/sysv/sigaction.c: Remove file.
3284
ff1962a3
JM
3285 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3286 (sysdep_headers): Remove variable.
3287 [termio.h not in sysdep_headers] (generated): Likewise.
3288 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3289 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3290 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3291 * sysdeps/unix/sysv/tcflow.c: Likewise.
3292 * sysdeps/unix/sysv/tcflush.c: Likewise.
3293 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3294 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3295 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3296 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3297 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3298
e7740d31
JM
3299 * sysdeps/unix/siglist.c: Remove file.
3300
ee06f18b
JM
3301 * sysdeps/unix/getppid.S: Remove file.
3302
097d59fa
JM
3303 * sysdeps/unix/mkdir.c: Remove file.
3304 * sysdeps/unix/rmdir.c: Likewise.
3305
ff3d51ec
AS
33062012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3307
3308 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3309 ERR_MAX value.
3310 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3311 errlist-compat value.
3312
50f81fd7
DM
33132012-04-18 David S. Miller <davem@davemloft.net>
3314
3315 * sysdeps/generic/memcopy.h (reg_char): Delete.
3316 * debug/strcat_chk.c: Use char, not reg_char.
3317 * debug/strcpy_chk.c: Likewise.
3318 * debug/strncat_chk.c: Likewise.
3319 * debug/strncpy_chk.c: Likewise.
3320 * string/memchr.c: Likewise.
3321 * string/memrchr.c: Likewise.
3322 * string/rawmemchr.c: Likewise.
3323 * string/strcat.c: Likewise.
3324 * string/strchr.c: Likewise.
3325 * string/strchrnul.c: Likewise.
3326 * string/strcmp.c: Likewise.
3327 * string/strcpy.c: Likewise.
3328 * string/strncat.c: Likewise.
3329 * string/strncmp.c: Likewise.
3330 * string/strncpy.c: Likewise.
3331
8ff41c46
WS
33322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3333
3334 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3335 __builtin_memcopy is called when src and dest ranges are known to not
3336 overlap.
3337
6b652f46
WS
33382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3339
3340 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3341 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3342 fwd_align_merge macro call.
3343 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3344 bwd_align_merge macro call.
3345 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3346
b282631e
WS
33472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3348
3349 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3350 bwd_align_merge macros.
3351 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3352 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3353 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3354
95aa737c
DM
33552012-04-18 David S. Miller <davem@davemloft.net>
3356
3357 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3358
7a99a614
AJ
33592012-04-18 Andreas Jaeger <aj@suse.de>
3360
3361 [BZ# 6794]
3362 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3363 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3364 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3365
3366 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3367 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3368 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3369
3370 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3371 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3372 Adjust for changed ldbl-128 files.
3373
3374 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3375 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3376 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3377
e5270c23
DM
33782012-04-17 David S. Miller <davem@davemloft.net>
3379
3380 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3381
fb5e92c9
AS
33822012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3383
3384 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3385 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3386 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3387 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3388 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3389 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3390
76da7265
AZ
33912012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3392
3393 [BZ #6794]
3394 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3395 * math/libm-test.inc: Add ilogb errno and exception tests.
3396 * math/w_ilogb.c: New file: ilogb wrapper.
3397 * math/w_ilogbf.c: New file: ilogbf wrapper.
3398 * math/w_ilogbl.c: New file: ilogbl wrapper.
3399 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3400 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3401 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3402 exception being thrown with 0.0 as argument.
3403 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3404 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3405 exception being thrown with 0.0 as argument.
3406 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3407 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3408 exception being thrown with 0.0 as argument.
3409 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3410 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3411 exception being thrown with 0.0 as argument.
3412 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3413 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3414 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3415 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3416 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3417 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3418 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3419 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3420 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3421
0396e69d
PB
34222012-04-17 Petr Baudis <pasky@ucw.cz>
3423
3424 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3425 with altivec.
3426
750b5926
MP
34272012-04-16 Marek Polacek <polacek@redhat.com>
3428
3429 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3430
751728a1
MP
34312012-04-16 Marek Polacek <polacek@redhat.com>
3432
3433 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3434 operands of fdivp instruction.
3435
34a27407
L
34362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3437
3438 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3439 * elf/tst-auditmod3b.c: Likewise.
3440 * elf/tst-auditmod4b.c: Likewise.
3441 * elf/tst-auditmod5b.c: Likewise.
3442 * elf/tst-auditmod6b.c: Likewise.
3443 * elf/tst-auditmod6c.c: Likewise.
3444 * elf/tst-auditmod7b.c: Likewise.
3445 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3446 * sysdeps/x86_64/preconfigure.in: Likewise.
3447 * sysdeps/x86_64/preconfigure: Regenerated.
3448
7e73e17d
L
34492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3450
3451 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3452 __ILP32__.
3453
c7a6ab72
AB
34542012-04-13 Antoine Balestrat <merkil33@gmail.com>
3455
3456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3457 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3458
a9e8e0e0
CL
34592012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3460
3461 [BZ #13973]
3462 * locale/iso-639.def: Fix gl language name. Spotted by
3463 Yaron Shahrabani.
3464
ec98af7d
RM
34652012-04-12 Roland McGrath <roland@hack.frob.com>
3466
3467 [BZ #2074]
3468 * libio/libio.h (__io_write_fn): Update comment.
3469
247c3ede
PB
34702012-04-12 Petr Baudis <pasky@ucw.cz>
3471
3472 [BZ #2074]
3473 * stdio.texi (Hook Functions): The user provided writer function
3474 is not allowed to return -1.
3475
55939d6d
DM
34762012-04-11 David S. Miller <davem@davemloft.net>
3477
3478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3479
90020f5a
MF
34802012-04-11 Mike Frysinger <vapier@gentoo.org>
3481
3482 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3483 Add a leading slash to rtkaio.
3484
288f9098
JM
34852012-04-11 Jim Meyering <meyering@redhat.com>
3486
90020f5a
MF
3487 [BZ #11959]
3488 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3489 It is not necessarily an error to ignore fwrite's return
3490 value. One can reliably use ferror to test for errors after
3491 the fact.
288f9098 3492
4be2b570
L
34932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3494
3495 * bits/types.h (__snseconds_t): New type.
3496 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3497
3498 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3499 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3500 (__SNSECONDS_T_TYPE): Likewise.
3501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3502 (__SNSECONDS_T_TYPE): Likewise.
3503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3504 (__SNSECONDS_T_TYPE): Likewise.
3505
288f9098 35062012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3507
3508 [BZ #2636]
3509 * manual/time.texi (Processor Time): Return type of times is
3510 elapsed real time since an arbitrary point in the past.
3511 (CPU Time): Move CLK_TCK from here...
3512 (Processor Time): ...to here. Correct description.
3513 * manual/conf.texi (Constants for Sysconf): Correct description of
3514 _SC_CLK_TCK.
3515
d7dd4413
DM
35162012-04-10 David S. Miller <davem@davemloft.net>
3517
3518 [BZ #13967]
3519 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3520 where the is a gap between DT_REL(A) and DT_JMPREL.
3521
b46068fc
L
35222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3523
3524 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3525 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3526 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3527
73d65cc3
SP
35282012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3529
3530 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3531 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3532 (dl_main): Handle --inhibit-cache.
3533 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3534 _dl_inhibit_cache.
3535 * elf/dl-load.c (_dl_map_object): Use it.
3536 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3537
bcc8d661
JM
35382012-04-09 Joseph Myers <joseph@codesourcery.com>
3539
8f9a2fae
JM
3540 [BZ #13872]
3541 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3542 (__ieee754_powl): Saturate large exponents rather than testing for
3543 overflow of y*log2(x).
3544 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3545 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3546 exceptions.
3547
bcc8d661
JM
3548 [BZ #11521]
3549 * math/s_ctan.c: Include <float.h>.
3550 (__ctan): Avoid internal overflow or cancellation in calculating
3551 denominator.
3552 * math/s_ctanf.c: Likewise.
3553 * math/s_ctanl.c: Likewise.
3554 * math/s_ctanh.c: Likewise.
3555 * math/s_ctanhf.c: Likewise.
3556 * math/s_ctanhl.c: Likewise.
3557 * math/libm-test.inc (ctan_test): Add more tests.
3558 (ctanh_test): Likewise.
3559 * sysdeps/i386/fpu/libm-test-ulps: Update.
3560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3561
823fbbb4
AJ
35622012-04-09 Andreas Jaeger <aj@suse.de>
3563
03879793
AJ
3564 [BZ #6894]
3565 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3566 is an optional BSD extension.
3567
823fbbb4
AJ
3568 [BZ #10254]
3569 * manual/stdio.texi (Opening Streams): Document additional fopen
3570 parameters.
3571
8de131cb
RM
35722012-04-09 Roland McGrath <roland@hack.frob.com>
3573
3574 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3575 %eax without telling the compiler.
3576
c0ed9d7d
CD
35772012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3578
3579 [BZ # 13963]
3580 * manual/install.texi: Use sourceware.org.
3581
c483f6b4
JM
35822012-04-09 Joseph Myers <joseph@codesourcery.com>
3583
d7dd9453
JM
3584 [BZ #13873]
3585 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3586 (__ieee754_pow): Generate overflow and underflow using huge*huge
3587 and tiny*tiny rather than just returning constant infinity or zero
3588 for large exponents.
3589 * math/libm-test.inc (pow_test): Require overflow exceptions for
3590 applicable cases of large exponents.
3591
c483f6b4
JM
3592 [BZ #706]
3593 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3594 (__ieee754_pow): Use iterative multiplication algorithm only for
3595 integer exponents with absolute value below 1024. Check for odd
3596 integer exponents when using algorithm for real exponents.
3597 * math/libm-test.inc (pow_test): Add more tests.
3598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3599
d2de7579
JM
36002012-04-08 Joseph Myers <joseph@codesourcery.com>
3601
3602 [BZ #13705]
3603 * math/libm-test.inc (exp_test): Do not allow overflow exception
3604 on underflow test.
3605
f77f1232
AJ
36062012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3607
3608 [BZ #13705]
3609 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3610 instead of __kernel_standard_f.
3611
3884932b
MF
36122012-04-08 Mike Frysinger <vapier@gentoo.org>
3613
3614 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3615 * sysdeps/x86_64/memset_chk.S: Likewise.
3616
54472e9c
AJ
36172012-04-08 Andreas Jaeger <aj@suse.de>
3618
6ab0fbfc
AJ
3619 [BZ #10153]
3620 * manual/startup.texi (Environment Access): Describe return value
3621 for putenv and setenv.
3622
61efba8c
AJ
3623 [BZ #6895]
3624 * manual/filesys.texi (Directory Entries): Add description for
3625 DT_LNK.
3626
95c3f29a
AJ
3627 [BZ #6890]
3628 * manual/filesys.texi (Directory Entries): Clarify that it's file
3629 system not operating system in the description of DT_UNKNOWN.
3630
54472e9c
AJ
3631 [BZ #6578]
3632 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3633
624254b1
SC
36342012-04-08 Stephen Compall <s11@member.fsf.org>
3635
3636 [BZ #6649]
3637 * manual/llio.texi (Opening and Closing Files): Add cross
3638 reference to explain mode argument.
3639
1e4920e0
MF
36402012-04-07 Mike Frysinger <vapier@gentoo.org>
3641
3642 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3643 * sysdeps/x86_64/memset_chk.S: Likewise.
3644
5ed848f3
DM
36452012-04-07 David S. Miller <davem@davemloft.net>
3646
3647 * elf/elf.h (R_SPARC_WDISP10): Define.
3648 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3649 R_SPARC_SIZE32.
3650 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3651 R_SPARC_SIZE64 and R_SPARC_H34.
3652
96154cd8
CD
36532012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3654
3655 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3656 conditions and remove no longer applicable assertion.
3657
9904dc47
L
36582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3659
3660 * bits/byteswap.h: Include <features.h>.
3661 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3662 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3663
f8887d0a
L
36642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3665
3666 * bits/byteswap.h (__bswap_16): Removed.
3667 Include <bits/byteswap-16.h> to get __bswap_16.
3668 * sysdeps/i386/bits/byteswap.h: Likewise.
3669 * sysdeps/s390/bits/byteswap.h: Likewise.
3670 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3671 * bits/byteswap-16.h: New file.
3672 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3673 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3674 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3675 * string/Makefile (headers): Add bits/byteswap-16.h.
3676
62470f60
PP
36772012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3678
3679 [BZ #13895]
3680 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3681 extra indirection.
3682 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3683 * nss/tst-nss-static.c: New.
3684
4dad7bab
RM
36852012-04-06 Robert Millan <rmh@gnu.org>
3686
3687 [BZ #6486]
3688 * manual/llio.texi (File Position Primitive): lseek
3689 refers to WHENCE when it really means OFFSET.
3690
e9142a17
AJ
36912012-04-06 Andreas Jaeger <aj@suse.de>
3692
2c040eff
AJ
3693 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3694 strncmp declarations.
3695
e9142a17
AJ
3696 * abilist/libc.abilist: Add __poll and __ppoll.
3697
ff9f1c5f
DM
36982012-04-05 David S. Miller <davem@davemloft.net>
3699
dcd2ae90
DM
3700 * scripts/check-local-headers.sh: Accept a host triplet in the
3701 path matched by the exclude regexp.
3702
993eb054
DM
3703 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3704 definition.
3705 * sysdeps/powerpc/powerpc32/dl-machine.h
3706 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3707 * sysdeps/s390/s390-32/dl-machine.h
3708 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3709 * sysdeps/sparc/sparc32/dl-machine.h
3710 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3711 * sysdeps/sparc/sparc64/dl-machine.h
3712 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3713
ff9f1c5f
DM
3714 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3715 lazy binding.
48e2e132 3716 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3717 undefined symbol errors.
3718
48e2e132 3719 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3720 DT_NEEDED entries.
3721
e80d6f94
MM
37222012-04-05 Michael Matz <matz@suse.de>
3723
3724 [BZ #13592]
3725 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3726
349fa79f
AJ
37272012-04-05 Andreas Jaeger <aj@suse.de>
3728
3729 [BZ #13908]
3730 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3731 comment.
3732
f402708f
KK
37332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3734
3735 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3736 which ROUND is no valid rounding mode.
3737
2ecccfc9
KK
37382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3739
3740 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3741 read again.
3742 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3743
8a53f50f
KK
37442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3745
3746 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3747 an exception using FPU order intentionally.
3748
37492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3750
3751 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3752 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3753 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3754 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3755
d653abb7
SJ
37562012-04-05 Simon Josefsson <simon@josefsson.org>
3757
3758 [BZ #12340]
3759 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3760 EINVAL when BUFLEN is too smal.
3761
c3b1bf7d
TS
37622012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3763
3764 [BZ #13553]
3765 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3766 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3767
b1aa60f3
AJ
37682012-04-03 Andreas Jaeger <aj@suse.de>
3769
c3b1bf7d 3770 [BZ #13938]
67f60a26
AJ
3771 * manual/setjmp.texi (System V contexts): Fix sentence.
3772
b1aa60f3
AJ
3773 [BZ #13926]
3774 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3775 New macro for this case.
3776 [!__GNUC__] (__bswap_64): New inline function for this case.
3777 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3778 * bits/byteswap.h: Likewise.
3779 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3780 ull, guard with __GLIBC_HAVE_LONG_LONG.
3781
3782 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3783 __GLIBC_HAVE_LONG_LONG.
3784
3785 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3786 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3787
39c59c35
TMQMF
37882012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3789
3790 [BZ #13691]
3791 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3792 inptr and inend, rather than using last_ch.
3793
135ffda8
DM
37942012-04-02 David S. Miller <davem@davemloft.net>
3795
3796 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3797 * stdio-common/printf-parse.h (read_int): Change return type to
3798 'int', return -1 on INT_MAX overflow.
3799 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3800 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3801 overflows INT_MAX. Check for overflow of in-format-string precision
3802 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3803 SIZE_MAX not INT_MAX for integer overflow test.
3804 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3805 skip the construct in the format string but do not record anything.
3806 * stdio-common/bug22.c: Adjust to test both width/prevision
3807 INT_MAX overflow as well as total length INT_MAX overflow. Check
3808 explicitly for proper errno values.
3809
228c019e
TS
38102012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3811
302cadd3
TS
3812 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3813 CHAR_MAX.
3814 * string/test-strcmp.c [! WIDE]: Likewise.
3815 * time/tst-mktime2.c: Likewise for INT_MAX.
3816 * string/test-string.h: #include <sys/param.h> for MIN.
3817
228c019e
TS
3818 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3819 * sysdeps/i386/init-first.c (init): Likewise.
3820 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3821 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3822 * sysdeps/sh/init-first.c (init): Likewise.
3823
cfa633f5
UD
38242012-04-01 Ulrich Drepper <drepper@gmail.com>
3825
3826 * po/ru.po: Update from translation team.
d1635ef8 3827 * po/vi.po: Likewise.
cfa633f5 3828
6cd0a5ea
SP
38292012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3830
3831 * resolv/nss_dns/dns-host.c: Merge copyright years.
3832
4b43400f
LD
38332012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3834
3835 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3836 Optimize memcpy with prefetch if
3837 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3838 src, dst pointers have unequal 16 byte alignments.
3839
48c41d04
SP
38402012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3841
3842 [BZ #13928]
3843 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3844 from a CNAME entry and return the minimum ttl for the query.
3845 (gaih_getanswer_slice): Likewise.
3846
b8dc394d
JL
38472012-03-30 Jeff Law <law@redhat.com>
3848
3849 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3850 due to long keys.
3851 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3852 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3853
2f5a5ed0
JL
3854 * resolv/nss_dns/dns-host.c: Update copyright year.
3855
1d39e359
UD
38562012-03-30 Ulrich Drepper <drepper@gmail.com>
3857
c030f70c 3858 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3859 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3860
1d39e359
UD
3861 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3862 comments for sendmmsg.
3863
38642012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3865
3866 [BZ #13691]
3867 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3868 with only 1 character between 0x0041 and 0x01b0.
3869 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3870 * wcsmbs/tst-mbsnrtowcs.c: New file.
3871
20fde227
DM
38722012-03-29 David S. Miller <davem@davemloft.net>
3873
3874 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3875 small copies by hand.
3876
984a4237
JL
38772012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3878
3879 [BZ #13761]
3880 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3881 _nss_compat_initgroups_dyn): Fall back to malloc/free
3882 for large group memberships.
3883
18c9d62b
DM
38842012-03-28 David S. Miller <davem@davemloft.net>
3885
88d85d4f
DM
3886 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3887 that branches into memcpy.
3888 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3889 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3890 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3891 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3893 bits.
3894 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3895 implementation too.
3896 * sysdeps/sparc/mempcpy.S: New file.
3897
e5aa83e1
DM
3898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3899 the IFUNC routine in the libc case.
3900 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3901
88570753
DM
3902 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3903 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3904 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3905 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3906 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3907 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3908 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3909 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3910
249d7567
DM
3911 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3912 loop to 256 bytes instead of 64 bytes and fix test signedness.
3913
18c9d62b
DM
3914 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3915 * sysdeps/sparc/sparc32/Makefile: rather than here...
3916 * sysdeps/sparc/sparc64/Makefile: and here.
3917
05f3d1f6
UD
39182012-03-28 Ulrich Drepper <drepper@gmail.com>
3919
3920 * malloc/mallocbug.c: Avoid warnings about unused variables.
3921
86ae07a8
JL
39222012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3923
3924 [BZ #13760]
3925 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3926 in the right place. Discard and retry query if response is
3927 larger than input buffer size.
3928
41bf21a1
JM
39292012-03-28 Joseph Myers <joseph@codesourcery.com>
3930
d6270972
JM
3931 [BZ #369]
3932 [BZ #2678]
3933 [BZ #3866]
3934 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3935 x for large integer exponent.
3936 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3937 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3938 sign of result as needed afterwards.
3939 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3940 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3941 result for underflowing pow the same as for overflow.
3942 (__kernel_standard_l): Handle powl overflow and underflow here
3943 rather than calling __kernel_standard.
3944 * math/libm-test.inc (pow_test): Add more tests.
3945
414fca03 3946 [BZ #3868]
41bf21a1
JM
3947 [BZ #13879]
3948 [BZ #13910]
3949 [BZ #13911]
3950 [BZ #13912]
3951 [BZ #13913]
3952 [BZ #13915]
3953 [BZ #13916]
3954 [BZ #13917]
3955 [BZ #13918]
3956 [BZ #13919]
3957 [BZ #13920]
3958 [BZ #13921]
3959 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3960 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3961 (__kernel_standard_l): New function.
3962 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3963 __kernel_standard.
3964 * math/w_acosl.c (__acosl): Likewise.
3965 * math/w_asinl.c (__asinl): Likewise.
3966 * math/w_atan2l.c (__atan2l): Likewise.
3967 * math/w_atanhl.c (__atanhl): Likewise.
3968 * math/w_coshl.c (__coshl): Likewise.
3969 * math/w_exp10l.c (__exp10l): Likewise.
3970 * math/w_exp2l.c (__exp2l): Likewise.
3971 * math/w_fmodl.c (__fmodl): Likewise.
3972 * math/w_hypotl.c (__hypotl): Likewise.
3973 * math/w_j0l.c (__j0l, __y0l): Likewise.
3974 * math/w_j1l.c (__j1l, __y1l): Likewise.
3975 * math/w_jnl.c (__jnl, __ynl): Likewise.
3976 * math/w_lgammal.c (__lgammal): Likewise.
3977 * math/w_log10l.c (__log10l): Likewise.
3978 * math/w_log2l.c (__log2l): Likewise.
3979 * math/w_logl.c (__logl): Likewise.
3980 * math/w_powl.c (__powl): Likewise.
3981 * math/w_remainderl.c (__remainderl): Likewise.
3982 * math/w_scalbl.c (sysv_scalbl): Likewise.
3983 * math/w_sinhl.c (__sinhl): Likewise.
3984 * math/w_sqrtl.c (__sqrtl): Likewise.
3985 * math/w_tgammal.c (__tgammal): Likewise.
3986 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3987 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3988 * math/libm-test.inc (acos_test): Add more tests.
3989 (acosh_test): Likewise.
3990 (asin_test): Likewise.
3991 (atanh_test): Likewise.
3992 (exp_test): Likewise.
3993 (exp10_test): Likewise.
3994 (exp2_test): Likewise.
3995 (expm1_test): Likewise.
3996 (lgamma_test): Likewise.
3997 (log_test): Likewise.
3998 (log10_test): Likewise.
3999 (log1p_test): Likewise.
4000 (log2_test): Likewise.
4001 (pow_test): Do not allow some spurious overflow exceptions.
4002 (sqrt_test): Add more tests.
4003 (tgamma_test): Likewise.
4004 (y0_test): Likewise.
4005 (y1_test): Likewise.
4006 (yn_test): Likewise.
4007
dd62fda6
AB
40082012-03-27 Anton Blanchard <anton@samba.org>
4009
4010 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4011 MAP_HUGETLB.
4012 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4013 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4014 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4015
1e3cdfda
AJ
40162012-03-27 David S. Miller <davem@davemloft.net>
4017
b855ab85
DM
4018 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4019
1e3cdfda
AJ
4020 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4021 have-as-vis3 check.
4022
40232012-03-27 Andreas Jaeger <aj@suse.de>
4024
4025 * sysdeps/x86_64/elf/configure.in: Moved to ...
4026 * sysdeps/x86_64/configure.in: ... here.
4027 * sysdeps/x86_64/elf/start.S: Moved to ...
4028 * sysdeps/x86_64/start.S: ... here.
4029 * sysdeps/x86_64/elf/configure: Delete.
4030
4031 * sysdeps/x86_64/configure.in: Merge contents from
4032 sysdeps/i386/configure.in (without i686 check).
4033
4034 * sysdeps/i386/elf/Versions: Merge into ...
4035 * sysdeps/i386/Versions: ... this.
4036 * sysdeps/i386/elf/Versions: Delete file.
4037 * sysdeps/i386/elf/start.S: Moved to ...
4038 * sysdeps/i386/start.S: ...here.
4039 * sysdeps/i386/elf/configure.in: Merge into...
4040 * sysdeps/i386/configure.in: ...here.
4041 * sysdeps/i386/elf/configure.in: Delete file.
4042 * sysdeps/i386/elf/configure: Delete file.
4043
4044 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4045 * debug/backtracesyms.c: ... here.
4046 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4047 * debug/backtracesymsfd.c: ... here.
4048 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4049 * sysdeps/generic/ifunc-sel.h: ... here.
4050
4051 * sysdeps/unix/i386/start.c: Delete file.
4052 * sysdeps/unix/sparc/start.c: Delete file.
4053 * sysdeps/unix/start.c: Delete file.
4054
4055 * sysdeps/sh/elf/configure.in: Moved to ...
4056 * sysdeps/sh/configure.in: ... here.
4057 * sysdeps/sh/elf/start.S: Moved to ...
4058 * sysdeps/sh/start.S: ... here.
4059 * sysdeps/sh/elf/configure: Delete file.
4060
4061 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4062 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4063 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4064 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4065 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4066 * sysdeps/powerpc/powerpc64/start.S: here.
4067 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4068 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4069 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4070 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4071 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4072
4073 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4074 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4075 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4076 * sysdeps/powerpc/powerpc32/start.S: ... here.
4077 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4078 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4079 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4080
4081 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4082 * sysdeps/powerpc/ifunc-sel.h: ... here.
4083 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4084 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4085
4086 * sysdeps/sparc/elf/configure.in: Moved to ...
4087 * sysdeps/sparc/configure.in: ... here.
4088 * sysdeps/sparc/elf/configure: Delete file.
4089 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4090 * sysdeps/sparc/sparc32/start.S: ... here.
4091 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4092 * sysdeps/sparc/sparc64/start.S: ... here.
4093 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4094 * sysdeps/sparc/sparc32/Makefile: ... this.
4095 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4096 * sysdeps/sparc/sparc64/Makefile: ... this.
4097
4098 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4099 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4100 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4101 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4102 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4103 * sysdeps/s390/s390-32/setjmp.S: ... here.
4104 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4105 * sysdeps/s390/s390-32/configure.in: ... here.
4106 * sysdeps/s390/s390-32/elf/configure: Delete file.
4107 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4108 * sysdeps/s390/s390-32/start.S: ... here.
4109
4110 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4111 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4112 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4113 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4114 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4115 * sysdeps/s390/s390-64/setjmp.S: ... here.
4116 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4117 * sysdeps/s390/s390-64/configure.in: ... here
4118 * sysdeps/s390/s390-64/elf/configure: Delete file.
4119 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4120 * sysdeps/s390/s390-64/start.S: ... here.
4121 * sysdeps/s390/s390-64/elf/configure: Delete.
4122
4123 * configure.in: Remove support for elf directories in sysdeps.
4124
4125 * configure: Regenerated.
4126 * sysdeps/i386/configure: Regenerated.
4127 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4128 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4129 * sysdeps/s390/s390-32/configure: Regenerated.
4130 * sysdeps/s390/s390-64/configure: Regenerated.
4131 * sysdeps/sh/configure: Regenerated.
4132 * sysdeps/sparc/configure: Regenerated.
4133 * sysdeps/x86_64/configure: Regenerated.
4134
a3f61311
AS
41352012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4136
c876e002
AS
4137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4138
a3f61311
AS
4139 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4140 denormal result into account.
4141
ac4c54f0
RM
41422012-03-25 Roland McGrath <roland@hack.frob.com>
4143
4144 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4145 Reported by Allan McRae <allan@archlinux.org>.
4146
6a9b9c02
JL
41472012-03-23 Jeff Law <law@redhat.com>
4148
4149 * nss/getnssent.c (__nss_getent): Fix typo.
4150
4c42a0c1
DM
41512012-03-23 David S. Miller <davem@davemloft.net>
4152
4153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4154
1532c7ac
L
41552012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4156
4157 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4158 to pad to uint64_t for each field.
4159 (dl_tls_index): Replace unsigned long with uint64_t.
4160
3ff42526
PP
41612012-03-23 Daniel Jacobowitz <dmj@google.com>
4162 Paul Pluzhnikov <ppluzhnikov@google.com>
4163
4164 [BZ #6528]
4165 * grp/Makefile (otherlibs): Don't set it.
4166 * inet/Makefile (otherlibs): Likewise.
4167 * login/Makefile (otherlibs): Likewise.
4168 * nscd/Makefile (otherlibs): Likewise.
4169 * posix/Makefile (otherlibs): Likewise.
4170 * pwd/Makefile (otherlibs): Likewise.
4171 * rt/Makefile (otherlibs): Likewise.
4172 * sunrpc/Makefile (otherlibs): Likewise.
4173 * nss/Makefile (otherlibs): Likewise.
4174 Add libnss_files to routines and static-only-routines.
4175 ($(objpfx)getent): Remove rule.
4176 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4177 static-only-routines.
4178
7c69cd14
JM
41792012-03-22 Joseph Myers <joseph@codesourcery.com>
4180
4181 [BZ #13892]
4182 * math/s_cexp.c: Include <float.h>.
4183 (__cexp): Handle exp result overflowing not necessarily
4184 overflowing both real and imaginary parts of result.
4185 * math/s_cexpf.c: Likewise.
4186 * math/s_cexpl.c: Likewise.
4187 * math/libm-test.inc (cexp_test): Add more tests.
4188 * sysdeps/i386/fpu/libm-test-ulps: Update.
4189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4190
81b035fe
L
41912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4192
4193 * include/link.h (ELFW): New macro.
4194 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4195 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4196
1da7940c
L
41972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4198
4199 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4200 with uint64_t.
4201
b749dbb9
L
42022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4203
4204 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4205 declaration.
4206 (struct La_x32_retval): Likewise.
4207
2ff87f3f
L
42082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4209
4210 * sysdeps/x86_64/preconfigure.in: New file.
4211 * sysdeps/x86_64/preconfigure: New generated file.
4212
c0df8e69
JM
42132012-03-22 Joseph Myers <joseph@codesourcery.com>
4214
48e44791
JM
4215 [BZ #13824]
4216 * math/e_exp2l.c: Include <float.h>.
4217 (__ieee754_exp2l): Handle overflow and underflow cases
4218 separately. Only pass fractional part of argument to
4219 __ieee754_expl.
4220 * math/libm-test.inc (exp2_test): Add more tests.
4221
c0df8e69
JM
4222 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4223 negating x to take absolute value.
4224 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4225 Likewise.
4226 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4227 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4228 Likewise.
4229 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4230 computing low part if x was negated.
4231 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4232
c8e43ba7
L
42332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4234
4235 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4236 la_x32_gnu_pltexit.
4237 (pltexit): Cast int_retval to ptrdiff_t.
4238 * elf/tst-auditmod3b.c: Likewise.
4239 * elf/tst-auditmod4b.c: Likewise.
4240 * elf/tst-auditmod5b.c: Likewise.
4241 * elf/tst-auditmod6b.c: Likewise.
4242 * elf/tst-auditmod6c.c: Likewise.
4243 * elf/tst-auditmod7b.c: Likewise.
4244
4245 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4246 and x32_gnu_pltexit.
4247
4248 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4249 __ELF_NATIVE_CLASS.
4250 (La_x32_regs): New macro.
4251 (La_x32_retval): Likewise.
4252 (la_x32_gnu_pltenter): New function prototype.
4253 (la_x32_gnu_pltexit): Likewise.
4254
7998fa78
AS
42552012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4256
dcb33988
AS
4257 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4258 exponent.
4259
233fc563
AS
4260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4261
7998fa78
AS
4262 * configure.in (libc_cv_cc_nofma): Check for option to disable
4263 generation of FMA instructions.
4264 * configure: Regenerate.
4265 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4266 * sysdeps/ieee754/dbl-64/Makefile: New file.
4267 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4268 Remove brandred-fma4.
4269 (CFLAGS-brandred-fma4.c): Remove.
4270 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4271 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4272 define.
4273 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4274 define.
4275
8e95c99a
L
42762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4277
4278 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4279 LLONG_MAX != LONG_MAX.
4280 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4281 (_fitoa_word): Likewise.
4282 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4283 LLONG_MAX != LONG_MAX.
4284 * stdio-common/_itowa.h: Include <_itoa.h>.
4285 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4286 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4287 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4288 only if not defined.
4289 (_ITOA_WORD_TYPE): Likewise.
4290 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4291 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4292
6f4db457
DM
42932012-03-21 David S. Miller <davem@davemloft.net>
4294
4295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4296
7785fe5a
L
42972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4298
4299 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4300 of x86_64 when setting libc_cv_slibdir, libdir and
4301 libc_cv_localedir.
4302 * sysdeps/unix/sysv/linux/configure: Regenerated.
4303
4535cd55
JM
43042012-03-21 Joseph Myers <joseph@codesourcery.com>
4305
4306 * manual/lang.texi (Old Varargs): Remove section.
4307 (How Variadic): Update menu.
4308 (va_start): Do not mention varargs.h.
4309
17228132
TS
43102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4311 Joseph Myers <joseph@codesourcery.com>
4312
4313 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4314 link test.
4315 * configure: Regenerated.
4316
8149f976
TS
43172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4318
05f3d1f6
UD
4319 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4320 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4321 conformtest.pl
8149f976 4322
1a4ac776
JM
43232012-03-21 Joseph Myers <joseph@codesourcery.com>
4324
be22ce65
JM
4325 * NOTES: Remove.
4326 * Makefile (files-for-dist): Remove NOTES.
4327 (NOTES): Remove rule.
4328 * README: Don't refer to NOTES.
4329 * manual/creature.texi: Don't include macros.texi.
4330 * manual/intro.texi (creature.texi): Remove comment referring to
4331 NOTES.
4332
40b601fb
JM
4333 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4334 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4335 * configure: Regenerated.
4336 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4337 LIBC_TRY_CC_OPTION.
4338 (libc_cv_as_i686): Likewise.
4339 (libc_cv_cc_avx): Likewise.
4340 (libc_cv_cc_sse2avx): Likewise.
4341 (libc_cv_cc_fma4): Likewise.
4342 (libc_cv_cc_novzeroupper): Likewise.
4343 * sysdeps/i386/configure: Regenerated.
4344
1a4ac776
JM
4345 [BZ #13883]
4346 * sysdeps/i386/fpu/s_cexp.S: Remove.
4347 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4348 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4349 * math/libm-test.inc (cexp_test): Add more tests.
4350 * sysdeps/i386/fpu/libm-test-ulps: Update.
4351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4352
a458e7fe
AM
43532012-03-21 Allan McRae <allan@archlinux.org>
4354
4355 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4356
0cb7efc5
JM
43572012-03-21 Joseph Myers <joseph@codesourcery.com>
4358
4359 [BZ #13871]
4360 * math/w_exp2.c: Do not include <float.h>.
4361 (o_threshold, u_threshold): Remove.
4362 (__exp2): Calculate result before checking finiteness and calling
4363 __kernel_standard.
4364 * math/w_exp2f.c: Likewise.
4365 * math/w_exp2l.c: Likewise.
4366 * math/libm-test.inc (exp2_test): Require overflow exception for
4367 1e6 input.
2460d3aa
JM
4368
4369 [BZ #3866]
4370 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4371 range of signed 64-bit integers before using fistpll. Remove
4372 checks for whether integers fit in mantissa bits.
4373 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4374 the range of signed 32-bit integers before using fistpl. Remove
4375 checks for whether integers fit in mantissa bits.
4376 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4377 (__ieee754_powl): Test for y outside the range of signed 64-bit
4378 integers before using fistpll. Reduce 64-bit values to 63-bit
4379 ones as needed.
4380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4381 divide-by-zero is raised for zero to large negative powers.
4382 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4383 (__ieee754_powl): Test for y outside the range of signed 64-bit
4384 integers before using fistpll. Reduce 64-bit values to 63-bit
4385 ones as needed.
4386 * math/libm-test.inc (pow_test): Add more tests.
4387
eb96ffb0
L
43882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4389
4390 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4391 <stdio-common/_itoa.h>.
4392 * debug/segfault.c: Likewise.
4393 * elf/dl-cache.c: Likewise.
4394 * elf/dl-minimal.c: Likewise.
4395 * elf/dl-misc.c: Likewise.
4396 * elf/dl-sysdep.c: Likewise.
4397 * elf/dl-version.c: Likewise.
4398 * elf/rtld.c: Likewise.
4399 * hurd/hurdsock.c: Likewise.
4400 * hurd/lookup-retry.c: Likewise.
4401 * malloc/malloc.c: Likewise.
4402 * malloc/mtrace.c: Likewise.
4403 * nscd/nscd_getgr_r.c: Likewise.
4404 * nscd/nscd_getpw_r.c: Likewise.
4405 * nscd/nscd_getserv_r.c: Likewise.
4406 * posix/getopt_init.c: Likewise.
4407 * posix/wordexp.c: Likewise.
4408 * stdio-common/_itoa.c: Likewise.
4409 * stdio-common/printf_fphex.c: Likewise.
4410 * stdio-common/vfprintf.c: Likewise.
4411 * string/_strerror.c: Likewise.
4412 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4413 * sysdeps/i386/i686/hp-timing.h: Likewise.
4414 * sysdeps/mach/_strerror.c: Likewise.
4415 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4416 * sysdeps/mach/hurd/sethostid.c: Likewise.
4417 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4418 * sysdeps/mach/xpg-strerror.c: Likewise.
4419 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4420 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4421 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4422 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4423 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4424 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4425 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4426 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4427 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4428 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4429 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4430 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4431 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4432 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4433 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4434 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4435 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4436 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4437 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4438 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4439 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4440
4441 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4442
4443 * stdio-common/_itoa.h: Moved to ...
4444 * sysdeps/generic/_itoa.h: Here.
4445
4446 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4447
4448 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4449 instead of "_itoa.h" and "_itowa.h".
4450 * stdio-common/vfprintf.: Likewise.
4451
d1af992d
L
44522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4453
4454 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4455 <bits/wordsize.h>.
4456 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4457 (__signbit): Likwise.
4458 (llrintf): Likwise.
4459 (llrint): Likwise.
4460
114883e0
L
44612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4462
4463 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4464 __WORDSIZE != 64.
4465
c135cc1b
JM
44662012-03-20 Joseph Myers <joseph@codesourcery.com>
4467
4468 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4469 OVERFLOW_EXCEPTION_OK.
4470 * math/libm-test.inc ("Philosophy"): Update comment about
4471 exception testing.
4472 (OVERFLOW_EXCEPTION): Define.
4473 (OVERFLOW_EXCEPTION_OK): Likewise.
4474 (INVALID_EXCEPTION_OK): Renumber.
4475 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4476 (IGNORE_ZERO_INF_SIGN): Likewise.
4477 (test_exceptions): Handle FE_OVERFLOW.
4478 (exp10_test): Expect overflow exceptions.
4479 (exp2_test): Likewise.
4480 (expm1_test): Likewise.
4481 (nextafter_test): Likewise.
4482 (pow_test): Likewise.
4483 (scalbn_test): Likewise.
4484 (scalbln_test): Likewise.
4485
95443d88
L
44862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4487
4488 * sysdeps/x86_64/bits/atomic.h
4489 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4490 64bit integer.
4491 (atomic_exchange_acq): Likewise.
4492 (__arch_exchange_and_add_body): Likewise.
4493 (__arch_add_body): Likewise.
4494 (atomic_add_negative): Likewise.
4495 (atomic_add_zero): Likewise.
4496
490df6c4
L
44972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4498
c2722551 4499 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4500 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4501
5e52b189
L
45022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4503
4504 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4505 Check __x86_64__ instead of __WORDSIZE.
4506
a9879d4c
L
45072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4508
4509 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4510
5df98260
DM
45112012-03-19 David S. Miller <davem@davemloft.net>
4512
e1497744
DM
4513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4514
5df98260
DM
4515 * sysdeps/sparc/fpu/fenv_private.h: New file.
4516 * sysdeps/sparc/fpu/math_private.h: Use it.
4517 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4518 Remove.
4519 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4520 (libc_feholdexcept_setroundl): Remove.
4521 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4522 Remove.
4523 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4524 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4525
b4c35121
L
45262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4527
4528 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4529 int64_t instead of long int.
4530 (INSERT_WORDS64): Likwise.
4531
56965fd7
L
45322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4533
4534 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4535 _Unwind_GetCFA return to _Unwind_Ptr first.
4536
83d1aec8
JM
45372012-03-19 Joseph Myers <joseph@codesourcery.com>
4538
1897ad44
JM
4539 [BZ #13629]
4540 * math/s_clog.c: Include <float.h>.
4541 (__clog): Scale large or subnormal inputs.
4542 * math/s_clogf.c: Likewise.
4543 * math/s_clogl.c: Likewise.
4544 * math/s_clog10.c: Include <float.h>.
4545 (M_LOG10_2): Define.
4546 (__clog10): Scale large or subnormal inputs.
4547 * math/s_clog10f.c: Likewise.
4548 * math/s_clog10l.c: Likewise.
4549 * math/libm-test.inc (clog_test): Add more tests.
4550 (clog10_test): Likewise.
4551 * sysdeps/i386/fpu/libm-test-ulps: Update.
4552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4553
7726d6a9
JM
4554 [BZ #11451]
4555 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4556 x and y.
4557 * math/libm-test.inc (atan2_test): Add another test.
4558
83d1aec8
JM
4559 * Makerules (common-objdir-compile): Remove.
4560 * sysdeps/unix/Makefile (config-generated): Do not add
4561 $(unix-generated) to variable.
4562 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4563 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4564 Remove rule.
4565 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4566 Likewise.
4567 [generic bits/local_lim.h] (before-compile): Do not append to
4568 variable.
4569 [generic bits/local_lim.h] (common-generated): Likewise.
4570 [generic sys/param.h] (before-compile): Do not append to variable.
4571 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4572 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4573 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4574 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4575 include.
4576 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4577 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4578 [generic sys/param.h] ($(addprefix
4579 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4580 [generic sys/param.h] (common-generated): Do not append to
4581 variable.
4582 [generic sys/param.h] (sysdep_headers): Likewise.
4583 [generic bits/errno.h] (before-compile): Do not append to
4584 variable.
4585 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4586 rule.
4587 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4588 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4589 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4590 [generic bits/errno.h] (common-generated): Do not append to
4591 variable.
4592 [generic bits/ioctls.h] (before-compile): Do not append to
4593 variable.
4594 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4595 rule.
4596 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4597 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4598 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4599 rule.
4600 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4601 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4602 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4603 [generic bits/ioctls.h] (common-generated): Do not append to
4604 variable.
4605 [generic sys/syscall.h] (syscall.h): Remove variable.
4606 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4607 rule.
4608 [generic sys/syscall.h] (before-compile): Do not append to
4609 variable.
4610 [generic sys/syscall.h] (common-generated): Likewise.
4611 * sysdeps/unix/errnos-tmpl.c: Remove file.
4612 * sysdeps/unix/errnos.awk: Likewise.
4613 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4614 * sysdeps/unix/ioctls.awk: Likewise.
4615 * sysdeps/unix/mk-local_lim.c: Likewise.
4616 * sysdeps/unix/snarf-ioctls: Likewise.
4617
4851a949
RH
46182012-03-19 Richard Henderson <rth@twiddle.net>
4619
bd37f2ee
RH
4620 * sysdeps/i386/fpu/fenv_private.h: New file.
4621 * sysdeps/i386/fpu/math_private.h: Use it.
4622 (math_opt_barrier, math_force_eval): Remove.
4623 (libc_feholdexcept_setround_53bit): Remove.
4624 (libc_feupdateenv_53bit): Remove.
4625 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4626 (math_opt_barrier, math_force_eval): Remove.
4627 (libc_feholdexcept): Remove.
4628 (libc_feholdexcept_setround): Remove.
4629 (libc_fetestexcept, libc_fesetenv): Remove.
4630 (libc_feupdateenv_test): Remove.
4631 (libc_feupdateenv, libc_feholdsetround): Remove.
4632 (libc_feresetround): Remove.
4633
d0adc922
RH
4634 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4635 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4636
0fe0f1f8
RH
4637 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4638 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4639 (libc_feupdateenv_testl): New.
4640 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4641 (libc_feupdateenv_testf): New.
4642 (libc_feupdateenv): Use libc_feupdateenv_test.
4643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4644 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4645
eb92c487
RH
4646 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4647 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4648 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4649 (libc_feresetround_noex): New.
4650 (libc_feresetround_noexf): New.
4651 (libc_feresetround_noexl): New.
4652 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4653 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4654 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4655 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4656 SET_RESTORE_ROUND.
4657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4658 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4659 (__cos): Likewise.
4660 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4661 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4662 SET_RESTORE_ROUND_NOEX.
4663 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4664 SET_RESTORE_ROUND_NOEXF.
4665 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4666 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4667 (libc_feholdsetroundf): New.
4668 (libc_feresetround, libc_feresetroundf): New.
4669
7d2e8012
RH
4670 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4671 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4672 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4673
b4dabbb4
RH
4674 * sysdeps/generic/math_private.h: Include <fenv.h>.
4675 (default_libc_feholdexcept): New.
4676 (default_libc_feholdexcept_setround): New.
4677 (default_libc_fesetenv, default_libc_feupdateenv): New.
4678 (libc_feholdexcept): Only define if undefined.
4679 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4680 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4681 (libc_feholdexcept_setroundl): Likewise.
4682 (libc_feholdexcept_setround_53bit): Likewise.
4683 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4684 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4685 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4686 (libc_feupdateenv_53bit): Likewise.
4687 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4688 (libc_feholdexcept): Convert from macro to inline function.
4689 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4690 (libc_fesetenv, libc_feupdateenv): Likewise.
4691
4851a949
RH
4692 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4693 not previously defined.
4694 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4695 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4696 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4697 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4698 * sysdeps/ieee754/flt-32/math_private.h: New file.
4699 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4700 math_private.h below SET_FLOAT_WORD.
4701 (__isnan, __isinf_ns, __finite): Remove.
4702 (__isnanf, __isinf_nsf, __finitef): Remove.
4703
e79d442e
AS
47042012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4705
4706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4707
90b80344
DM
47082012-03-17 David S. Miller <davem@davemloft.net>
4709
4710 [BZ #6471]
4711 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4712 for 2.16.
4713
edc21804
DM
47142012-03-16 David S. Miller <davem@davemloft.net>
4715
77e927af
DM
4716 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4717 warnings.
4718
374976dd
DM
4719 [BZ #6471]
4720 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4721 properly.
4722 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4723 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4724 sysdep_routines when subdir is sysvipc.
4725 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4726 __getshmlba helper.
4727
edc21804
DM
4728 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4729
473c3ef3
L
47302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4731
4732 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4733 [__LP64__].
4734
eb0f39b6
L
47352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4736
4737 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4738 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4739 (__lround): Renamed to ...
4740 (__llround): This. Replace long int with long long int.
4741 Define lround functions as aliases of llround functions.
4742 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4743
6b6cd74b
L
47442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4745
4746 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4747 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4748 adresses to uintptr_t. Replace "long int" and "unsigned long
4749 int" with "greg_t" on va_arg.
4750
f1a77b01
L
47512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4752
4753 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4754 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4755
4756 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4757 Move e_machine check before EI_CLASS check. Handle x32
4758 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4759 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4760 SKIP_EM_IA_64 and include
4761 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4762
4763 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4764 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4765 (add_system_dir): New macro.
4766
4767 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4768 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4769
11b90b9f
JM
47702012-03-16 Joseph Myers <joseph@codesourcery.com>
4771
c36e1d23
JM
4772 [BZ #2551]
4773 [BZ #2552]
4774 [BZ #2553]
4775 [BZ #2554]
4776 [BZ #2562]
4777 [BZ #2563]
4778 [BZ #2565]
4779 [BZ #2566]
4780 [BZ #2576]
4781 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4782 (y0): Likewise.
4783 * math/w_j0f.c (j0f): Likewise.
4784 (y0f): Likewise.
4785 * math/w_j0l.c (__j0l): Likewise.
4786 (__y0l): Likewise.
4787 * math/w_j1.c (j1): Likewise.
4788 (y1): Likewise.
4789 * math/w_j1f.c (j1f): Likewise.
4790 (y1f): Likewise.
4791 * math/w_j1l.c (__j1l): Likewise.
4792 (__y1l): Likewise.
4793 * math/w_jn.c (jn): Likewise.
4794 (yn): Likewise.
4795 * math/w_jnf.c (jnf): Likewise.
4796 (ynf): Likewise.
4797 * math/w_jnl.c (__jnl): Likewise.
4798 (__ynl): Likewise.
4799 * math/libm-test.inc (j0_test): Add more tests.
4800 (j1_test): Likewise.
4801 (jn_test): Likewise. Add trailing semicolon to existing test.
4802 (y0_test): Likewise.
4803 (y1_test): Likewise.
4804 * sysdeps/i386/fpu/libm-test-ulps: Update.
4805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4806
11b90b9f
JM
4807 [BZ #13851]
4808 [BZ #13854]
4809 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4810 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4811 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4812 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4813 (__tanl): Set errno for infinite argument.
4814 * sysdeps/i386/fpu/mptan.c: Remove.
4815 * sysdeps/i386/fpu/s_tan.S: Likewise.
4816 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4817 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4818 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4819 * math/libm-test.inc (tan_test): Add more tests and enable more
4820 tests for double and long double.
4821 * sysdeps/i386/fpu/libm-test-ulps: Update.
4822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4823
6a1bd2a1
JK
48242012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4825
4826 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4827 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4828
10a803e0
RM
48292012-03-16 Roland McGrath <roland@hack.frob.com>
4830
4831 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4832 * configure.in: Use it for both main tree and add-ons.
4833 * configure: Regenerated.
4834
f196c7f7
L
48352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4836
4837 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4838
8848d99d
JM
48392012-03-16 Joseph Myers <joseph@codesourcery.com>
4840
96cbe7f4
JM
4841 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4842 in comment.
4843
8848d99d
JM
4844 [BZ #13851]
4845 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4846 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4850 infinite argument.
4851 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4853 != 0 for prec == 2.
4854 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4855 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4856 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4857 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4858 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4859 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4860 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4861 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4862 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4863 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4864 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4865 * math/libm-test.inc (cos_test): Add more tests and enable more
4866 tests for long double.
4867 (sin_test): Likewise.
4868 (sincos_test): Likewise.
4869 * sysdeps/i386/fpu/libm-test-ulps: Update.
4870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4871
dd7f4703
DM
48722012-03-16 David S. Miller <davem@davemloft.net>
4873
4874 * sysdeps/sparc/fpu/math_private.h: New file.
4875
006f1daa
DM
48762012-03-15 David S. Miller <davem@davemloft.net>
4877
c0c83bc8
DM
4878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4879 file.
e6a62e18 4880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4882 file.
e6a62e18
DM
4883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4888 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4889 sysdep routines.
4890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4891
88cb87d9
DM
4892 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4893 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4894
006f1daa 4895 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4897 sparc-ifunc.h
006f1daa 4898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4900 Likewise.
4901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4902 Likewise.
006f1daa
DM
4903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4907 Likewise.
006f1daa
DM
4908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4913 Likewise.
4914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4915 Likewise.
006f1daa
DM
4916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4922 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4940
11e0098e
AS
49412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4942
4943 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4944 scaling.
4945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4946
e85b09d0
AJ
49472012-03-15 Andreas Jaeger <aj@suse.de>
4948
4949 [BZ #13852]
4950 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4951 ieee754/flt-32 implementation for sin, cos and sincos.
4952 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4953 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4954 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4955 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4956 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4957 ieee754/flt-32 implementation for tan.
4958
4959 * math/libm-test.inc (cos_test): Enable some large input tests for
4960 float as well
4961 (sin_test): Likewise.
4962 (sincos_test): Likewise.
4963 (tan_test): Add tests for large input.
4964
4965 * sysdeps/i386/fpu/libm-test-ulps: Update.
4966
81c64153
AJ
49672012-03-15 Andreas Jaeger <aj@suse.de>
4968
4969 [BZ #13658]
4970 * math/libm-test.inc (cos_test): Add more test cases.
4971 (sin_test): Likewise.
4972 (sincos_test): Likewise.
4973
7bbfa5c6
AJ
49742012-03-15 Andreas Jaeger <aj@suse.de>
4975
4976 [BZ #13837]
4977 * math/libm-test.inc (cos_test): Add a test case for large input
4978 value.
4979 (sin_test): Likewise.
4980 (sincos_test): Likewise.
4981
49822012-03-15 Andreas Jaeger <aj@suse.de>,
4983 Joseph Myers <joseph@codesourcery.com>
4984
4985 [BZ #13658]
0671f479 4986 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4987 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4988 * sysdeps/i386/fpu/branred.c: Likewise.
4989 * sysdeps/i386/fpu/dosincos.c: Likewise.
4990 * sysdeps/i386/fpu/mpa.c: Likewise.
4991 * sysdeps/i386/fpu/s_cos.S: Likewise.
4992 * sysdeps/i386/fpu/s_sin.S: Likewise.
4993 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4994 * sysdeps/i386/fpu/sincos32.c: Likewise.
4995
4996 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4997 Define.
4998 (libc_feupdateenv_53bit): Define.
4999 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5000 Define.
5001 (libc_feupdateenv_53bit): Define.
5002
5003 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5004 53 bit (without extend i386 double precision).
5005
5006 * math/libm-test.inc (sincos_test): Add tests for large input.
5007 (sin): Likewise.
5008 (cos): Likewise.
5009
5010 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5011
9cad04ea
AS
50122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5013
5014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5015
f7062b9a
DM
50162012-03-15 David S. Miller <davem@davemloft.net>
5017
5018 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5019 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5020 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5021 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5034 file.
f7062b9a 5035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5037 file.
f7062b9a 5038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
5039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5040 file.
f7062b9a 5041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
5042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5043 file.
f7062b9a
DM
5044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5045 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5046 fmin/fmax sysdep routines.
5047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5048
7bd951ff
DM
50492012-03-14 David S. Miller <davem@davemloft.net>
5050
559398ab
DM
5051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5055 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5057 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5071 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5075 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5079 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5080 routines.
5081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5082 file.
559398ab 5083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5085 file.
559398ab 5086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5088 file.
559398ab 5089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5091 file.
559398ab 5092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5094 file.
559398ab 5095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5097 file.
5098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5099 file.
5100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5101 file.
5102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5103 file.
5104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5105 New file.
5106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5107 file.
5108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5109 file.
559398ab 5110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5112 file.
559398ab 5113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5115 file.
559398ab 5116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5118 file.
559398ab 5119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5121 VIS3 routines.
559398ab
DM
5122
5123 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5124 New file.
5125
5a1c1e32
DM
5126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5127
eae47a36
DM
5128 * sysdeps/sparc/configure.in: New file.
5129 * sysdeps/sparc/configure: Generate.
5130 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5131 * configure: Regenerate.
5132 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5133 * config.make.in (have-as-vis3): New.
5134 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5135 available use -Av9d instead of -Av9a.
5136 * sysdeps/sparc/sparc64/Makefile: Likewise.
5137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5139 New file.
5140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5141 file.
5142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5143 New file.
5144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5145 file.
eae47a36
DM
5146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5147 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5151
c0c83bc8
DM
5152 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5153 fzeros/fnegs to load 0x80000000 into a float register instead of
5154 using the stack.
7bd951ff
DM
5155 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5156
bd951ccb
JM
51572012-03-14 Joseph Myers <joseph@codesourcery.com>
5158
5159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5160 bits/syscall.h.
5161 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5162 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5163 ($(inst_includedir)/bits/syscall.h): Remove rule.
5164 ($(objpfx)bits/syscall.d): Include instead of
5165 $(objpfx)syscall-list.d.
5166 (generated): Change syscall-list.h and syscall-list.d to
5167 bits/syscall.h and bits/syscall.d.
5168
bb4e6db2
RM
51692012-03-14 Roland McGrath <roland@hack.frob.com>
5170
5171 [BZ #13846]
5172 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5173
aa4a2ae1
JM
51742012-03-14 Joseph Myers <joseph@codesourcery.com>
5175
e456826d
JM
5176 [BZ #13841]
5177 * math/s_csqrt.c: Include <float.h>.
5178 (__csqrt): Scale large or subnormal inputs.
5179 * math/s_csqrtf.c: Likewise.
5180 * math/s_csqrtl.c: Likewise.
5181 * math/libm-test.inc (csqrt_test): Add more tests.
5182 * sysdeps/i386/fpu/libm-test-ulps: Update.
5183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5184
aa4a2ae1
JM
5185 [BZ #13840]
5186 * math/libm-test.inc (hypot_test): Add more tests.
5187
7c10fd35
DM
51882012-03-13 David S. Miller <davem@davemloft.net>
5189
5190 [BZ #13840]
5191 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5192 double-precision for the calculation instead of scaling.
5193
f453b98b
JM
51942012-03-13 Joseph Myers <joseph@codesourcery.com>
5195
5196 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5197 manipulate bits before adding and subtracting TWO52[sx].
5198 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5199 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5200 Likewise.
5201 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5202
09a3453f
DM
52032012-03-13 David S. Miller <davem@davemloft.net>
5204
8e59da90
DM
5205 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5206 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5208 rtld-global-offsets.h
5209 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5210
2a8ab7f2
DM
5211 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5212 large parameters.
5213
10f62770
DM
5214 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5215
5f0bdb18
DM
5216 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5217 'err' in the ifdef scope in which it is actually used.
5218
09a3453f
DM
5219 * nss/nss_db/db-init.c: Include string.h
5220
b4b2eb5e
DM
52212012-03-12 David S. Miller <davem@davemloft.net>
5222
98bb2f1c
DM
5223 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5224 masking out of the most significant byte of random value used.
5225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5226 Fix coding style in previous change.
5227
b4b2eb5e
DM
5228 * sysdeps/unix/sysv/linux/kernel-features.h
5229 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5230 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5231 expression.
5232 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5233 later.
5234
6e226b09
DM
52352012-03-11 David S. Miller <davem@davemloft.net>
5236
a1bcbd40
DM
5237 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5238 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5239 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5240 for 'resultvar' otherwise things get truncated on 64-bit.
5241
cb9d6174
DM
5242 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5243 Fix masking out of the most significant byte of random value used.
5244
6e226b09
DM
5245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5246
058c132d
AS
52472012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5248
5249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5250
2d2cd515
DM
52512012-03-09 David S. Miller <davem@davemloft.net>
5252
5253 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5254 variables with appropriate CPP guards.
5255 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5256 frame pointer, not the stack pointer. Correct layout comments. Fix test
5257 on resulting framesize and the management of the outregs buffer for pltexit.
5258 Preserve floating point return values across _dl_call_pltexit call.
5259 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5260 framesize and the management of the outregs buffer for pltexit.
5261 Preserve floating point return values across _dl_call_pltexit
5262 call.
5263 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5264 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5265 (print_exit): Fix format string for return register value.
5266
9a07f9d0
JM
52672012-03-10 Joseph Myers <joseph@codesourcery.com>
5268
5269 * sunrpc/Makefile (others): Add rpcgen.
5270 ($(objpfx)rpcgen): Remove special build rule and dependency on
5271 libc.
5272 * sunrpc/rpcgen.c: New file.
5273
547b5e30
PE
52742012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5275
c524201a
PE
5276 [BZ #13673]
5277 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5278 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5279 * sysdeps/i386/crti.S: Likewise.
5280 * sysdeps/i386/crtn.S: Likewise.
5281 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5282 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5283 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5284 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5285 * sysdeps/sh/crti.S: Likewise.
5286 * sysdeps/sh/crtn.S: Likewise.
5287 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5288
7b6235f2
PE
5289 [BZ #13673]
5290 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5291 with URL.
5292 * locale/programs/locfile-kw.gperf: Likewise.
5293 * locale/programs/charmap-kw.h: Regenerated.
5294 * locale/programs/locfile-kw.h: Likewise.
5295
547b5e30
PE
5296 [BZ #13673]
5297 * intl/plural.y: Replace FSF snail mail address with URL.
5298 * intl/plural.c: Regenerated.
5299
5f0a5dae
RH
53002012-03-09 Richard Henderson <rth@twiddle.net>
5301
5302 * include/math_private.h: Remove file.
5303 * math/math_private.h: Move file ...
5304 * sysdeps/generic/math_private.h: ... here.
5305
b8c03620
RH
5306 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5307 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5308 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5309
4e234f5d 5310 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5311 and <math_private.h>.
5312 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5313 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5314 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5315 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5316 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5323 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5324 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5325 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5326 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5327 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5328 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5329 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5330 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5331 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5332 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5333 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5334 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5336 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5342 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5352 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5354 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5400 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5401 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5402 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5403 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5404 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5405 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5406 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5407 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5408 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5409 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5410 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5411 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5412 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5413 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5414 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5415 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5416 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5417 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5418 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5419 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5420 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5421 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5422 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5423 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5424 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5425 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5426 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5427 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5428 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5429 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5430 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5431 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5432 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5433 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5434 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5435 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5436 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5437 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5438 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5439 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5440 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5441 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5442 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5443 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5444 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5445 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5446 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5447 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5448 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5449 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5450 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5451 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5452 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5453 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5454 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5455 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5456 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5457 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5458 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5459 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5460 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5461 * sysdeps/ieee754/k_standard.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5464 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5495 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5513 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5514 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5517 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5519 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5521 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5522 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5524 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5553 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5572 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5574 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5575 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5577 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5578 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5579 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5580 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5581 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5582 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5584 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5585 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5589 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5590 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5592 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5594 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5596 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5600 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5608 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5610 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5611 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5612 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5613 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5618 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5622 * sysdeps/ieee754/s_lib_version.c: Likewise.
5623 * sysdeps/ieee754/s_matherr.c: Likewise.
5624 * sysdeps/ieee754/s_signgam.c: Likewise.
5625 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5626 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5627 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5628 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5629 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5630 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5631 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5632 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5633 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5634 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5635 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5636 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5637 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5638 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5639 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5640 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5641 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5642 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5643 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5644 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5646
1991fa03
JM
56472012-03-09 Joseph Myers <joseph@codesourcery.com>
5648
5649 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5650 * sunrpc/rpc_main.c: Likewise.
5651 * sunrpc/rpc_svcout.c: Likewise.
5652
60d6f5a6
DM
56532012-03-09 David S. Miller <davem@davemloft.net>
5654
5655 * include/math_private.h: New file.
5656
4962050e
JM
56572012-03-09 Joseph Myers <joseph@codesourcery.com>
5658
02a6f887
JM
5659 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5660 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5661 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5662 from <bits/socket_type.h>.
5663 (enum __socket_type): Don't define here.
5664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5666 bits/socket_type.h.
5667
c6e013c1
JM
5668 [BZ #13566]
5669 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5670 checking __USE_GNU.
5671
4962050e
JM
5672 * Makerules ($(inst_includedir)/%.h): New rule.
5673 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5674 (install-others): Remove variable setting.
5675 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5676
38842f45
RH
56772012-03-08 Richard Henderson <rth@twiddle.net>
5678
67bb6da6
RH
5679 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5680 from macro to inline function; merge with the
5681 !__LIBC_INTERNAL_MATH_INLINES version.
5682 (__ieee754_sqrtf): Likewise.
5683
15194b4b
RH
5684 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5685 to inline function.
5686 (__rintf, __floor, __floorf): Likewise.
5687
64e21ede
RH
5688 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5689 macro to inline function.
5690 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5691
38842f45
RH
5692 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5693 not <math/math_private.h>.
5694
c64bf5fe
DM
56952012-03-08 David S. Miller <davem@davemloft.net>
5696
5697 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5698 copyright year.
5699 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5700
82d86f28
TS
57012012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5702
5703 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5704 normalization.
5705 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5706 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5707
aea5d727
UD
57082012-03-08 Ulrich Drepper <drepper@gmail.com>
5709
5710 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5711 be defined individually, they must be defined as a block. Define
5712 S for printing a string instead of hidint the different by using a
5713 macro for adding the 'l'.
5714 * stdio-common/tst-fphex-wide.c: Adjust.
5715
70bca0a3
MP
57162012-03-07 Marek Polacek <polacek@redhat.com>
5717
5718 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5719
65b81130
MP
57202012-03-08 Marek Polacek <polacek@redhat.com>
5721
5722 [BZ #13806]
5723 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5724 * stdio-common/tst-fphex.c: Define a few macros to make the
5725 test reusable. Use them.
5726 * stdio-common/tst-fphex-wide.c: New file.
5727
07037eeb
JM
57282012-03-08 Joseph Myers <joseph@codesourcery.com>
5729
a7a93d50
JM
5730 [BZ #6911]
5731 * manual/macros.texi (gnusystems): New macro.
5732 (nongnusystems): Likewise.
5733 (gnulinuxhurdsystems): Likewise.
5734 (gnuhurdsystems): Likewise..
5735 (gnulinuxsystems): Likewise.
5736 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5737 variants of the GNU system, not "GNU system".
5738 * manual/conf.texi: Likewise.
5739 * manual/errno.texi: Likewise. Update example of errno macro
5740 expansion.
5741 * manual/filesys.texi: Likewise.
5742 (getumask): Document as specific to GNU/Hurd.
5743 * manual/install.texi: Likewise. Reword some references to
5744 GNU/Linux.
5745 * manual/intro.texi: Likewise.
5746 * manual/io.texi: Likewise.
5747 (File Name Portability): Detail which constraints are inapplicable
5748 to all GNU systems and which are only inapplicable to GNU/Hurd.
5749 * manual/job.texi: Likewise.
5750 * manual/llio.texi: Likewise.
5751 (O_NOCTTY): Document as present on GNU/Linux.
5752 * manual/maint.texi: Likewise.
5753 * manual/memory.texi: Likewise.
5754 * manual/pattern.texi: Likewise.
5755 * manual/pipe.texi: Likewise.
5756 * manual/process.texi: Likewise.
5757 * manual/resource.texi: Likewise.
5758 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5759 child on GNU/Hurd.
5760 * manual/setjmp.texi: Likewise.
5761 * manual/signal.texi: Likewise.
5762 * manual/startup.texi: Likewise.
5763 * manual/stdio.texi: Likewise.
5764 * manual/terminal.texi: Likewise.
5765 (ONLCR): Document as POSIX.
5766 (OXTABS): Document availability on GNU/Linux as XTABS.
5767 (ONOEOT): Document availability separately from other bits.
5768 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5769 * manual/time.texi: Likewise.
5770 * manual/users.texi: Likewise.
5771 * INSTALL: Regenerated.
5772 * sysdeps/gnu/errlist.c: Regenerated.
5773
07037eeb
JM
5774 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5775 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5776 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5777 puts.
5778 * configure: Regenerated.
5779
d1d3431a
JM
57802012-03-07 Joseph Myers <joseph@codesourcery.com>
5781
af6a1e37
JM
5782 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5783 default includes instead of AC_HEADER_CHECK.
5784 * sysdeps/i386/configure: Regenerated.
5785
d1d3431a
JM
5786 [BZ #10716]
5787 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5788 * math/s_cacoshf.c (__cacoshf): Likewise.
5789 * math/s_cacoshl.c (__cacoshl): Likewise.
5790 * math/s_casinh.c (__casinh): Set signs of result from argument.
5791 * math/s_casinhf.c (__casinhf): Likewise.
5792 * math/s_casinhl.c (__casinhl): Likewise.
5793 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5794 (casinh_test): Add more tests.
5795 * sysdeps/i386/fpu/libm-test-ulps: Update.
5796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5797
482ff4da
UD
57982012-03-07 Ulrich Drepper <drepper@gmail.com>
5799
872fda05
UD
5800 * po/zh_TW.po: Update from translation team.
5801
a4300c7a
UD
5802 * login/Makefile (distribute): Remove variable.
5803 * catgets/Makefile: Likewise.
5804 * mach/Makefile: Likewise.
5805 * malloc/Makefile: Likewise.
5806 * misc/Makefile: Likewise.
5807 * iconv/Makefile: Likewise.
5808 * nscd/Makefile: Likewise.
5809 * hurd/Makefile: Likewise.
5810 * manual/Makefile: Likewise.
5811 * locale/Makefile: Likewise.
5812 * intl/Makefile: Likewise.
5813 * conform/Makefile: Likewise.
5814 * nss/Makefile: Likewise.
5815 * time/Makefile: Likewise.
5816 * soft-fp/Makefile: Likewise.
5817 * dirent/Makefile: Likewise.
5818 * gmon/Makefile: Likewise.
5819 * po/Makefile: Likewise.
5820 * rt/Makefile: Likewise.
5821 * socket/Makefile: Likewise.
5822 * math/Makefile: Likewise.
5823 * signal/Makefile: Likewise.
5824 * debug/Makefile: Likewise.
5825 * elf/Makefile: Likewise.
5826 * timezone/Makefile: Likewise.
5827 * stdlib/Makefile: Likewise.
5828 * iconvdata/Makefile: Likewise.
5829 * sunrpc/Makefile: Likewise.
5830 * io/Makefile: Likewise.
5831 * argp/Makefile: Likewise.
5832 * inet/Makefile: Likewise.
5833 * hesiod/Makefile: Likewise.
5834 * grp/Makefile: Likewise.
5835 * csu/Makefile: Likewise.
5836 * wctype/Makefile: Likewise.
5837 * crypt/Makefile: Likewise.
5838 * libio/Makefile: Likewise.
5839 * string/Makefile: Likewise.
5840 * nis/Makefile: Likewise.
5841 * resolv/Makefile: Likewise.
5842 * stdio-common/Makefile: Likewise.
5843 * wcsmbs/Makefile: Likewise.
5844 * dlfcn/Makefile: Likewise.
5845 * posix/Makefile: Likewise.
5846
3b7c4e74 5847 [BZ #6959]
482ff4da
UD
5848 * timezone/Makefile: Don't install timezone files, just the programs
5849 and scripts.
5850
f72ed77d
UD
58512012-03-06 Ulrich Drepper <drepper@gmail.com>
5852
a000466f
UD
5853 * nss/databases.def: Add missing gshadow entry.
5854
f72ed77d
UD
5855 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5856
a53b7a4e
MP
58572012-03-06 Marek Polacek <polacek@redhat.com>
5858
5859 [BZ #13726]
5860 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5861 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5862 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5863 * stdio-common/tst-long-dbl-fphex.c: New file.
5864
e9258400
DM
58652012-03-06 David S. Miller <davem@davemloft.net>
5866
5867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5868 (set_obp_int): New function.
5869 (get_obp_int): New function.
5870 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5871 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5872 Avoid unused variable warnings on 'val' and use builtin_expect.
5873 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5874 __builtin_expect.
e9258400
DM
5875 (INLINE_CLONE_SYSCALL): Likewise.
5876
3bd2c723
DM
58772012-03-05 David S. Miller <davem@davemloft.net>
5878
5879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5880
bbb78d03
AS
58812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5882
884c5db4
AS
5883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5884
bbb78d03
AS
5885 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5886 only for |x| >= 40.
5887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5888
1c9f702a 58892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5890
5891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5892 Replace gettimeofday with __vdso_gettimeofday.
5893
7be16f82
RM
5894 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5895 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5896 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5897
5898 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5899 time with __vdso_time.
5900
ed58a00f
JM
59012012-03-05 Joseph Myers <joseph@codesourcery.com>
5902
5903 * manual/lang.texi (size_t): Note types to which size_t may be
5904 equivalent with the GNU C Library, but do not describe when
5905 differences between them are significant.
5906
30ee4ced
AJ
59072012-03-05 Andreas Jaeger <aj@suse.de>
5908
5909 * sysdeps/i386/fpu/libm-test-ulps: Update.
5910
b7cd39e8
JM
59112012-03-05 Joseph Myers <joseph@codesourcery.com>
5912
5913 [BZ #3976]
5914 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5915 (__ieee754_pow): Save and restore rounding mode and use
5916 round-to-nearest for main computations.
5917 * math/libm-test.inc (pow_test_tonearest): New function.
5918 (pow_test_towardzero): Likewise.
5919 (pow_test_downward): Likewise.
5920 (pow_test_upward): Likewise.
5921 (main): Call the new functions.
5922 * sysdeps/i386/fpu/libm-test-ulps: Update.
5923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5924
5925 [BZ #3976]
5926 * math/libm-test.inc (cosh_test_tonearest): New function.
5927 (cosh_test_towardzero): Likewise.
5928 (cosh_test_downward): Likewise.
5929 (cosh_test_upward): Likewise.
5930 (sinh_test_tonearest): Likewise.
5931 (sinh_test_towardzero): Likewise.
5932 (sinh_test_downward): Likewise.
5933 (sinh_test_upward): Likewise.
5934 (main): Call the new functions.
5935 * sysdeps/i386/fpu/libm-test-ulps: Update.
5936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5937
6c6a98c9
TV
59382012-03-05 Tom de Vries <tom@codesourcery.com>
5939
5940 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5941 default stack guard is set in last bytes.
5942 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5943
21bb2d2e 59442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5945
21bb2d2e 5946 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5947
21bb2d2e
AJ
5948 [BZ #13656]
5949 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5950 possibly allocate from heap instead of stack.
5951 * stdio-common/bug-vfprintf-nargs.c: New file.
5952 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5953
c6922934
AS
59542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5955
5956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5957
bc957d53
MP
59582012-03-03 Marek Polacek <polacek@redhat.com>
5959
5960 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5961 * math/math_private.h: Likewise.
5962 * stdlib/tst-strtod.c: Likewise.
5963 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5964 * sysdeps/x86_64/bits/atomic.h: Likewise.
5965
6358490d
DM
59662012-03-02 David S. Miller <davem@davemloft.net>
5967
5968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5972 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5973 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5974 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5975 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5976
01ae168d
RM
59772012-03-02 Roland McGrath <roland@hack.frob.com>
5978
d9a17c07
RM
5979 [BZ #13792]
5980 * manual/examples/README: New file, says the example source files
5981 can be used under GPL>=2.
5982 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5983 line containing just "*/".
5984 * manual/examples/add.c: Add copyright header (GPL>=2).
5985 * manual/examples/argp-ex1.c: Likewise.
5986 * manual/examples/argp-ex2.c: Likewise.
5987 * manual/examples/argp-ex3.c: Likewise.
5988 * manual/examples/argp-ex4.c: Likewise.
5989 * manual/examples/atexit.c: Likewise.
5990 * manual/examples/db.c: Likewise.
5991 * manual/examples/dir.c: Likewise.
5992 * manual/examples/dir2.c: Likewise.
5993 * manual/examples/execinfo.c: Likewise.
5994 * manual/examples/filecli.c: Likewise.
5995 * manual/examples/filesrv.c: Likewise.
5996 * manual/examples/fmtmsgexpl.c: Likewise.
5997 * manual/examples/genpass.c: Likewise.
5998 * manual/examples/inetcli.c: Likewise.
5999 * manual/examples/inetsrv.c: Likewise.
6000 * manual/examples/isockad.c: Likewise.
6001 * manual/examples/longopt.c: Likewise.
6002 * manual/examples/memopen.c: Likewise.
6003 * manual/examples/memstrm.c: Likewise.
6004 * manual/examples/mkfsock.c: Likewise.
6005 * manual/examples/mkisock.c: Likewise.
6006 * manual/examples/mygetpass.c: Likewise.
6007 * manual/examples/pipe.c: Likewise.
6008 * manual/examples/popen.c: Likewise.
6009 * manual/examples/rprintf.c: Likewise.
6010 * manual/examples/search.c: Likewise.
6011 * manual/examples/select.c: Likewise.
6012 * manual/examples/setjmp.c: Likewise.
6013 * manual/examples/sigh1.c: Likewise.
6014 * manual/examples/sigusr.c: Likewise.
6015 * manual/examples/stpcpy.c: Likewise.
6016 * manual/examples/strdupa.c: Likewise.
6017 * manual/examples/strftim.c: Likewise.
6018 * manual/examples/strncat.c: Likewise.
6019 * manual/examples/subopt.c: Likewise.
6020 * manual/examples/swapcontext.c: Likewise.
6021 * manual/examples/termios.c: Likewise.
6022 * manual/examples/testopt.c: Likewise.
6023 * manual/examples/testpass.c: Likewise.
6024 * manual/examples/timeval_subtract.c: Likewise.
6025
01ae168d
RM
6026 [BZ #13792]
6027 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6028 function to ...
6029 * manual/timeval_subtract.c.texi: ... here, new file.
6030
49efa33d
DM
60312012-03-02 David S. Miller <davem@davemloft.net>
6032
6033 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6034
28afd92d
JM
60352012-03-02 Joseph Myers <joseph@codesourcery.com>
6036
804360ed
JM
6037 [BZ #3976]
6038 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6039 (__sin): Save and restore rounding mode and use round-to-nearest
6040 for all computations.
6041 (__cos): Save and restore rounding mode and use round-to-nearest
6042 for all computations.
6043 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6044 <fenv.h>.
6045 (tan): Save and restore rounding mode and use round-to-nearest for
6046 all computations.
6047 * math/libm-test.inc (cos_test_tonearest): New function.
6048 (cos_test_towardzero): Likewise.
6049 (cos_test_downward): Likewise.
6050 (cos_test_upward): Likewise.
6051 (sin_test_tonearest): Likewise.
6052 (sin_test_towardzero): Likewise.
6053 (sin_test_downward): Likewise.
6054 (sin_test_upward): Likewise.
6055 (tan_test_tonearest): Likewise.
6056 (tan_test_towardzero): Likewise.
6057 (tan_test_downward): Likewise.
6058 (tan_test_upward): Likewise.
6059 (main): Call the new functions.
6060 * sysdeps/i386/fpu/libm-test-ulps: Update.
6061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6062
a6d06d7b
JM
6063 [BZ #10135]
6064 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6065 small n, then large n, before computing and testing k+n.
6066 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6068 Likewise.
6069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6070 Likewise.
6071 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6072 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6073 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6074 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6075 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6076 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6077 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6078 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6079 * math/libm-test.inc (scalbn_test): Add more tests.
6080 (scalbln_test): Likewise.
6081
07e12bb3
JM
6082 * manual/filesys.texi (mode_t): Describe constraints on size and
6083 signedness, not exact equivalence to a particular type.
6084 (ino_t): Likewise.
6085 (ino64_t): Likewise.
6086 (dev_t): Likewise.
6087 (nlink_t): Likewise.
6088 (blkcnt_t): Likewise.
6089 (blkcnt64_t): Likewise.
6090 * manual/llio.texi (off_t): Likewise.
6091
28afd92d
JM
6092 [BZ #3976]
6093 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6094 (__ieee754_exp): Save and restore rounding mode and use
6095 round-to-nearest for all computations.
6096 * math/libm-test.inc (exp_test_tonearest): New function.
6097 (exp_test_towardzero): Likewise.
6098 (exp_test_downward): Likewise.
6099 (exp_test_upward): Likewise.
6100 (main): Call the new functions.
6101 * sysdeps/i386/fpu/libm-test-ulps: Update.
6102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6103
b1eeb65d
CD
61042012-03-01 Chris Demetriou <cgd@google.com>
6105
6106 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6107 have predictable order.
6108
53362a4b
DM
61092012-03-01 David S. Miller <davem@davemloft.net>
6110
3c969083
DM
6111 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6112
759707de
DM
6113 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6114 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6115 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6116 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6117
dfdb8ff2
DM
6118 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6119 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6120 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6122 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6123 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6124 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6125 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6126 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6127
ead89f96
DM
6128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6129
7f66bd07
DM
6130 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6131 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6132 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6133
53362a4b
DM
6134 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6135 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6136 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6137 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6138 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6139 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6140 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6141 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6142 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6143 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6144 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6145 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6146 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6147 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6148 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6150 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6151 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6152 * sysdeps/sparc/elf/configure: Regenerated.
6153
7b1902cb
JM
61542012-03-01 Joseph Myers <joseph@codesourcery.com>
6155
bec039bc
JM
6156 * configure.in (AS, LD): Require binutils 2.20 or later.
6157 * configure: Regenerated.
6158 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6159 as required minimum version.
6160 * INSTALL: Regenerated.
6161
7b1902cb
JM
6162 [BZ #2541]
6163 [BZ #4108]
6164 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6165 before squaring exponent.
6166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6167 bottom long double and 27 bits of top long double before squaring
6168 exponent.
6169 * math/libm-test.inc (erfc_test): Add more tests.
6170 * sysdeps/i386/fpu/libm-test-ulps: Update.
6171 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6173
f775c276
KT
61742012-03-01 Kai Tietz <ktietz@redhat.com>
6175
6176 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6177 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6178 containing bit-fields.
6179 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6180 * soft-fp/single.h (_FP_UNION_S): Likewise.
6181 * soft-fp/double.h (_FP_UNION_D): Likewise.
6182
5b8a4d4a
JM
61832012-02-29 Joseph Myers <joseph@codesourcery.com>
6184
0bab47b6
JM
6185 [BZ #13786]
6186 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6187 not include ../strcmp.S.
6188 [USE_AS_STRNCASECMP_L]: Likewise.
6189 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6190 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6191 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6192 (__strncasecmp_l_ia32): Define as alias to
6193 __strncasecmp_l_nonascii.
6194
0fcad3e2
JM
6195 [BZ #5794]
6196 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6197 * sysdeps/i386/fpu/libm-test-ulps: Update.
6198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6199
5b8a4d4a
JM
6200 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6202
8fdceb2e
JL
62032012-02-29 Jeff Law <law@redhat.com>
6204
6205 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6206 out of bounds read.
6207
1f393a11
MP
62082012-02-29 Marek Polacek <polacek@redhat.com>
6209
6210 [BZ #13706]
6211 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6212 * elf/Makefile: Add rules to run tst-unused-dep.out.
6213
8847f037
DM
62142012-02-28 David S. Miller <davem@davemloft.net>
6215
6216 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6217 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6219 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6220 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6221 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6222
169d7f11
JM
62232012-02-29 Joseph Myers <joseph@codesourcery.com>
6224
6225 * math/libm-test.inc (llround_test): Move one test from
6226 lround_test. Use TEST_f_L in moved test.
6227 (lround_test): Move misplaced test to llround_test. Add testcase
6228 from bug 2561.
6229
39adf059
UD
62302012-02-28 Ulrich Drepper <drepper@gmail.com>
6231
6232 * sysdeps/x86_64/fpu/e_expf.S: New file.
6233 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6234
71b5d1c5
SB
62352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6236
6237 [BZ #13637]
6238 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6239 of remain_len that may cause incomplete multi-byte character and
6240 false match.
6241 * posix/bug-regex33.c: New file.
6242 * posix/Makefile (tests): Add bug-regex33.
6243
1f77f049
JM
62442012-02-28 Joseph Myers <joseph@codesourcery.com>
6245
6246 * manual/macros.texi: New file.
6247 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6248 * manual/libc.texinfo: Include macros.texi.
6249 * manual/creatute.texi: Likewise.
6250 * manual/install.texi: Likewise.
6251 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6252 @glibcadj{} in references to the GNU C Library.
6253 * manual/charset.texi: Likewise.
6254 * manual/conf.texi: Likewise.
6255 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6256 when not using those macros.
6257 * manual/creature.texi: Likewise.
6258 * manual/crypt.texi: Likewise.
6259 * manual/errno.texi: Likewise.
6260 * manual/filesys.texi: Likewise.
6261 * manual/header.texi: Likewise.
6262 * manual/install.texi: Likewise.
6263 * manual/intro.texi: Likewise.
6264 * manual/io.texi: Likewise.
6265 * manual/job.texi: Likewise.
6266 * manual/lang.texi: Likewise.
6267 * manual/libc.texiinfo: Likewise.
6268 * manual/llio.texi: Likewise.
6269 * manual/locale.texi: Likewise.
6270 * manual/maint.texi: Likewise.
6271 * manual/math.texi: Likewise.
6272 * manual/memory.texi: Likewise.
6273 * manual/message.texi: Likewise.
6274 * manual/nss.texi: Likewise.
6275 * manual/pattern.texi: Likewise.
6276 * manual/process.texi: Likewise.
6277 * manual/resource.texi: Likewise.
6278 * manual/search.texi: Likewise.
6279 * manual/setjmp.texi: Likewise.
6280 * manual/signal.texi: Likewise.
6281 * manual/socket.texi: Likewise.
6282 * manual/startup.texi: Likewise.
6283 * manual/stdio.texi: Likewise.
6284 * manual/string.texi: Likewise.
6285 * manual/sysinfo.texi: Likewise.
6286 * manual/syslog.texi: Likewise.
6287 * manual/terminal.texi: Likewise.
6288 * manual/time.texi: Likewise.
6289 * manual/users.texi: Likewise.
6290 * INSTALL: Regenerated.
6291 * NOTES: Regenerated.
d40c5d54 6292 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6293
450bf206
AS
62942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6295
6296 * include/dirent.h: Include <dirstream.h> before
6297 <dirent/dirent.h>.
6298
741a235b
DM
62992012-02-28 David S. Miller <davem@davemloft.net>
6300
6301 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6302 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6303 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6304 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6305
d6b5aa58
DM
63062012-02-27 David S. Miller <davem@davemloft.net>
6307
1aff59a3
DM
6308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6310 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6311 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6312
d6b5aa58
DM
6313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6314 frame pointer instead of stack pointer relative arg slot.
6315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6316 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6317 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6318
433f48bf
CD
63192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6320
6321 [BZ #3992]
6322 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6323
d674b76d
DM
63242012-02-27 David S. Miller <davem@davemloft.net>
6325
6326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6330 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6331 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6332 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6333 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6334
0e7727f7
JM
63352012-02-27 Joseph Myers <joseph@codesourcery.com>
6336
6337 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6338 later. Allow versions 5-9.
43be4ca2 6339 * configure: Regenerated.
0e7727f7
JM
6340 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6341 required minimum version and 4.6 as recommended version. Do not
6342 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6343 * INSTALL: Regenerated.
0e7727f7 6344
a78bc654
DM
63452012-02-27 David S. Miller <davem@davemloft.net>
6346
428d5830
DM
6347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6351 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6352 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6353 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6354 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6355
a78bc654
DM
6356 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6357 manipulate bits before adding and subtracting TWO112[sx].
6358 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6359
4579f81c
RM
63602012-02-27 Roland McGrath <roland@hack.frob.com>
6361
36c8acb4
RM
6362 [BZ #13775]
6363 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6364 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6365 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6366 being in POSIX, because they are in 1003.1-2008.
6367
84ad622b
RM
6368 * rt/tst-aio.c: Include <fcntl.h>.
6369 * rt/tst-aio7.c: Likewise.
6370 * rt/tst-aio64.c: Likewise.
6371
4579f81c
RM
6372 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6373
abd923db
JM
63742012-02-27 Joseph Myers <joseph@codesourcery.com>
6375
6376 * manual/install.texi (--with-headers): Describe headers as
6377 interface headers, not private headers.
6378 (Specific advice for GNU/Linux systems): Describe use of headers
6379 from "make headers_install", not private headers from older
6380 kernels.
43be4ca2 6381 * INSTALL: Regenerated.
abd923db
JM
6382 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6383 Change to 2.6.19.
6384 * sysdeps/unix/sysv/linux/configure: Regenerated.
6385
6664049b
JM
6386 * manual/llio.texi (fclean): Remove documentation.
6387
bb8b6697
JM
6388 * manual/Makefile (libc-texi-generated): New variable. Include
6389 version.texi.
6390 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6391 $(libc-texi-generated), not duplicated list of files.
6392 (version.texi, stamp-version): New rules.
6393 (realclean): Remove $(libc-texi-generated), not individual files
6394 from that list. Do not remove dir-add.texinfo.
6395 * manual/libc.texinfo: Comment out uses of edition numbers and
6396 references to printed manual. Remove last-updated dates.
6397 (EDITION): Comment out.
6398 (ISBN): Likewise.
6399 (VERSION, UPDATED): Remove.
6400 (version.texi): Include.
6401
12e5c3b9
AS
64022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6403
6404 * sysdeps/posix/spawni.c: Include <signal.h>.
6405 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6406 * sysdeps/pthread/aio_fsync.c: Likewise.
6407
4efeffc1 64082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6409
ba63ba08
UD
6410 * conform/Makefile (tests): Run only when not cross-compiling and
6411 when fast-check is not defined.
6412
d94a4670
UD
6413 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6414 * conform/data/limits.h-data: Fixes for POSIX2008.
6415 * conform/run-conformtest.sh: Run all tests.
6416 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6417 headers.
6418 * include/bits/dlfcn.h: Likewise.
6419 * include/langinfo.h: Likewise.
6420 * include/monetary.h: Likewise.
6421 * include/sys/poll.h: Likewise.
6422
6423 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6424 for __USE_GNU.
6425 * posix/spawn.h: Define __need_sigset_t.
6426 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6427 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6428 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6429 to get sigevent_t only.
6430 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6431 only for __USE_GNU.
6432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6433 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6434 process_vm_writev only for __USE_GNU.
6435 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6436
6437 * conform/Makefile: For now ignore errors from run-conformtest.
6438 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6439 POSIX to avoid namespace pollution. Don't prepend headers.
6440 * conform/data/aio.h-data: Fixes for POSIX testing.
6441 * conform/data/fcntl.h-data: Likewise.
6442 * conform/data/glob.h-data: Likewise.
6443 * conform/data/grp.h-data: Likewise.
6444 * conform/data/pthread.h-data: Likewise.
6445 * conform/data/pwd.h-data: Likewise.
6446 * conform/data/signal.h-data: Likewise.
6447 * conform/data/spawn.h-data: Likewise.
6448 * conform/data/stdio.h-data: Likewise.
6449 * conform/data/stdlib.h-data: Likewise.
6450 * conform/data/stropts.h-data: Likewise.
6451 * conform/data/sys/mman.h-data: Likewise.
6452 * conform/data/sys/stat.h-data: Likewise.
6453 * conform/data/sys/types.h-data: Likewise.
6454 * conform/data/sys/wait.h-data: Likewise.
6455 * conform/data/time.h-data: Likewise.
6456 * conform/data/unistd.h-data: Likewise.
6457 * conform/data/utime.h-data: Likewise.
6458
6459 * io/sys/stat.h: fchmod was always in POSIX.
6460 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6461 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6462 * rt/aio.h: Define __need_timespec before including <time.h>.
6463 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6464 struct. Add forward declaration of pthread_attr_t and use it in
6465 sigevent.
6466 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6467 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6468 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6469 always remove CLK_TCK definition.
6470
c20105c3
AS
64712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6472
6473 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6474
7a270350
UD
64752012-02-25 Ulrich Drepper <drepper@gmail.com>
6476
31341567
UD
6477 * conform/run-conformtest.sh: New file.
6478 * conform/Makefile: Run run-conformtest for tests.
6479 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6480 support.
6481
6482 * conform/data/uchar.h-data: New file.
6483 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6484 * conform/data/arpa/inet.h-data: Likewise.
6485 * conform/data/assert.h-data: Likewise.
6486 * conform/data/complex.h-data: Likewise.
6487 * conform/data/cpio.h-data: Likewise.
6488 * conform/data/ctype.h-data: Likewise.
6489 * conform/data/dirent.h-data: Likewise.
6490 * conform/data/dlfcn.h-data: Likewise.
6491 * conform/data/errno.h-data: Likewise.
6492 * conform/data/fcntl.h-data: Likewise.
6493 * conform/data/float.h-data: Likewise.
6494 * conform/data/fmtmsg.h-data: Likewise.
6495 * conform/data/fnmatch.h-data: Likewise.
6496 * conform/data/ftw.h-data: Likewise.
6497 * conform/data/glob.h-data: Likewise.
6498 * conform/data/grp.h-data: Likewise.
6499 * conform/data/iconv.h-data: Likewise.
6500 * conform/data/inttypes.h-data: Likewise.
6501 * conform/data/langinfo.h-data: Likewise.
6502 * conform/data/libgen.h-data: Likewise.
6503 * conform/data/limits.h-data: Likewise.
6504 * conform/data/locale.h-data: Likewise.
6505 * conform/data/math.h-data: Likewise.
6506 * conform/data/monetary.h-data: Likewise.
6507 * conform/data/mqueue.h-data: Likewise.
6508 * conform/data/ndbm.h-data: Likewise.
6509 * conform/data/net/if.h-data: Likewise.
6510 * conform/data/netdb.h-data: Likewise.
6511 * conform/data/netinet/in.h-data: Likewise.
6512 * conform/data/nl_types.h-data: Likewise.
6513 * conform/data/poll.h-data: Likewise.
6514 * conform/data/pthread.h-data: Likewise.
6515 * conform/data/pwd.h-data: Likewise.
6516 * conform/data/regex.h-data: Likewise.
6517 * conform/data/sched.h-data: Likewise.
6518 * conform/data/search.h-data: Likewise.
6519 * conform/data/semaphore.h-data: Likewise.
6520 * conform/data/setjmp.h-data: Likewise.
6521 * conform/data/signal.h-data: Likewise.
6522 * conform/data/spawn.h-data: Likewise.
6523 * conform/data/stdarg.h-data: Likewise.
6524 * conform/data/stdio.h-data: Likewise.
6525 * conform/data/stdlib.h-data: Likewise.
6526 * conform/data/string.h-data: Likewise.
6527 * conform/data/strings.h-data: Likewise.
6528 * conform/data/stropts.h-data: Likewise.
6529 * conform/data/sys/ipc.h-data: Likewise.
6530 * conform/data/sys/mman.h-data: Likewise.
6531 * conform/data/sys/msg.h-data: Likewise.
6532 * conform/data/sys/resource.h-data: Likewise.
6533 * conform/data/sys/select.h-data: Likewise.
6534 * conform/data/sys/sem.h-data: Likewise.
6535 * conform/data/sys/shm.h-data: Likewise.
6536 * conform/data/sys/socket.h-data: Likewise.
6537 * conform/data/sys/stat.h-data: Likewise.
6538 * conform/data/sys/statvfs.h-data: Likewise.
6539 * conform/data/sys/time.h-data: Likewise.
6540 * conform/data/sys/timeb.h-data: Likewise.
6541 * conform/data/sys/times.h-data: Likewise.
6542 * conform/data/sys/types.h-data: Likewise.
6543 * conform/data/sys/uio.h-data: Likewise.
6544 * conform/data/sys/un.h-data: Likewise.
6545 * conform/data/sys/utsname.h-data: Likewise.
6546 * conform/data/sys/wait.h-data: Likewise.
6547 * conform/data/syslog.h-data: Likewise.
6548 * conform/data/tar.h-data: Likewise.
6549 * conform/data/termios.h-data: Likewise.
6550 * conform/data/utime.h-data: Likewise.
6551 * conform/data/utmpx.h-data: Likewise.
6552 * conform/data/varargs.h-data: Likewise.
6553 * conform/data/wchar.h-data: Likewise.
6554 * conform/data/wctype.h-data: Likewise.
6555 * conform/data/wordexp.h-data: Likewise.
6556
6557 * include/stropts.h: New file.
6558 * include/uchar.h: New file.
6559 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6560 * include/assert.h: Likewise.
6561 * include/ctype.h: Likewise.
6562 * include/dirent.h: Likewise.
6563 * include/dlfcn.h: Likewise.
6564 * include/fcntl.h: Likewise.
6565 * include/fnmatch.h: Likewise.
6566 * include/glob.h: Likewise.
6567 * include/grp.h: Likewise.
6568 * include/libio.h: Likewise.
6569 * include/locale.h: Likewise.
6570 * include/math.h: Likewise.
6571 * include/net/if.h: Likewise.
6572 * include/netdb.h: Likewise.
6573 * include/netinet/in.h: Likewise.
6574 * include/pthread.h: Likewise.
6575 * include/pwd.h: Likewise.
6576 * include/regex.h: Likewise.
6577 * include/sched.h: Likewise.
6578 * include/search.h: Likewise.
6579 * include/setjmp.h: Likewise.
6580 * include/signal.h: Likewise.
6581 * include/stdio.h: Likewise.
6582 * include/stdlib.h: Likewise.
6583 * include/string.h: Likewise.
6584 * include/sys/cdefs.h: Likewise.
6585 * include/sys/mman.h: Likewise.
6586 * include/sys/msg.h: Likewise.
6587 * include/sys/resource.h: Likewise.
6588 * include/sys/select.h: Likewise.
6589 * include/sys/socket.h: Likewise.
6590 * include/sys/stat.h: Likewise.
6591 * include/sys/statvfs.h: Likewise.
6592 * include/sys/time.h: Likewise.
6593 * include/sys/times.h: Likewise.
6594 * include/sys/uio.h: Likewise.
6595 * include/sys/utsname.h: Likewise.
6596 * include/sys/wait.h: Likewise.
6597 * include/termios.h: Likewise.
6598 * include/time.h: Likewise.
6599 * include/ulimit.h: Likewise.
6600 * include/unistd.h: Likewise.
6601 * include/utime.h: Likewise.
6602 * include/wchar.h: Likewise.
6603 * include/wctype.h: Likewise.
6604 * include/wordexp.h: Likewise.
6605
6606 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6607
7a270350
UD
6608 * time/time.h: TIME_UTC must be a macro.
6609 Make timespec_get available for ISO C11 only as well.
6610
7724defc
UD
66112012-02-24 Ulrich Drepper <drepper@gmail.com>
6612
6613 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6614 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6615
6b1d1d46
JM
66162012-02-24 Joseph Myers <joseph@codesourcery.com>
6617
6618 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6619
0f8bbd69
JM
66202012-02-24 Joseph Myers <joseph@codesourcery.com>
6621
6622 * manual/texinfo.tex: Update to version 2012-01-19.16.
6623
66ab80bc
JM
66242012-02-24 Joseph Myers <joseph@codesourcery.com>
6625
6626 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6627
74981cc5
RM
66282012-02-24 Roland McGrath <roland@hack.frob.com>
6629
ee968201
RM
6630 [BZ #13738]
6631 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6632 * manual/fdl-1.3.texi: New file.
6633 * manual/fdl-1.1.texi: File removed.
6634
74981cc5
RM
6635 [BZ #13738]
6636 * manual/libc.texinfo (FDL_VERSION): New @set.
6637 Use it for mention of FDL in cover text.
6638 (Documentation License): Use it in @include file name.
6639
7bb764bc
JM
66402012-02-22 Joseph Myers <joseph@codesourcery.com>
6641 Roland McGrath <roland@hack.frob.com>
6642
6643 [BZ #5461]
6644 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6645 not LONG_LONG_MAX and LONG_LONG_MIN.
6646 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6647 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6648 name.
6649 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6650
6cbeae47
JM
66512012-02-22 Joseph Myers <joseph@codesourcery.com>
6652
6653 [BZ #2547]
6654 [BZ #11365]
6655 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6656 manipulate bits before adding and subtracting TWO23[sx].
6657 * math/libm-test.inc (nearbyint_test): Add more tests.
6658
fe45ce09
JM
66592012-02-22 Joseph Myers <joseph@codesourcery.com>
6660
6661 [BZ #2548]
6662 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6663 bits before adding and subtracting TWO23[sx].
6664 * math/libm-test.inc (rint_test): Add more tests.
6665 (rint_test_tonearest): Likewise.
6666 (rint_test_towardzero): Likewise.
6667 (rint_test_downward): Likewise.
6668 (rint_test_upward: Likewise.
6669
ff3b3d82
JM
66702012-02-22 Joseph Myers <joseph@codesourcery.com>
6671
6672 [BZ #10110]
6673 * include/stdc-predef.h: New file. Extracted from features.h.
6674 * include/features.h: Include stdc-predef.h.
6675 * Makefile (headers): Add stdc-predef.h.
6676 * CONFORMANCE (Compiler limitations): Update.
6677
ef0aab35
JM
66782012-02-22 Joseph Myers <joseph@codesourcery.com>
6679
6680 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6681
58639409
DM
66822012-02-21 David S. Miller <davem@davemloft.net>
6683
6684 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6685 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6686
c0e70b25
DM
66872012-02-20 David S. Miller <davem@davemloft.net>
6688
6689 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6690 using a normal save/restore sequence, rather than allocating a
6691 dummy stack frame just to store a frame pointer and restore.
6692 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6693
fb06851d
JM
66942012-02-21 Joseph Myers <joseph@codesourcery.com>
6695
6696 * manual/install.texi: Fix stray word in line-wrapped comment.
6697
7a8b71c3
DM
66982012-02-20 David S. Miller <davem@davemloft.net>
6699
d510c123
DM
6700 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6701 both binutils and gcc support GOTDATA.
6702
0722d7c2
DM
6703 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6704 "rd %pc" in the PIC register setup sequences.
6705
3d2b3019
DM
6706 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6707 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6708 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6709 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6710 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6711 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6712 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6713 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6715 (SYSCALL_ERROR_HANDLER): Likewise.
6716 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6717 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6719 (SYSCALL_ERROR_HANDLER): Likewise.
6720
c80098a9
DM
6721 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6722 (HAVE_GCC_GOTDATA): New.
6723 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6724 relocation support in both binutils and gcc.
6725 * sysdeps/sparc/elf/configure: Regenerate.
6726
3a2545a0
DM
6727 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6728 * sysdeps/sparc/sparc32/elf/configure: Delete.
6729 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6730 * sysdeps/sparc/sparc64/elf/configure: Delete.
6731 * sysdeps/sparc/elf/configure.in: New file.
6732 * sysdeps/sparc/elf/configure: Generate.
6733
7a8b71c3
DM
6734 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6735 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6736 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6737 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6738 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6739
f1e86fca
JM
67402012-02-21 Joseph Myers <joseph@codesourcery.com>
6741
6742 * manual/install.texi: Do not mention specific glibc version
6743 numbers.
6744 * manual/libc.texinfo (VERSION, UPDATED): Update.
6745 (@copying): Use @copyright{} and range of years.
6746
0e7dfaef
JM
67472012-02-21 Joseph Myers <joseph@codesourcery.com>
6748
6749 [BZ #13695]
6750 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6751 [crti.S not in sysdirs] (generated): Do not append.
6752 [crti.S not in sysdirs] (omit-deps): Likewise.
6753 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6754 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6755 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6756 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6757 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6758 Likewise.
6759 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6760 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6761 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6762 * csu/defs.awk: Remove file.
6763 * sysdeps/generic/initfini.c: Likewise.
6764 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6765 variable.
6766 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6767 Likewise.
6768
599af3ca
JM
67692012-02-20 Joseph Myers <joseph@codesourcery.com>
6770
6771 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6772 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6773 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6774 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6775 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6776 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6777 <bits/epoll.h>.
6778 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6779 (__EPOLL_PACKED): Define to empty if not defined by
6780 <bits/epoll.h>.
6781 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6783 bits/epoll.h.
6784
0e499750
JM
67852012-02-20 Joseph Myers <joseph@codesourcery.com>
6786
6787 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6788 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6789 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6790 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6791 <bits/timerfd.h>.
6792 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6794 bits/timerfd.h.
6795
5ad91f6e
JM
67962012-02-20 Joseph Myers <joseph@codesourcery.com>
6797
6798 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6799 in C locale.
6800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6801 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6802 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6804
06b99b02
AJ
68052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6806
6807 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6808 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6809
7638c0fd
AS
68102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6811
6812 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6813 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6814 defined.
6815 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6816 Likewise.
6817 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6818 entry for 2.16.
6819
92221550
AJ
68202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6821
6822 * math/w_acos.c: Use non-signaling floating-point comparisons.
6823 * math/w_acosf.c: Likewise.
6824 * math/w_acosh.c: Likewise.
6825 * math/w_acoshf.c: Likewise.
6826 * math/w_acoshl.c: Likewise.
6827 * math/w_acosl.c: Likewise.
6828 * math/w_asin.c: Likewise.
6829 * math/w_asinf.c: Likewise.
6830 * math/w_asinl.c: Likewise.
6831 * math/w_atanh.c: Likewise.
6832 * math/w_atanhf.c: Likewise.
6833 * math/w_atanhl.c: Likewise.
6834 * math/w_exp2.c: Likewise.
6835 * math/w_exp2f.c: Likewise.
6836 * math/w_exp2l.c: Likewise.
6837 * math/w_j0.c: Likewise.
6838 * math/w_j0f.c: Likewise.
6839 * math/w_j0l.c: Likewise.
6840 * math/w_j1.c: Likewise.
6841 * math/w_j1f.c: Likewise.
6842 * math/w_j1l.c: Likewise.
6843 * math/w_jn.c: Likewise.
6844 * math/w_jnf.c: Likewise.
6845 * math/w_log.c: Likewise.
6846 * math/w_log10.c: Likewise.
6847 * math/w_log10f.c: Likewise.
6848 * math/w_log10l.c: Likewise.
6849 * math/w_log2.c: Likewise.
6850 * math/w_log2f.c: Likewise.
6851 * math/w_log2l.c: Likewise.
6852 * math/w_logf.c: Likewise.
6853 * math/w_logl.c: Likewise.
6854 * math/w_sqrt.c: Likewise.
6855 * math/w_sqrtf.c: Likewise.
6856 * math/w_sqrtl.c: Likewise.
6857 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6858 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6859 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6860 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6861 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6862
ebaf36eb
JM
68632012-02-19 Joseph Myers <joseph@codesourcery.com>
6864
6865 [BZ #9739]
6866 * manual/string.texi (strnlen): Use correct parameter name in
6867 equivalent expression.
6868
71c254a6
JM
68692012-02-19 Joseph Myers <joseph@codesourcery.com>
6870
6871 [BZ #11174]
6872 * manual/users.texi (seteuid): Consistently use neweuid for
6873 argument name.
6874
16d2c631
JM
68752012-02-19 Joseph Myers <joseph@codesourcery.com>
6876
6877 [BZ #13704]
6878 * manual/nss.texi (Services in the NSS configuration): Correct
6879 list of services in example configuration file.
6880
cd837b09
NB
68812012-02-19 Nick Bowler <nbowler@draconx.ca>
6882
6883 [BZ #11322]
6884 * manual/arith.texi: Remove statements about negative zero
6885 behaving identically to zero.
6886
02c4bbad
JM
68872012-02-18 Joseph Myers <joseph@codesourcery.com>
6888
6889 [BZ #5993]
6890 * manual/install.texi: Do not document upgrading from libc5.
6891
366842e7
JM
68922012-02-18 Joseph Myers <joseph@codesourcery.com>
6893
6894 [BZ #4596]
6895 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6896
dd54084d
DM
68972012-02-18 David S. Miller <davem@davemloft.net>
6898
6899 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6900 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6901 %o7 across the call.
6902 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6903 instead.
6904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6905 SETUP_PIC_REG_LEAF.
6906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6907 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6908 * sysdeps/sparc/crtn.S: Likewise.
6909
2bcc53a3
UD
69102012-02-17 Ulrich Drepper <drepper@gmail.com>
6911
6912 * aout/Makefile: Remove.
6913
09c093b5
RK
69142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6915
6916 [BZ #13058]
6917 * manual/examples/argp-ex1.c (main): Format definition in GNU
6918 style.
6919 * manual/examples/argp-ex2.c (main): Likewise.
6920 * manual/examples/argp-ex3.c (main): Likewise.
6921 * manual/examples/argp-ex4.c (main): Likewise.
6922 * manual/examples/longopt.c (main): Use new-style prototype
6923 definition.
6924 * manual/examples/strncat.c (main): Specify return type and use
6925 (void) for arguments.
6926 * manual/examples/subopt.c (main): Use char **argv argument.
6927
2ee633a2
JM
69282012-02-17 Joseph Myers <joseph@codesourcery.com>
6929
6930 [BZ #5077]
6931 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6932 rounding modes.
6933
0520adde
FB
69342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6935
6936 [BZ #6907]
6937 * manual/string.texi (strchr): Change when strchrnul is
6938 recommended.
6939
3f4081cd
DGM
69402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6941
6942 [BZ #174]
6943 * manual/locale.texi (setlocale): Document LOCPATH.
6944
d1b10e78
JM
69452012-02-17 Joseph Myers <joseph@codesourcery.com>
6946
6947 [BZ #10210]
6948 * manual/process.texi (execle): Move @dots{} before last argument.
6949
79c6869c
PB
69502012-02-17 Paul Bolle <pebolle@tiscali.nl>
6951
6952 [BZ #12047]
6953 * manual/charset.texi (Generic Charset Conversion): Fix typo
6954 (LC_TYPE -> LC_CTYPE).
6955
cc6e48bc
NB
69562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6957
6958 [BZ #5805]
6959 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6960 (scalbnf): Likewise.
6961 (scalbnl): Likewise.
6962 (scalbln): Likewise.
6963 (scalblnf): Likewise.
6964 (scalblnl): Likewise.
6965 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6966 (vwarnx): Likewise.
6967 (verr): Likewise.
6968 (verrx): Likewise.
6969 * manual/filesys.texi (telldir): Use braces around return type.
6970 * manual/llio.texi (mmap): Add space after comma.
6971 (mmap64): Likewise.
6972 * manual/math.texi (jn): Use @var{} on parameter names.
6973 (jnf): Likewise.
6974 (jnl): Likewise.
6975 (yn): Likewise.
6976 (ynf): Likewise.
6977 (ynl): Likewise.
6978 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6979 line.
6980 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6981 "...".
6982 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6983 (sched_get_priority_max): Likewise.
6984 * manual/signal.texi (sigvec): Add space after comma.
6985 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6986 names.
6987 (if_indextoname): Likewise.
6988 (if_freenameindex): Likewise.
6989 (sendto): Use ',' instead of '.' in prototype.
6990 * manual/startup.texi (syscall): Use @dots{} instead of literal
6991 "...".
6992 * manual/stdio.texi (__fpending): Separate initial words of
6993 paragraph from @deftypefun line.
6994 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6995 "...".
6996 (vsyslog): Use @var{} on parameter names.
6997 * manual/terminal.texi (stty): Use @var{} on parameter names.
6998 * manual/users.texi (getutmp): Use @var{} on parameter names.
6999 (getutmpx): Likewise.
7000
5b23062f
JM
70012012-02-17 Joseph Myers <joseph@codesourcery.com>
7002
7003 [BZ #6884]
7004 * manual/stdio.texi (fopen): Fix typos in description of
7005 ",ccs=STRING".
7006
8dee4833
AJ
70072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7008
7009 [BZ #4026]
7010 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7011 get clock_id definition.
7012
9078ce93
TS
70132012-02-17 Thomas Schwinge <thomas@schwinge.name>
7014
7015 [BZ #4822]
7016 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7017 (madvise): Cast every argument to void on its own.
7018
3835c55f
JM
70192012-02-17 Joseph Myers <joseph@codesourcery.com>
7020
7021 [BZ #9902]
7022 * manual/startup.texi (Exit Status): Fix typo.
7023
35c47e37
JM
70242012-02-17 Joseph Myers <joseph@codesourcery.com>
7025
7026 [BZ #10140]
7027 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7028 * manual/examples/argp-ex2.c: Likewise.
7029 * manual/examples/argp-ex3.c: Likewise.
7030
e3b69ca7
RH
70312012-02-16 Richard Henderson <rth@redhat.com>
7032
7033 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7034 * sysdeps/s390/s390-32/initfini.c: Remove.
7035 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7036 * sysdeps/s390/s390-64/initfini.c: Remove.
7037
df83af67
KK
70382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7039
7040 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7041 compiler output for sysdeps/generic/initfini.c.
7042 * sysdeps/sh/elf/initfini.c: Remove file.
7043
f63f3380
DM
70442012-02-16 David S. Miller <davem@davemloft.net>
7045
fb59b3a4
DM
7046 [BZ #11494]
7047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7048
f63f3380
DM
7049 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7050 * sysdeps/sparc/crti.S: New file.
7051 * sysdeps/sparc/crtn.S: New file.
7052 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7053 * sysdeps/sparc/sparc64/Makefile: Likewise.
7054
df6a4a4a
MF
70552012-02-15 Mike Frysinger <vapier@gentoo.org>
7056
6dd8f3dc 7057 [BZ #3335]
df6a4a4a
MF
7058 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7059
1cac7236
RM
70602012-02-15 Roland McGrath <roland@hack.frob.com>
7061
d2c736f8
RM
7062 [BZ #4822]
7063 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7064
1cac7236
RM
7065 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7066 (write, read, close): Likewise.
7067 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7068
8e475601
JM
70692012-02-15 Joseph Myers <joseph@codesourcery.com>
7070
7071 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7072 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7073 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7074 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7075 <bits/signalfd.h>.
7076 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7078 bits/signalfd.h.
7079
ed656b40
MP
70802012-02-14 Marek Polacek <polacek@redhat.com>
7081
7082 * sysdeps/x86_64/crti.S: New file.
7083 * sysdeps/x86_64/crtn.S: New file.
7084 * sysdeps/x86_64/elf/initfini.c: Remove file.
7085
2a979d3a
JM
70862012-02-13 Joseph Myers <joseph@codesourcery.com>
7087
7088 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7089 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7090 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7091 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7092 <bits/inotify.h>.
7093 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7095 bits/inotify.h.
7096
2a418ac3
JM
70972012-02-13 Joseph Myers <joseph@codesourcery.com>
7098
7099 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7100 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7101 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7102 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7103 <bits/eventfd.h>.
7104 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7106 bits/eventfd.h.
7107
fb779be7
TS
71082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7109
e19e83c5
RM
7110 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7111 __feraiseexcept instead of feraiseexcept.
7c35ffed 7112
fb779be7
TS
7113 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7114 nanosleep invocations.
7115 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7116 strings, and add error checking for a nanosleep invocations.
7117
59ba27a6
PE
71182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7119
7120 Replace FSF snail mail address with URLs, as per GNU coding standards.
7121 Most of the snail mail addresses were wrong anyway, and omitting
7122 them makes the source code easier to maintain. Almost all of the
7123 changes are to license notices and to locale LC_IDENTIFICATION
7124 addresses, except for this one:
7125 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7126 not its snail mail address.
7127
57b957eb
RH
71282012-02-09 Richard Henderson <rth@twiddle.net>
7129
af850b1c
RH
7130 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7131 of kernel-features.h.
7132
57b957eb
RH
7133 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7134
6b73181a
MP
71352012-02-08 Marek Polacek <polacek@redhat.com>
7136
7137 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7138 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7139 * sysdeps/gnu/_G_config.h: Likewise.
7140 * sysdeps/generic/_G_config.h: Likewise.
7141
26ecc33a
AS
71422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7143
6c6dbc63
AS
7144 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7145 tests.
7146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7147
e216c012
AS
7148 * sysdeps/powerpc/powerpc32/crti.S: New file.
7149 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7150 * sysdeps/powerpc/powerpc64/crti.S: New file.
7151 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7152
26ecc33a
AS
7153 * Makeconfig (have-initfini): Don't set.
7154 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7155 * configure.in (nopic_initfini): Don't substitute.
7156 * config.h.in (HAVE_INITFINI): Don't #undef.
7157 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7158 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7159
3add8e13
JM
71602012-02-08 Joseph Myers <joseph@codesourcery.com>
7161
7162 Support crti.S and crtn.S provided directly by architectures.
7163 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7164 [crti.S in sysdirs] (omit-deps): Likewise.
7165 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7166 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7167 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7168 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7169 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7170 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7171 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7172 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7173 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7174 compiler output for sysdeps/generic/initfini.c.
7175 * sysdeps/i386/elf/Makefile: Remove file.
7176 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7177
a22f12b4
MP
71782012-02-07 Marek Polacek <polacek@redhat.com>
7179
7180 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7181 * sysdeps/gnu/_G_config.h: Likewise.
7182 * sysdeps/mach/hurd/_G_config.h: Likewise.
7183
148cf100
MP
71842012-02-07 Marek Polacek <polacek@redhat.com>
7185
7186 * math/Makefile (tests): Add tst-CMPLX2.
7187 * math/tst-CMPLX2.c: New file.
7188
cfdc0dd7
AS
71892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7190
84ba42c4
AS
7191 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7192
cfdc0dd7
AS
7193 * math/libm-test.inc (jn_test): Add missing L suffix.
7194
622c86f4
MP
71952012-02-06 Marek Polacek <polacek@redhat.com>
7196
7197 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7198 * sysdeps/i386/fpu/e_powf.S: Likewise.
7199 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7200 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7201 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7202 * sysdeps/i386/fpu/e_pow.S: Likewise.
7203 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7204 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7205 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7206 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7207 * sysdeps/i386/fpu/e_log2.S: Likewise.
7208 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7209 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7210 * sysdeps/i386/fpu/e_powl.S: Likewise.
7211 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7212 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7213 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7214 * sysdeps/i386/fpu/e_logl.S: Likewise.
7215 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7216 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7217 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7218 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7219 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7220 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7221 * sysdeps/i386/fpu/e_log.S: Likewise.
7222 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7223 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7224 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7225 * sysdeps/i386/fpu/e_logf.S: Likewise.
7226 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7227 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7228 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7229 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7230 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7231 * sysdeps/i386/fpu/e_log10.S: Likewise.
7232 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7233 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7234 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7235 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7236 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7237 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7238 * sysdeps/i386/asm-syntax.h: Likewise.
7239 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7241 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7242 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7243 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7244 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7245 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7246 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7247 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7248 * sysdeps/powerpc/sysdep.h: Likewise.
7249 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7250 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7251
d4a54ac6
JM
72522012-02-06 Joseph Myers <joseph@codesourcery.com>
7253
7254 [BZ #411]
7255 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7256
314054ea
JM
72572012-02-06 Joseph Myers <joseph@codesourcery.com>
7258
7259 * sysdeps/i386/sysdep.h: Include <features.h>.
7260 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7261 version.
7262
d8e0ca50
JM
72632012-02-05 Joseph Myers <joseph@codesourcery.com>
7264
7265 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7266 Define.
7267 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7268 LOAD_PIC_REG_STR.
7269
b1da7dd9
JM
72702012-02-03 Joseph Myers <joseph@codesourcery.com>
7271
7272 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7273 (SETUP_PIC_REG): Use GET_PC_THUNK.
7274 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7275 macro.
7276
9a1d9254
JM
72772012-02-03 Joseph Myers <joseph@codesourcery.com>
7278
7279 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7280 for non-PIC compilation.
7281 (SETUP_PIC_REG): Add .p2align directive.
7282 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7283 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7284 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7285 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7286 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7287 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7288 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7289 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7290 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7291 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7292 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7293 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7294 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7295 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7296 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7297 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7298 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7299 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7300 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7301 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7302 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7303 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7304 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7305 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7306 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7308 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7309 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7311 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7312 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7313 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7314 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7315 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7316 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7317 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7318 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7319 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7320 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7321 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7322 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7323
65dc3b75
JM
73242012-02-03 Joseph Myers <joseph@codesourcery.com>
7325
7326 * math/tst-CMPLX.c: Include <stdio.h>.
7327
d55bf177
JM
73282012-01-31 Joseph Myers <joseph@codesourcery.com>
7329
7330 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7331 float.
7332 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7333 * sysdeps/sparc/bits/mathdef.h: Likewise.
7334
69db4f8f
MP
73352012-01-31 Marek Polacek <polacek@redhat.com>
7336
7337 * libio/libio.h: Don't define _PARAMS.
7338 * locale/programs/config.h: Don't define PARAMS.
7339 * stdlib/strtol_l.c: Likewise.
7340 (__strtol_l): Remove PARAMS from the prototype.
7341
41b81892
UD
73422012-01-31 Ulrich Drepper <drepper@gmail.com>
7343
3b49edc0
UD
7344 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7345 names. Just use the correct names. Remove unnecessary wrapper
7346 functions.
7347 * malloc/arena.c: Likewise.
7348 * malloc/hooks.c: Likewise.
7349
41b81892
UD
7350 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7351 ARENA_TEST says not to. Simplify test for creation of a new arena.
7352 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7353
27a25b6e
UD
73542012-01-30 Ulrich Drepper <drepper@gmail.com>
7355
7356 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7357 into tail calls.
7358 (update_get_addr): New function.
7359 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7360 GET_ADDR_MODULE parameter.
7361
c8a89e7d
JM
73622012-01-30 Joseph Myers <joseph@codesourcery.com>
7363
7364 * crypt/cert.c: Remove __STDC__ conditionals.
7365 * crypt/crypt-entry.c: Likewise.
7366 * crypt/crypt_util.c: Likewise.
7367 * libio/filedoalloc.c: Likewise.
7368 * libio/fileops.c: Likewise.
7369 * libio/genops.c: Likewise.
7370 * libio/iofclose.c: Likewise.
7371 * libio/iofdopen.c: Likewise.
7372 * libio/iofopen.c: Likewise.
7373 * libio/iofopen64.c: Likewise.
7374 * libio/iogetdelim.c: Likewise.
7375 * libio/iopopen.c: Likewise.
7376 * libio/obprintf.c: Likewise.
7377 * libio/oldfileops.c: Likewise.
7378 * libio/oldiofclose.c: Likewise.
7379 * libio/oldiofdopen.c: Likewise.
7380 * libio/oldiofopen.c: Likewise.
7381 * libio/oldiopopen.c: Likewise.
7382 * libio/wfiledoalloc.c: Likewise.
7383 * libio/wgenops.c: Likewise.
7384 * locale/programs/xmalloc.c: Likewise.
7385 * misc/syslog.c: Likewise.
7386 * stdio-common/xbug.c: Likewise.
7387 * string/memchr.c: Likewise.
7388 * string/memcmp.c: Likewise.
7389 * string/memrchr.c: Likewise.
7390 * string/rawmemchr.c: Likewise.
7391 * sysdeps/posix/getcwd.c: Likewise.
7392 * time/strftime_l.c: Likewise.
7393
3b100462
JM
73942012-01-30 Joseph Myers <joseph@codesourcery.com>
7395
7396 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7397 * config.make.in (config-cflags-sse2avx): Define.
7398 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7399 Fix typo.
7400
607998af
CM
74012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7402
7403 * scripts/config.guess: Update from upstream config git repository.
7404 * scripts/config.sub: Likewise.
7405
3601428f
CM
74062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7407
3ac8b282
CM
7408 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7409 (EM_NUM): Update.
7410 (R_TILEPRO_*, R_TILEGX_*): New macros.
7411
e034841e
CM
7412 * scripts/firstversions.awk: Fix bug in version range handling.
7413
540d7568
CM
7414 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7415
3601428f
CM
7416 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7417
463de862
CM
7418 * include/sys/epoll.h: New file.
7419 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7420 libc_hidden_def.
7421
73139a76
UD
74222012-01-28 Ulrich Drepper <drepper@gmail.com>
7423
96bc5b45
UD
7424 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7425 Avoid unnecessary __WORDSIZE == 64 test.
7426 (fmaxf): Use VEX format if possible.
7427 (fmax): Likewise.
7428 (fminf): Likewise.
7429 (fmin): Likewise.
7430
56f6f6a2
UD
7431 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7432 * math/math_private.h: Remove libc_fegetround* and
7433 libc_fesetround*.
7434 * sysdeps/i386/configure.in: Check for -msse2avx.
7435 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7436 also if SSE2AVX is defined.
7437 Remove libc_fegetround* and libc_fesetround*.
7438 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7439 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7440 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7441 of HAS_YMM_USABLE.
7442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7447
73139a76
UD
7448 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7449
d73f93a4
AZ
74502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7451
7452 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7453 size is not set.
7454 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7455
6ee65ed6
UD
74562012-01-27 Ulrich Drepper <drepper@gmail.com>
7457
7458 [BZ #13618]
7459 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7460 relocation.
7461 * Makeconfig (libm): Define.
7462 * elf/Makefile: Add rules to build and run tst-relsort1.
7463 * elf/tst-relsort1.c: New file.
7464 * elf/tst-relsort1mod1.c: New file.
7465 * elf/tst-relsort1mod2.c: New file.
7466
8db21882
JM
74672012-01-27 Joseph Myers <joseph@codesourcery.com>
7468
7469 * math/s_ldexp.c: Remove __STDC__ conditionals.
7470 * math/s_ldexpf.c: Likewise.
7471 * math/s_ldexpl.c: Likewise.
7472 * math/s_nextafter.c: Likewise.
7473 * math/s_nexttowardf.c: Likewise.
7474 * math/s_significand.c: Likewise.
7475 * math/s_significandf.c: Likewise.
7476 * math/s_significandl.c: Likewise.
7477 * math/w_jnl.c: Likewise.
7478 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7479 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7480 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7481 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7482 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7484 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7485 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7493 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7494 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7495 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7496 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7497 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7498 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7499 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7500 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7501 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7502 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7503 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7504 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7505 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7506 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7507 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7508 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7509 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7510 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7511 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7512 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7513 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7514 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7515 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7516 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7517 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7518 * sysdeps/ieee754/k_standard.c: Likewise.
7519 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7520 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7521 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7522 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7523 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7524 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7525 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7526 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7527 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7528 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7532 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7533 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7535 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7536 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7538 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7541 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7580 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7585 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7594 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7598 * sysdeps/ieee754/s_matherr.c: Likewise.
7599 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7600 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7601 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7603
965a54a4
JM
76042012-01-26 Joseph Myers <joseph@codesourcery.com>
7605
7606 * crypt/md5.h: Remove __STDC__ conditionals.
7607 * libio/libioP.h: Likewise.
7608 * locale/programs/config.h: Likewise.
7609 * sysdeps/generic/sysdep.h: Likewise.
7610 * sysdeps/i386/asm-syntax.h: Likewise.
7611 * sysdeps/s390/asm-syntax.h: Likewise.
7612 * sysdeps/unix/sysdep.h: Likewise.
7613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7615
7071ad79
JM
76162012-01-26 Joseph Myers <joseph@codesourcery.com>
7617
7618 * libio/libio.h: Remove __STDC__ conditionals.
7619 * malloc/obstack.h: Likewise.
7620 * math/complex.h: Likewise.
7621 * math/math.h: Likewise.
7622 * sysdeps/generic/_G_config.h: Likewise.
7623 * sysdeps/gnu/_G_config.h: Likewise.
7624 * sysdeps/mach/hurd/_G_config.h: Likewise.
7625 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7626 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7627 * sysdeps/sparc/bits/mathdef.h: Likewise.
7628
afc5ed09
UD
76292012-01-26 Ulrich Drepper <drepper@gmail.com>
7630
7631 [BZ #13583]
7632 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7633 Clean up HAS_* macros.
afc5ed09 7634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7635 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7636 possible.
7637 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7638 HAS_AVX.
7639 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7640 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7641 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7642 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7643 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7644
bdb6de1d
JM
76452012-01-25 Joseph Myers <joseph@codesourcery.com>
7646
7647 * elf/tst-unique3.cc (gets): Remove declaration.
7648 * elf/tst-unique3lib.cc (gets): Likewise.
7649 * elf/tst-unique3lib2.cc (gets): Likewise.
7650 * elf/tst-unique4.cc (gets): Likewise.
7651
b15549e6
UD
76522012-01-24 Ulrich Drepper <drepper@gmail.com>
7653
7654 * include/stdio.h: Add C++ protection. Add gets declarations and
7655 definitions.
7656 * debug/tst-chk1.c: Don't declare gets here.
7657 * stdio-common/tst-gets.c: Likewise.
7658
a037381f
JM
76592012-01-24 Joseph Myers <joseph@codesourcery.com>
7660
7661 * posix/glob: Remove directory.
7662
f1d4aa75
JM
76632012-01-24 Joseph Myers <joseph@codesourcery.com>
7664
7665 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7666
81c0c964
PT
76672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7668
7669 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7670 of the non-standard EPFNOSUPPORT.
7671
0ea698ae
ST
76722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7673
7674 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7675 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7676 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7677
d220b117
UD
76782012-01-21 Ulrich Drepper <drepper@gmail.com>
7679
7680 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7681
3e1aa84e
UD
76822012-01-20 Ulrich Drepper <drepper@gmail.com>
7683
7684 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7685 transient errors.
7686 * nscd/grpcache.c (cache_addgr): Likewise.
7687 * nscd/hstcache.c (cache_addhst): Likewise.
7688 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7689 * nscd/pwdcache.c (cache_addpw): Likewise.
7690 * nscd/servicescache.c (cache_addserv): Likewise.
7691
400aa020
UD
76922012-01-16 Ulrich Drepper <drepper@gmail.com>
7693
d77e7869
UD
7694 * malloc/malloc.c: Various cleanups.
7695 * malloc/hooks.c: Likewise.
7696
400aa020
UD
7697 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7698 * stdlib/bug-fmtmsg1.c: New file.
7699
7700 * stdlib/fmtmsg.c (init): Add missing unlock.
7701 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7702
e0a309cf
MP
77032012-01-12 Marek Polacek <polacek@redhat.com>
7704
7705 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7706 and _GNU_SOURCE.
7707
929d11c7
WS
77082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7709
7710 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7711 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7712 macro to ensure uniqueness of label name.
7713 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7714 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7715
41d0e869
UD
77162012-01-11 Ulrich Drepper <drepper@gmail.com>
7717
0cc5ed3b
UD
7718 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7719
41d0e869
UD
7720 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7721 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7722 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7724
a47a831a
UD
77252012-01-10 Ulrich Drepper <drepper@gmail.com>
7726
daa891c0
UD
7727 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7728
7729 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7730 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7731 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7732
e58ef0f2
UD
7733 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7734
a47a831a 7735 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7736 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7737 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7739
7740 * math/bits/math-finite.h: Add ldexp support.
7741
a0bfc9c7
MP
77422012-01-10 Marek Polacek <polacek@redhat.com>
7743
7744 * locale/programs/localedef.h (show_archive_content): Add noreturn
7745 attribute.
7746
d6e97a1d
UD
77472012-01-09 Ulrich Drepper <drepper@gmail.com>
7748
7749 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7750
d5835c26
UD
77512012-01-08 Ulrich Drepper <drepper@gmail.com>
7752
e5f484c6
UD
7753 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7754
d5835c26
UD
7755 * io/Makefile (headers): Add bits/poll2.h.
7756
d1f741e9
WS
77572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7758
7759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7760 typo #include statement.
7761
ec09c1c4
UD
77622012-01-08 Ulrich Drepper <drepper@gmail.com>
7763
7764 * include/sys/cdefs.h: Define __attribute_alloc_size.
7765 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7766 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7767 * elf/pldd.c: Likewise.
7768 * iconv/iconv_charmap.c: Likewise.
7769 * iconv/iconvconfig.c: Likewise.
7770 * iconv/strtab.c: Likewise.
7771 * locale/programs/locale.c: Likewise.
7772 * locale/programs/localedef.h: Likewise.
7773 * locale/programs/simple-hash.c: Likewise.
7774 * nscd/nscd.h: Likewise.
7775 * nss/makedb.c: Likewise.
7776 * sysdeps/generic/ldconfig.h: Likewise.
7777 * locale/programs/localedef.c: Remove xmalloc prototype.
7778 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7779
20b38e03
PP
77802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7781
7782 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7783 appropriate.
7784
a0da5fe1
UD
77852012-01-08 Ulrich Drepper <drepper@gmail.com>
7786
1d5a644a 7787 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7788 * math/tst-CMPLX.c: New file.
1d5a644a 7789
8784a6db
UD
7790 * math/complex.h (CMPLXL): Fix typo.
7791
d9a216c0
UD
7792 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7793 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7794 GLIBC_2.16.
7795 * debug/tst-chk1.c: Add poll and ppoll tests.
7796 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7797 * include/sys/poll.h: Add hidden proto for ppoll.
7798 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7799 * sysdeps/mach/hurd/ppoll.c: Likewise.
7800 * io/ppoll.c: Likewise.
7801 * debug/poll_chk.c: New file.
7802 * debug/ppoll_chk.c: New file.
7803 * include/bits/poll2.h: New file.
7804 * io/bits/poll2.h: New file.
7805
ac097f5c
UD
7806 [BZ #1350]
7807 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7808
2119dcfa
UD
7809 * configure.in: static is always set to yes. Remove.
7810 * config.make.in: Don't set build-static.
7811 * Makeconfig: Remove use of build-static.
7812 * dlfcn/Makefile: Likewise.
7813 * elf/Makefile: Likewise.
7814 * math/Makefile: Likewise.
7815 * misc/Makefile: Likewise.
7816 * nptl/Makefile: Likewise.
7817 * sysdeps/mach/hurd/Makefile: Likewise.
7818
121766a9
UD
7819 * configure.in: PWD_P is not used anymore.
7820 * config.make.in: Remove PWD_P entry.
7821
51a1d39c 7822 * configure.in: Remove last remnants of RANLIB.
8720d066 7823 No need to check for signed size_t anymore.
215f4bdc
UD
7824 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7825 and IA-64.
3857022a 7826 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7827 * aclocal.m4: Likewise.
7828
d3ed7225
UD
7829 * wcsmbs/mbrtoc16.c: Implement using towc function.
7830 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7831 * wcsmbs/wcsmbsload.c: Likewise.
7832 * iconv/gconv_simple.c: Likewise.
7833 * iconv/gconv_int.h: Likewise.
7834 * iconv/gconv_builtin.h: Likewise.
7835 * iconv/iconv_prog.c: Remove CHAR16 handling.
7836
7837 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7838
7839 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7840
a0da5fe1
UD
7841 * configure.in: Remove --with-elf and --enable-bounded options.
7842 Dont set base_machine for ia64. More non-ELF conditions removed.
7843 Remove testing and setting of leading underscore information.
7844 * config.make.in (build-bounded): Set to no.
7845 * config.h.in: Remove NO_UNDERSCORES entry.
7846 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7847 them.
7848 * csu/start.c: Remove !NO_UNDERSCORE code.
7849 * locale/localeinfo.h: Likewise.
7850 * sysdeps/generic/machine-gmon.h: Likewise.
7851 * sysdeps/generic/sysdep.h: Likewise.
7852 * sysdeps/i386/sysdep.h: Likewise.
7853 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7854 * sysdeps/mach/sysdep.h: Likewise.
7855 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7856 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7857 * sysdeps/sh/sysdep.h: Likewise.
7858 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7859 * sysdeps/unix/i386/sysdep.S: Likewise.
7860 * sysdeps/unix/sparc/start.c: Likewise.
7861 * sysdeps/unix/sparc/sysdep.S: Likewise.
7862 * sysdeps/unix/sparc/sysdep.h: Likewise.
7863 * sysdeps/unix/start.c: Likewise.
7864 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7865 * sysdeps/x86_64/sysdep.h: Likewise.
7866
df78418a
UD
78672012-01-07 Ulrich Drepper <drepper@gmail.com>
7868
a784e502
UD
7869 [BZ #13553]
7870 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7871 for non-gcc.
7872 * argp/argp-fmtstream.h: Use const instead __const.
7873 * argp/argp.h: Likewise.
7874 * assert/assert.h: Likewise.
7875 * bits/fenv.h: Likewise.
7876 * bits/sched.h: Likewise.
7877 * bits/sigset.h: Likewise.
7878 * bits/sigthread.h: Likewise.
7879 * catgets/nl_types.h: Likewise.
7880 * conform/data/pthread.h-data: Likewise.
7881 * crypt/crypt-private.h: Likewise.
7882 * crypt/crypt.h: Likewise.
7883 * crypt/crypt_util.c: Likewise.
7884 * ctype/ctype.h: Likewise.
7885 * debug/execinfo.h: Likewise.
7886 * debug/mbsnrtowcs_chk.c: Likewise.
7887 * debug/mbsrtowcs_chk.c: Likewise.
7888 * debug/wcsnrtombs_chk.c: Likewise.
7889 * debug/wcsrtombs_chk.c: Likewise.
7890 * debug/wcstombs_chk.c: Likewise.
7891 * dirent/dirent.h: Likewise.
7892 * dlfcn/dlfcn.h: Likewise.
7893 * elf/neededtest4.c: Likewise.
7894 * grp/grp.h: Likewise.
7895 * gshadow/gshadow.h: Likewise.
7896 * iconv/gconv.h: Likewise.
7897 * iconv/gconv_int.h: Likewise.
7898 * iconv/gconv_simple.c: Likewise.
7899 * iconv/iconv.h: Likewise.
7900 * iconv/loop.c: Likewise.
7901 * iconv/skeleton.c: Likewise.
7902 * include/aio.h: Likewise.
7903 * include/aliases.h: Likewise.
7904 * include/argz.h: Likewise.
7905 * include/arpa/inet.h: Likewise.
7906 * include/assert.h: Likewise.
7907 * include/dirent.h: Likewise.
7908 * include/dlfcn.h: Likewise.
7909 * include/execinfo.h: Likewise.
7910 * include/fcntl.h: Likewise.
7911 * include/fenv.h: Likewise.
7912 * include/glob.h: Likewise.
7913 * include/grp.h: Likewise.
7914 * include/libintl.h: Likewise.
7915 * include/mntent.h: Likewise.
7916 * include/netdb.h: Likewise.
7917 * include/pwd.h: Likewise.
7918 * include/rpc/netdb.h: Likewise.
7919 * include/sched.h: Likewise.
7920 * include/search.h: Likewise.
7921 * include/shadow.h: Likewise.
7922 * include/signal.h: Likewise.
7923 * include/stdio.h: Likewise.
7924 * include/stdlib.h: Likewise.
7925 * include/string.h: Likewise.
7926 * include/sys/socket.h: Likewise.
7927 * include/sys/stat.h: Likewise.
7928 * include/sys/statfs.h: Likewise.
7929 * include/sys/statvfs.h: Likewise.
7930 * include/sys/syslog.h: Likewise.
7931 * include/sys/time.h: Likewise.
7932 * include/sys/uio.h: Likewise.
7933 * include/time.h: Likewise.
7934 * include/unistd.h: Likewise.
7935 * include/utmp.h: Likewise.
7936 * include/wchar.h: Likewise.
7937 * include/wctype.h: Likewise.
7938 * inet/aliases.h: Likewise.
7939 * inet/arpa/inet.h: Likewise.
7940 * inet/netinet/ether.h: Likewise.
7941 * inet/netinet/in.h: Likewise.
7942 * intl/libintl.h: Likewise.
7943 * io/bits/fcntl2.h: Likewise.
7944 * io/fcntl.h: Likewise.
7945 * io/ftw.h: Likewise.
7946 * io/sys/poll.h: Likewise.
7947 * io/sys/stat.h: Likewise.
7948 * io/sys/statfs.h: Likewise.
7949 * io/sys/statvfs.h: Likewise.
7950 * io/utime.h: Likewise.
7951 * libio/bits/stdio.h: Likewise.
7952 * libio/bits/stdio2.h: Likewise.
7953 * libio/libio.h: Likewise.
7954 * libio/libioP.h: Likewise.
7955 * libio/stdio.h: Likewise.
7956 * locale/lc-ctype.c: Likewise.
7957 * locale/locale.h: Likewise.
7958 * login/utmp.h: Likewise.
7959 * malloc/arena.c: Likewise.
7960 * malloc/malloc.c: Likewise.
7961 * malloc/malloc.h: Likewise.
7962 * malloc/mcheck.c: Likewise.
7963 * malloc/mtrace.c: Likewise.
7964 * math/bits/mathcalls.h: Likewise.
7965 * math/fenv.h: Likewise.
7966 * math/math_private.h: Likewise.
7967 * misc/bits/error.h: Likewise.
7968 * misc/bits/syslog.h: Likewise.
7969 * misc/err.h: Likewise.
7970 * misc/error.h: Likewise.
7971 * misc/fstab.h: Likewise.
7972 * misc/mntent.h: Likewise.
7973 * misc/regexp.h: Likewise.
7974 * misc/search.h: Likewise.
7975 * misc/sgtty.h: Likewise.
7976 * misc/sys/mman.h: Likewise.
7977 * misc/sys/syslog.h: Likewise.
7978 * misc/sys/uio.h: Likewise.
7979 * misc/sys/xattr.h: Likewise.
7980 * misc/ttyent.h: Likewise.
7981 * nis/rpcsvc/ypclnt.h: Likewise.
7982 * nss/nss.h: Likewise.
7983 * posix/bits/unistd.h: Likewise.
7984 * posix/fnmatch.h: Likewise.
7985 * posix/glob.h: Likewise.
7986 * posix/sched.h: Likewise.
7987 * posix/spawn.h: Likewise.
7988 * posix/sys/wait.h: Likewise.
7989 * posix/unistd.h: Likewise.
7990 * posix/wordexp.h: Likewise.
7991 * pwd/pwd.h: Likewise.
7992 * resolv/netdb.h: Likewise.
7993 * resource/sys/resource.h: Likewise.
7994 * rt/aio.h: Likewise.
7995 * rt/bits/mqueue2.h: Likewise.
7996 * rt/mqueue.h: Likewise.
7997 * shadow/shadow.h: Likewise.
7998 * signal/signal.h: Likewise.
7999 * socket/send.c: Likewise.
8000 * socket/sendto.c: Likewise.
8001 * socket/sys/socket.h: Likewise.
8002 * stdio-common/printf.h: Likewise.
8003 * stdlib/bits/stdlib.h: Likewise.
8004 * stdlib/fmtmsg.h: Likewise.
8005 * stdlib/monetary.h: Likewise.
8006 * stdlib/stdlib.h: Likewise.
8007 * stdlib/ucontext.h: Likewise.
8008 * streams/stropts.h: Likewise.
8009 * string/argz.h: Likewise.
8010 * string/bits/string2.h: Likewise.
8011 * string/string.h: Likewise.
8012 * string/strings.h: Likewise.
8013 * sunrpc/rpc/auth.h: Likewise.
8014 * sunrpc/rpc/auth_des.h: Likewise.
8015 * sunrpc/rpc/clnt.h: Likewise.
8016 * sunrpc/rpc/netdb.h: Likewise.
8017 * sunrpc/rpc/pmap_clnt.h: Likewise.
8018 * sunrpc/rpc/xdr.h: Likewise.
8019 * sysdeps/generic/inttypes.h: Likewise.
8020 * sysdeps/generic/net/if.h: Likewise.
8021 * sysdeps/generic/sys/swap.h: Likewise.
8022 * sysdeps/gnu/net/if.h: Likewise.
8023 * sysdeps/gnu/utmpx.h: Likewise.
8024 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8025 * sysdeps/i386/i486/bits/string.h: Likewise.
8026 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8027 * sysdeps/s390/bits/string.h: Likewise.
8028 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8029 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8030 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8031 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8032 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8033 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8034 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8035 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8036 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8037 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8038 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8039 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8040 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8041 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8042 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8043 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8044 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8046 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8047 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8048 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8049 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8050 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8051 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8052 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8053 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8054 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8056 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8057 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8058 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8059 * sysvipc/sys/ipc.h: Likewise.
8060 * sysvipc/sys/msg.h: Likewise.
8061 * sysvipc/sys/sem.h: Likewise.
8062 * sysvipc/sys/shm.h: Likewise.
8063 * termios/termios.h: Likewise.
8064 * time/sys/time.h: Likewise.
8065 * time/time.h: Likewise.
8066 * wcsmbs/bits/wchar2.h: Likewise.
8067 * wcsmbs/uchar.h: Likewise.
8068 * wcsmbs/wchar.h: Likewise.
8069 * wctype/wctype.h: Likewise.
8070
0269750c
UD
8071 [BZ #13551]
8072 * Makeconfig: Remove all but ELF support including AIX support.
8073 * Makerules: Likewise.
8074 * config.h.in: Likewise.
8075 * config.make.in: Likewise.
8076 * configure: Likewise.
8077 * configure.in: Likewise.
8078 * csu/Makefile: Likewise.
8079 * csu/version.c: Likewise.
8080 * debug/Makefile: Likewise.
8081 * dlfcn/Makefile: Likewise.
8082 * elf/Makefile: Likewise.
8083 * extra-lib.mk: Likewise.
8084 * iconv/Makefile: Likewise.
8085 * include/libc-symbols.h: Likewise.
8086 * include/shlib-compat.h: Likewise.
8087 * resolv/Makefile: Likewise.
8088 * resolv/res_libc.c: Likewise.
8089 * rt/Makefile: Likewise.
8090 * sysdeps/i386/asm-syntax.h: Likewise.
8091 * sysdeps/i386/sysdep.h: Likewise.
8092 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8093 * sysdeps/mach/sysdep.h: Likewise.
8094 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8095 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8096 * sysdeps/s390/asm-syntax.h: Likewise.
8097 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8098 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8099 * sysdeps/sh/sysdep.h: Likewise.
8100 * sysdeps/unix/sparc/sysdep.h: Likewise.
8101 * sysdeps/wordsize-32/divdi3.c: Likewise.
8102 * sysdeps/x86_64/sysdep.h: Likewise.
8103
00bbd29b
UD
8104 * argp/Versions: Remove _argp_unlock_xxx.
8105
8106 [BZ #13559]
8107 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8108 * abilist/libBrokenLocale.abilist: Likewise.
8109 * abilist/libanl.abilist: Likewise.
8110 * abilist/libc.abilist: Likewise.
8111 * abilist/libcrypt.abilist: Likewise.
8112 * abilist/libdl.abilist: Likewise.
8113 * abilist/libm.abilist: Likewise.
8114 * abilist/libnsl.abilist: Likewise.
8115 * abilist/libpthread.abilist: Likewise.
8116 * abilist/libresolv.abilist: Likewise.
8117 * abilist/librt.abilist: Likewise.
8118 * abilist/libthread_db.abilist: Likewise.
8119 * abilist/libutil.abilist: Likewise.
8120 * abilist/libnss_db.abilist: New file.
8121
8122 * scripts/abilist.awk: Add support for indirect functions.
8123
a2693a0e
UD
8124 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8125
3f05895f
UD
8126 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8127
ecb6fb48
UD
8128 * shlib-versions: Remove entries for ports architectures.
8129
664f8cb9
UD
8130 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8131 files in ports.
8132 * elf/stackguard-macros.h: Remove support for IA-64.
8133 * elf/tst-auditmod1.c: Likewise.
8134 * sysdeps/generic/ldsodefs.h: Likewise.
8135
7ae81d88
UD
8136 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8137 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8138 configure files.
8139
bdeba135
UD
8140 [BZ #13552]
8141 * configure.in: Remove --enable-omitfp support.
8142 * FAQ.in: Adjust.
8143 * config.make.in: Likewise.
8144 * Makeconfig: Likewise.
8145 * manual/install.texi: Likewise.
8146
d75a0a62
UD
8147 In case anyone cares, the IA-64 architecture could move to ports.
8148 * sysdeps/ia64/*: Removed.
8149 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8150 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8151
dcc9756b
UD
8152 [BZ #13555]
8153 * configure.in: Remove entries for unsupported architectures.
8154
d3761ebc 8155 [BZ #13533]
9954432e
UD
8156 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8157 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8158 routines.
8159 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8160 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8161 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8162 fall back to using wcrtomb.
8163 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8164 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8165 renaming.
8166 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8167 * wcsmbs/tst-c16c32-1.c: New file.
8168
8169 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8170 local variable.
8171
c3a87236
UD
8172 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8173
28926a1b
UD
8174 * elf/tst-unique3.cc: Add explicit declaration of gets.
8175 * elf/tst-unique3lib.cc: Likewise.
8176 * elf/tst-unique3lib2.cc: Likewise.
8177 * elf/tst-unique4.cc: Likewise.
8178
df78418a
UD
8179 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8180
8ecd6b2a
JM
81812012-01-06 Joseph Myers <joseph@codesourcery.com>
8182
8183 [BZ #13566]
8184 * assert/assert.h (static_assert): Don't define for C++.
8185 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8186 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8187
9f115170
UD
81882012-01-03 Ulrich Drepper <drepper@gmail.com>
8189
5e0d0300
UD
8190 * iconv/loop.c (single loop): Fix assertion in storing of
8191 remaining bytes.
8192
9f115170
UD
8193 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8194
81fb02b0
UD
81952012-01-01 Ulrich Drepper <drepper@gmail.com>
8196
8197 * posix/getconf.c: Update copyright year.
8198 * nss/getent.c: Likewise.
a316c1f6 8199 * nss/makedb.c: Likewise.
81fb02b0
UD
8200 * iconv/iconvconfig.c: Likewise.
8201 * iconv/iconv_prog.c: Likewise.
8202 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8203 * elf/pldd.c: Likewise.
8204 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8205 * catgets/gencat.c: Likewise.
8206 * csu/version.c: Likewise.
8207 * elf/ldd.bash.in: Likewise.
8208 * elf/sprof.c (print_version): Likewise.
8209 * locale/programs/locale.c: Likewise.
8210 * locale/programs/localedef.c: Likewise.
a316c1f6 8211 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8212 * nscd/nscd.c (print_version): Likewise.
8213 * debug/xtrace.sh: Likewise.
8214 * malloc/memusage.sh: Likewise.
8215 * malloc/mtrace.pl: Likewise.
8216 * debug/catchsegv.sh: Likewise.
8217
2ba92745
JJ
82182011-12-30 Jakub Jelinek <jakub@redhat.com>
8219
8220 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8221 pure attribute.
8222
dadebdae
UD
82232011-12-24 Ulrich Drepper <drepper@gmail.com>
8224
d3761ebc 8225 [BZ #13533]
db6af3eb
UD
8226 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8227 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8228 transformations.
8229 * iconv/gconv_int.h: Likewise.
8230 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8231 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8232 from libc for GLIBC_2.16.
8233 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8234 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8235 * wcsmbs/uchar.h: Really define mbstate_t.
8236 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8237 * wcsmbs/c16rtomb.c: New file.
8238 * wcsmbs/mbrtoc16.c: New file.
8239 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8240 for C/POSIX locale.
8241 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8242 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8243
dadebdae
UD
8244 * wcsmbs/wchar.h: Add missing __restrict.
8245
67371b56
UD
82462011-12-23 Ulrich Drepper <drepper@gmail.com>
8247
74033a25
UD
8248 [BZ #13532]
8249 * time/Makefile (routines): Add timespec_get.
8250 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8251 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8252 timespec for ISO C11.
8253 * time/timespec_get.c: New file.
8254 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8255 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8256
380d7e87
UD
8257 [BZ #13531]
8258 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8259 * stdlib/stdlib.h: Declare aligned_alloc.
8260 * Versions.def: Add GLIBC_2.16 for libc.
8261 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8262
4e9e7a35
UD
8263 [BZ 13527]
8264 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8265 ISO C11.
8266
380d7e87 8267 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8268 code.
8269
03a71829
UD
8270 [BZ #13528]
8271 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8272
839e283e
UD
8273 [BZ #13529]
8274 * assert/assert.h (static_assert): Define.
8275
ce5294e2 8276 * version.h: Update for 2.16 development version.
90fa7312 8277
8d44e150 8278 [BZ #13526]
d7809905
UD
8279 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8280 _ISOC11_SOURCE.
8281
c0da14cd
UD
8282 * version.h (RELEASE): Bump for 2.15 release.
8283 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8284
530a3249
MP
8285 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8286 Patch by Marek Polacek <mpolacek@redhat.com>.
8287
67371b56
UD
8288 * bits/byteswap.h: Protect long long constants with __extension__.
8289 * sysdeps/i386/bits/byteswap.h: Likewise.
8290 * sysdeps/ia64/bits/byteswap.h: Likewise.
8291 * sysdeps/s390/bits/byteswap.h: Likewise.
8292 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8293
15db4de1
LD
82942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8295
8296 [BZ #13540]
bbe315ea
LD
8297 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8298 destination buffer.
15db4de1
LD
8299 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8300
2b2596b1
MP
83012011-12-23 Marek Polacek <polacek@redhat.com>
8302
8303 * elf/dl-addr.c (determine_info): Add inline keyword.
8304 * elf/tst-auditmod4b.c (check_avx): Likewise.
8305 * elf/tst-auditmod6b.c (check_avx): Likewise.
8306 * elf/tst-auditmod6c.c (check_avx): Likewise.
8307 * elf/tst-auditmod7b.c (check_avx): Likewise.
8308
70c6c246
UD
83092011-12-23 Ulrich Drepper <drepper@gmail.com>
8310
8311 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8312 !__SSE_MATH__.
8313
c044cf14
LD
83142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8315
15db4de1 8316 [BZ #13540]
c044cf14
LD
8317 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8318 processing for last bytes.
8319
6b13d9d9
BH
83202011-08-06 Bruno Haible <bruno@clisp.org>
8321
d455f537
BH
8322 [BZ #13061]
8323 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8324 U+0385, not to U+1FEE.
8325
6b13d9d9
BH
8326 [BZ #13062]
8327 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8328 entry for U+00A5 U+0301.
8329
db910efd
UD
83302011-12-22 Ulrich Drepper <drepper@gmail.com>
8331
27deeafc
UD
8332 [BZ #13166]
8333 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8334 buffer for the output is too small.
8335
aed9d171
UD
8336 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8337 optimization.
8338
db910efd
UD
8339 [BZ #13185]
8340 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8341 SSE flags if possible.
8342
2bd779ae
LD
83432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8344
e7f9dac3 8345 [BZ #13540]
2bd779ae
LD
8346 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8347 processing for last bytes.
8348
154bfc16
JM
83492011-12-22 Joseph Myers <joseph@codesourcery.com>
8350
8351 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8352 (syscall-list-default-options, syscall-list-default-condition)
8353 (syscall-list-includes): Define.
8354 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8355 list of ABIs and options and #if conditions for each ABI. Do not
8356 handle common syscalls between ABIs specially.
8357 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8358 Remove.
8359 (syscall-list-variants, syscall-list-32bit-options)
8360 (syscall-list-32bit-condition, syscall-list-64bit-options)
8361 (syscall-list-64bit-condition): Define.
8362 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8363 (syscall-list-variants, syscall-list-32bit-options)
8364 (syscall-list-32bit-condition, syscall-list-64bit-options)
8365 (syscall-list-64bit-condition): Define.
8366 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8367 Remove.
8368 (syscall-list-variants, syscall-list-32bit-options)
8369 (syscall-list-32bit-condition, syscall-list-64bit-options)
8370 (syscall-list-64bit-condition): Define.
8371 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8372 Remove.
8373 (syscall-list-variants, syscall-list-32bit-options)
8374 (syscall-list-32bit-condition, syscall-list-64bit-options)
8375 (syscall-list-64bit-condition): Define.
8376
21eaf3a5
UD
83772011-12-22 Ulrich Drepper <drepper@gmail.com>
8378
16c6f992
UD
8379 * locale/iso-639.def: Add brx entry.
8380
41043168
UD
8381 [BZ #13328]
8382 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8383 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8384
21eaf3a5
UD
8385 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8386 __feraiseexcept_renamed.
8387
e3a851a2
UD
83882011-12-21 Ulrich Drepper <drepper@gmail.com>
8389
4920765e
UD
8390 [BZ #13538]
8391 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8392 EPOLLET with unsigned values.
8393 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8394 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8395
e3a851a2
UD
8396 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8397 to large cancellation.
8398 * math/s_cacoshf.c: Likewise.
8399 * math/s_cacoshl.c: Likewise.
8400
b27e24b8
RK
84012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8402
8403 [BZ #13305]
aebefeee 8404 [BZ #12786]
b27e24b8
RK
8405 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8406 * math/s_cacoshf.c: Likewise.
8407 * math/s_cacoshl.c: Likewise.
8408
ee190f67
UD
84092011-12-21 Ulrich Drepper <drepper@gmail.com>
8410
8411 [BZ #13439]
8412 * iconv/gconv.h: Define __GCONV_SWAP.
8413 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8414 * iconvdata/utf-16.c: Likewise.
8415 * iconvdata/utf-32.c: Likewise.
8416
707f25df
AS
84172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8418
8419 [BZ #13524]
8420 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8421 numerator after shifting it by one limb.
8422
d2daaa1e
RÁE
84232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8424
8425 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8426 under [__USE_EXTERN_INLINES].
8427
a4647e72
UD
84282011-12-17 Ulrich Drepper <drepper@gmail.com>
8429
8430 [BZ #13446]
8431 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8432
f0b264f1
AZ
84332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8434
8435 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8436 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8437 optimized code.
8438 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8439 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8440 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8441 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8442 for strncasecmp/strncasecmp_l compilation.
8443 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8444 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8445
8ef4f244
MP
84462011-12-08 Marek Polacek <mpolacek@redhat.com>
8447
8448 [BZ #13484]
8449 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8450 of __asm__.
8451
97ac2654
UD
84522011-12-17 Ulrich Drepper <drepper@gmail.com>
8453
8454 [BZ #13506]
8455 * time/tzfile.c (__tzfile_read): Check values from file header.
8456
91d2a845
WS
84572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8458
8459 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8460 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8461 * powerpc/powerpc32/dl-start.S: Likewise.
8462 * powerpc/powerpc32/elf/start.S: Likewise.
8463 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8464 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8465 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8466 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8467 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8468 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8469 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8470 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8471 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8472 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8473 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8474 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8475 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8476 * powerpc/powerpc32/memset.S: Likewise.
8477 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8478 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8479 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8480 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8481 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8482 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8483 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8484 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8485 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8486 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8487 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8488 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8489 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8490
a1267ba1
AZ
84912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8492
8493 * math/libm-test.inc: Added more nearbyint tests.
8494 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8495 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8496 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8497 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8498
ad8ac1bd
RL
84992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8500
8501 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8502 FD_CLOEXEC.
8503
1d3e4b61
UD
85042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8505
8506 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8507 Add wcscpy-ssse3 wcscpy-c.
8508 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8509 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8510 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8511 * sysdeps/x86_64/wcschr.S: New file.
8512 * sysdeps/x86_64/wcsrchr.S: New file.
8513 * string/test-strcmp.c: Remove checking of wcscmp function for
8514 wrong alignments.
8515 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8516 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8517 wcsrchr-sse2 wcsrchr-c.
8518 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8519 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8520 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8521 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8522 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8523 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8524 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8525 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8526 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8527 * wcsmbc/wcschr.c (WCSCHR): New macro.
8528
5b330a2d
UD
85292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8530
8531 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8532 * wcsmbs/test-wcsrchr.c: New file.
8533 * string/test-strrchr.c: Add wcsrchr support.
8534 (WIDE): New macro.
8535 * wcsmbs/test-wcscpy.c: New file.
8536 * string/test-strcpy.c: Add wcscpy support.
8537 (WIDE): New macro.
26428b7c 8538
f039c043
UD
85392011-12-10 Ulrich Drepper <drepper@gmail.com>
8540
8541 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8542 the inner loop.
8543
850fb039
AS
85442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8545
8546 [BZ #13472]
8547 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8548
4efbd5cb
UD
85492011-12-04 Ulrich Drepper <drepper@gmail.com>
8550
52ff5dd0 8551 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8552 Minor optimizations.
52ff5dd0 8553
4efbd5cb
UD
8554 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8555 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8556 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8557
8a426e12
UD
85582011-12-03 Ulrich Drepper <drepper@gmail.com>
8559
aff2453d
UD
8560 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8561 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8562 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8563 for gcc to avoid warnings.
8564 * inet/Makefile (tests): Add tst-checks.
8565 * inet/tst-checks.c: New file.
8566
8567 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8568 warning.
8569
8570 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8571 __wmemcmp_sse2.
8572
8573 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8574 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8575
8a426e12
UD
8576 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8577
9bea3473
UD
85782011-12-02 Ulrich Drepper <drepper@gmail.com>
8579
3a965496
UD
8580 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8581 problem.
8582
9bea3473
UD
8583 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8584
f101631b
UD
85852011-11-29 Joseph Myers <joseph@codesourcery.com>
8586
8587 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8588 conditional on GCC version.
8589 (__arch_compare_and_exchange_val_8_acq)
8590 (__arch_compare_and_exchange_val_16_acq)
8591 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8592 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8593 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8594
a98275aa
UD
85952011-12-02 Joseph Myers <joseph@codesourcery.com>
8596
8597 * sysdeps/sh/backtrace.c: New file.
8598
d4cc29a2
AS
85992011-12-02 Andreas Schwab <schwab@redhat.com>
8600
8601 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8602 parenthesis.
8603
6257af2d
AS
86042011-12-01 Andreas Schwab <schwab@redhat.com>
8605
8606 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8607 falling back to utime.
8608
b5f44c1a
AS
86092011-11-30 Andreas Schwab <schwab@redhat.com>
8610
8611 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8612 expectations for float.
8613
f3a6cc0a
AS
86142011-11-29 Andreas Schwab <schwab@redhat.com>
8615
8616 * locale/weight.h (findidx): Add parameter len.
8617 * locale/weightwc.h (findidx): Likewise.
8618 * posix/fnmatch_loop.c (FCT): Adjust caller.
8619 * posix/regcomp.c (build_equiv_class): Likewise.
8620 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8621 * posix/regexec.c (check_node_accept_bytes): Likewise.
8622 * string/strcoll_l.c (STRCOLL): Likewise.
8623 * string/strxfrm_l.c (STRXFRM): Likewise.
8624
9d65ea3a
UD
86252011-11-17 Ulrich Drepper <drepper@gmail.com>
8626
8627 * Makefile.in: Remove CVSOPT handling.
8628 * configure.in: Remove use of AC_REVISION.
8629 * iconvdata/Makefile (distribute): No need to filter out CVS.
8630 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8631 handling.
8632
5583a086
AS
86332011-11-16 Andreas Schwab <schwab@redhat.com>
8634
8635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8636 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8637 [USE_AS_STRNCASECMP_L]: Likewise.
8638 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8639 NO_TLS_DIRECT_SEG_REFS.
8640 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8641 Fix argument offsets for non-PIC.
8642 [USE_AS_STRNCASECMP_L]: Likewise.
8643 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8644 NO_TLS_DIRECT_SEG_REFS.
8645
d62a8200
UD
86462011-11-15 Ulrich Drepper <drepper@gmail.com>
8647
9d65ea3a 8648 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8649 O_CLOEXEC.
8650 * locale/loadlocale.c (_nl_load_locale): Likewise.
8651
09f93bd3
AS
86522011-11-15 Andreas Schwab <schwab@redhat.com>
8653
446514f9
AS
8654 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8655 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8656 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8657 (SYSCALL_GETTIME): Set errno on error.
8658
09f93bd3
AS
8659 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8660 count references to noai6ai_cached.
8661
312be3f9
UD
86622011-11-15 Ulrich Drepper <drepper@gmail.com>
8663
8664 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8665
8666 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8667 FD_CLOEXEC for /proc/self/maps.
8668
8669 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8670 FD_CLOEXEC for /proc/meminfo.
8671
8672 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8673 gai.conf.
8674
8675 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8676 FD_CLOEXEC for given file.
8677
8678 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8679
8680 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8681 FD_CLOEXEC for /etc/hosts.
8682 (_gethtent): Likewise.
8683
8684 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8685
8686 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8687 cancellation and set FD_CLOEXEC for /etc/netgroup.
8688
8689 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8690 reading /etc/publickey.
8691
8692 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8693 allow cancellation when reading /etc/group.
8694
8695 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8696 cancellation.
8697 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8698
8699 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8700 when using data file.
8701
8702 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8703
8704 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8705 (write_nis_obj): Use "c" and "e" in fopen.
8706
8707 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8708
8709 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8710
8711 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8712
8713 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8714
8715 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8716 locale.alias.
8717
8718 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8719
8720 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8721
8722 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8723
8724 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8725 file parsing and set FD_CLOEXEC.
8726
82af0fa8
UD
87272011-11-14 Ulrich Drepper <drepper@gmail.com>
8728
8729 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8730
a5fb313c
AS
87312011-11-14 Andreas Schwab <schwab@redhat.com>
8732
8733 * malloc/arena.c (arena_get2): Don't call reused_arena when
8734 _int_new_arena failed.
8735
6abf3465
UD
87362011-11-14 Ulrich Drepper <drepper@gmail.com>
8737
8738 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8739 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8740 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8741 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8742 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8743 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8744 to compile strcasecmp and strncasecmp.
8745 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8746 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8747
8748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8749
76e3966e
UD
87502011-11-13 Ulrich Drepper <drepper@gmail.com>
8751
8752 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8753 locale-defines.sym to gen-as-const-headers.
8754 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8755 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8756 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8757 to compile strcasecmp and strncasecmp.
8758 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8759 strcasecmp_l and strncasecmp_l.
8760 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8761 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8762 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8763 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8764 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8765 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8766 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8767 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8768 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8769 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8770 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8771
ab26144e
UD
87722011-11-12 Ulrich Drepper <drepper@gmail.com>
8773
7edb22ef
UD
8774 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8775 result of SYSDEP_GETTIME_CPU to retval.
8776 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8777 parameter list to macro. Remove trailing semicolon. Adjust users.
8778
9694fc44
UD
8779 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8780 variable.
8781
8ad89ef8
UD
8782 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8783 mantissa words.
8784 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8785
0c822ef9
UD
8786 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8787 from unused variable.
8788
874e0564
UD
8789 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8790 DWARF definitions.
8791 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8792 for assembling.
8793
3a2edc79
UD
8794 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8795 over namespaces.
8796
f3c2577f
UD
8797 * sunrpc/rpc_prot.c (rejected): Fix case value.
8798
294ce126
UD
8799 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8800 unsigned long long int to avoid warnings in shift.
8801
5e2b63c6
UD
8802 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8803 of use of trans.
8804 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8805 variable tmp.
8806
e7f4b08e
UD
8807 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8808 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8809 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8810
ab26144e
UD
8811 * nis/nis_table.c (nis_list): Use variable of correct type for
8812 result of __follow_path call.
8813
8a6d5255
AZ
88142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8815
8816 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8817 of math functions ceil, trunc, floor, round, and sqrt, when
8818 avaliable on the platform.
8819 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8820 name clash.
8821 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8822 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8823 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8824
aaddc98c
MP
88252011-10-30 Marek Polacek <mpolacek@redhat.com>
8826
8827 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8828 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8829
95b7042b
RM
88302011-11-11 Roland McGrath <roland@hack.frob.com>
8831
8832 * include/unistd.h: Fix __readlink return type.
8833 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8834
57769839
UD
88352011-11-11 Ulrich Drepper <drepper@gmail.com>
8836
8837 * stdlib/ucontext.h: Undo last change for makecontext.
8838
edc5984d
AS
88392011-11-11 Andreas Schwab <schwab@redhat.com>
8840
98591e58
AS
8841 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8842
edc5984d
AS
8843 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8844 * setjmp/setjmp.h: Mark functions as non-leaf.
8845 * setjmp/bits/setjmp2.h: Likewise.
8846 * stdlib/ucontext.h: Likewise.
8847
77cdc054
AS
88482011-11-10 Andreas Schwab <schwab@redhat.com>
8849
8850 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8851 (reused_arena): Don't check arena limit.
8852 (arena_get2): Atomically check arena limit.
8853
fe72eebd
UD
88542011-11-08 Ulrich Drepper <drepper@gmail.com>
8855
5f078c32
UD
8856 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8857 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8858
fe72eebd
UD
8859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8860 instructions.
8861
ae1bc2fa
AS
88622011-11-07 Andreas Schwab <schwab@redhat.com>
8863
7583a88d
AS
8864 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8865 handler when locking.
8866
ae1bc2fa
AS
8867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8868 Fix size of allocated buffer.
8869
10fb0bfa
AS
88702011-11-04 Andreas Schwab <schwab@redhat.com>
8871
998832a4
AS
8872 [BZ #10103]
8873 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8874 declarations for long double functions.
8875 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8876
10fb0bfa
AS
8877 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8878
3d7ba52b
AS
88792011-11-03 Andreas Schwab <schwab@redhat.com>
8880
a9ae54a1
AS
8881 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8882 installed.
8883
3d7ba52b
AS
8884 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8885 is disabled.
8886
bc8db248
ST
88872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8888
8889 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8890
45b96dd6
AS
88912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8892
647776f6
AS
8893 * include/alloca.h (stackinfo_alloca_round): Define.
8894 (extend_alloca): Use it.
8895 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8896 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8897 here.
8898
d91a8b93
AS
8899 * scripts/check-local-headers.sh: Ignore libaudit.h.
8900
45b96dd6
AS
8901 * nscd/Makefile (extra-objs): Make recursively expanded.
8902
432d41ce
UD
89032011-11-01 Ulrich Drepper <drepper@gmail.com>
8904
34372fc6
UD
8905 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8906 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8907
fadb59f8
UD
8908 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8909 * posix/tst-rfc3484-2.c: Likewise.
8910 * posix/tst-rfc3484-3.c: Likewise.
8911
78239589
UD
8912 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8913 process_vm_writev.
8914 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8915 process_vm_writev.
8916 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8917 process_vm_writev from libc using GLIBC_2.15 version.
8918
432d41ce
UD
8919 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8920
02f9c6cf
PP
89212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8922
8923 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8924 stack usage.
8925
3a2c0242
UD
89262011-10-31 Ulrich Drepper <drepper@gmail.com>
8927
f4ec4833
UD
8928 [BZ #13367]
8929 * nss/getent.c (initgroups_keys): Show error message in case no group
8930 names are given.
8931
3a2c0242
UD
8932 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8933 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8934 __bump_nl_timestamp.
8935 * nscd/connections (nscd_init): When host database is served open
8936 netlink socket and request notification about configuration changes.
8937 (main_loop_poll): Track netlink file descriptor and bump timestamp
8938 in case data becomes available.
8939 (main_loop_epoll): Likewise.
8940 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8941 (database_pers_head): Add extra_data fileds.
8942 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8943 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8944 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8945 Adjust caller.
8946 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8947 in6ai data, call __free_in6ai.
8948 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8949 Add -DHAVE_NETLINK.
8950 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8951 interface information. Reuse previous data if netlink timestamp
8952 is not changed.
8953 (__bump_nl_timestamp): New function.
8954 (__free_in6ai): New function.
8955
636064eb
UD
89562011-10-30 Ulrich Drepper <drepper@gmail.com>
8957
8958 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8959 close_not_cancel_no_status here.
8960 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8961
9beb2334
UD
89622011-10-29 Ulrich Drepper <drepper@gmail.com>
8963
6ef76f3b
UD
8964 [BZ #13276]
8965 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8966 return value.
8967
0ffc4f3e 8968 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8969 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8970 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8971
cb95113e
UD
89722011-07-03 Andreas Jaeger <aj@suse.de>
8973
8974 [BZ #10709]
8975 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8976 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8977 * math/libm-test.inc (sin_test): Add test case.
8978
a1b560ff
UD
89792011-10-29 Ulrich Drepper <drepper@gmail.com>
8980
c9aaface
UD
8981 [BZ #13337]
8982 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8983 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8984
d272e7f1
UD
8985 * elf/chroot_canon.c (chroot_canon): Cleanups.
8986
1bc33071
UD
8987 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8988
1760874d
TJ
8989 [BZ #13335]
8990 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8991 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8992
51d91b18
UD
8993 * string/test-strchr.c: Make usable for strchrnul testing.
8994 * string/test-strchrnul.c: New file.
8995 * string/Makefile (strop-tests): Add strchrnul.
8996
a1b560ff 8997 * po/it.po: Update from translation team.
b611fb81 8998 * po/es.po: Likewise.
a1b560ff 8999
a5b81e1f
UD
90002011-10-28 Ulrich Drepper <drepper@gmail.com>
9001
fd52bc6d
UD
9002 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9003 the three constants needed as parameters. Drop the others.
9004 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9005 __m128i_strloadu_tolower.
52e4b9eb
UD
9006 Create and initialize variable zero and use it in all the places
9007 where _mm_setzero_si128 was used.
fd52bc6d 9008
a5b81e1f
UD
9009 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9010 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9011 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9012 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9013 anymore.
9014 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9015 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9016 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9017 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9018 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9019 __mpranred, __mptan.
9020 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9021 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9022 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9023 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9024 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9025 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9026 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9027 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9028 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9029
b4343346
AS
90302011-10-28 Andreas Schwab <schwab@redhat.com>
9031
0c92d8a8
AS
9032 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9033 redefine if SHARED.
9034 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9035
b4343346
AS
9036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9037 wide char related routines to wcsmbs subdir.
9038
3871f58f
AS
90392011-10-27 Andreas Schwab <schwab@redhat.com>
9040
9041 [BZ #13344]
9042 * misc/sys/cdefs.h (__THROWNL): Define.
9043 * posix/unistd.h: Use __THREADNL instead of __THREAD
9044 for memory synchronization functions.
9045
94d44d9f
RM
90462011-10-26 Roland McGrath <roland@hack.frob.com>
9047
21b64b15 9048 [BZ #13349]
94d44d9f
RM
9049 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9050 doesn't exist.
9051 * manual/stdio.texi (Obstack Streams): Node removed.
9052
f6ce9294
AS
90532011-10-26 Andreas Schwab <schwab@redhat.com>
9054
80479147
AS
9055 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9056 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9057 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9058
f6ce9294
AS
9059 * math/math_private.h (math_force_eval): Allow non-addressable
9060 arguments.
9061 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9062
618280a1
UD
90632011-10-25 Ulrich Drepper <drepper@gmail.com>
9064
e0016b11
UD
9065 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9066 file is not needed.
9067
9068 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9069 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9070 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9071 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9075 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9076 Add AVX variants.
9077 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9078 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9079 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9080 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9081 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9082 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9083 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9084 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9085 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9086 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9087 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9088 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9089 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9090 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9091 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9092 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9093 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9094 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9095 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9096
9097 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9098 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9099
618280a1
UD
9100 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9101 place. Use VEX encoding when compiling for AVX.
9102
37822576
AS
91032011-10-25 Andreas Schwab <schwab@redhat.com>
9104
1f1e1947
AS
9105 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9106 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9107
37822576
AS
9108 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9109
31ea014d
UD
91102011-10-25 Ulrich Drepper <drepper@gmail.com>
9111
d7826aa1 9112 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9113 useless if() expression.
d7826aa1
UD
9114 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9118 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9124 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9125 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9126 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9127 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9128 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9129 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9130 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9132 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9133
31ea014d
UD
9134 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9135
16437fec
AS
91362011-10-25 Andreas Schwab <schwab@redhat.com>
9137
9138 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9139 condition.
9140 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9141
31d3cc00
UD
91422011-10-25 Ulrich Drepper <drepper@gmail.com>
9143
9144 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9145 .text section. Avoid duplicate constants.
9146 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9156 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9158 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9161 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9163 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9169 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9170 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9171 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9172 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9173 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9174 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9175 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9176 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9177 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9178 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9179 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9180 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9181 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9182 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9183 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9184 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9185 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9186 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9187 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9188 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9189 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9190 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9191
58985aa9
UD
91922011-10-24 Ulrich Drepper <drepper@gmail.com>
9193
202c9deb
UD
9194 * sysdeps/x86_64/dla.h: Move to ...
9195 * sysdeps/x86_64/fpu/dla.h: ...here.
9196 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9197 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9198
af968f62
UD
9199 * config.make.in: Add have-mfma4 entry.
9200 * configure.in: Substitute libc_cv_cc_fma4.
9201 * math/Makefile (dbl-only-routines): Add sincostab.
9202 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9203 Use __sincostab not sincos.
9204 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9205 name is a macro.
9206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9210 using __copysign.
9211 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9212 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9213 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9214 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9215 and __inv.
9216 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9217 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9218 __copysign.
9219 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9220 define aliases when function name is a macro.
9221 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9222 sysdeps/ieee754/dbl-64/sincos.tbl.
9223 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9224 fma4-enabled routines.
9225 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9226 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9227 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9228 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9229 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9230 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9231 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9232 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9234 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9235 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9236 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9237 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9238 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9239 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9240 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9241 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9242 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9243 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9244 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9245 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9246 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9247 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9248 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9249 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9250 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9251 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9252 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9253 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9254 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9255
58985aa9
UD
9256 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9257 rename.
9258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9264 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9266
a201fbcf
AS
92672011-10-24 Andreas Schwab <schwab@redhat.com>
9268
9269 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9270
fc2ee42a
LD
92712011-10-23 Ulrich Drepper <drepper@gmail.com>
9272
bb3129bd
UD
9273 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9274
0275fff8
UD
9275 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9276 prediction.
9277 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9278
2fa2ae85
UD
9279 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9280 Remove unused variable magic_bits.
9281 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9282
fc2ee42a
LD
9283 * string/strnlen.c: Define and use STRNLEN macro.
9284 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9285 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9286 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9287 * wcsmbs/wcslen.c: Define and use WCSLEN.
9288 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9289 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9290 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9291 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9292 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9293 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9294 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9295
ce7dd29f
LD
92962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9297
9298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9299 strnlen-sse2-no-bsf.
9300 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9301 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9302 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9303 Add strnlen support.
9304 (USE_AS_STRNLEN): New macro.
9305 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9306 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9307 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9308 * sysdeps/x86_64/wcslen.S: New file.
9309
979c70a3
MZ
93102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9311
9312 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9313 XMM-moves are used for copying on small sizes.
9314
2d09f82f
LD
93152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9316
9317 * wcsmbs/Makefile (strop-tests): Add wcschr.
9318 * wcsmbs/test-wcschr.c: New file.
9319 * string/test-strchr.c: Update.
9320 Add wcschr support.
9321 (WIDE): New macro.
9322
619fccca
LD
93232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9324
2d09f82f 9325 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9326 * wcsmbs/test-wcslen.c: New file.
9327 * string/test-strlen.c: Update.
9328 Add wcslen support.
9329 (WIDE): New macro.
9330
09f699ea
UD
93312011-10-23 Ulrich Drepper <drepper@gmail.com>
9332
9333 * po/it.po: Update from translation team.
9334
95584d3b
LD
93352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9336
9337 * sysdeps/x86_64/wcscmp.S: Update.
9338 Fix wrong comparison semantics.
9339 wcscmp shall use signed comparison not unsigned.
9340 Don't use substraction to avoid overflow bug.
9341 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9342 * wcsmbc/wcscmp.c: Likewise.
9343 * string/test-strcmp.c: Likewise.
9344 Add new tests to check cases with negative values.
9345
c8b3296b
UD
93462011-10-23 Ulrich Drepper <drepper@gmail.com>
9347
9348 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9349 * sysdeps/x86_64/dla.h: ...here. New file.
9350 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9355 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9356 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9357 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9359
246ad57a
AS
93602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9361
9362 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9363 __ynl_finite aliases.
9364
a1a87169
UD
93652011-10-22 Ulrich Drepper <drepper@gmail.com>
9366
0d355eb7
UD
9367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9368
a1a87169
UD
9369 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9370 define DLA_FMA.
9371 [DLA_FMA] (EMULV): Use DLA_FMA.
9372 [DLA_FMA] (MUL12): Use EMULV.
9373 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9374 that are not needed.
9375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9382
ee2aafe0
AS
93832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9384
9385 * math/s_nan.c: Undef __nan.
9386 * math/s_nanf.c: Undef __nanf.
9387 * math/s_nanl.c: Undef __nanl.
9388 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9389 "math_private.h".
9390
bc62c2fb
UD
93912011-10-22 Ulrich Drepper <drepper@gmail.com>
9392
77425c63
UD
9393 * math/s_catan.c: Add branch predictions.
9394 * math/s_catanf.c: Likewise.
9395 * math/s_catanh.c: Likewise.
9396 * math/s_catanhf.c: Likewise.
9397 * math/s_catanhl.c: Likewise.
9398 * math/s_catanl.c: Likewise.
9399 * math/s_cexp.c: Likewise.
9400 * math/s_cexpf.c: Likewise.
9401 * math/s_cexpl.c: Likewise.
9402 * math/s_clog.c: Likewise.
9403 * math/s_clog10.c: Likewise.
9404 * math/s_clog10f.c: Likewise.
9405 * math/s_clog10l.c: Likewise.
9406 * math/s_clogf.c: Likewise.
9407 * math/s_clogl.c: Likewise.
9408 * math/s_csqrt.c: Likewise.
9409 * math/s_csqrtf.c: Likewise.
9410 * math/s_csqrtl.c: Likewise.
9411 * math/s_ctanf.c: Likewise.
9412 * math/s_ctanh.c: Likewise.
9413 * math/s_ctanhf.c: Likewise.
9414 * math/s_ctanhl.c: Likewise.
9415 * math/s_ctanl.c: Likewise.
9416
bc62c2fb
UD
9417 * math/math_private.h: Define __nan, __nanf, __nanl.
9418 * math/s_cacosh.c: Include <math_private.h>.
9419 * math/s_cacoshl.c: Likewise.
9420 * math/s_casinh.c: Likewise.
9421 * math/s_casinhf.c: Likewise.
9422 * math/s_casinhl.c: Likewise.
9423 * math/s_ccos.c: Rely entire on ccosh.
9424 * math/s_ccosf.c: Rely entire on ccoshf.
9425 * math/s_ccosl.c: Rely entirely on ccoshl.
9426 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9427 Remove tests for FE_INVALID.
9428 * math/s_ccoshf.c: Likewise.
9429 * math/s_ccoshl.c: Likewise.
9430 * math/s_csin.c: Likewise.
9431 * math/s_csinf.c: Likewise.
9432 * math/s_csinh.c Likewise.
9433 * math/s_csinhf.c: Likewise.
9434 * math/s_csinhl.c: Likewise.
9435 * math/s_csinl.c: Likewise.
9436 * math/s_ctan.c: Likewise.
9437 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9438 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9439 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9440
8ec250a4
UD
94412011-10-21 Ulrich Drepper <drepper@gmail.com>
9442
c196fed8
UD
9443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9444 compilation problems.
9445
8ec250a4
UD
9446 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9447 __builtin_expect.
9448
8d4f46c6
UD
94492011-10-20 Ulrich Drepper <drepper@gmail.com>
9450
ed72b654
UD
9451 * sysdeps/i386/configure.in: Test for -mfma4 option.
9452 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9453 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9454 COMMON_CPUID_INDEX_80000001.
9455 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9456 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9457 use it if FMA3 is not supported.
9458 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9459
8d4f46c6
UD
9460 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9461 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9462
d45c60c2
AS
94632011-10-20 Andreas Schwab <schwab@redhat.com>
9464
9465 [BZ #12892]
9466 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9467 it would create a cycle with a link time dependency.
9468
d9a4d2ab
UD
94692011-10-19 Ulrich Drepper <drepper@gmail.com>
9470
855d1560
UD
9471 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9472 instruction.
9473 * string/Makefile (strop-tests): Add rawmemchr.
9474 * string/test-rawmemchr.c: New file.
9475
d9a4d2ab
UD
9476 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9477 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9478 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9479 when compiling str{,n}casecmp and when AVX is available. Hook up
9480 new optimized code in initializers.
9481
8f3b1ffe
AS
94822011-10-19 Andreas Schwab <schwab@redhat.com>
9483
9484 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9485 __feraiseexcept instead of feraiseexcept.
9486
d38f1dba
UD
94872011-10-18 Ulrich Drepper <drepper@gmail.com>
9488
d9a8d0ab
UD
9489 * math/math_private.h: Define defaults for libc_fetestexcept and
9490 libc_feupdateenv.
9491 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9492 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9493 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9494 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9495 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9496 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9497 libc_fetestexcept and libc_feupdateenv.
9498
4855e3dd
UD
9499 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9500 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9501 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9502 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9503 libc_feholdexcept_setround.
9504
581d30e3
UD
9505 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9506 Add s_nearbyint-c and s_nearbyintf-c.
9507 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9508 nearbyintf inlines.
9509 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9510 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9511 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9512 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9513
d38f1dba
UD
9514 * math/math_private.h: Define defaults for libc_fegetround,
9515 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9516 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9517 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9518 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9519 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9520 standard functions.
9521 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9522 Remove comments and hacks for old compiler versions.
9523 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9524 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9525 libc_feholdexceptl.
9526
caa6c9d8
AS
95272011-10-18 Andreas Schwab <schwab@redhat.com>
9528
9529 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9530 (__feraiseexcept_renamed): Add __NTH.
9531 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9532 namespace violations.
9533
97c066e6
UD
95342011-10-17 Ulrich Drepper <drepper@gmail.com>
9535
99ce7b04
UD
9536 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9537
1004d182
UD
9538 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9539
228a984d
UD
9540 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9541 recently added interfaces.
9542 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9543
c8553a6a
UD
9544 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9545 about macro parameter expansion.
9546
ed22dcf6
UD
9547 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9548 __NO_MATH_INLINES is defined. Cleanups.
9549
9550 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9551 and __floorf is target has SSE4.1.
9552 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9553 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9554 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9555 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9556
b171c137
UD
9557 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9558 name.
9559 (floorf): Likewise.
9560
97c066e6
UD
9561 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9562
629f62ef
AS
95632011-10-17 Andreas Schwab <schwab@redhat.com>
9564
49a43d80
AS
9565 * misc/sys/cdefs.h: Fix last change.
9566
629f62ef
AS
9567 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9568 database lookup.
9569
e453f6cd
UD
95702011-10-16 Ulrich Drepper <drepper@gmail.com>
9571
aa78043a
UD
9572 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9573
ad0f5cad
UD
9574 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9575 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9576 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9577 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9578 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9580 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9581 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9582 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9583 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9584 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9585 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9586 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9587 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9588 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9589 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9590 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9591 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9592 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9593 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9594 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9595 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9596
9597 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9598 ceil, ceilf, floor, floorf.
9599
9600 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9601 Perform IRELATIVE relocations last.
9602
e453f6cd
UD
9603 * elf/do-rel.h: Add another parameter nrelative, replacing the
9604 local variable with the same name. Change name of the function
9605 to end in Rel or Rela (uppercase).
9606 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9607 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9608 elf_dynamic_do_##reloc function.
9609
fd5bdc09
UD
96102011-10-15 Ulrich Drepper <drepper@gmail.com>
9611
79b195b5
UD
9612 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9613 is sufficient, at least on modern CPUs.
9614
d4a28569
UD
9615 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9616
b61099b5
UD
9617 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9618 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9619
bcf01e6d
UD
9620 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9621 __expl_finite.
9622 * math/bits/math-finite.h: Add entries for exp.
9623 * math/e_expl.c: Add __*_finite alias.
9624 * sysdeps/i386/fpu/e_exp.S: Likewise.
9625 * sysdeps/i386/fpu/e_expf.S: Likewise.
9626 * sysdeps/i386/fpu/e_expl.c: Likewise.
9627 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9628 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9631 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9632 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9633 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9634
ba1a0d59
UD
9635 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9636 is sufficient, at least on modern CPUs.
9637
fd5bdc09
UD
9638 * ctype/ctype-info.c (__ctype_init): Define.
9639 * include/ctype.h (__ctype_init): Declare.
9640 (__ctype_b_loc): The variable is always initialized.
9641 (__ctype_toupper_loc): Likewise.
9642 (__ctype_tolower_loc): Likewise.
9643 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9644 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9645
7872cfb0
AS
96462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9647
b468825a
AS
9648 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9649
7872cfb0
AS
9650 * configure.in: Also look in $cxxmachine/include for C++ system
9651 headers.
9652
be13f7bf
LD
96532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9654
9655 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9656 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9657 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9658 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9659 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9660 (USE_AS_WMEMCMP): New macro.
9661 Fixing indents.
9662 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9663 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9664 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9665 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9667 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9668 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9669 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9670 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9671 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9672 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9673 (USE_AS_WMEMCMP): New macro.
9674 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9675 * sysdeps/string/test-memcmp.c: Update.
9676 Fix simple_wmemcmp.
9677 Add new tests.
9678 * wcsmbs/wmemcmp.c: Update.
9679 (WMEMCMP): New macro.
9680 Fix overflow bug.
9681
556a2007
AJ
96822011-10-12 Andreas Jaeger <aj@suse.de>
9683
9684 [BZ #13268]
9685 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9686
538faaa7
UD
96872011-10-15 Ulrich Drepper <drepper@gmail.com>
9688
ab6737ff
UD
9689 * libio/iofwide.c (do_length): Avoid warning.
9690
538faaa7
UD
9691 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9692
396a21b1
UD
96932011-10-14 Ulrich Drepper <drepper@gmail.com>
9694
cdf2901f
UD
9695 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9696
38ad40ce
UD
9697 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9698 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9699 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9700 * sysdeps/i386/i686/fpu/e_log.S: New file.
9701 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9702 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9703
396a21b1
UD
9704 * ctype/ctype.h: Add support for inlined isXXX functions when
9705 compiling C++ code.
9706
6b1f68c9
AS
97072011-10-14 Andreas Schwab <schwab@redhat.com>
9708
349290c0
AS
9709 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9710
6b1f68c9
AS
9711 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9712
f2282d42
RM
97132011-10-13 Roland McGrath <roland@hack.frob.com>
9714
9715 [BZ #13291]
9716 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9717
5298ffa8
AS
97182011-10-13 Andreas Schwab <schwab@redhat.com>
9719
714fad23
AS
9720 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9721 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9722 feraiseexcept.
9723
81dcc7fb
AS
9724 * sysdeps/x86_64/memrchr.S: Check for zero size.
9725
5298ffa8
AS
9726 * string/stratcliff.c: Add memrchr tests.
9727
951fbcec
LD
97282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9729
9730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9731 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9732 rawmemchr-sse2 rawmemchr-sse2-bsf.
9733 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9734 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9735 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9736 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9737 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9738 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9739 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9740 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9741 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9742 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9743 * string/memrchr.c (MEMRCHR): New macro.
9744
0ac5ae23
UD
97452011-10-12 Ulrich Drepper <drepper@gmail.com>
9746
9747 Add integration with gcc's -ffinite-math-only and optimize wrapper
9748 functions in libm.
9749 * Versions.def: Define GLIBC_2.15 version for libm.
9750 * math/Makefile (headers): Add bits/math-finite.h.
9751 * math/bits/math-finite.h: New file.
9752 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9753 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9754 * math/e_acoshl.c: Add __*_finite alias.
9755 * math/e_acosl.c: Likewise.
9756 * math/e_asinl.c: Likewise.
9757 * math/e_atan2l.c: Likewise.
9758 * math/e_atanhl.c: Likewise.
9759 * math/e_coshl.c: Likewise.
9760 * math/e_exp10.c: Likewise.
9761 * math/e_exp10f.c: Likewise.
9762 * math/e_exp10l.c: Likewise.
9763 * math/e_exp2l.c: Likewise.
9764 * math/e_fmodl.c: Likewise.
9765 * math/e_gammal_r.c: Likewise.
9766 * math/e_hypotl.c: Likewise.
9767 * math/e_j0l.c: Likewise.
9768 * math/e_j1l.c: Likewise.
9769 * math/e_jnl.c: Likewise.
9770 * math/e_lgammal_r.c: Likewise.
9771 * math/e_log10l.c: Likewise.
9772 * math/e_log2l.c: Likewise.
9773 * math/e_logl.c: Likewise.
9774 * math/e_powl.c: Likewise.
9775 * math/e_sinhl.c: Likewise.
9776 * math/e_sqrtl.c: Likewise.
9777 * math/e_scalb.c: Completely rewritten and optimized.
9778 * math/e_scalbf.c: Likewise.
9779 * math/e_scalbl.c: Likewise.
9780 * math/w_acos.c: Likewise.
9781 * math/w_acosf.c: Likewise.
9782 * math/w_acosl.c: Likewise.
9783 * math/w_acosh.c: Likewise.
9784 * math/w_acoshf.c: Likewise.
9785 * math/w_acoshl.c: Likewise.
9786 * math/w_asin.c: Likewise.
9787 * math/w_asinf.c: Likewise.
9788 * math/w_asinl.c: Likewise.
9789 * math/w_atan2.c: Likewise.
9790 * math/w_atan2f.c: Likewise.
9791 * math/w_atan2l.c: Likewise.
9792 * math/w_atanh.c: Likewise.
9793 * math/w_atanhf.c: Likewise.
9794 * math/w_atanhl.c: Likewise.
9795 * math/w_exp10.c: Likewise.
9796 * math/w_exp10f.c: Likewise.
9797 * math/w_exp10l.c: Likewise.
9798 * math/w_fmod.c: Likewise.
9799 * math/w_fmodf.c: Likewise.
9800 * math/w_fmodl.c: Likewise.
9801 * math/w_j0.c: Likewise.
9802 * math/w_j0f.c: Likewise.
9803 * math/w_j0l.c: Likewise.
9804 * math/w_j1.c: Likewise.
9805 * math/w_j1f.c: Likewise.
9806 * math/w_j1l.c: Likewise.
9807 * math/w_jn.c: Likewise.
9808 * math/w_jnf.c: Likewise.
9809 * math/w_log.c: Likewise.
9810 * math/w_logf.c: Likewise.
9811 * math/w_logl.c: Likewise.
9812 * math/w_log10.c: Likewise.
9813 * math/w_log10f.c: Likewise.
9814 * math/w_log10l.c: Likewise.
9815 * math/w_log2.c: Likewise.
9816 * math/w_log2f.c: Likewise.
9817 * math/w_log2l.c: Likewise.
9818 * math/w_pow.c: Likewise.
9819 * math/w_powf.c: Likewise.
9820 * math/w_powl.c: Likewise.
9821 * math/w_remainder.c: Likewise.
9822 * math/w_remainderf.c: Likewise.
9823 * math/w_remainderl.c: Likewise.
9824 * math/w_scalb.c: Likewise.
9825 * math/w_scalbf.c: Likewise.
9826 * math/w_scalbl.c: Likewise.
9827 * math/w_sqrt.c: Likewise.
9828 * math/w_sqrtf.c: Likewise.
9829 * math/w_sqrtl.c: Likewise.
9830 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9831 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9832 used.
9833 * math/math_private.h: Declare __kernel_standard_f.
9834 * math/w_cosh.c: Remove cruft and optimize a bit.
9835 * math/w_coshf.c: Likewise.
9836 * math/w_coshl.c: Likewise.
9837 * math/w_exp2.c: Likewise.
9838 * math/w_exp2f.c: Likewise.
9839 * math/w_exp2l.c: Likewise.
9840 * math/w_hypot.c: Likewise.
9841 * math/w_hypotf.c: Likewise.
9842 * math/w_hypotl.c: Likewise.
9843 * math/w_lgamma.c: Likewise.
9844 * math/w_lgamma_r.c: Likewise.
9845 * math/w_lgammaf.c: Likewise.
9846 * math/w_lgammaf_r.c: Likewise.
9847 * math/w_lgammal.c: Likewise.
9848 * math/w_lgammal_r.c: Likewise.
9849 * math/w_sinh.c: Likewise.
9850 * math/w_sinhf.c: Likewise.
9851 * math/w_sinhl.c: Likewise.
9852 * math/w_tgamma.c: Likewise.
9853 * math/w_tgammaf.c: Likewise.
9854 * math/w_tgammal.c: Likewise.
9855 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9856 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9857 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9858 Minor optimizations. Pretty printing. Remove cruft.
9859 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9860 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9861 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9863 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9864 * sysdeps/i386/fpu/e_asin.S: Likewise.
9865 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9866 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9867 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9868 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9869 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9870 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9871 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9872 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9873 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9874 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9875 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9876 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9877 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9878 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9879 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9880 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9881 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9882 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9883 * sysdeps/i386/fpu/e_log.S: Likewise.
9884 * sysdeps/i386/fpu/e_log10.S: Likewise.
9885 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9886 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9887 * sysdeps/i386/fpu/e_log2.S: Likewise.
9888 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9889 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9890 * sysdeps/i386/fpu/e_logf.S: Likewise.
9891 * sysdeps/i386/fpu/e_logl.S: Likewise.
9892 * sysdeps/i386/fpu/e_pow.S: Likewise.
9893 * sysdeps/i386/fpu/e_powf.S: Likewise.
9894 * sysdeps/i386/fpu/e_powl.S: Likewise.
9895 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9896 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9897 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9898 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9899 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9900 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9901 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9902 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9903 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9904 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9905 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9907 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9908 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9909 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9910 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9911 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9912 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9913 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9914 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9915 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9918 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9919 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9925 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9926 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9927 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9928 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9929 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9930 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9931 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9932 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9933 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9934 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9935 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9936 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9937 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9938 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9939 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9940 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9941 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9942 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9943 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9944 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9945 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9946 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9949 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9950 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9951 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9952 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9953 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9954 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9955 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9956 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9957 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9958 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9959 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9960 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9963 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9964 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9984 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9987 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9989 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9990 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9991 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9992 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9993 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9994 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9995 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9996 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9997 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9998 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9999 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10000 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10001 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10002 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10003 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10004 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10005 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10006 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10007 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10008 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10009 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10010 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10011 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10012 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10013 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10014 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10015 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10016 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10017 (__isnanf): Likewise.
10018 (__isinf_ns): Likewise.
10019 (__isinf_nsf): Likewise.
10020 (__finite): Likewise.
10021 (__finitef): Likewise.
10022 (__ieee754_sqrt): Define as macro.
10023 (__ieee754_sqrtf): Define as macro.
10024 (__ieee754_sqrtl): Define as macro.
10025 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10026 inlined copy.
10027 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10028 __FINITE_MATH_ONLY__ consistent.
10029 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10030
12cc2fcd
AS
100312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10032
a843a204
AS
10033 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10034 of rawmemchr.
10035
12cc2fcd
AS
10036 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10037
c853acd5
UD
100382011-10-09 Ulrich Drepper <drepper@gmail.com>
10039
10040 * po/ja.po: Update from translation team.
10041
c658d255
RM
100422011-10-08 Roland McGrath <roland@hack.frob.com>
10043
110946e4
RM
10044 * locale/programs/locarchive.c (prepare_address_space): New function.
10045 (create_archive, enlarge_archive, open_archive): Use it.
10046
50604220
RM
10047 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10048 inside [SHARED], where it is used.
10049
c658d255
RM
10050 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10051
10052 * nss/getent.c (netgroup_keys): Remove unused variable.
10053 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10054
6a621eb7
UD
100552011-10-08 Ulrich Drepper <drepper@gmail.com>
10056
7edb55ce
UD
10057 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10058 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10060 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10061 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10062 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10063 * math/Makefile (libm-calls): Add s_isinf_ns.
10064 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10065 * math/multc3.c: Likewise.
10066 * math/s_casin.c: Likewise.
10067 * math/s_casinf.c: Likewise.
10068 * math/s_casinl.c: Likewise.
10069 * math/s_ccos.c: Likewise.
10070 * math/s_ccosf.c: Likewise.
10071 * math/s_ccosl.c: Likewise.
10072 * math/s_ctan.c: Likewise.
10073 * math/s_ctanf.c: Likewise.
10074 * math/s_ctanh.c: Likewise.
10075 * math/s_ctanhf.c: Likewise.
10076 * math/s_ctanhl.c: Likewise.
10077 * math/s_ctanl.c: Likewise.
10078 * math/w_fmod.c: Likewise.
10079 * math/w_fmodf.c: Likewise.
10080 * math/w_fmodl.c: Likewise.
10081 * math/w_remainder.c: Likewise.
10082 * math/w_remainderf.c: Likewise.
10083 * math/w_remainderl.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10085 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10086 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10088 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10089 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10090 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10091 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10092
187da0ae
UD
10093 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10094 of the number.
10095 * stdio-common/printf_fphex.c: Likewise.
10096 * stdio-common/printf_size.c: Likewise.
10097
9277c064
UD
10098 * math/e_exp10.c: Include math_private.h using <...> not "...".
10099 * math/e_exp10f.c: Likewise.
10100 * math/e_exp10l.c: Likewise.
10101 * math/e_exp2l.c: Likewise.
10102 * math/e_j0l.c: Likewise.
10103 * math/e_j1l.c: Likewise.
10104 * math/e_jnl.c: Likewise.
10105 * math/e_lgammal_r.c: Likewise.
10106 * math/e_rem_pio2l.c: Likewise.
10107 * math/e_scalb.c: Likewise.
10108 * math/e_scalbf.c: Likewise.
10109 * math/e_scalbl.c: Likewise.
10110 * math/k_cosl.c: Likewise.
10111 * math/k_sinl.c: Likewise.
10112 * math/k_tanl.c: Likewise.
10113 * math/s_cacoshf.c: Likewise.
10114 * math/s_catan.c: Likewise.
10115 * math/s_catanf.c: Likewise.
10116 * math/s_catanh.c: Likewise.
10117 * math/s_catanhf.c: Likewise.
10118 * math/s_catanhl.c: Likewise.
10119 * math/s_catanl.c: Likewise.
10120 * math/s_ccosh.c: Likewise.
10121 * math/s_ccoshf.c: Likewise.
10122 * math/s_ccoshl.c: Likewise.
10123 * math/s_cexp.c: Likewise.
10124 * math/s_cexpf.c: Likewise.
10125 * math/s_cexpl.c: Likewise.
10126 * math/s_clog.c: Likewise.
10127 * math/s_clog10.c: Likewise.
10128 * math/s_clog10f.c: Likewise.
10129 * math/s_clog10l.c: Likewise.
10130 * math/s_clogf.c: Likewise.
10131 * math/s_clogl.c: Likewise.
10132 * math/s_csin.c: Likewise.
10133 * math/s_csinf.c: Likewise.
10134 * math/s_csinh.c: Likewise.
10135 * math/s_csinhf.c: Likewise.
10136 * math/s_csinhl.c: Likewise.
10137 * math/s_csinl.c: Likewise.
10138 * math/s_csqrt.c: Likewise.
10139 * math/s_csqrtf.c: Likewise.
10140 * math/s_csqrtl.c: Likewise.
10141 * math/s_ctan.c: Likewise.
10142 * math/s_ctanf.c: Likewise.
10143 * math/s_ctanh.c: Likewise.
10144 * math/s_ctanhf.c: Likewise.
10145 * math/s_ctanhl.c: Likewise.
10146 * math/s_ctanl.c: Likewise.
10147 * math/s_ldexp.c: Likewise.
10148 * math/s_ldexpf.c: Likewise.
10149 * math/s_ldexpl.c: Likewise.
10150 * math/s_significand.c: Likewise.
10151 * math/s_significandf.c: Likewise.
10152 * math/s_significandl.c: Likewise.
10153 * math/w_acos.c: Likewise.
10154 * math/w_acosf.c: Likewise.
10155 * math/w_acosh.c: Likewise.
10156 * math/w_acoshf.c: Likewise.
10157 * math/w_acoshl.c: Likewise.
10158 * math/w_acosl.c: Likewise.
10159 * math/w_asin.c: Likewise.
10160 * math/w_asinf.c: Likewise.
10161 * math/w_asinl.c: Likewise.
10162 * math/w_atan2.c: Likewise.
10163 * math/w_atan2f.c: Likewise.
10164 * math/w_atan2l.c: Likewise.
10165 * math/w_atanh.c: Likewise.
10166 * math/w_atanhf.c: Likewise.
10167 * math/w_atanhl.c: Likewise.
10168 * math/w_cosh.c: Likewise.
10169 * math/w_coshf.c: Likewise.
10170 * math/w_coshl.c: Likewise.
10171 * math/w_dremf.c: Likewise.
10172 * math/w_exp10.c: Likewise.
10173 * math/w_exp10f.c: Likewise.
10174 * math/w_exp10l.c: Likewise.
10175 * math/w_exp2.c: Likewise.
10176 * math/w_exp2f.c: Likewise.
10177 * math/w_fmod.c: Likewise.
10178 * math/w_fmodf.c: Likewise.
10179 * math/w_fmodl.c: Likewise.
10180 * math/w_hypot.c: Likewise.
10181 * math/w_hypotf.c: Likewise.
10182 * math/w_hypotl.c: Likewise.
10183 * math/w_j0.c: Likewise.
10184 * math/w_j0f.c: Likewise.
10185 * math/w_j0l.c: Likewise.
10186 * math/w_j1.c: Likewise.
10187 * math/w_j1f.c: Likewise.
10188 * math/w_j1l.c: Likewise.
10189 * math/w_jn.c: Likewise.
10190 * math/w_jnf.c: Likewise.
10191 * math/w_jnl.c: Likewise.
10192 * math/w_lgamma.c: Likewise.
10193 * math/w_lgamma_r.c: Likewise.
10194 * math/w_lgammaf.c: Likewise.
10195 * math/w_lgammaf_r.c: Likewise.
10196 * math/w_lgammal.c: Likewise.
10197 * math/w_lgammal_r.c: Likewise.
10198 * math/w_log.c: Likewise.
10199 * math/w_log10.c: Likewise.
10200 * math/w_log10f.c: Likewise.
10201 * math/w_log10l.c: Likewise.
10202 * math/w_log2.c: Likewise.
10203 * math/w_log2f.c: Likewise.
10204 * math/w_log2l.c: Likewise.
10205 * math/w_logf.c: Likewise.
10206 * math/w_logl.c: Likewise.
10207 * math/w_pow.c: Likewise.
10208 * math/w_powf.c: Likewise.
10209 * math/w_powl.c: Likewise.
10210 * math/w_remainder.c: Likewise.
10211 * math/w_remainderf.c: Likewise.
10212 * math/w_remainderl.c: Likewise.
10213 * math/w_scalb.c: Likewise.
10214 * math/w_scalbf.c: Likewise.
10215 * math/w_scalbl.c: Likewise.
10216 * math/w_sinh.c: Likewise.
10217 * math/w_sinhf.c: Likewise.
10218 * math/w_sinhl.c: Likewise.
10219 * math/w_sqrt.c: Likewise.
10220 * math/w_sqrtf.c: Likewise.
10221 * math/w_sqrtl.c: Likewise.
10222 * math/w_tgamma.c: Likewise.
10223 * math/w_tgammaf.c: Likewise.
10224 * math/w_tgammal.c: Likewise.
10225
6a621eb7
UD
10226 * po/ja.po: Update from translation team.
10227
bf582445
AJ
102282011-09-29 Andreas Jaeger <aj@suse.de>
10229
f9efbf3a
AJ
10230 [BZ #13179]
10231 * sunrpc/netname.c (netname2host): Fix logic.
10232
bf582445
AJ
10233 [BZ #6779]
10234 [BZ #6783]
10235 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10236 correctly.
10237 * math/w_remainder.c (__remainder): Likewise.
10238 * math/w_remainderf.c (__remainderf): Likewise.
10239 * math/libm-test.inc (remainder_test): Add test cases.
10240
48693bea
AK
102412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10242
10243 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10244 sdiv_qrnnd.
10245
42622229
LD
102462011-10-07 Ulrich Drepper <drepper@gmail.com>
10247
10248 * string/test-memcmp.c: Avoid unncessary #defines.
10249 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10250
093ecf92
LD
102512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10252
10253 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10254 Use new sse2 version for core i3 - i7 as it's faster
10255 than sse42 version.
10256 (bit_Prefer_PMINUB_for_stringop): New.
10257 * sysdeps/x86_64/rawmemchr.S: Update.
10258 Replace with faster SSE2 version.
10259 * sysdeps/x86_64/memrchr.S: New file.
10260 * sysdeps/x86_64/memchr.S: Update.
10261 Replace with faster SSE2 version.
10262
fde56e5c
MP
102632011-09-12 Marek Polacek <mpolacek@redhat.com>
10264
10265 * elf/dl-load.c (lose): Add cast to avoid warning.
10266
21fd49a9
UD
102672011-10-07 Ulrich Drepper <drepper@gmail.com>
10268
5a06e643
UD
10269 * po/ca.po: Update from translation team.
10270
684ae515
UD
10271 * inet/getnetgrent_r.c: Hook up nscd.
10272 * nscd/Makefile (routines): Add nscd_netgroup.
10273 (nscd-modules): Add netgroupcache.
10274 (CFLAGS-netgroupcache.c): Define.
10275 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10276 (cache_search): Add const to second parameter.
10277 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10278 INNETGR.
10279 (dbs): Add netgrdb entry.
10280 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10281 (verify_persistent_db): Handle netgrdb.
10282 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10283 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10284 GETFDNETGR.
10285 (netgroup_response_header): Define.
10286 (innetgroup_response_header): Define.
10287 (datahead): Add netgroup_response_header and innetgroup_response_header
10288 elements.
10289 * nscd/nscd.conf: Add entries for netgroup cache.
10290 * nscd/nscd.h (dbtype): Add netgrdb.
10291 (_PATH_NSCD_NETGROUP_DB): Define.
10292 (netgroup_iov_disabled): Declare.
10293 (xmalloc, xcalloc, xrealloc): Move declarations here.
10294 (cache_search): Adjust prototype.
10295 Add netgroup-related prototypes.
10296 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10297 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10298 (__nscd_innetgr): Declare.
10299 * nscd/selinux.c (perms): Use access_vector_t as element type and
10300 add netgroup-related initializers.
10301 * nscd/netgroupcache.c: New file.
10302 * nscd/nscd_netgroup.c: New file.
10303 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10304 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10305 For four parameters use innetgr.
10306 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10307 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10308 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10309 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10310
21fd49a9
UD
10311 * nscd/connections.c (register_traced_file): Don't register file
10312 for disabled databases.
10313
054c0457
UD
103142011-10-06 Ulrich Drepper <drepper@gmail.com>
10315
32b63198
UD
10316 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10317
054c0457
UD
10318 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10319 from tree and freeing node.
10320
64031225
JO
103212011-09-25 Jiri Olsa <jolsa@redhat.com>
10322
10323 * nss/nsswitch.c (__nss_database_lookup): Handle
10324 nss_parse_service_list out of memory case.
10325
0490345c
JO
103262011-09-15 Jiri Olsa <jolsa@redhat.com>
10327
10328 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10329 out of memory case.
10330
3a62d00d
AS
103312011-10-04 Andreas Schwab <schwab@redhat.com>
10332
10333 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10334 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10335 pass it down.
10336 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10337 elf_machine_rela, elf_machine_lazy_rel.
10338 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10339 (ELF_DYNAMIC_DO_REL): Likewise.
10340 (ELF_DYNAMIC_DO_RELA): Likewise.
10341 (ELF_DYNAMIC_RELOCATE): Likewise.
10342 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10343 to ELF_DYNAMIC_DO_REL.
10344 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10345 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10346 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10347 elf_machine_rela.
10348 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10349 skip_ifunc, don't call ifunc function if non-zero.
10350 (elf_machine_rela): Likewise.
10351 (elf_machine_lazy_rel): Likewise.
10352 (elf_machine_lazy_rela): Likewise.
10353 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10354 (elf_machine_lazy_rel): Likewise.
10355 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10356 Likewise.
10357 (elf_machine_lazy_rel): Likewise.
10358 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10359 Likewise.
10360 (elf_machine_lazy_rel): Likewise.
10361 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10362 (elf_machine_lazy_rel): Likewise.
10363 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10364 (elf_machine_lazy_rel): Likewise.
10365 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10366 (elf_machine_lazy_rel): Likewise.
10367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10368 (elf_machine_lazy_rel): Likewise.
10369 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10370 (elf_machine_lazy_rel): Likewise.
10371 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10372 (elf_machine_lazy_rel): Likewise.
10373
68577918
UD
103742011-09-28 Ulrich Drepper <drepper@gmail.com>
10375
10376 * nss/nss_files/files-init.c (_nss_files_init): Use static
10377 initialization for all the *_traced_file variables.
10378
68822d74
AS
103792011-09-28 Andreas Schwab <schwab@redhat.com>
10380
10381 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10382
2056100b
RM
103832011-09-27 Roland McGrath <roland@hack.frob.com>
10384
10385 [BZ #13226]
10386 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10387
32c76b63
AS
103882011-09-27 Andreas Schwab <schwab@redhat.com>
10389
10390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10391 Reread the line before reparsing it.
10392
bf972c9d
AS
103932011-09-26 Andreas Schwab <schwab@redhat.com>
10394
10395 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10396
e057a1b5
JM
103972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10398 Maxim Kuvyrkov <maxim@codesourcery.com>
10399 Joseph Myers <joseph@codesourcery.com>
10400
10401 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10402 if needed for __stack_chk_guard.
10403
bc7e1c36
RM
104042011-09-19 Roland McGrath <roland@hack.frob.com>
10405
ecb1482f
RM
10406 * sysdeps/posix/spawni.c (script_execute): Always define it.
10407 It will be optimized away if unused.
10408 (maybe_script_execute): New function.
10409 (__spawni): Call it.
10410
bc7e1c36
RM
10411 * Makerules: Don't include tls.make.
10412 (config-tls): Always set to thread.
10413 * tls.make.c: File removed.
10414
1c3b002b
MF
104152011-09-19 Mike Frysinger <vapier@gentoo.org>
10416
10417 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10418 * config.make.in (CPPFLAGS-config): New substituted variable.
10419
2840865d
UD
104202011-09-15 Ulrich Drepper <drepper@gmail.com>
10421
88738eb6
UD
10422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10423
cbf645a6 10424 [BZ #13192]
2840865d
UD
10425 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10426 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10427
b402e91a
RM
104282011-09-15 Roland McGrath <roland@hack.frob.com>
10429
10430 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10431 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10432 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10433 (CALL_FAIL): Likewise.
10434 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10435 (CALL_FAIL): Macro removed.
10436 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10437
4c1a1f71
UD
104382011-09-15 Ulrich Drepper <drepper@gmail.com>
10439
10440 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10441 for __FINITE_MATH_ONLY__ == 1.
10442
edc121be
AS
104432011-09-15 Andreas Schwab <schwab@redhat.com>
10444
10445 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10446 __ieee754_sqrt instead of sqrt.
10447 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10448 __ieee754_sqrtf instead of sqrtf.
10449 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10450 __floorf instead of floorf.
10451 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10452 __floorf, __truncf instead of floorf, truncf.
10453
cd205654
UD
104542011-09-14 Ulrich Drepper <drepper@gmail.com>
10455
ee4d0315
UD
10456 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10457
cd205654
UD
10458 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10459 __extern_always_inline.
10460 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10461 32-bit.
10462
48b67d71
AS
104632011-09-14 Andreas Schwab <schwab@redhat.com>
10464
10465 * elf/rtld.c (dl_main): Also relocate in dependency order when
10466 doing symbol dependency testing.
10467
1ae12c75
AS
104682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10469
10470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10471 Always define `refsym'.
10472
995a80df
AS
104732011-09-13 Andreas Schwab <schwab@redhat.com>
10474
e529793b
AS
10475 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10476 (__FD_ELT): Renamed from __FDELT.
10477 * misc/bits/select2.h (__FD_ELT): Likewise.
10478 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10479 __FD_MASK instead of __FDELT, __FDMASK.
10480 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10481 Likewise.
10482 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10483 Likewise.
10484
52d4fef8
AS
10485 * elf/Makefile (gen-ldd): Fix pattern.
10486
995a80df
AS
10487 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10488 (init_tls): Likewise.
10489
8682f8b0
UD
104902011-09-12 Ulrich Drepper <drepper@gmail.com>
10491
10492 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10493
de82006d
AS
104942011-09-12 Andreas Schwab <schwab@redhat.com>
10495
a7c8e6a1
AS
10496 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10497 `struct cmsghdr *' instead of `void *'.
10498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10499 Likewise.
10500
0f31fe77
AS
105012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10502
10503 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10504 if non-absolute.
10505 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10506 ldd_rewrite_script.
0f31fe77 10507
32b4c839
UD
105082011-09-11 Ulrich Drepper <drepper@gmail.com>
10509
83cd1420
UD
10510 * configure.in: Remove --with-tls option.
10511 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10512 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10513 out in case it is missing.
10514 * sysdeps/ia64/elf/configure.in: Likewise.
10515 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10516 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10517 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10518 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10519 * sysdeps/sh/elf/configure.in: Likewise.
10520 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10521 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10522 * sysdeps/x86_64/elf/configure.in: Likewise.
10523 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10524 * sysdeps/mach/hurd/tls.h: Likewise.
10525
633f745d
UD
10526 [BZ #13067]
10527 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10528
f318beb8
UD
10529 [BZ #13090]
10530 * configure.in: Fix use of AC_INIT.
10531
32b4c839
UD
10532 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10533
3ce1f295
UD
105342011-09-10 Ulrich Drepper <drepper@gmail.com>
10535
bb016596
UD
10536 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10537 __set_errno.
8e58439c
UD
10538 * malloc/hooks.c: Likewise.
10539
aebae053 10540 [BZ #11929]
02d46fc4
UD
10541 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10542 variables statically.
10543 (narenas): Initialize.
10544 (list_lock): Initialize.
bb016596
UD
10545 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10546 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10547 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10548 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10549 Add initializers to main_arena and mp_.
10550 (malloc_state): Remove pagesize member. Change all users to use
10551 GLRO(dl_pagesize).
10552
10553 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10554 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10555 is always initialized.
10556
22a89187
UD
10557 * malloc/malloc.c: Removed unused configurations and dead code.
10558 * malloc/arena.c: Likewise.
10559 * malloc/hooks.c: Likewise.
02d46fc4 10560 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10561
d063d164
UD
10562 * include/tls.h: Removed. USE___THREAD must always be defined.
10563 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10564 * elf/dl-libc.c: Likewise.
10565 * elf/dl-tsd.c: Likewise.
10566 * include/errno.h: Likewise.
10567 * include/netdb.h: Likewise.
10568 * include/resolv.h: Likewise.
10569 * inet/herrno-loc.c: Likewise.
10570 * inet/herrno.c: Likewise.
10571 * malloc/arena.c: Likewise.
10572 * malloc/hooks.c: Likewise.
10573 * malloc/malloc.c: Likewise.
10574 * resolv/res-state.c: Likewise.
10575 * resolv/res_libc.c: Likewise.
10576 * sysdeps/i386/dl-machine.h: Likewise.
10577 * sysdeps/ia64/dl-machine.h: Likewise.
10578 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10579 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10580 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10581 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10582 * sysdeps/sh/dl-machine.h: Likewise.
10583 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10584 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10585 * sysdeps/unix/i386/sysdep.S: Likewise.
10586 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10587 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10590 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10592 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10596 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10597 * sysdeps/x86_64/dl-machine.h: Likewise.
10598 * tls.make.c: Likewise.
10599
3ce1f295
UD
10600 * configure.in: Remove --with-__thread option. Make tests for
10601 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10602 tls_model attribute fail if no support is available. Remove
10603 USE_IN_LIBIO.
10604 * Makeconfig: Adjust for dropped configure option. All features are
10605 now mandatory.
10606 * Makerules: Likewise.
10607 * Versions.def: Likewise.
10608 * argp/argp-fmtstream.c: Likewise.
10609 * argp/argp-fmtstream.h: Likewise.
10610 * argp/argp-help.c: Likewise.
10611 * assert/assert.c: Likewise.
10612 * config.h.in: Likewise.
10613 * config.make.in: Likewise.
10614 * configure: Likewise.
10615 * configure.in: Likewise.
10616 * csu/Versions: Likewise.
10617 * csu/init.c: Likewise.
10618 * elf/tst-audit2.c: Likewise.
10619 * elf/tst-tls10.c: Likewise.
10620 * elf/tst-tls10.h: Likewise.
10621 * elf/tst-tls11.c: Likewise.
10622 * elf/tst-tls12.c: Likewise.
10623 * elf/tst-tls14.c: Likewise.
10624 * elf/tst-tlsmod11.c: Likewise.
10625 * elf/tst-tlsmod12.c: Likewise.
10626 * elf/tst-tlsmod13.c: Likewise.
10627 * elf/tst-tlsmod13a.c: Likewise.
10628 * elf/tst-tlsmod14a.c: Likewise.
10629 * elf/tst-tlsmod15b.c: Likewise.
10630 * elf/tst-tlsmod16a.c: Likewise.
10631 * elf/tst-tlsmod16b.c: Likewise.
10632 * elf/tst-tlsmod7.c: Likewise.
10633 * elf/tst-tlsmod8.c: Likewise.
10634 * elf/tst-tlsmod9.c: Likewise.
10635 * gmon/gmon.c: Likewise.
10636 * grp/fgetgrent_r.c: Likewise.
10637 * grp/putgrent.c: Likewise.
10638 * hurd/fopenport.c: Likewise.
10639 * include/libc-symbols.h: Likewise.
10640 * include/tls.h: Likewise.
10641 * intl/gettextP.h: Likewise.
10642 * intl/loadinfo.h: Likewise.
10643 * locale/global-locale.c: Likewise.
10644 * locale/localeinfo.h: Likewise.
10645 * mach/devstream.c: Likewise.
10646 * malloc/arena.c: Likewise.
10647 * malloc/set-freeres.c: Likewise.
10648 * misc/err.c: Likewise.
10649 * misc/getttyent.c: Likewise.
10650 * misc/mntent_r.c: Likewise.
10651 * posix/getopt.c: Likewise.
10652 * posix/wordexp.c: Likewise.
10653 * pwd/fgetpwent_r.c: Likewise.
10654 * resolv/Versions: Likewise.
10655 * resolv/res_hconf.c: Likewise.
10656 * shadow/fgetspent_r.c: Likewise.
10657 * shadow/putspent.c: Likewise.
10658 * stdio-common/printf_fphex.c: Likewise.
10659 * stdio-common/tmpfile.c: Likewise.
10660 * stdlib/abort.c: Likewise.
10661 * stdlib/fmtmsg.c: Likewise.
10662 * sunrpc/auth_unix.c: Likewise.
10663 * sunrpc/clnt_perr.c: Likewise.
10664 * sunrpc/clnt_tcp.c: Likewise.
10665 * sunrpc/clnt_udp.c: Likewise.
10666 * sunrpc/clnt_unix.c: Likewise.
10667 * sunrpc/openchild.c: Likewise.
10668 * sunrpc/svc_simple.c: Likewise.
10669 * sunrpc/svc_tcp.c: Likewise.
10670 * sunrpc/svc_udp.c: Likewise.
10671 * sunrpc/svc_unix.c: Likewise.
10672 * sunrpc/xdr.c: Likewise.
10673 * sunrpc/xdr_array.c: Likewise.
10674 * sunrpc/xdr_rec.c: Likewise.
10675 * sunrpc/xdr_ref.c: Likewise.
10676 * sunrpc/xdr_stdio.c: Likewise.
10677
1248c1c4
PB
106782011-09-09 Ulrich Drepper <drepper@gmail.com>
10679
10680 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10681
106822011-07-03 Andreas Jaeger <aj@suse.de>
10683
10684 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10685 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10686 regenerate with gen-libm-tests.pl.
10687
106882010-05-12 Petr Baudis <pasky@suse.cz>
10689
10690 [BZ #11589]
10691 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10692 around j0() zero points by switching to j1().
10693 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10694 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10695 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10696 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10697
f22e1074
UD
106982011-09-09 Ulrich Drepper <drepper@gmail.com>
10699
f19009c1
UD
10700 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10701 instead of 0.
10702 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10703 instead of 0. .
10704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10705 Patch in part by Pavel Roskin <proski@gnu.org>.
10706
3f8cc204
UD
10707 [BZ #13138]
10708 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10709 realloc.
10710 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10711 Free memory block if necessary.
10712
f22e1074
UD
10713 [BZ #12847]
10714 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10715 be NULL. Don't lock in this case.
10716
0a2349f9
RM
107172011-09-09 Roland McGrath <roland@hack.frob.com>
10718
10719 * elf/elf.h (ELFOSABI_GNU): New macro.
10720 (ELFOSABI_LINUX): Define to that.
10721
f3cdd467
DZ
107222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10723
10724 * string/strncat.c (strncat): Undef the symbol in case it has been
10725 defined in bits/string.h.
10726
74718d13
UD
107272011-09-09 Ulrich Drepper <drepper@gmail.com>
10728
633e9e0f
UD
10729 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10730
0a2349f9 10731 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10732 link map.
10733
f9924780
AJ
107342011-08-17 Andreas Jaeger <aj@suse.de>
10735
10736 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10737
7f5517aa
PP
107382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10739 Ian Lance Taylor <iant@google.com>
10740
10741 * math/libm-test.inc (lround_test): New testcase.
10742 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10743
762011fe
UD
107442011-09-08 Ulrich Drepper <drepper@gmail.com>
10745
92963737
UD
10746 * Makefile: Remove support for automatic cvs check-ins.
10747 * Makerules: Likewise.
10748 * config.make.in: Likewise.
10749 * configure.in: Likewise.
10750 * intl/Makefile: Likewise.
10751 * locale/Makefile: Likewise.
10752 * po/Makefile: Likewise.
10753 * posix/Makefile: Likewise.
10754 * sysdeps/gnu/Makefile: Likewise.
10755 * sysdeps/mach/hurd/Makefile: Likewise.
10756 * sysdeps/sparc/sparc32/Makefile: Likewise.
10757
b0727fd8
JS
10758 [BZ #13118]
10759 * posix/Makefile (bug-regex32-ENV): Define.
10760 Patch by John Stanley <jpsinthemix@verizon.net>.
10761
a0f33f99
UD
10762 * misc/Makefile (headers): Add bits/select2.h.
10763 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10764 * misc/bits/select2.h: New file.
10765 * include/bits/select2.h: New file.
10766 * debug/Makefile (routines): Add fdelt_chk.
10767 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10768 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10769 FD_ISSET.
10770 * debug/fdelt_chk.c: New file.
10771
762011fe
UD
10772 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10773 * wcsmbs/test-wmemcmp.c: Likewise.
10774 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10775 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10776
107772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10778
10779 * string/Makefile (strop-tests): Add memcmp.
10780 * string/test-wmemcmp.c: New file.
10781 * string/test-memcmp.c: Add wmemcmp support.
10782
7f513ec8
RM
107832011-09-08 Roland McGrath <roland@hack.frob.com>
10784
0442afb4
RM
10785 [BZ #13153]
10786 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10787 2011-07-19 change.
10788
7f513ec8
RM
10789 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10790 garbage value in a __mach_port_mod_refs call in the cases of the
10791 task-self and thread-self ports.
10792
a12b2239
ST
107932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10794
10795 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10796
610f9ab4
AS
107972011-09-08 Andreas Schwab <schwab@redhat.com>
10798
7f513ec8 10799 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10800
48882a1a
LD
108012011-09-07 Ulrich Drepper <drepper@gmail.com>
10802
b49865be
UD
10803 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10804
fdc86bc9
UD
10805 * elf/dl-libc.c (dlerror_run): Pass back error code from
10806 dl_catch_error.
10807
c966526a
UD
10808 [BZ #13123]
10809 * elf/dl-load.c (lose): Free l_origin if it is valid.
10810
48882a1a
LD
10811 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10812 names.
10813 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10814 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10815 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10816 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10817 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10818 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10819
77a2a8b4
AZ
108202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10821
10822 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10823 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10824 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10825 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10826 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10827 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10828 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10829 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10830 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10831 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10832
24f579d8
AM
108332011-08-15 Alan Modra <amodra@gmail.com>
10834
10835 [BZ #13092]
10836 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10837 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10838 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10839 ppc_mcount to static-only-routines.
10840 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10841 __mcount_internal.
10842 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10843 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10844
3d4837df
UD
108452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10846
10847 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10848 for finite and infinity parameters.
10849
22700377
WS
108502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10851
10852 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10853 and add nop instructions for throughput optimization.
10854 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10855
5025581e
WS
108562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10857
10858 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10859 aligned copy for power7 with vector-scalar instructions.
10860 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10861
08a300c9
L
108622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10863
10864 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10865 AVX check.
10866
59178ef9
AS
108672011-09-07 Andreas Schwab <schwab@redhat.com>
10868
10869 [BZ #13144]
10870 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10871 last change.
10872
e38ba7ab
UD
108732011-09-07 Ulrich Drepper <drepper@gmail.com>
10874
10875 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10876 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10877 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10878 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10879 clock_gettime.
10880
d53a73ac
UD
108812011-09-06 Ulrich Drepper <drepper@gmail.com>
10882
fc8bffcc
UD
10883 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10884 Forgot to demangle the pointer.
10885
ceaa0c5d
UD
10886 * sysdeps/i386/sysdep.h: Define atom_text_section.
10887 * sysdeps/x86_64/sysdep.h: Likewise.
10888 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10889 section with atom_text_section.
10890 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10891 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10892 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10893 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10894 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10895
a77d3c17
UD
10896 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10897 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10898 already be defined. Change to take two parameters and don't assign
10899 result to variable. Adjust all users.
10900 Define INTERNAL_GETTIME if not already defined.
10901 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10902 call.
10903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10904 HAVE_CLOCK_GETTIME_VSYSCALL.
10905 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10906
d53a73ac
UD
10907 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10908 gettimeofday vsyscall, just use time.
10909
a8f84144
AS
109102011-09-06 Andreas Schwab <schwab@redhat.com>
10911
10912 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10913 <errno.h>.
10914
ef606249
UD
109152011-09-06 Ulrich Drepper <drepper@gmail.com>
10916
10917 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10918 syscall on x86-64.
10919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10920 syscall.
10921 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10922 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10923 syscall if possible.
10924
6585cb60
UD
109252011-09-05 Ulrich Drepper <drepper@gmail.com>
10926
10927 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10928 e_ident. Don't pass to find_mapsXX.
10929 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10930
a5f524e4
LD
109312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10932
10933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10934 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10935 * sysdeps/x86_64/multiarch/strchr.S: Update.
10936 Check bit_slow_BSF bit.
10937 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10938 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10939 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10940
554881ef
UD
109412011-09-05 Ulrich Drepper <drepper@gmail.com>
10942
d96de963
UD
10943 [BZ #13134]
10944 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10945 before glibc 2.15.
10946 (tryshell): Define.
10947 (__spawni): Change last parameter to be flag. Test
10948 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10949 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10950 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10951 * posix/spawni.c: Likewise.
10952 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10953 * posix/spawnp.c: Likewise. Change normal version to use
10954 SPAWN_XFLAGS_USE_PATH.
10955 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10956 SPAWN_XFLAGS_TRY_SHELL.
10957
d48e5868
UD
10958 [BZ #13150]
10959 * posix/glob.h: Remove gcc 1.x support.
10960
554881ef
UD
10961 [BZ #13068]
10962 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10963
693fb948
LD
109642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10965
10966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10967 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10968 strrchr-sse2-bsf
10969 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10970 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10971 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10972 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10973 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10974 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10975
1b48c537
UD
109762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10977
49d42c37
UD
10978 * sysdeps/x86_64/wcscmp.S: New file.
10979
1b48c537
UD
10980 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10981 wcscmp-c wcscmp-sse2
10982 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10983 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10984 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10985 * wcsmbs/wcscmp.c: Allow renaming.
10986
15c95c5d
DM
109872011-09-05 David S. Miller <davem@davemloft.net>
10988
10989 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10990 stack slot, rather than the struct return pointer slot.
10991 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10992 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10994 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10995
2f0ad8f3
UD
109962011-09-05 Ulrich Drepper <drepper@gmail.com>
10997
d88ae418
UD
10998 * po/ja.po: Update from translation team.
10999
2f0ad8f3
UD
11000 [BZ #13144]
11001 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11002 kernel in 64-bit binaries.
11003
5f4318d1
DM
110042011-09-01 David S. Miller <davem@davemloft.net>
11005
11006 * elf/elf.h (HWCAP_SPARC_*): Move to..
11007 * sysdeps/sparc/sysdep.h: this new file and add new values.
11008 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11009 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11010 _DL_HWCAP_COUNT to 24.
11011 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11012 entries.
11013 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11014 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11015 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11017 instead of magic constants.
11018 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11019
3ba57516
DM
110202011-08-31 David S. Miller <davem@davemloft.net>
11021
11022 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11024 Reimplement to do errno handling inline.
11025 (SYSCALL_ERROR_HANDLER): New macro.
11026 (__SYSCALL_STRING): Do not do errno handling in asm.
11027 (__CLONE_SYSCALL_STRING): Delete.
11028 (__INTERNAL_SYSCALL_STRING): Delete.
11029 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11030 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11031 (PSEUDO): Reimplement to do errno handling inline.
11032 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11033 (SYSCALL_ERROR_HANDLER): New macro.
11034 (__SYSCALL_STRING): Do not do errno handling in asm.
11035 (__CLONE_SYSCALL_STRING): Delete.
11036 (__INTERNAL_SYSCALL_STRING): Delete.
11037 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11038 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11039 i386.
11040 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11041 (inline_syscall*): Add 'err' argument.
11042 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11043 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11044 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11045 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11046
11047 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11048 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11049
2bc17433
AS
110502011-08-30 Andreas Schwab <schwab@redhat.com>
11051
11052 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11053
fbeb5f4d
JO
110542011-08-29 Jiri Olsa <jolsa@redhat.com>
11055
11056 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11057 directive.
11058
ad69cc26
DM
110592011-08-24 David S. Miller <davem@davemloft.net>
11060
11061 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11062
39dd69df
AS
110632011-08-24 Andreas Schwab <schwab@redhat.com>
11064
11065 * elf/Makefile: Add rules to build and run unload8 test.
11066 * elf/unload8.c: New file.
11067 * elf/unload8mod1.c: New file.
11068 * elf/unload8mod1x.c: New file.
11069 * elf/unload8mod2.c: New file.
11070 * elf/unload8mod3.c: New file.
11071
11072 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11073 it wasn't used.
11074
2c0b250a
DM
110752011-08-23 David S. Miller <davem@davemloft.net>
11076
11077 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11078 subtract stack bias.
11079 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11080 %sp not %fp in calculations.
11081 (_JMPBUF_UNWINDS_ADJ): Likewise.
11082
22044b48
DM
11083 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11084 (aio_suspend): Call it to force an exception region around the
11085 AIO_MISC_WAIT() invocation.
11086
2cae4995
AS
110872011-08-23 Andreas Schwab <schwab@redhat.com>
11088
11089 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11090 backslash.
11091
873a772e
AJ
110922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11093
11094 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11095 protection macro.
11096 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11097 and <dl-machine.h>.
11098 (Elf64_FuncDesc): Remove.
11099
25ad0df1
DM
111002011-08-22 David S. Miller <davem@davemloft.net>
11101
11102 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11103 sigaltstack check, add missing cfi directives.
11104 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11105 missing cfi directives, and sigaltstack handling.
11106
e888bcbe
AS
111072011-08-16 Andreas Schwab <schwab@redhat.com>
11108
11109 [BZ #11724]
11110 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11111 object is seen twice.
11112 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11113
11114 * elf/Makefile (distribute): Add tst-initorder2.c.
11115 (tests): Add tst-initorder2.
11116 (modules-names): Add tst-initorder2a tst-initorder2b
11117 tst-initorder2c tst-initorder2d. Add rules to build them.
11118 ($(objpfx)tst-initorder2.out): New rule.
11119 * elf/tst-initorder2.c: New file.
11120 * elf/tst-initorder2.exp: New file.
11121
87162f46
AS
111222011-08-22 Andreas Schwab <schwab@redhat.com>
11123
70538b7f
AS
11124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11125
f55ffe58
AS
11126 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11127 dependencies back to end of function.
11128
87162f46
AS
11129 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11130 $(elfobjdir)/ld.so.
11131
91b392a4
UD
111322011-08-21 Ulrich Drepper <drepper@gmail.com>
11133
11134 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11135 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11136 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11137 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11138 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11139 of __vdso_gettimeofday.
11140 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11141 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11142 attribute_hidden.
11143 (_libc_vdso_platform_setup): Remove initialization of
11144 __vdso_gettimeofday and __vdso_time.
11145
5c43483f
UD
111462011-08-20 Ulrich Drepper <drepper@gmail.com>
11147
775a77e7
UD
11148 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11149 and fgetc_unlocked.
11150 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11151 getc_unlocked.
89f447ed 11152
49c74ba9
UD
11153 * elf/dl-open.c (add_to_global): Report additions to the global scope
11154 for LD_DEBUG=scopes.
11155 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11156 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11157
5c43483f
UD
11158 [BZ #13114]
11159 * stdio-common/Makefile (tests): Add bug24.
11160 * stdio-common/bug24.c: New file.
11161
a101b025
AJ
111622011-08-19 Andreas Jaeger <aj@suse.de>
11163
11164 [BZ #13114]
11165 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11166 non-existant file when using close-on-exec mode.
11167
c88f1766
UD
111682011-08-20 Ulrich Drepper <drepper@gmail.com>
11169
0276a718
UD
11170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11171 the very first instruction.
11172
c88f1766
UD
11173 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11174 the CFI state in the end.
11175 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11176 inclusion of dl-trampoline.h.
11177 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11178
51ccffa0
AS
111792011-08-19 Andreas Schwab <schwab@redhat.com>
11180
94d7165f
AS
11181 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11182 expectations for long double.
11183
51ccffa0
AS
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11185 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11186
fd708658 111872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11188
11189 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11190 artificual limit depends upon the system page size.
11191
44f0a71e
UD
111922011-08-17 Ulrich Drepper <drepper@gmail.com>
11193
11194 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11195 * resolv/Makefile: Define CFLAGS-libresolv.
11196
8de79a24
AS
111972011-08-17 Andreas Schwab <schwab@redhat.com>
11198
11199 * nss/makedb.c (compute_tables): Make variables used in nested
11200 function static.
11201
27724598
UD
112022011-08-17 Ulrich Drepper <drepper@gmail.com>
11203
c5305d88
UD
11204 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11205 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11206 if buffer was too small.
11207
27724598
UD
11208 * elf/pldd.c (main): Attach to all threads in the process.
11209 Rewrite /proc handling to use *at functions.
11210
076fe015
UD
112112011-08-16 Ulrich Drepper <drepper@gmail.com>
11212
174baab3
UD
11213 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11214 specifies first scope to show.
11215 (dl_open_worker): Update callers. Move printing scope of new
11216 object to before the relocation.
44f0a71e 11217 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11218 * sysdeps/generic/ldsodefs.h: Update declaration.
11219
076fe015
UD
11220 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11221 string for the scope number.
11222
a60df2c3
UD
112232011-08-14 Ulrich Drepper <drepper@gmail.com>
11224
11225 * nscd/servicescache.c (cache_addserv): Make sure written is always
11226 initialized.
11227
5e4287d1
RM
112282011-08-14 Roland McGrath <roland@hack.frob.com>
11229
85ae0589
RM
11230 * sysdeps/i386/i486/bits/atomic.h
11231 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11232 statement expression, so as to suppress "set but not used" warning.
11233 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11234
69f63097
RM
11235 * string/strncat.c (STRNCAT): Use prototype definition.
11236
675456ef
RM
11237 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11238 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11239 -Iprograms here.
11240 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11241 (localedef-modules): Add localedef.
11242 (locale-modules): Add locale.
11243
5e4287d1
RM
11244 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11245 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11246 to avoid a warning.
11247
9c96ff23
DM
112482011-08-14 David S. Miller <davem@davemloft.net>
11249
11250 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11251 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11252
f9ddf089
UD
112532011-08-13 Ulrich Drepper <drepper@gmail.com>
11254
44f0a71e 11255 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11256 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11257 * elf/rtld.c (dl_main): Set l_name of vDSO.
11258 Call _dl_show_scope when DL_DEBUG_SCOPES.
11259 (process_dl_debug): Recognize scopes flag and also set it for all.
11260 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11261 Declare _dl_show_scope.
11262
1dc27704
UD
11263 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11264 (do_dlopen): Pass caller_dlopen to dl_open.
11265 (__libc_dlopen_mode): Initialize caller_dlopen.
11266
f9ddf089
UD
11267 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11268 of libc. Make tolower call locale-independent. Optimize a bit by
11269 using isdigit instead of isalnum.
11270 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11271
9ac533d3
UD
112722011-08-12 Ulrich Drepper <drepper@gmail.com>
11273
11274 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11275 was a dependency or dynamically loaded.
11276
89edf2e9
UD
112772011-08-11 Ulrich Drepper <drepper@gmail.com>
11278
8e999d29
UD
11279 * intl/l10nflist.c: Allow architecture-specific pop function.
11280 * sysdeps/x86_64/l10nflist.c: New file.
11281
89edf2e9
UD
11282 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11283 classification.
11284
14d96785
AS
112852011-08-10 Andreas Schwab <schwab@redhat.com>
11286
11287 * include/dirent.h: Add libc_hidden_proto for scandirat and
11288 scandirat64. Don't declare __scandirat64.
11289 * dirent/scandirat.c: Add libc_hidden_def.
11290 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11291 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11292
6761ac04
DM
112932011-08-10 David S. Miller <davem@davemloft.net>
11294
11295 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11296 enum.
11297 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11299 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11300
c55fbd1e
UD
113012011-08-09 Ulrich Drepper <drepper@gmail.com>
11302
11303 * Versions.def [libc]: Add GLIBC_2.15.
11304 * dirent/Makefile (routines): Add scandirat and scandirat64.
11305 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11306 GLIBC_2.15.
11307 * dirent/dirent.h: Declare scandirat and scandirat64.
11308 * dirent/scandirat.c: New file.
11309 * dirent/scandirat64.c: New file.
11310 * sysdeps/wordsize-64/scandirat.c: New file.
11311 * sysdeps/wordsize-64/scandirat64.c: New file.
11312 * dirent/opendir.c: Define opendirat.
11313 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11314 using scandirat.
11315 * dirent/scandir64.c: Adjust for scandir.c change.
11316 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11317 __scandirat64, and __scandir_cancel_handler.
11318 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11319 additional parameter and use openat instead of open (outside of ld.so).
11320 Add new __opendir as wrapper around __opendirat.
11321 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11322 here without requiring old scandirat implementation.
11323
879165f2
UD
113242011-08-08 Ulrich Drepper <drepper@gmail.com>
11325
11326 * dirent/scandir.c (cancel_handler): Renamed to
11327 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11328 defined. Adjust users.
11329 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11330 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11331
cb7e923b
UD
113322011-08-04 Ulrich Drepper <drepper@gmail.com>
11333
16292edd
UD
11334 * string/test-string.h (IMPL): Use __STRING to expand name and then
11335 stringify it.
11336
cb7e923b
UD
11337 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11338 of cleanups.
11339
cff82933
LD
113402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11341
11342 * string/Makefile: Update.
11343 (strop-tests): Append strncat.
11344 * string/test-wcscmp.c: New file.
11345 New comprehensive test for wcscmp.
11346 * string/test-strcmp.c: Update.
11347 (WIDE): New define.
11348
9be9bfcc
AS
113492011-07-22 Andreas Schwab <schwab@redhat.com>
11350
11351 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11352 line.
11353
2e96f1c7
AS
113542011-07-26 Andreas Schwab <schwab@redhat.com>
11355
11356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11357 encoding to ACE if AI_IDN.
11358
85188888
JJ
113592011-08-01 Jakub Jelinek <jakub@redhat.com>
11360
11361 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11362 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11363
5fa16e9b
LD
113642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11365
11366 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11367 Fix overflow bug in strncat.
11368 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11369
11370 * string/test-strncat.c: Update.
11371 Add new tests for checking overflow bugs.
11372
113732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11374
11375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11376 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11377 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11378 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11379 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11380 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11381 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11382 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11383 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11384
11385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11386 (USE_AS_STRCAT): Define.
11387 Add strcat and strncat support.
11388 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11389
8c1a459f
AS
113902011-07-25 Andreas Schwab <schwab@redhat.com>
11391
11392 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11393 __n bigger than INT_MAX+1.
11394 (__strncmp_g): Likewise.
11395
bba33c28
UD
113962011-07-23 Ulrich Drepper <drepper@gmail.com>
11397
798be72d
UD
11398 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11399 * libio/stido.h: Likewise.
11400
8accd4dc
UD
11401 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11402 (AF_NFC): Define.
11403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11404 (AF_NFC): Define.
11405
cbff0d96
UD
11406 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11407 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11408 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11409 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11410 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11411
9191c04a
UD
11412 [BZ #13021]
11413 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11414 installed.
11415
bba33c28
UD
11416 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11417 typo.
11418 (_dl_x86_64_save_sse): Likewise.
11419
90f139dd
UD
114202011-07-22 Ulrich Drepper <drepper@gmail.com>
11421
1aae088a
UD
11422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11423 OSXSAVE.
11424 (_dl_x86_64_save_sse): Likewise.
11425
8e2045f5
UD
11426 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11427
90f139dd
UD
11428 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11429
1d002f25
AS
114302011-07-21 Andreas Schwab <schwab@redhat.com>
11431
11432 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11433 change.
11434 (_dl_x86_64_save_sse): Use correct AVX check.
11435
21137f89
UD
114362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11437
11438 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11439 bug in strncpy/strncat.
11440 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11441
a65c0b7a
UD
114422011-07-21 Ulrich Drepper <drepper@gmail.com>
11443
11444 * string/tester.c (test_strcat): Add tests for different alignments
11445 of source and destination.
11446 (test_strncat): Likewise.
11447
6986b98a
UD
114482011-07-20 Ulrich Drepper <drepper@gmail.com>
11449
90bb2039
UD
11450 [BZ #12852]
11451 * posix/glob.c (glob): Check passed in values before using them in
11452 expressions to avoid some overflows.
11453 (glob_in_dir): Likewise.
11454
5644ef54
UD
11455 [BZ #13007]
11456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11457 check for AVX enablement so that we don't crash with old kernels and
11458 new hardware.
11459 * elf/tst-audit4.c: Add same checks here.
11460 * elf/tst-audit6.c: Likewise.
11461
11462 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11463
bfc9dc9b
AS
114642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11465
11466 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11467
702e64bb
UD
114682011-07-20 Ulrich Drepper <drepper@gmail.com>
11469
11470 * po/cs.po: Update from translation team.
11471 * po/bg.po: Likewise.
11472
295e904f
MP
114732011-07-12 Marek Polacek <mpolacek@redhat.com>
11474
11475 * misc/sys/cdefs.h: Add support for const attribute.
11476 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11477 to gnu_dev_{major,minor,makedev} functions.
11478
3ff94596
MP
114792011-07-20 Marek Polacek <mpolacek@redhat.com>
11480
11481 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11482
28b59fca
AS
114832011-07-20 Andreas Schwab <schwab@redhat.com>
11484
11485 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11486 strlen results.
11487
19df733e
AK
114882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11489
11490 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11491 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11492 register in order to avoid conflicts with the soft frame pointer
11493 being held in r11 when necessary.
11494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11495 (INTERNAL_VSYSCALL_NCS): Likewise.
11496
c8835729
MP
114972011-07-14 Marek Polacek <mpolacek@redhat.com>
11498
11499 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11500 * elf/dl-fini.c (_dl_fini): Adjust caller.
11501 * elf/dl-close.c (_dl_close_worker): Likewise.
11502 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11503
b902330c
MP
115042011-07-15 Marek Polacek <mpolacek@redhat.com>
11505
8991e135
MP
11506 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11507 "aux_cache->nlibs < 0".
11508
b902330c
MP
11509 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11510 in the reload-count case.
11511
99710781
LD
115122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11513
11514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11515 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11516 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11517 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11518 * sysdeps/x86_64/multiarch/strcat.S: New file.
11519 * sysdeps/x86_64/multiarch/strncat.S: New file.
11520 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11521 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11522 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11523 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11524 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11525 (USE_AS_STRCAT): Define.
11526 Add strcat and strncat support.
11527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11528 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11529 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11530 * string/strncat.c: Update.
11531 (USE_AS_STRNCAT): Define.
11532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11533 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11534 and i7.
11535 * sysdeps/x86_64/multiarch/init-arch.h
11536 (bit_Prefer_PMINUB_for_stringop): New.
11537 (index_Prefer_PMINUB_for_stringop): Likewise.
11538 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11539 bit_Prefer_PMINUB_for_stringop.
11540
7dc6bd90
UD
115412011-07-19 Ulrich Drepper <drepper@gmail.com>
11542
11543 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11544 buffer64.
11545 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11546 of casting of buffer.
11547 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11548 buffer32 and buffer64.
11549 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11550 writes instead of casting of buffer.
11551 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11552 buffer32.
11553 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11554 casting of buffer.
11555
e0e72284
AS
115562011-07-19 Andreas Schwab <schwab@redhat.com>
11557
11558 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11559
feb1eb0b
UD
115602011-07-19 Ulrich Drepper <drepper@gmail.com>
11561
11562 * nscd/nscd.c (termination_handler): Don't do anything for a database
11563 if it has not yet been initialized.
11564
298711ff
UD
115652011-07-18 Ulrich Drepper <drepper@gmail.com>
11566
11567 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11568
115692011-07-15 Marek Polacek <mpolacek@redhat.com>
11570
11571 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11572
f9d68389
UD
115732011-07-18 Ulrich Drepper <drepper@gmail.com>
11574
11575 * po/nl.po: Update from translation team.
11576 * po/sv.po: Likewise.
11577
db290cf5
RM
115782011-07-16 Roland McGrath <roland@hack.frob.com>
11579
11580 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11581 now disallowed by GCC.
5c550700 11582
fd5e21c7
RM
11583 * configure.in (use-default-link): Default to yes if a test -shared
11584 link meets our qualifications.
11585 * configure: Regenerated.
11586
5c550700
RM
11587 * config.make.in (output-format): New variable.
11588 * configure.in: Check for ld --print-output-format support.
11589 * configure: Regenerated.
11590 * Makerules ($(common-objpfx)format.lds)
11591 [$(output-format) != unknown]: Just use $(output-format),
11592 instead of the linker-script munging.
11593
9fa2c032
RM
115942011-07-14 Roland McGrath <roland@hack.frob.com>
11595
a6928d51
RM
11596 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11597 of $(common-objpfx)shlib.lds.
11598 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11599
661607b3
RM
11600 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11601 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11602
9fa2c032
RM
11603 * configure.in (-z relro check): Adjust test code to add a large
11604 writable data section after it.
11605 * configure: Regenerated.
11606
defe9061
RM
116072011-07-11 Roland McGrath <roland@hack.frob.com>
11608
11609 * configure.in (-z relro check): Fix test code to make the variable
11610 truly const.
11611 * configure: Regenerated.
11612
319b9ad4
UD
116132011-07-11 Ulrich Drepper <drepper@gmail.com>
11614
11615 * nscd/nscd.h (struct traced_file): Define.
11616 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11617 elements. Add traced_files.
11618 (inotify_fd): Declare.
11619 (register_traced_file): Declare.
11620 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11621 (inotify_fd): Export.
11622 (resolv_conf_descr): Remove.
11623 (nscd_init): Move inotify descriptor creation to main.
11624 Don't register files for notification here.
11625 (register_traced_file): New function.
11626 (invalidate_cache): Don't use reset_res to determine whether to call
11627 res_init, go through the list of registered files.
11628 (main_loop_poll): The inotify descriptors are now stored in the
11629 structures for the traced files.
11630 (main_loop_epoll): Likewise
11631 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11632 to __nss_disable_nscd.
11633 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11634 for a database anymore. Check the records for all the registered
11635 files instead.
11636 * nss/Makefile (libnss_files-routines): Add files-init.
11637 (libnss_db-routines): Add db-init.
11638 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11639 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11640 * nss/nss_db/db-init.c: New file.
11641 * nss/nss_files/files-init.c: New file.
11642 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11643 __nss_lookup_function.
11644 (__nss_lookup_function): Call nss_load_library.
11645 (nss_load_all_libraries): New function.
11646 (__nss_disable_nscd): Take parameter with callback function for files
11647 to register. Set is_nscd. Load all the DSOs for the NSS modules
11648 used for the cached services.
11649 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11650 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11651 options for features to all the files in nscd.
11652
11653 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11654
23bee3e8
RM
116552011-07-10 Roland McGrath <roland@hack.frob.com>
11656
11657 * csu/elf-init.c (__libc_csu_init): Comment typo.
11658
46a5b7f0
UD
116592011-07-09 Ulrich Drepper <drepper@gmail.com>
11660
11661 * po/pl.po: Update from translation team.
11662 * po/ja.po: Likewise.
11663 * po/ru.po: Likewise.
11664 * po/ko.po: Likewise.
11665 * po/fr.po: Likewise.
11666
d30cf5bb
RM
116672011-07-09 Roland McGrath <roland@hack.frob.com>
11668
113ddea4
RM
11669 * configure.in (.ctors/.dtors header and trailer check):
11670 Use an empirical test on a built program.
11671 * configure: Regenerated.
11672
574920b4
RM
11673 * configure.in (-z relro check): Use an empirical test on a built DSO.
11674 Detect, but do not require, on ia64.
11675 * configure: Regenerated.
11676
d30cf5bb
RM
11677 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11678 Update tests that use readelf to use $READELF instead.
11679 * configure: Regenerated.
11680
8538fdb3
UD
116812011-07-08 Ulrich Drepper <drepper@gmail.com>
11682
11683 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11684 if the result is not used.
11685
04d08991
AJ
116862011-07-05 Andreas Jaeger <aj@suse.de>
11687
11688 [BZ#9696]
11689 * stdlib/tst-strtod.c: Add testcase.
11690
de283087
AD
116912011-07-07 Ulrich Drepper <drepper@gmail.com>
11692
4e5f31c8 11693 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11694 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11695 The latter has a higher limit. Take additional parameter to pass to
11696 the new function.
11697 (__pathconf): Pass file to __statfs_link_max.
11698 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11699 __statfs_link_max.
11700 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11701 __statfs_link_max.
11702
de283087
AD
11703 [BZ #12868]
11704 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11705 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11706 Handle Lustre.
11707 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11708 (__statfs_filesize_max): Likewise.
11709 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11710
c75fa153
AJ
117112011-07-05 Andreas Jaeger <aj@suse.de>
11712
11713 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11714
1a544854
UD
117152011-07-06 Marek Polacek <mpolacek@redhat.com>
11716
11717 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11718 `status' variable.
11719 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11720 Likewise.
11721
6f0eec67
UD
117222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11723
11724 * Makefile (strop-tests): Add strncat.
11725 * string/test-strncat.c: New file.
11726
aae30307
UD
117272011-06-30 Marek Polacek <mpolacek@redhat.com>
11728
11729 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11730
c0cfb5eb
UD
117312011-06-21 Andreas Jaeger <aj@suse.de>
11732
11733 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11734 Copy rule from iconvdata/Makefile.
11735
01636b21
UD
117362011-07-06 Ulrich Drepper <drepper@gmail.com>
11737
11738 [BZ #12922]
11739 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11740 but no long options are defined, just return 'W'.
11741
9895c8bc
UD
117422011-06-22 Marek Polacek <mpolacek@redhat.com>
11743
11744 [BZ #9696]
11745 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11746
5d4cf042
UD
117472011-07-06 Ulrich Drepper <drepper@gmail.com>
11748
11749 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11750 netgroups to read.
960e5535 11751 (innetgr): Likewise.
5d4cf042 11752
751eb97e
RM
117532011-07-05 Roland McGrath <roland@hack.frob.com>
11754
11755 * config.make.in (install_root): Default to $(DESTDIR).
11756
f15f1e45
UD
117572011-07-05 Ulrich Drepper <drepper@gmail.com>
11758
11759 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11760
4e34ac6a
RM
117612011-07-02 Roland McGrath <roland@hack.frob.com>
11762
5e9b6af4
RM
11763 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11764
84f9ea0f
RM
11765 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11766 containing directory rather than embedding absolute directory names.
11767
ea5ee9f7
RM
11768 * scripts/check-local-headers.sh: Rewritten using awk.
11769 Match by word, not by line. Print error messages for matches.
11770 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11771
1b74661a
RM
11772 * Makerules [shlib-lds-flags empty]:
11773 ($(common-objpfx)libc_pic.opts): New target.
11774 ($(common-objpfx)libc_pic.os.clean): New target.
11775 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11776
11777 * config.make.in (OBJCOPY): New variable.
11778 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11779 * configure: Regenerated.
11780
f781ef40
RM
11781 * config.make.in (use-default-link): New variable.
11782 * configure.in (use_default_link): Grok --with-default-link to set it.
11783 * configure: Regenerated.
11784 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11785 (shlib-lds, shlib-lds-flags): Define to empty.
11786
2d4fa81e
RM
11787 * Makerules (shlib-lds): New variable.
11788 (shlib-lds-flags): New variable.
11789 (build-shlib, build-moduile, build-module-asneeded): Use it.
11790 ($(common-objpfx)libc.so): Use $(shlib-lds).
11791 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11792 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11793
31fffa6b
RM
11794 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11795 DT_FLAGS/DT_FLAGS_1 with zero flags.
11796
4e34ac6a
RM
11797 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11798 linker script munging.
11799
fcfc776b
UD
118002011-07-02 Ulrich Drepper <drepper@gmail.com>
11801
11802 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11803 as 128-bit value.
11804 * crypt/sha512.c (sha512_process_block): Perform total addition using
11805 128-bit if possible.
11806 (__sha512_finish_ctx): Likewise.
11807 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11808 as 64-bit value.
11809 * crypt/sha256.c (SWAP64): Define.
11810 (sha256_process_block): Perform total addition using 64-bit if
11811 possible.
11812 (__sha256_finish_ctx): Likewise.
11813
99231d9a
UD
118142011-07-01 Ulrich Drepper <drepper@gmail.com>
11815
11816 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11817 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11818 * nscd/hstcache.c (cache_addhst): Likewise.
11819 * nscd/grpcache.c (cache_addgr): Likewise.
11820 * nscd/aicache.c (addhstaiX): Likewise
11821 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11822
445b4a53
TK
118232011-07-01 Thorsten Kukuk <kukuk@suse.de>
11824
11825 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11827 * nscd/hstcache.c (cache_addhst): Likewise.
11828 * nscd/grpcache.c (cache_addgr): Likewise.
11829 * nscd/aicache.c (addhstaiX): Likewise
11830
6d4d8e8e
AS
118312011-07-01 Andreas Schwab <schwab@redhat.com>
11832
11833 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11834 domain only when needed.
11835
89f654c5
AS
118362011-06-30 Andreas Schwab <schwab@redhat.com>
11837
11838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11839 is always restored.
11840
cf3b23ff
UD
118412011-06-29 Ulrich Drepper <drepper@gmail.com>
11842
11843 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11844 are re-adding the entry.
11845 * nscd/servicescache.c (cache_addserv): Likewise.
11846
751626f9
AJ
118472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11848
11849 * sysdeps/generic/dl-irel.h: fix protection against multiple
11850 inclusions.
11851 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11852
9113ea1f
UD
118532011-06-28 Ulrich Drepper <drepper@gmail.com>
11854
5c0b8d90
UD
11855 [BZ #12935]
11856 * malloc/memusage.sh: Fix quoting in message.
11857 * debug/xtrace.sh: Likewise.
11858
9113ea1f
UD
11859 * configure.in: Remove support for --experimental-malloc option, make
11860 it the default.
11861 * config.make.in: Likewise.
11862 * malloc/Makefile: Likewise.
11863
a4172181
AS
118642011-06-27 Andreas Schwab <schwab@redhat.com>
11865
11866 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11867 two-byte characters.
11868
78a7eee7
RM
118692011-06-27 Roland McGrath <roland@hack.frob.com>
11870
62bede13
RM
11871 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11872 AC_CACHE_CHECK invocation.
11873 * configure: Regenerated.
11874
78a7eee7
RM
11875 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11876
5ce33a62
UD
118772011-06-27 Ulrich Drepper <drepper@gmail.com>
11878
034807a9
UD
11879 [BZ #12350]
11880 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11881 bit from old_res_options.
11882
4902da17
UD
11883 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11884
5ce33a62
UD
11885 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11886 value type for setfct.
11887
c2344f56
L
118882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11889
11890 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11891 __gettimeofday instead of gettimeofday.
11892
68468076
UD
118932011-06-26 Ulrich Drepper <drepper@gmail.com>
11894
11895 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11896
acb0d739
L
118972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11898
11899 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11900
11901 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11902 info.
11903
8912479f
L
119042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11905
11906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11907 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11908 strcpy-sse2-unaligned strncpy-sse2-unaligned
11909 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11910 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11911 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11912 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11913 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11914 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11915 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11916 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11917 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11918 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11919 (STRCPY): Support SSE2 and SSSE3 versions.
11920
d5495a11
UD
119212011-06-24 Ulrich Drepper <drepper@gmail.com>
11922
11923 [BZ #12874]
11924 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11925 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11926 kernels which artificially limit size of requests.
11927
0b1cbaae
L
119282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11929
11930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11931 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11932 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11933 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11934 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11935 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11936 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11937 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11938 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11940 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11941 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11942 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11943 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11944 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11946 Enable unaligned load optimization for Intel Core i3, i5 and i7
11947 processors.
11948 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11949 Define.
11950 (index_Fast_Unaligned_Load): Define.
11951 (HAS_FAST_UNALIGNED_LOAD): Define.
11952
07f494a0
MP
119532011-06-23 Marek Polacek <mpolacek@redhat.com>
11954
11955 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11956
fa3fc0fe
UD
119572011-06-22 Ulrich Drepper <drepper@gmail.com>
11958
11959 [BZ #12907]
11960 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11961 until it is clear that the information is realy needed.
11962 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11963
e12df166
AS
119642011-06-22 Andreas Schwab <schwab@redhat.com>
11965
11966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11967
852eb34d
UD
119682011-06-22 Ulrich Drepper <drepper@gmail.com>
11969
84e2a551
UD
11970 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11971 /sys/devices/system/cpu/online if it is usable.
11972
852eb34d
UD
11973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11974 reading the information from the /proc filesystem to once a second.
11975
6e502e19
UD
119762011-06-21 Andreas Jaeger <aj@suse.de>
11977
11978 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11979 NULL after inclusion of kernel headers.
11980
75d39ff2
UD
119812011-06-21 Ulrich Drepper <drepper@gmail.com>
11982
51f9aa6a
UD
11983 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11984 calls to internal_setent.
11985
c0244a9d
UD
11986 [BZ #12885]
11987 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11988 addresses using gethostbyname4_r ignore IPv4 addresses.
11989
c5e3c2ae
UD
11990 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11991 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11992
75d39ff2
UD
11993 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11994
42675c6f
DM
119952011-06-20 David S. Miller <davem@davemloft.net>
11996
11997 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11998 inclusions.
11999 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12000
12001 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12002 (elf_irel): Use it.
12003 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12004 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12005 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12006 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12007 * sysdeps/x86_64/dl-irel.h: Likewise.
12008
12009 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12010 * elf/dl-sym.c: Likewise.
12011
57912a71
UD
120122011-06-15 Ulrich Drepper <drepper@gmail.com>
12013
12014 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12015 need to dereference resplen2.
12016
ee22793d
AS
120172011-06-14 Andreas Schwab <schwab@redhat.com>
12018
12019 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12020
a9e836b0
UD
120212011-06-15 Ulrich Drepper <drepper@gmail.com>
12022
77fb9117
UD
12023 * Makeconfig: Define vardbdir and inst_vardbdir.
12024 * nss/Makefile: Add rules to install db-Makefile.
12025
40c1b22c
UD
12026 * nss/nss_db/db-XXX.c: Cleanup.
12027
9f2da732
UD
12028 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12029 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12030 GLIBC_PRIVATE.
12031 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12032 * nss/makedb.c: Implement -g option to specify that value strings
12033 are generated and should not be added to table iterated over for
12034 get*ent calls.
12035 * nss/nss_db/db-initgroups.c: New file.
12036
82e9a1f7
UD
12037 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12038 interface.
12039
c41af17e
UD
12040 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12041 (internal_getgrouplist): Adjust to name change.
12042 Update use_initgroups_entry if this is not the first call.
12043 * nss/databases.def: Add initgroups entry.
12044
a9e836b0
UD
12045 * nss/makedb.c (compute_tables): Check result of multiple hash table
12046 sizes to minimize maximum chain length.
12047
2666d441
UD
120482011-06-14 Ulrich Drepper <drepper@gmail.com>
12049
12050 * Versions.def: Add entry for libnss_db.
12051 * shlib-versions: Likewise.
12052 * nss/Makefile: Add rules to build libnss_db.
12053 * nss/Versions: Add libnss_db information. Organize libnss_files
12054 entries better.
12055 * nss/db-Makefile: Add gshadow support. Change rules for the new
12056 makedb progra. Some minor improvements to generate smaller files.
12057 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12058 here from...
12059 * nss/makedb.c: ...here.
12060 Improve database format to be smaller and require less memory at
12061 runtime.
12062 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12063 db anymore.
12064 * nss/nss_db/db-netgrp.c: Likewise.
12065 * nss/nss_db/db-open.c: Likewise.
12066 * nss/nss_files/flies-XXX.x: Adjust comments.
12067 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12068 * nss/nss_files/files-grp.c: Likewise.
12069 * nss/nss_files/files-hosts.c: Likewise.
12070 * nss/nss_files/files-network.c: Likewise.
12071 * nss/nss_files/files-proto.c: Likewise.
12072 * nss/nss_files/files-pwd.c: Likewise.
12073 * nss/nss_files/files-rpc.c: Likewise.
12074 * nss/nss_files/files-service.c: Likewise.
12075 * nss/nss_files/files-sgrp.c: Likewise.
12076 * nss/nss_files/files-spwd.c: Likewise.
12077 * nss/nss_db/db-alias.c: Removed.
12078 * nss/nss_db/dummy-db.h: Removed.
12079
9ee76b5a
UD
120802011-06-02 Ulrich Drepper <drepper@gmail.com>
12081
12082 * nss/makedb.c: Rewritten to not use database library.
12083 * nss/Makefile: Update to build new makedb program.
12084
c71ca1f8
AJ
120852011-06-14 Andreas Jaeger <aj@suse.de>
12086
12087 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12088 memset declaration.
12089
3154bfb8
UD
120902011-06-10 Andreas Schwab <schwab@redhat.com>
12091
12092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12093 tmpbuf.
12094
b350afab
RM
120952011-06-10 Roland McGrath <roland@hack.frob.com>
12096
decd4e50
RM
12097 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12098 * elf/Makefile ($(objpfx)ld.so): Likewise.
12099
5615eaf2
RM
12100 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12101 Don't list ld.so twice in dependencies.
12102
12103 * posix/bug-regex31.c: Include <stdlib.h>.
12104
12105 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12106
12107 * nis/nss_compat/compat-spwd.c
12108 (getspent_next_nss_netgr): Remove unused variable.
12109 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12110
12111 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12112 nonmembers" output to use the right array.
12113
12114 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12115
12116 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12117
12118 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12119 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12120 * catgets/gencat.c (read_input_file): Likewise.
12121 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12122
12123 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12124 variable definition inside #if's controlling its use.
12125
12126 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12127
12128 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12129
12130 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12131
12132 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12133 unreachable code.
12134
12135 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12136
b68e08db
RM
12137 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12138 * configure: Regenerated.
12139
b350afab
RM
12140 * Makerules: Revert last change.
12141 * elf/Makefile: Likewise.
12142
28368601
RM
121432011-06-09 Roland McGrath <roland@hack.frob.com>
12144
12145 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12146 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12147 (reloc-link): Likewise.
12148
11988f8f
UD
121492011-06-09 Ulrich Drepper <drepper@gmail.com>
12150
12151 * elf/Makefile: Add rules to build pldd.
12152 * elf/pldd.c: New file.
12153 * elf/pldd-xx.c: New file.
12154
e80fab37
UD
121552011-06-07 Ulrich Drepper <drepper@gmail.com>
12156
12157 * version.h: Update for 2.15 development version.
12158
9b849836
DM
121592011-06-07 David S. Miller <davem@davemloft.net>
12160
12161 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12162 ifuncs.
12163 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12164 elf_machine_lazy_rel): Likewise.
12165 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12167 elf_machine_lazy_rel): Likewise.
12168 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12169 dl_hwcap via passed in argument.
12170 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12171 Likewise.
12172
5a31b283
AK
121732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12174
12175 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12176
069e52f8
RM
121772011-06-06 Roland McGrath <roland@hack.frob.com>
12178
12179 [BZ #12849]
12180 * manual/fdl-1.1.texi: New file, verbatim from:
12181 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12182 * manual/lgpl-2.1.texi: New file, verbatim from:
12183 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12184 * manual/Makefile (licenses): New variable, list those new file names.
12185 (texis): Use it.
12186 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12187
12188 * manual/fdl.texi: File removed.
12189 * manual/lesser.texi: File removed.
12190 * manual/libc.texinfo (Copying, Documentation License):
12191 Use new @include file names, put @appendix directive before @include.
12192
f16846a5
JJ
121932011-06-04 Jakub Jelinek <jakub@redhat.com>
12194
12195 [BZ #12841]
12196 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12197 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12198 (mq_open): Add __NTH.
12199
3d29045b
L
122002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12201
12202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12203 Assume Intel Core i3/i5/i7 processor if AVX is available.
12204
8c297311
UD
122052011-05-31 Ulrich Drepper <drepper@gmail.com>
12206
12207 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12208 typo.
12209
c8fc0c91
UD
122102011-05-31 Andreas Schwab <schwab@redhat.com>
12211
12212 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12213 memory. Use alloca_account. Fix memory leak when retrying.
12214
5b27a807
UD
122152011-05-31 Ulrich Drepper <drepper@gmail.com>
12216
356f8bc6
UD
12217 * version.h (RELEASE): Bump for 2.14 release.
12218 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12219
5b27a807
UD
12220 * config.make.in (RANLIB): Remove entry.
12221
01f16ab0
UD
122222011-05-30 Ulrich Drepper <drepper@gmail.com>
12223
41fce8bd
UD
12224 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12225 (libc.pot): Work around missing support for .ksh extension in xgettext.
12226
4769ae77
UD
12227 [BZ #12684]
12228 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12229 if both request failed.
12230 (send_dg): In case of server errors clear resplen or *resplen2.
12231
6b1e7d19
UD
12232 [BZ #12454]
12233 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12234 when there are multiple maps.
12235 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12236 (_dl_fini): Remove test here.
12237
01f16ab0
UD
12238 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12239
b1ebd700
UD
122402011-05-29 Ulrich Drepper <drepper@gmail.com>
12241
7ae22829
UD
12242 [BZ #12350]
12243 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12244 bit from old_res_options.
12245 (gaih_inet): Likewise.
12246
553149f6 12247 [BZ #11099]
18a84741 12248 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12249 as signed.
12250
652ffab1
UD
12251 * resolv/res_init.c (res_setoptions): Make the code more compact.
12252
16985fd0
UD
12253 [BZ #11558]
12254 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12255 set RES_USEVC.
12256
0464f746
UD
12257 [BZ #11634]
12258 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12259
7d17596c
UD
12260 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12261
cf6bbbd7
UD
12262 [BZ #11781]
12263 * malloc/malloc.h: Declare malloc hook variables as volatile.
12264
13f1ab36
UD
12265 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12266 in last patch.
12267
b1ebd700
UD
12268 [BZ #11799]
12269 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12270 raise in the comment.
80e2212d
UD
12271 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12272 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12273 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12274
ce67228d
UD
122752011-05-28 Ulrich Drepper <drepper@gmail.com>
12276
8887a920
UD
12277 [BZ #12811]
12278 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12279 grow the buffers more if it already has to be sufficient.
12280 (build_wcs_upper_buffer): Likewise.
12281 * posix/regexec.c (check_matching): Likewise.
12282 (clean_state_log_if_needed): Likewise.
12283 (extend_buffers): Don't enlarge buffers beyond size of the input
12284 buffer.
12285 Patches mostly by Emil Wojak <emil@wojak.eu>.
12286 * posix/bug-regex32.c: New file.
12287 * posix/Makefile (tests): Add bug-regex32.
12288
4f031072
UD
12289 * locale/findlocale.c (_nl_find_locale): Return right away if
12290 _nl_explode_name failed.
12291 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12292
d0478f0c
UD
12293 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12294
de81b246
UD
12295 * debug/xtrace.sh: Unify messages.
12296 * malloc/memusage.sh: Likewise.
12297
c738465a
UD
12298 [BZ #12813]
12299 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12300 time symbol from vDSO. Substitute with vsyscall if not available.
12301 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12302 __vdso_time.
12303
f1f929d7
UD
12304 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12305 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12306 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12307 Add sendmmsg and internal_sendmmsg.
12308 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12309 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12310 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12311
ce67228d
UD
12312 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12313 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12314 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12315
e57420c6
UD
123162011-05-27 Ulrich Drepper <drepper@gmail.com>
12317
a8509ca5
UD
12318 [BZ #12813]
12319 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12320 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12321 available.
12322 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12323 __vdso_getcpu.
12324
e57420c6
UD
12325 [BZ #12814]
12326 * iconvdata/Makefile (tests): Add bug-iconv9.
12327 * iconvdata/bug-iconv9.c: New file.
12328
4d07db15
AS
123292011-05-27 Andreas Schwab <schwab@redhat.com>
12330
12331 [BZ #12814]
12332 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12333
ea486f69
JJ
123342011-05-25 Jakub Jelinek <jakub@redhat.com>
12335
12336 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12337 (struct user_regs_struct): Change intcs field back to cs.
12338
6f038433
UD
123392011-05-25 Ulrich Drepper <drepper@gmail.com>
12340
12341 * po/ja.po: Update from translation team.
12342
67f86a25
UD
123432011-05-23 Ulrich Drepper <drepper@gmail.com>
12344
12345 [BZ #12795]
12346 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12347 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12348
def7fbd6
AS
123492011-05-20 Andreas Schwab <schwab@redhat.com>
12350
12351 * stdlib/longlong.h: Update from GCC.
12352
f50ef8f1
AS
123532011-05-23 Andreas Schwab <schwab@redhat.com>
12354
12355 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12356 parameter name.
12357 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12358 Add parameter name.
12359 (__sysconf): Pass it down.
12360
de7ce8f1
UD
123612011-05-22 Ulrich Drepper <drepper@gmail.com>
12362
f2962a71
UD
12363 [BZ #12671]
12364 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12365 some situations.
12366 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12367 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12368 add in in __libc_use_alloca calls. Adjust callers.
12369 (glob): Use malloc in some situations.
12370
de7ce8f1
UD
12371 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12372 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12373 pltexit.
12374
aec84f53
UD
123752011-05-21 Ulrich Drepper <drepper@gmail.com>
12376
05bb4a68
UD
12377 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12378 and CLOCK_BOOTTIME_ALARM.
12379
7ea72f99
UD
12380 [BZ #12782]
12381 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12382 is returned.
12383
7e4afad5
UD
12384 * string/_strerror.c (__strerror_r): Print negative errors as signed
12385 numbers.
12386
8e211fec
UD
12387 [BZ #12777]
12388 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12389 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12390 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12391
f7d82dc9
UD
12392 * configure.in: Fix typo in redirection and correct removal of test
12393 files in two cases.
12394
cc9e536d
UD
12395 [BZ #12788]
12396 * locale/setlocale.c (new_composite_name): Fix test to check for
12397 identical name of all categories.
12398
aec84f53
UD
12399 [BZ #12792]
12400 * libio/filedoalloc.c (local_isatty): New function.
12401 (_IO_file_doallocate): Use local_isatty.
12402 * stdio-common/perror.c (perror): In case a new stream is used
12403 forward the stream error.
12404 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12405 error flag.
12406
78e64fdc
RT
124072011-05-20 Ulrich Drepper <drepper@gmail.com>
12408
34a9094f
UD
12409 [BZ #11869]
12410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12411 alloca.
12412 * include/alloca.h (extend_alloca_account): Define.
12413
78e64fdc
RT
12414 [BZ #11857]
12415 * posix/regex.h: Fix comments with documentation of user-accessible
12416 fields after compilation and describe correct free'ing of pattern
12417 after re_compile_pattern.
12418 Patch by Reuben Thomas <rrt@sc3d.org>.
12419
457bddfc
RA
124202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12421
12422 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12423 and -mno-altivec to prevent the compiler from using Altivec and/or
12424 VSX instructions when the corresponding registers are not available.
12425
a4527b51
AS
124262011-05-19 Andreas Schwab <schwab@redhat.com>
12427
12428 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12429
ed690b2f
UD
124302011-05-19 Ulrich Drepper <drepper@gmail.com>
12431
12432 * libio/freopen.c (freopen): Use __dup2, not dup2.
12433 * libio/freopen64.c (freopen64): Likewise.
12434
8db73634
L
124352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12436
12437 [BZ #12775]
12438 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12439 * math/Makefile (tests): Add test-powl.
12440 (CFLAGS-test-powl.c): Define.
12441 * math/test-powl.c: New file.
12442
0a197a9d
L
124432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12444
12445 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12446
ee30c380
UD
124472011-05-17 Ulrich Drepper <drepper@gmail.com>
12448
12449 [BZ #11837]
12450 * iconvdata/gb18030.c: Update to GB18020-2005.
12451
6ce75379
UD
124522011-05-16 Ulrich Drepper <drepper@gmail.com>
12453
a4b89fd8
AR
12454 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12455 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12456 Patch by Aharon Robbins <arnold@skeeve.com>.
12457
ea389b12
UD
12458 [BZ #11892]
12459 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12460 on the stack.
12461
68a3f91f
UD
12462 [BZ #11895]
12463 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12464 through underflows.
12465
15cc7dd1
UD
12466 [BZ #12766]
12467 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12468 point to strings before performing equality test for error_one_per_line
12469 mode.
12470
f3799213
UD
12471 [BZ #11697]
12472 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12473
d79a9c94
UD
12474 [BZ #11820]
12475 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12476 (struct user_fpregs_struct): Avoid __uint*_t types.
12477
56e5eb46
UD
12478 [BZ #6420]
12479 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12480 symbol info. Use it instead of calling _dl_addr locally.
12481 (lock_and_info): New function.
12482 (tr_freehook): Call lock_and_info and pass symbol info as additional
12483 parameter to tr_where.
12484 (tr_mallochook): Likewise.
12485 (tr_reallochook): Likewise.
12486 (tr_memalignhook): Likewise.
12487
6ce75379
UD
12488 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12489 used and couldn't be at all thread-safe.
12490
f8a3b5bf
UD
124912011-05-15 Ulrich Drepper <drepper@gmail.com>
12492
94b7cc37
UD
12493 * libio/freopen.c (freopen): Don't close old file descriptor
12494 before the new one is opened. Instead dup the new file descriptor
12495 to the old one after the new stream is created.
12496 * libio/freopen64.c (freopen64): Likewise.
12497 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12498 * libio/fileops.c (_IO_new_file_close_it): Handle new
12499 _IO_FLAGS2_NOCLOSE flag.
12500 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12501 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12502 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12503 _IO_FLAGS2_NOCLOSE flag.
12504 * include/unistd.h: Add hidden_proto for dup3.
12505 Define __have_dup3.
12506 * io/dup3.c: Define hidden symbol.
12507 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12508
bd25564e
UD
12509 [BZ #7101]
12510 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12511 when an incomplete long option is used.
12512 * posix/tst-getopt_long1.c: New file.
12513 * posix/Makefile (tests): Add tst-getopt_long1.
12514
c84cfef4
UD
12515 [BZ #10138]
12516 * scripts/config.guess: Update from autoconf-2.68.
12517 * scripts/config.sub: Likewise.
12518
3b85df27
UD
12519 [BZ #10157]
12520 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12521 tests into ...
12522 (has_cpuclock): ...this. New function.
12523 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12524 macro here based on has_cpuclock code.
12525
15a856b1
UD
12526 [BZ #10149]
12527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12528 First byte (not low byte) is now always NUL.
12529 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12530
05f399e6
UD
12531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12532 Use non-cancelable interfaces.
12533
10a52685 12534 [BZ #9809]
94ecc67d
UD
12535 * locale/iso-639.def: Add entry for Sorani.
12536
f8a3b5bf
UD
12537 [BZ #11901]
12538 * include/stdlib.h: Move include protection to the right place.
12539 Define abort_msg_s. Declare __abort_msg with it.
12540 * stdlib/abort.c (__abort_msg): Adjust type.
12541 * assert/assert.c (__assert_fail_base): New function. Majority
12542 of code from __assert_fail. Allocate memory for __abort_msg with
12543 mmap.
12544 (__assert_fail): Now call __assert_fail_base.
12545 * assert/assert-perr.c: Remove bulk of implementation. Use
12546 __assert_fail_base.
12547 * include/assert.hL Declare __assert_fail_base.
12548 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12549 mmap.
12550 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12551
1af4e298
UD
125522011-05-14 Ulrich Drepper <drepper@gmail.com>
12553
f8a3b5bf 12554 [BZ #11952]
d26dfc60
MG
12555 [BZ #12453]
12556 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12557 until all modules are registered in the DTV.
12558 * elf/Makefile: Add rules to build and run tst-tls19.
12559 * elf/tst-tls19.c: New file.
12560 * elf/tst-tls19mod1.c: New file.
12561 * elf/tst-tls19mod2.c: New file.
12562 * elf/tst-tls19mod3.c: New file.
12563 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12564
2fc54d6f
UD
12565 [BZ #12083]
12566 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12567 correctly.
12568
98d76b46
UD
12569 [BZ #12601]
12570 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12571 two-byte sequence errors.
12572 * iconvdata/Makefile (tests): Add bug-iconv8.
12573 * iconvdata/bug-iconv8.c: New file.
12574
da3c19ef
UD
12575 [BZ #12626]
12576 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12577 buf2 definition.
12578
ca408c15
UD
12579 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12580
d6f67f7d
UD
12581 [BZ #12432]
12582 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12583 (dummy_getcfa): New function.
12584 (init): Get _Unwind_GetCFA address, use dummy if not found.
12585 (backtrace_helper): In recursion check, also check whether CFA changes.
12586 (__backtrace): Completely initialize arg.
12587
1af4e298 12588 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12589 storing incomplete byte sequence in state object. Avoid testing for
12590 guaranteed too small input if we know there is enough data available.
1af4e298 12591
da62f81b
AS
125922011-05-11 Andreas Schwab <schwab@redhat.com>
12593
12594 * Makeconfig (+link-pie): Indent.
12595 * Rules (binaries-pie): Define if $(have-fpie) and
12596 $(build-shared).
12597 (binaries-shared): Also filter out $(binaries-pie).
12598 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12599 * nscd/Makefile (others-pie): Add nscd.
12600 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12601 ($(objpfx)nscd): Remove command override.
12602 * login/Makefile (others-pie): Add pt_chown.
12603 ($(objpfx)pt_chown): Remove command override.
12604 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12605 remove command overrides.
12606
fcabc0f8
UD
126072011-05-13 Ulrich Drepper <drepper@gmail.com>
12608
20030ae6
UD
12609 * libio/tst_putwc.c: Fix error messages.
12610
fcabc0f8
UD
12611 [BZ #12724]
12612 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12613 currently writing and seek to current position when not.
12614 * libio/Makefile (tests): Add bug-fclose1.
12615 * libio/bug-fclose1.c: New file.
12616
320a5dc0
PB
126172011-05-12 Ulrich Drepper <drepper@gmail.com>
12618
12619 [BZ #12511]
12620 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12621 don't set DF_1_NODELETE here.
12622 (do_lookup_x): When entering new entry test for copy relocation
12623 and if necessary set DF_1_NODELETE flag.
12624 * elf/tst-unique4.cc: New file.
12625 * elf/tst-unique4.h: New file.
12626 * elf/tst-unique4lib.cc: New file.
12627 * elf/Makefile: Add rules to build and run tst-unique4.
12628 Patch by Piotr Bury <pbury@goahead.com>.
12629
22836f52
UD
126302011-05-11 Ulrich Drepper <drepper@gmail.com>
12631
f574184a
UD
12632 [BZ #12052]
12633 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12634
e1fb097f
UD
12635 [BZ #12625]
12636 * misc/mntent_r.c (addmntent): Flush the stream after the output
12637
22836f52
UD
12638 [BZ #12393]
12639 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12640 (is_trusted_path_normalize): Skip initial colon. Append slash
12641 to empty buffer. Duplicate is_trusted_path code but allow
12642 constructed patch to be prefix.
12643 (is_dst): Allow $ORIGIN followed by /.
12644 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12645 Correct testing of result of is_trusted_path_normalize
12646 (decompose_rpath): Fix warning.
12647
7b3b0b2a
UD
126482011-05-10 Ulrich Drepper <drepper@gmail.com>
12649
12650 [BZ #11257]
12651 * grp/initgroups.c (internal_getgrouplist): When we found the service
12652 list through the initgroups entry in nsswitch.conf do not always
12653 continue on a successful lookup. Don't always use the
eac80ce2 12654 __nss_group_database value if it is set.
7b3b0b2a
UD
12655 * nss/nsswitch.conf (initgroups): Change action for successful db
12656 lookup to continue for compatibility.
12657
2a81eaa5
UD
126582011-05-09 Ulrich Drepper <drepper@gmail.com>
12659
be97a69e
UD
12660 [BZ #11532]
12661 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12662 and CP774 modules.
12663 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12664 and CP774 modules.
12665 * iconvdata/tst-tables.sh: Likewise.
12666 * iconvdata/cp770.c: New file.
12667 * iconvdata/cp771.c: New file.
12668 * iconvdata/cp772.c: New file.
12669 * iconvdata/cp773.c: New file.
12670 * iconvdata/cp774.c: New file.
12671 * iconvdata/testdata/CP770: New file.
12672 * iconvdata/testdata/CP770..UTF8: New file.
12673 * iconvdata/testdata/CP771: New file.
12674 * iconvdata/testdata/CP771..UTF8: New file.
12675 * iconvdata/testdata/CP772: New file.
12676 * iconvdata/testdata/CP772..UTF8: New file.
12677 * iconvdata/testdata/CP773: New file.
12678 * iconvdata/testdata/CP773..UTF8: New file.
12679 * iconvdata/testdata/CP774: New file.
12680 * iconvdata/testdata/CP774..UTF8: New file.
12681
12682 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12683 END CHARMAP line.
12684 * iconvdata/gen-8bit-gap.sh: Likewise.
12685 * iconvdata/gen-8bit.sh: Likewise.
12686
c1e9e399
UD
12687 * locale/iso-639.def: Add ary entry.
12688
24c55fb3 12689 [BZ #11258]
96b4b1b0
UD
12690 * locale/C-translit.h.in: Add U20A1 transliteration.
12691
bdc2f971
KB
12692 [BZ #12178]
12693 * locale/iso-639.def: Add wae entry.
12694 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12695
2952b117
UD
12696 [BZ #12545]
12697 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12698 for n.
12699
2a81eaa5
UD
12700 [BZ #12711]
12701 * locale/C-translit.h.in: Add entry for U20B9.
12702 Patch by pravin.d.s@gmail.com.
12703
28377d1b
UD
127042011-05-08 Ulrich Drepper <drepper@gmail.com>
12705
7fb90fb8
UD
12706 [BZ #12713]
12707 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12708 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12709 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12710 in rtld. Use *stat64.
7fb90fb8 12711 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12712 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12713 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12714 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12715 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12716 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12717 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12718 __fstatat64 macros.
7fb90fb8
UD
12719 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12720 * dirent/rewinddir.c: Add libc_hidden_def.
12721 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12722 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12723
28377d1b
UD
12724 * include/dirent.h (__alloc_dir): Add flags parameter.
12725 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12726 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12727 __alloc_dir.
12728 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12729 from fdopendir if O_CLOEXEC is already set.
12730
66bdbaa4
AM
127312011-03-15 Alan Modra <amodra@gmail.com>
12732
12733 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12734 l_tls_firstbyte_offset non-zero. Save padding offset in
12735 l_tls_firstbyte_offset for later use.
12736 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12737 freeing static tls block.
12738
95721191
JN
127392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12740
12741 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12742 where #ifdef was intended. The intent is to prevent ARG_MAX from
12743 being defined by the kernel headers.
12744
f87dfb1f
UD
127452011-05-07 Ulrich Drepper <drepper@gmail.com>
12746
12747 [BZ #12734]
12748 * resolv/resolv.h: Define RES_NOTLDQUERY.
12749 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12750 no-tld-query and set RES_NOTLDQUERY.
12751 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12752 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12753 modern BIND to search name as TLD unless forbidden.
12754
47c3cd7a
UD
127552011-05-07 Petr Baudis <pasky@suse.cz>
12756 Ulrich Drepper <drepper@gmail.com>
12757
12758 [BZ #12393]
12759 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12760 (is_trusted_path): ...to here.
c1e9ea35 12761 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12762 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12763 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12764
8a35c912
PP
127652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12766
12767 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12768 __BEGIN/__END_DECLS.
12769
acd41f47
UD
127702011-05-06 Ulrich Drepper <drepper@gmail.com>
12771
12772 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12773 NSS_STATUS_NOTFOUND if no record was found.
12774
597df647
AS
127752011-05-05 Andreas Schwab <schwab@redhat.com>
12776
12777 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12778 (headers-not-in-tirpc): Remove rpc/netdb.h
12779 * resolv/netdb.h: Revert last change.
12780
b9af1301
PP
127812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12782
12783 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12784 circular dependency between libgcc.a and libc.a.
12785
4e34d5f5
AS
127862011-05-05 Andreas Schwab <schwab@redhat.com>
12787
12788 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12789 * nis/Makefile: Don't install rpcsvc/*.
12790 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12791 instead of <rpc/types.h>.
12792 (MAXHOSTNAMELEN): Define.
12793
00ee369c
AS
127942011-05-03 Andreas Schwab <schwab@redhat.com>
12795
12796 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12797
0b592a30
MB
127982011-04-28 Maciej Babinski <mbabinski@google.com>
12799
12800 [BZ #12714]
12801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12802 gethostbyname4_r when IPv6 results are possible.
12803
6e04cbbe
UD
128042011-05-02 Ulrich Drepper <drepper@gmail.com>
12805
12806 [BZ #12723]
12807 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12808 _PC_PIPE_BUF handling.
12809
e4ecafe0
BH
128102011-04-30 Bruno Haible <bruno@clisp.org>
12811
12812 [BZ #12717]
12813 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12814 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12815 to 'int'.
12816 * inet/getnameinfo.c (getnameinfo): Likewise.
12817
125ee683
UD
128182011-04-29 Ulrich Drepper <drepper@gmail.com>
12819
12820 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12821 to groups setting in database lookup.
12822 * nss/nsswitch.conf: Add initgroups entry.
12823
b722481a
EB
128242011-04-22 Ulrich Drepper <drepper@gmail.com>
12825
12826 [BZ #12685]
12827 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12828 mode string.
12829 Patch by Eric Blake <eblake@redhat.com>.
12830
4df46dbd
L
128312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12832
12833 * sunrpc/Makefile (need-export-routines): Add svc_run.
12834 (routines): Remove svc_run.
12835 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12836 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12837 * sunrpc/svc_run.c (svc_run): Likewise.
12838 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12839
e84142d2
UD
128402011-04-21 Ulrich Drepper <drepper@gmail.com>
12841
12842 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12843 problem in reallocation in last patch.
12844
877175d8
UD
128452011-04-20 Ulrich Drepper <drepper@gmail.com>
12846
12847 * sunrpc/Makefile: Move inclusion of Rules.
12848
ab8eed78
UD
128492011-04-19 Ulrich Drepper <drepper@gmail.com>
12850
12851 * nss/nss_files/files-initgroups.c: New file.
12852 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12853 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12854 _nss_files_initgroups_dyn.
12855
e3d8f584
RS
128562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12857
12858 * elf/elf.h (R_ARM_IRELATIVE): Define.
12859
af190f45
UD
128602011-04-19 Ulrich Drepper <drepper@gmail.com>
12861
12862 * po/ru.po: Update from translation team.
12863
53cf59ef
UD
128642011-04-17 Ulrich Drepper <drepper@gmail.com>
12865
12866 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12867 dependencies.
12868
4c559bcd
MF
128692011-02-06 Mike Frysinger <vapier@gentoo.org>
12870
12871 [BZ #12653]
12872 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12873 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12875 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12876 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12877
4420675c
AS
128782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12879
12880 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12881 differing bytes.
12882 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12883 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12884 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12885
75ea32ab
UD
128862011-04-17 Ulrich Drepper <drepper@gmail.com>
12887
12888 [BZ #12420]
12889 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12890 storing it.
12891 * stdlib/bug-getcontext.c: New file.
12892 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12893
27390476
AK
128942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12895
12896 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12897 instructions into .machine "z9-109".
12898 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12899 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12900
10442705
AK
129012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12902
12903 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12904 between environment variables and auxiliary vector.
12905
7b57bfe5
UD
129062011-04-16 Ulrich Drepper <drepper@gmail.com>
12907
12908 * Makefile: Add rules to build linkobj/libc.so.
12909 * include/libc-symbols.h: Define libc_hidden_nolink.
12910 * include/rpc/auth.h: Mark functions which are to be hidden.
12911 * include/rpc/auth_des.h: Likewise.
12912 * include/rpc/auth_unix.h: Likewise.
12913 * include/rpc/clnt.h: Likewise.
12914 * include/rpc/des_crypt.h: Likewise.
12915 * include/rpc/key_prot.h: Likewise.
12916 * include/rpc/pmap_clnt.h: Likewise.
12917 * include/rpc/pmap_prot.h: Likewise.
12918 * include/rpc/pmap_rmt.h: Likewise.
12919 * include/rpc/rpc_msg.h: Likewise.
12920 * include/rpc/svc.h: Likewise.
12921 * include/rpc/svc_auth.h: Likewise.
12922 * include/rpc/xdr.h: Likewise.
12923 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12924 * nss/Makefile: Likewise.
12925 * sunrpc/Makefile: Don't install headers. Build library with normal
12926 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12927 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12928 for the compat linking library. Remove use of INTDEF/INTUSE.
12929 * sunrpc/auth_none.c: Likewise.
12930 * sunrpc/auth_unix.c: Likewise.
12931 * sunrpc/authdes_prot.c: Likewise.
12932 * sunrpc/authuxprot.c: Likewise.
12933 * sunrpc/clnt_gen.c: Likewise.
12934 * sunrpc/clnt_perr.c: Likewise.
12935 * sunrpc/clnt_raw.c: Likewise.
12936 * sunrpc/clnt_simp.c: Likewise.
12937 * sunrpc/clnt_tcp.c: Likewise.
12938 * sunrpc/clnt_udp.c: Likewise.
12939 * sunrpc/clnt_unix.c: Likewise.
12940 * sunrpc/des_crypt.c: Likewise.
12941 * sunrpc/des_soft.c: Likewise.
12942 * sunrpc/get_myaddr.c: Likewise.
12943 * sunrpc/key_call.c: Likewise.
12944 * sunrpc/key_prot.c: Likewise.
12945 * sunrpc/netname.c: Likewise.
12946 * sunrpc/pm_getmaps.c: Likewise.
12947 * sunrpc/pm_getport.c: Likewise.
12948 * sunrpc/pmap_clnt.c: Likewise.
12949 * sunrpc/pmap_prot.c: Likewise.
12950 * sunrpc/pmap_prot2.c: Likewise.
12951 * sunrpc/pmap_rmt.c: Likewise.
12952 * sunrpc/publickey.c: Likewise.
12953 * sunrpc/rpc_cmsg.c: Likewise.
12954 * sunrpc/rpc_common.c: Likewise.
12955 * sunrpc/rpc_dtable.c: Likewise.
12956 * sunrpc/rpc_prot.c: Likewise.
12957 * sunrpc/rpc_thread.c: Likewise.
12958 * sunrpc/rtime.c: Likewise.
12959 * sunrpc/svc.c: Likewise.
12960 * sunrpc/svc_auth.c: Likewise.
12961 * sunrpc/svc_authux.c: Likewise.
12962 * sunrpc/svc_raw.c: Likewise.
12963 * sunrpc/svc_run.c: Likewise.
12964 * sunrpc/svc_simple.c: Likewise.
12965 * sunrpc/svc_tcp.c: Likewise.
12966 * sunrpc/svc_udp.c: Likewise.
12967 * sunrpc/svc_unix.c: Likewise.
12968 * sunrpc/svcauth_des.c: Likewise.
12969 * sunrpc/xcrypt.c: Likewise.
12970 * sunrpc/xdr.c: Likewise.
12971 * sunrpc/xdr_array.c: Likewise.
12972 * sunrpc/xdr_float.c: Likewise.
12973 * sunrpc/xdr_intXX_t.c: Likewise.
12974 * sunrpc/xdr_mem.c: Likewise.
12975 * sunrpc/xdr_rec.c: Likewise.
12976 * sunrpc/xdr_ref.c: Likewise.
12977 * sunrpc/xdr_sizeof.c: Likewise.
12978 * sunrpc/xdr_stdio.c: Likewise.
12979
e6c61494
UD
129802011-04-10 Ulrich Drepper <drepper@gmail.com>
12981
12982 [BZ #12650]
12983 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12984 * sysdeps/ia64/dl-tls.h: Likewise.
12985 * sysdeps/powerpc/dl-tls.h: Likewise.
12986 * sysdeps/s390/dl-tls.h: Likewise.
12987 * sysdeps/sh/dl-tls.h: Likewise.
12988 * sysdeps/sparc/dl-tls.h: Likewise.
12989 * sysdeps/x86_64/dl-tls.h: Likewise.
12990 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12991
34fe483e
AS
129922011-03-14 Andreas Schwab <schwab@redhat.com>
12993
12994 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12995 rpath element also skip the following colon.
12996 (expand_dynamic_string_token): Add is_path parameter and pass
12997 down to DL_DST_REQUIRED and _dl_dst_substitute.
12998 (decompose_rpath): Call expand_dynamic_string_token with
12999 non-zero is_path. Ignore empty rpaths.
13000 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13001 with zero is_path.
13002
f12a32e6
AS
130032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13004
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13006 Make cancelable.
13007
38a7d692
UD
130082011-04-09 Ulrich Drepper <drepper@gmail.com>
13009
13010 [BZ #12655]
13011 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13012 Patch by Filipe David Manana <fdmanana@apache.org>.
13013
e451d22b
AS
130142011-04-07 Andreas Schwab <schwab@redhat.com>
13015
13016 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13017 Maintain aligned stack.
13018 (CHECK_RSP): Remove unused macro.
13019
dedc7c7b
UD
130202011-04-03 Ulrich Drepper <drepper@gmail.com>
13021
13022 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13023 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13024
94521213
UD
130252011-04-02 Ulrich Drepper <drepper@gmail.com>
13026
13027 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13028
8cb700c0 13029 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13030
0354e355
L
130312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13032
13033 [BZ #12518]
13034 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13035 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13036 * sysdeps/x86_64/memmove.c: New file.
13037 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13038 (memcpy): Renamed to ...
13039 (__new_memcpy): This.
13040 (memcpy): Provide GLIBC_2_14 memcpy.
13041 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13042 (memcpy): Provide GLIBC_2_2_5 memcpy.
13043
8593482f
UD
130442011-04-01 Ulrich Drepper <drepper@gmail.com>
13045
13046 [BZ #12631]
13047 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13048
81a5726b
AS
130492011-03-30 Andreas Schwab <schwab@redhat.com>
13050
13051 * misc/syncfs.c: New file.
13052 * misc/Makefile (routines): Add syncfs.
13053 * posix/unistd.h: Declare syncfs.
13054 * sysdeps/unix/syscalls.list: Add syncfs.
13055
00e5419f
AS
130562011-04-01 Andreas Schwab <schwab@redhat.com>
13057
13058 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13059 open_by_handle_at.
13060 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13061 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13063 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13065 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13066 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13067
748876bf
UD
130682011-04-01 Ulrich Drepper <drepper@gmail.com>
13069
658e451d
UD
13070 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13071 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13072 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13074 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13076 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13077
748876bf
UD
13078 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13079 sync_file_range.c with -fexceptions.
13080 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13081 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13082 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13083 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13084 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13085 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13086 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13087 sync_file_range as cancellation point
13088 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13089 now a wrapper around __call_sync_file_range with cancellation handling.
13090 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13091 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13092 function name to __call_sync_file_range.
13093 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13094 Add call_sync_file_range.
748876bf 13095
6e63d5e1
AS
130962011-04-01 Andreas Schwab <schwab@redhat.com>
13097
13098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13099 bits/timex.h.
6e63d5e1 13100
46998f74
UD
131012011-04-01 Ulrich Drepper <drepper@gmail.com>
13102
4c1423ed
UD
13103 * iconv/iconv.h: Fix typo in comment.
13104 * io/fcntl.h: Likewise.
13105 * libio/stdio.h: Likewise.
13106 * posix/spawn.h: Likewise.
13107 * posix/unistd.h: Likewise.
13108 * stdlib/stdlib.h: Likewise.
13109 * time/time.h: Likewise.
13110 * wcsmbs/wchar.h: Likewise.
13111
158648c0
UD
13112 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13113 open_by_handle): Add.
13114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13115 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13116 Augment a few comments.
13117 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13119 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13122 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13123 open_by_handle.
13124
46998f74
UD
13125 * io/fcntl.h (AT_EMPTY_PATH): Define.
13126
83fe108b
UD
131272011-03-30 Ulrich Drepper <drepper@gmail.com>
13128
13129 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13130 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13131 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13132 to...
13133 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13134 * Versions.def: Add GLIBC_2.14.
13135 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13136 Export.
83fe108b 13137
bb242059
UD
131382011-03-22 Ulrich Drepper <drepper@gmail.com>
13139
13140 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13141 round counter.
13142 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13143
c97a1282
L
131442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13145
13146 [BZ #12597]
13147 * string/test-strncmp.c (do_page_test): New function.
13148 (check2): Likewise.
13149 (test_main): Call check2.
13150 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13151
2a115601
UD
131522011-03-20 Ulrich Drepper <drepper@gmail.com>
13153
13154 [BZ #12587]
13155 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13156 Handle cache information in CPU leaf 4.
13157 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13158
8126d904
UD
131592011-03-18 Ulrich Drepper <drepper@gmail.com>
13160
042c49c6 13161 [BZ #12583]
8126d904
UD
13162 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13163 character representation.
13164 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13165
ccfe366e
RA
131662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13167
13168 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13169 END(__isnan) to END(__isnanf) to match function entry point/label
13170 EALIGN(__isnanf,...).
13171
c6e13027
JJ
131722011-03-10 Jakub Jelinek <jakub@redhat.com>
13173
13174 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13175
33f85a3f
UD
131762011-03-10 Ulrich Drepper <drepper@gmail.com>
13177
028478fa
UD
13178 [BZ #12510]
13179 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13180 copy from the symbol referenced in the relocation to initialize the
13181 used variable.
13182 Patch by Piotr Bury <pbury@goahead.com>.
13183 * elf/Makefile: Add rules to build and tst-unique3.
13184 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13185 * elf/tst-unique3.cc: New file.
13186 * elf/tst-unique3.h: New file.
13187 * elf/tst-unique3lib.cc: New file.
13188 * elf/tst-unique3lib2.cc: New file.
13189
33f85a3f
UD
13190 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13191
03592fc7
MF
131922011-03-10 Mike Frysinger <vapier@gentoo.org>
13193
13194 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13195 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13196 to _start.
03592fc7 13197
6a5ee102
UD
131982011-03-06 Ulrich Drepper <drepper@gmail.com>
13199
13200 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13201 to-be-loaded object along a path to loader is ld.so.
13202
7e4ba49c
HJ
132032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13204 Ulrich Drepper <drepper@gmail.com>
13205
13206 * sysdeps/x86_64/memset.S: After aligning destination, code
13207 branches to different locations depending on the value of
13208 misalignment, when multiarch is enabled. Fix this.
13209
132102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13211
13212 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13213 Set _x86_64_preferred_memory_instruction for AMD processsors.
13214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13215 Set bit_Prefer_SSE_for_memop for AMD processors.
13216
13a804de
UD
132172011-03-04 Ulrich Drepper <drepper@gmail.com>
13218
13219 * libio/fmemopen.c (fmemopen): Optimize a bit.
13220
9d25c392
AS
132212011-03-03 Andreas Schwab <schwab@redhat.com>
13222
13223 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13224
a5543c6a
RM
132252011-03-03 Roland McGrath <roland@redhat.com>
13226
13227 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13228
012d35f7
DM
132292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13230
7e4ba49c 13231 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13232 __bzero_ultra1 instead of __memset_ultra1.
13233
4bff6e01
AS
132342011-02-23 Andreas Schwab <schwab@redhat.com>
13235 Ulrich Drepper <drepper@gmail.com>
13236
13237 [BZ #12509]
13238 * include/link.h (struct link_map): Add l_orig_initfini.
13239 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13240 returning unsuccessfully.
13241 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13242 close of a file loaded at startup, restore the original l_initfini
13243 list.
13244 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13245 list, store the pointer.
13246 * elf/Makefile ($(objpfx)noload-mem): New rule.
13247 (noload-ENV): Define.
13248 (tests): Add $(objpfx)noload-mem.
13249 * elf/noload.c: Include <memcheck.h>.
13250 (main): Call mtrace. Close all opened handles.
13251
f2092faf
AS
132522011-02-17 Andreas Schwab <schwab@redhat.com>
13253
13254 [BZ #12454]
13255 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13256 dependencies are missing.
13257
6c8a2e88
ST
132582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13259
f2092faf 13260 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13261 Hurd needs munmap.
13262 * sysdeps/mach/hurd/ifreq.h: New file.
13263
84a42118
PB
132642011-01-27 Petr Baudis <pasky@suse.cz>
13265 Ulrich Drepper <drepper@gmail.com>
13266
071f805e 13267 [BZ 12445]#
84a42118
PB
13268 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13269 to extend_alloca().
13270 * stdio-common/bug23.c: New file.
13271 * stdio-common/Makefile (tests): Add bug23.
13272
e23fe25b
AS
132732010-09-28 Andreas Schwab <schwab@redhat.com>
13274 Ulrich Drepper <drepper@gmail.com>
13275
13276 [BZ #12489]
13277 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13278 before performing relro protection. At old place add assertion
13279 to make sure nothing changed.
13280
d3f02e10
NS
132812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13282 Glauber de Oliveira Costa <glommer@gmail.com>
13283
13284 * elf/elf.h: Add new ARM TLS relocs.
13285
d55fd7a5
RA
132862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13287
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13289 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13290 cast from r3.
13291 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13292 'tests' variable.
13293 * sysdeps/wordsize-64/tst-writev.c: New file.
13294
2206397e
RA
132952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13296
13297 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13298 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13299 insns in _dl_start to prevent a TOC reference before relocs are
13300 resolved.
13301
e9433893
UD
133022011-02-15 Ulrich Drepper <drepper@gmail.com>
13303
13304 [BZ #12469]
13305 * Makeconfig: Remove RANLIB definition.
13306 * Makerules: Don't use RANLIB.
13307 * aclocal.m4: Remove ranlib test.
13308 * configure.in: No need to check for ranlib.
13309 * elf/rtld-Rules: Don't use RANLIB.
13310
f75286c6
ST
133112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13312
8e31c82d
ST
13313 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13314 protection macro.
13315 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13316 inclusion protection macro.
13317
f75286c6
ST
13318 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13319 SIGRTMIN and SIGRTMAX and print information in that case only when
13320 SIGRTMIN is defined.
13321
c1d0e639
JJ
133222011-02-11 Jakub Jelinek <jakub@redhat.com>
13323
13324 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13325 arginfo fn returning -1.
13326
13327 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13328 and thousands string is zero terminated.
13329
edf9294e
AS
133302011-02-03 Andreas Schwab <schwab@redhat.com>
13331
13332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13333 sysdeps/unix/sysv/linux/bits/socket.h.
13334
2b7e92df
ST
133352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13336
edf9294e
AS
13337 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13338 (__CPU_COUNT): Remove old macros.
13339 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13340 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13341 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13342 (__sched_cpualloc, __sched_cpufree): Add declarations.
13343
a4c7ea7b
UD
133442011-02-05 Ulrich Drepper <drepper@gmail.com>
13345
13346 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13347 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13348 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13349 (readdhstai): Return value of addhstaiX call.
13350 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13351 (addgrbyX): Return value returned by cache_addgr.
13352 (readdgrbyname): Return value returned by addgrbyX.
13353 (readdgrbygid): Likewise.
13354 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13355 (addpwbyX): Return value returned by cache_addpw.
13356 (readdpwbyname): Return value returned by addhstbyX.
13357 (readdpwbyuid): Likewise.
13358 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13359 (addservbyX): Return value returned by cache_addserv.
13360 (readdservbyname): Return value returned by addservbyX:
13361 (readdservbyport): Likewise.
13362 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13363 (addhstbyX): Return value returned by cache_addhst.
13364 (readdhstbyname): Return value returned by addhstbyX.
13365 (readdhstbyaddr): Likewise.
13366 (readdhstbynamev6): Likewise.
13367 (readdhstbyaddrv6): Likewise.
13368 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13369 (readdinitgroups): Return value returned by addinitgroupsX.
13370 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13371 (prune_cache): Keep track of timeout value of re-added entries.
13372 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13373 * nscd/nscd.h: Adjust prototypes of readd* functions.
13374
a0bf67cc
RM
133752011-02-04 Roland McGrath <roland@redhat.com>
13376
13377 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13378 (nis_stats): Likewise.
13379 * nis/nis_modify.c (nis_modify): Likewise.
13380 * nis/nis_remove.c (nis_remove): Likewise.
13381 * nis/nis_add.c (nis_add): Likewise.
13382
13383 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13384
13385 * posix/fnmatch_loop.c: Add some consts.
13386
13387 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13388
435b95eb
L
133892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13390
13391 [BZ #12460]
13392 * config.make.in (config-cflags-novzeroupper): Define.
13393 * configure.in: Substitute libc_cv_cc_novzeroupper.
13394 * elf/Makefile (AVX-CFLAGS): Define.
13395 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13396 (CFLAGS-tst-auditmod4a.c): Likewise.
13397 (CFLAGS-tst-auditmod4b.c): Likewise.
13398 (CFLAGS-tst-auditmod6b.c): Likewise.
13399 (CFLAGS-tst-auditmod6c.c): Likewise.
13400 (CFLAGS-tst-auditmod7b.c): Likewise.
13401 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13402
8517b15e
UD
134032011-02-02 Ulrich Drepper <drepper@gmail.com>
13404
13405 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13406 function to the callback.
13407 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13408
10a656fe
AS
134092011-02-02 Andreas Schwab <schwab@redhat.com>
13410
13411 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13412 of errno.
13413
968dad0a
UD
134142011-01-19 Ulrich Drepper <drepper@gmail.com>
13415
9f94d2ea 13416 [BZ #11724]
968dad0a
UD
13417 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13418 of constructors.
13419 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13420 of destructors.
13421 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13422
13423 [BZ #11724]
13424 * elf/Makefile: Add rules to build and run new test.
13425 * elf/tst-initorder.c: New file.
13426 * elf/tst-initorder.exp: New file.
13427 * elf/tst-initordera1.c: New file.
13428 * elf/tst-initordera2.c: New file.
13429 * elf/tst-initordera3.c: New file.
13430 * elf/tst-initordera4.c: New file.
13431 * elf/tst-initorderb1.c: New file.
13432 * elf/tst-initorderb2.c: New file.
13433 * elf/tst-order-a1.c: New file.
13434 * elf/tst-order-a2.c: New file.
13435 * elf/tst-order-a3.c: New file.
13436 * elf/tst-order-a4.c: New file.
13437 * elf/tst-order-b1.c: New file.
13438 * elf/tst-order-b2.c: New file.
13439 * elf/tst-order-main.c: New file.
13440 New test case by George Gensure <werkt0@gmail.com>.
13441
86e92359
UD
134422010-10-01 Andreas Schwab <schwab@redhat.com>
13443
13444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13445 decoding ACE if AI_CANONIDN.
13446
5d5732b0
UD
134472011-01-18 Ulrich Drepper <drepper@gmail.com>
13448
13449 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13450
a77e8cbc
UD
134512011-01-17 Ulrich Drepper <drepper@gmail.com>
13452
6392473f
UD
13453 * version.h (RELEASE): Bump for 2.13 release.
13454 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13455
620a0529
UD
13456 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13457
18ba70a5
UD
13458 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13459 MADV_NOHUGEPAGE.
32465c3e
UD
13460 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13461 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13462 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13463 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13464 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13465 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13466
c0dafcf1
UD
13467 * posix/getconf.c: Update copyright year.
13468 * catgets/gencat.c: Likewise.
13469 * csu/version.c: Likewise.
13470 * debug/catchsegv.sh: Likewise.
13471 * debug/xtrace.sh: Likewise.
13472 * elf/ldconfig.c: Likewise.
13473 * elf/ldd.bash.in: Likewise.
13474 * elf/sprof.c (print_version): Likewise.
13475 * iconv/iconv_prog.c: Likewise.
13476 * iconv/iconvconfig.c: Likewise.
13477 * locale/programs/locale.c: Likewise.
13478 * locale/programs/localedef.c: Likewise.
13479 * malloc/memusage.sh: Likewise.
13480 * malloc/mtrace.pl: Likewise.
13481 * nscd/nscd.c (print_version): Likewise.
13482 * nss/getent.c: Likewise.
13483
a77e8cbc
UD
13484 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13485 PF_CAIF, and PF_ALG.
13486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13487
77e8bddf
AS
134882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13489
1f20b93a
AS
13490 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13491 (modules-names): Use them.
13492 (ifunc-test-modules, ifunc-pie-tests): Define.
13493 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13494 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13495 (test-extras): Likewise.
13496 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13497 $(compile-command.c).
13498 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13499 (all-built-dso): Define.
13500 (check-textrel.out, check-execstack.out): Depend on it.
13501
77e8bddf
AS
13502 * configure.in: Don't override --enable-multi-arch.
13503
bc425b33
UD
135042011-01-15 Ulrich Drepper <drepper@gmail.com>
13505
13506 [BZ #6812]
13507 * nscd/hstcache.c (tryagain): Define.
13508 (cache_addhst): Return tryagain not notfound for temporary errors.
13509 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13510 failed.
13511
794c3ad3
UD
135122011-01-14 Ulrich Drepper <drepper@gmail.com>
13513
70181fdd
UD
13514 [BZ #10563]
13515 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13516 to make the syscall.
13517 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13518
794c3ad3
UD
13519 [BZ #12378]
13520 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13521 and fall back to matching as normal character if the string ends before
13522 the matching ']' is found. This is what POSIX requires.
13523 * posix/testfnm.c: Adjust test result.
13524 * posix/globtest.sh: Adjust test result. Add new test.
13525 * posix/tst-fnmatch.input: Likewise.
13526 * posix/tst-fnmatch2.c: Add new test.
13527
68dc9497
AS
135282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13529
13530 * elf/Makefile (check-execstack): Revert last change. Depend on
13531 check-execstack.h.
13532 (check-execstack.h): New target.
13533 (generated): Add check-execstack.h.
13534 * elf/check-execstack.c: Include "check-execstack.h".
13535 (main): Revert last change.
13536 (handle_file): Return zero if GNU_STACK is absent and
13537 DEFAULT_STACK_PERMS doesn't include PF_X.
13538
451f001b
UD
135392011-01-13 Ulrich Drepper <drepper@gmail.com>
13540
cfa28e56
UD
13541 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13542 in child fails because the descriptor is already closed.
8cf8ce17
UD
13543 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13544 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13545 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13546
1086d70d
UD
13547 [BZ #12397]
13548 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13549 syscall.
13550
451f001b
UD
13551 [BZ #10484]
13552 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13553 temporary buffer used to handle multi lookups locally.
a85b5cb4 13554 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13555
08769175
UD
135562011-01-12 Ulrich Drepper <drepper@gmail.com>
13557
13558 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13559 loader is ld.so.
13560
5e49c52e
UD
135612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13562
13563 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13564 alignment for SSE2.
13565
60522a5f
UD
135662011-01-12 Ulrich Drepper <drepper@gmail.com>
13567
13568 [BZ #12394]
13569 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13570 characters. When rounding increased number of integer digits recompute
13571 number of groups.
13572 * stdio-common/tst-grouping.c: New file.
13573 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13574
f257bbd7
UD
135752011-01-09 Ulrich Drepper <drepper@gmail.com>
13576
13577 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13578 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13579
13580 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13581 void.
13582 * bits/select.h: Likewise.
13583
fa9c15cb
UD
135842011-01-08 Ulrich Drepper <drepper@gmail.com>
13585
13586 * po/ja.po: Update from translation team.
13587
16c2895f
DM
135882011-01-04 David S. Miller <davem@sunset.davemloft.net>
13589
13590 [BZ #11155]
13591 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13592 implementation just like for lxstat, fxstatat, et al.
13593
2543fef2
JM
135942010-12-27 Jim Meyering <meyering@redhat.com>
13595
13596 [BZ #12348]
13597 * posix/regexec.c (build_trtable): Return failure indication upon
13598 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13599
98727dbe
UD
136002010-12-25 Ulrich Drepper <drepper@gmail.com>
13601
5bd6dc5c
UD
13602 [BZ #12201]
13603 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13604 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13605 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13606 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13607
97983464
UD
13608 [BZ #12207]
13609 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13610
98727dbe
UD
13611 [BZ #12204]
13612 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13613 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13614
4a531bb0
L
136152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13616
13617 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13618 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13619 script has SORT_BY_INIT_PRIORITY.
13620 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13621 NO_CTORS_DTORS_SECTIONS is defined.
13622 * elf/soinit.c: Likewise.
13623 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13624 NO_CTORS_DTORS_SECTIONS is defined.
13625 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13626 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13627 * sysdeps/sh/init-first.c: Likewise.
13628 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13629
07eb4b71
UD
136302010-12-24 Ulrich Drepper <drepper@gmail.com>
13631
13632 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13633 always use the slow path.
13634
30950a5f
RA
136352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13636
13637 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13638 similar rule which adds the sysdep directories to the header search in
13639 order to pick up the correct platform stackinfo.h.
13640 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13641 perform test if it is, otherwise return successfully without testing.
13642 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13643 DEFAULT_STACK_PERMS define in stackinfo.h.
13644 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13645 defined in stackinfo.h.
13646 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13647 DEFAULT_STACK_PERMS defined in stackinfo.h.
13648 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13649 * sysdeps/ia64/stackinfo.h: Likewise.
13650 * sysdeps/s390/stackinfo.h: Likewise.
13651 * sysdeps/sh/stackinfo.h: Likewise.
13652 * sysdeps/sparc/stackinfo.h: Likewise.
13653 * sysdeps/x86_64/stackinfo.h: Likewise.
13654 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13655 PF_X for powerpc64. Retain PF_X for powerpc32.
13656
db753e2c
UD
136572010-12-19 Ulrich Drepper <drepper@gmail.com>
13658
14b697f7
UD
13659 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13660 accurately.
db753e2c
UD
13661 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13662 GETDENTS_64BIT_ALIGNED.
13663
28300719
UD
136642010-12-14 Ulrich Drepper <dreper@gmail.com>
13665
14b697f7 13666 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13667
4f197237
AS
136682010-12-10 Andreas Schwab <schwab@redhat.com>
13669
dbb0472f
AS
13670 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13671 _GNU_SOURCE.
13672
4f197237
AS
13673 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13674 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13675 Remove __restrict.
13676 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13677 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13678
fb88ac72
UD
136792010-12-09 Ulrich Drepper <drepper@gmail.com>
13680
13681 [BZ #11655]
13682 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13683 are initialized.
13684
42acbb92
JJ
136852010-12-09 Jakub Jelinek <jakub@redhat.com>
13686
13687 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13688
c038d98d
UD
136892010-12-03 Ulrich Drepper <drepper@gmail.com>
13690
13691 * po/it.po: Update from translation team.
13692
3a4a2499
L
136932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13694
13695 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13696 unused codes.
13697
1e24cf6e
UD
136982010-11-30 Ulrich Drepper <drepper@gmail.com>
13699
13700 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13701
a7690819
AS
137022010-11-24 Andreas Schwab <schwab@redhat.com>
13703
13704 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13705 specially.
13706 (gaih_getanswer_slice): Likewise.
13707
3bf8d1b1
JJ
137082010-10-20 Jakub Jelinek <jakub@redhat.com>
13709
13710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13711
6db52fbb
PB
137122010-05-31 Petr Baudis <pasky@suse.cz>
13713
13714 [BZ #11149]
13715 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13716 silently even in the chroot mode.
13717
eaca7569
UD
137182010-11-22 Ulrich Drepper <drepper@gmail.com>
13719
13720 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13721 last patch a bit. Pretty printing
13722
3056dcdb
UD
137232010-05-31 Petr Baudis <pasky@suse.cz>
13724
13725 [BZ #10085]
13726 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13727 initialization of skip_initgroups_dyn.
13728
cf7c9078
UD
137292010-11-19 Ulrich Drepper <drepper@gmail.com>
13730
13731 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13732 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13733
a1fb5e3e
UD
137342010-11-16 Ulrich Drepper <drepper@gmail.com>
13735
13736 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13737
3540d66b
AS
137382010-11-11 Andreas Schwab <schwab@redhat.com>
13739
13740 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13741 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13742 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13743 ($(objpfx)tst-fnmatch-mem): New rule.
13744 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13745 * posix/tst-fnmatch.c (main): Call mtrace.
13746
13b69574
L
137472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13748
13749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13750 Support Intel processor model 6 and model 0x2c.
13751
da93d214
LM
137522010-11-10 Luis Machado <luisgpm@br.ibm.com>
13753
13754 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13755 signed comparison.
13756
8ca52c6e
L
137572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13758
13759 [BZ #12205]
13760 * string/test-strncasecmp.c (check_result): New function.
13761 (do_one_test): Use it.
13762 (check1): New function.
13763 (test_main): Use it.
13764 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13765 Support strcasecmp and strncasecmp.
13766
69da074d
UD
137672010-11-08 Ulrich Drepper <drepper@gmail.com>
13768
13769 [BZ #12194]
13770 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13771 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13772
ff02d528
L
137732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13774
13775 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13776 IFUNC support.
13777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13778 memset-x86-64.
13779 * sysdeps/x86_64/multiarch/bzero.S: New file.
13780 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13781 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13782 * sysdeps/x86_64/multiarch/memset.S: New file.
13783 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13785 Set bit_Prefer_SSE_for_memop for Intel processors.
13786 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13787 Define.
13788 (index_Prefer_SSE_for_memop): Define.
13789 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13790
344d0b54
LM
137912010-11-04 Luis Machado <luisgpm@br.ibm.com>
13792
13793 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13794 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13795
c0dde15b
UD
137962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13797
13798 [BZ #12191]
13799 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13800 (__x86_64_raw_data_cache_size_half): Likewise.
13801 (__x86_64_raw_shared_cache_size): Likewise.
13802 (__x86_64_raw_shared_cache_size_half): Likewise.
13803
13804 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13805 (__x86_64_raw_data_cache_size_half): Likewise.
13806 (__x86_64_raw_shared_cache_size): Likewise.
13807 (__x86_64_raw_shared_cache_size_half): Likewise.
13808 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13809 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13810 and __x86_64_raw_shared_cache_size_half. Round
13811 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13812 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13813 to multiple of 256 bytes.
13814
0e516e0e
MS
138152010-11-03 Ulrich Drepper <drepper@gmail.com>
13816
13817 [BZ #12167]
13818 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13819 of inacessible symlinks. Verify result of symlink before returning it.
13820 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13821 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13822
0e012e87
ER
138232010-10-28 Erich Ritz <erichritz@gmail.com>
13824
13825 * math/math.h (isinf): Fix typo in comment.
13826
de0ff7bc
UD
138272010-11-01 Ulrich Drepper <drepper@gmail.com>
13828
13829 * po/da.po: Update from translation team.
13830
fa41c84d
UD
138312010-10-26 Ulrich Drepper <drepper@gmail.com>
13832
13833 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13834 is added to the list.
13835
f0967738
AK
138362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13837 Ulrich Drepper <drepper@gmail.com>
13838
13839 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13840 the global list here. Move code to...
13841 (_dl_add_to_namespace_list): ...here. New function.
13842 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13843 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13844 * elf/dl-load.c (lose): Don't remove the element from the list.
13845 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13846 (_dl_map_object): Likewise.
13847
138482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13849
13850 [BZ #12159]
13851 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13852 into all bytes of SSE register.
13853 Patch by Richard Li <richardpku@gmail.com>.
13854
f0967738 138552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13856
13857 [BZ #12140]
13858 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13859 perturbing.
13860
d0b9e94f
MB
138612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13862
13863 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13864 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13865 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13866 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13868 submachine.
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13870
8e9f92e9
AS
138712010-10-22 Andreas Schwab <schwab@redhat.com>
13872
13873 * include/dlfcn.h (__RTLD_SECURE): Define.
13874 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13875 mode & __RTLD_SECURE instead.
13876 (open_path): Rename preloaded parameter to secure.
13877 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13878 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13879 * elf/dl-deps.c (openaux): Likewise.
13880 * elf/rtld.c (struct map_args): Remove is_preloaded.
13881 (map_doit): Don't use it.
13882 (dl_main): Likewise.
13883 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13884 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13885
bc96fbda
AS
138862010-09-09 Andreas Schwab <schwab@redhat.com>
13887
13888 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13889 (sysd-rules-targets): Remove duplicates.
13890 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13891 rtld-%.$o dependency.
13892
22cd1c9b
AS
138932010-10-18 Andreas Schwab <schwab@redhat.com>
13894
13895 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13896 _dl_map_object do it.
13897
18edac48
UD
138982010-10-19 Ulrich Drepper <drepper@gmail.com>
13899
13900 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13901 fast fma builtins, define the macros in the C99 standard.
13902 (FP_FAST_FMAF): Likewise.
13903 (FP_FAST_FMAL): Likewise.
13904 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13905
13906 * bits/mathdef.h: Update copyright year.
13907 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13908
d2050124
MM
139092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13910
13911 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13912 builtins, define the macros in the C99 standard.
13913 (FP_FAST_FMAF): Likewise.
13914 (FP_FAST_FMAL): Likewise.
13915 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13916 multiply/add.
13917 (FP_FAST_FMAF): Likewise.
13918
475facd1
JJ
139192010-10-15 Jakub Jelinek <jakub@redhat.com>
13920
13921 [BZ #3268]
13922 * math/libm-test.inc (fma_test): Some new testcases.
13923 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13924 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13925 y and infinite z. Do multiplication by C already in long double.
13926 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13928 y and infinite z. Do bitwise or of inexact bit into u.d.
13929 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13930 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13931 * sysdeps/i386/fpu/s_fma.S: Removed.
13932 * sysdeps/i386/fpu/s_fmal.S: Removed.
13933
7c08a05c
JJ
139342010-10-16 Jakub Jelinek <jakub@redhat.com>
13935
13936 [BZ #3268]
13937 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13938 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13939 computation is not scheduled after fetestexcept. Fix value
13940 of minimum denormal long double.
13941
f3f7372d
JJ
139422010-10-14 Jakub Jelinek <jakub@redhat.com>
13943
13944 [BZ #3268]
13945 * math/libm-test.inc (fma_test): Add some more tests.
13946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13947 correctly.
13948
14d43591
AS
139492010-10-15 Andreas Schwab <schwab@redhat.com>
13950
13951 * scripts/data/localplt-s390-linux-gnu.data: New file.
13952 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13953
5e908464
JJ
139542010-10-13 Jakub Jelinek <jakub@redhat.com>
13955
13956 [BZ #3268]
13957 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13958 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13959 instead of dbl-64.
13960 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13961 inlines.
13962 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13964 if one of x and y is very large and the other is subnormal.
13965 * sysdeps/s390/fpu/s_fmaf.c: New file.
13966 * sysdeps/s390/fpu/s_fma.c: New file.
13967 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13968 * sysdeps/powerpc/fpu/s_fma.S: New file.
13969 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13970 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13971 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13972
139732010-10-12 Jakub Jelinek <jakub@redhat.com>
13974
13975 [BZ #3268]
13976 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13977 fma tests.
13978 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13979 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13980 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13981 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13982 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13983 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13984 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13985
b833d51f
UD
139862010-10-12 Ulrich Drepper <drepper@redhat.com>
13987
13988 [BZ #12078]
13989 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13990 * posix/bug-regex31.input: Add test case.
13991
1751705d
UD
139922010-10-11 Ulrich Drepper <drepper@gmail.com>
13993
e9b9cbf5
UD
13994 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13995 * posix/bug-regex31.input: New file.
13996
13997 [BZ #12078]
13998 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13999 (parse_sub_exp): Fix last change, use postorder.
14000
ef06edbe
UD
14001 * posix/bug-regex31.c: New file.
14002 * posix/Makefile: Add rules to build and run bug-regex31.
14003
a129c80d
UD
14004 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14005
14006 [BZ #12078]
14007 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14008
b76b818e
UD
14009 [BZ #12108]
14010 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14011 to have entries in sys_siglist.
14012
1751705d
UD
14013 [BZ #12093]
14014 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14015 be NULL.
14016
9ff8d36f
JJ
140172010-10-07 Jakub Jelinek <jakub@redhat.com>
14018
14019 [BZ #3268]
14020 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14021 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14022 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14023 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14024 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14025 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14026 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14027 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14028 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14029 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14030 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14031 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14032 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14033 * math/ftestexcept.c (fetestexcept): Likewise.
14034 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14035 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14036 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14037 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14038 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14039 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14040 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14041
af325969
UD
140422010-10-11 Ulrich Drepper <drepper@gmail.com>
14043
c579b202 14044 [BZ #12107]
af325969
UD
14045 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14046 newline.
14047
67a67b95
UD
140482010-10-06 Ulrich Drepper <drepper@gmail.com>
14049
14050 * string/bug-strstr1.c: New file.
14051 * string/Makefile: Add rules to build and run bug-strstr1.
14052
5fb308bc
EB
140532010-10-05 Eric Blake <eblake@redhat.com>
14054
14055 [BZ #12092]
14056 * string/str-two-way.h (two_way_long_needle): Always clear memory
14057 when skipping input due to the shift table.
14058
45db99c7
UD
140592010-10-03 Ulrich Drepper <drepper@gmail.com>
14060
3b111893
UD
14061 [BZ #12005]
14062 * malloc/mcheck.c: Handle large requests.
14063
45db99c7
UD
14064 [BZ #12077]
14065 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14066 for strncmp and strncasecmp.
14067 * string/stratcliff.c: Add tests for strcmp and strncmp.
14068 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14069
cf7a1eb8
NI
140702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14071
14072 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14073 __set_fpscr.
14074
6484ba5e
AJ
140752010-09-30 Andreas Jaeger <aj@suse.de>
14076
14077 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14078 (CGROUP_SUPER_MAGIC): Define.
14079 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14080 Handle btrfs and cgroup file systems.
14081 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14082 Likewise.
14083
91c42559
LM
140842010-09-27 Luis Machado <luisgpm@br.ibm.com>
14085
14086 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14087 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14088
87a97932
AK
140892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14090
14091 [BZ #12067]
14092 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14093 trying to locate the ELF header.
14094
c21cc9bc
AS
140952010-09-27 Andreas Schwab <schwab@redhat.com>
14096
14097 [BZ #11611]
14098 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14099 Mask out sign-bit copies when constructing f_fsid.
14100
315970f6
PB
141012010-09-24 Petr Baudis <pasky@suse.cz>
14102
14103 * debug/stack_chk_fail_local.c: Add missing licence exception.
14104 * debug/warning-nop.c: Likewise.
14105
1ac7a2c7
JM
141062010-09-15 Joseph Myers <joseph@codesourcery.com>
14107
14108 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14109 implementing getdents64 using getdents syscall, set d_type if
14110 __ASSUME_GETDENTS32_D_TYPE.
14111
56801c50
AS
141122010-09-16 Andreas Schwab <schwab@redhat.com>
14113
14114 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14115 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14116
dda51327
UD
141172010-09-21 Ulrich Drepper <drepper@redhat.com>
14118
14119 [BZ #12037]
14120 * posix/unistd.h: Undo change of feature selection for ftruncate from
14121 2010-01-11.
14122
8ffcee4a
UD
141232010-09-20 Ulrich Drepper <drepper@redhat.com>
14124
a545ecd9 14125 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14126 detection.
14127
e24f0a8b
AS
141282010-09-20 Andreas Schwab <schwab@redhat.com>
14129
14130 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14131 fanotify_mark.
14132 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14133
7291c56f
AS
141342010-09-14 Andreas Schwab <schwab@redhat.com>
14135
14136 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14137 variables after CHECK_SP call.
14138 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14139
bc5fb037
AS
141402010-09-13 Andreas Schwab <schwab@redhat.com>
14141 Ulrich Drepper <drepper@redhat.com>
14142
14143 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14144 re-relocationg ld.so.
14145 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14146 _dl_init_paths call.
14147 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14148 here anymore.
14149
e66e7419
UD
141502010-09-14 Ulrich Drepper <drepper@redhat.com>
14151
14152 * resolv/res_init.c (__res_vinit): Count the default server we added.
14153
c044aa75
CLT
141542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14155 Ulrich Drepper <drepper@redhat.com>
14156
14157 [BZ #11968]
14158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14159 (____longjmp_chk): Use %ebx for saving value across system call.
14160 Add unwind info.
14161
32cf4069
AS
141622010-09-06 Andreas Schwab <schwab@redhat.com>
14163
14164 * manual/Makefile: Don't mix pattern rules with normal rules.
14165
817328ee
AS
141662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14167
14168 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14169 operation.
14170 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14171 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14172 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14173 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14174 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14175 Likewise.
14176
29fddf61
UD
141772010-09-04 Ulrich Drepper <drepper@redhat.com>
14178
14179 [BZ #11979]
14180 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14181 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14182
0959ffc9
UD
141832010-09-02 Ulrich Drepper <drepper@redhat.com>
14184
14185 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14186 * sysdeps/x86_64/addmul_1.S: Likewise.
14187 * sysdeps/x86_64/lshift.S: Likewise.
14188 * sysdeps/x86_64/mul_1.S: Likewise.
14189 * sysdeps/x86_64/rshift.S: Likewise.
14190 * sysdeps/x86_64/sub_n.S: Likewise.
14191 * sysdeps/x86_64/submul_1.S: Likewise.
14192
ece29840
ST
141932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14194
0959ffc9
UD
14195 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14196 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14197 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14198 * bits/sched.h [__need_schedparam]
ece29840 14199 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14200 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14201 (__defined_schedparam): Define to 1.
ece29840
ST
14202 (__sched_param): New structure, identical to sched_param.
14203 (__need_schedparam): Undefine.
14204
e53a31fe
MF
142052010-08-31 Mike Frysinger <vapier@gentoo.org>
14206
fdc0c10d
MF
14207 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14208 (epoll_create1): Declare.
14209
e53a31fe
MF
14210 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14211
a726d796
AS
142122010-08-31 Andreas Schwab <schwab@redhat.com>
14213
14214 [BZ #7066]
14215 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14216 shifting retval into place.
14217
2f3e3dc7
UD
142182010-09-01 Ulrich Drepper <drepper@redhat.com>
14219
f2933da9
UD
14220 * nis/rpcsvc/nis.h: Update copyright notice.
14221 * nis/rpcsvc/nis.x: Likewise.
14222 * nis/rpcsvc/nis_callback.h: Likewise.
14223 * nis/rpcsvc/nis_callback.x: Likewise.
14224 * nis/rpcsvc/nis_object.x: Likewise.
14225 * nis/rpcsvc/nis_tags.h: Likewise.
14226 * nis/rpcsvc/yp.h: Likewise.
14227 * nis/rpcsvc/yp.x: Likewise.
14228 * nis/rpcsvc/ypupd.h: Likewise.
14229 * nis/yp_xdr.c: Likewise.
14230 * nis/ypupdate_xdr.c: Likewise.
14231
2f3e3dc7
UD
14232 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14233 mainly the body of pmap_getport. Add parameters to specify timeouts.
14234 (pmap_getport): Use __libc_rpc_getport.
14235 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14236 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14237 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14238
f3dcc2f9
AS
142392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14240
14241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14242 fanotify_mark.
14243
6d34eb5b
RM
142442010-08-27 Roland McGrath <roland@redhat.com>
14245
14246 * sysdeps/i386/i686/multiarch/Makefile
14247 (CFLAGS-varshift.c): New variable.
14248
9ea3de11
UD
142492010-08-27 Ulrich Drepper <drepper@redhat.com>
14250
c96d23fc
UD
14251 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14252 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14253
9ea3de11
UD
14254 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14255
14256 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14257
623aac7f
L
142582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14259
14260 * sysdeps/x86_64/strlen.S: Unroll the loop.
14261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14262 strlen-sse2 strlen-sse2-bsf.
14263 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14264 __strlen_no_bsf if bit_Slow_BSF is set.
14265 (__strlen_sse42): Removed.
14266 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14267 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14268
8b2b7715
RM
142692010-08-25 Roland McGrath <roland@redhat.com>
14270
14271 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14272 * sysdeps/x86_64/multiarch/varshift.c: New file.
14273 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14274 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14275 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14276 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14277
e73015f2
L
142782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14279
14280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14281 strlen-sse2 strlen-sse2-bsf.
14282 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14283 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14284 (__strlen_sse2): Removed.
14285 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14286 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14288 bit_Slow_BSF for Atom.
14289 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14290 (index_Slow_BSF): Define.
14291 (HAS_SLOW_BSF): Define.
14292
df24a73e
UD
142932010-08-25 Ulrich Drepper <drepper@redhat.com>
14294
14295 [BZ #10851]
14296 * resolv/res_init.c (__res_vinit): When no server address at all
14297 is given default to loopback.
14298
f2ac4868
RM
142992010-08-24 Roland McGrath <roland@redhat.com>
14300
09055553
RM
14301 * configure.in: Remove config-name.h generation.
14302 * configure: Regenerated.
14303 * config-name.in: File removed.
14304 * scripts/config-uname.sh: New file.
14305 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14306 ($(objdir)config-name.h): New target.
14307
f2ac4868
RM
14308 * sunrpc/rpc_parse.h: Avoid nested comment.
14309
73f27d5e
RH
143102010-08-24 Richard Henderson <rth@redhat.com>
14311 Ulrich Drepper <drepper@redhat.com>
14312 H.J. Lu <hongjiu.lu@intel.com>
14313
14314 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14316 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14317 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14318 _mm_alignr_epi8 with _mm_loadu_si128.
14319 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14320 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14321 (__m128i_shift_right): Removed.
14322 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14323 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14324 * sysdeps/x86_64/multiarch/varshift.h: New file.
14325 * sysdeps/x86_64/multiarch/varshift.S: New file.
14326
84b9230c
MF
143272010-08-21 Mike Frysinger <vapier@gentoo.org>
14328
14329 * configure.in: Move assembler checks to before sysdep dir checking.
14330
9bbd0ddc
PB
143312010-08-20 Petr Baudis <pasky@suse.cz>
14332
14333 * LICENSES: Sync the sunrpc license.
14334
9da4bb31
UD
143352010-08-19 Ulrich Drepper <drepper@redhat.com>
14336
a7ab6ec8
UD
14337 * sunrpc/auth_des.c: Update copyright notice once again.
14338 * sunrpc/auth_none.c: Likewise.
14339 * sunrpc/auth_unix.c: Likewise.
14340 * sunrpc/authdes_prot.c: Likewise.
14341 * sunrpc/authuxprot.c: Likewise.
14342 * sunrpc/bindrsvprt.c: Likewise.
14343 * sunrpc/clnt_gen.c: Likewise.
14344 * sunrpc/clnt_perr.c: Likewise.
14345 * sunrpc/clnt_raw.c: Likewise.
14346 * sunrpc/clnt_simp.c: Likewise.
14347 * sunrpc/clnt_tcp.c: Likewise.
14348 * sunrpc/clnt_udp.c: Likewise.
14349 * sunrpc/clnt_unix.c: Likewise.
14350 * sunrpc/des_crypt.c: Likewise.
14351 * sunrpc/des_soft.c: Likewise.
14352 * sunrpc/get_myaddr.c: Likewise.
14353 * sunrpc/getrpcport.c: Likewise.
14354 * sunrpc/key_call.c: Likewise.
14355 * sunrpc/key_prot.c: Likewise.
14356 * sunrpc/openchild.c: Likewise.
14357 * sunrpc/pm_getmaps.c: Likewise.
14358 * sunrpc/pm_getport.c: Likewise.
14359 * sunrpc/pmap_clnt.c: Likewise.
14360 * sunrpc/pmap_prot.c: Likewise.
14361 * sunrpc/pmap_prot2.c: Likewise.
14362 * sunrpc/pmap_rmt.c: Likewise.
14363 * sunrpc/rpc/auth.h: Likewise.
14364 * sunrpc/rpc/auth_unix.h: Likewise.
14365 * sunrpc/rpc/clnt.h: Likewise.
14366 * sunrpc/rpc/des_crypt.h: Likewise.
14367 * sunrpc/rpc/key_prot.h: Likewise.
14368 * sunrpc/rpc/netdb.h: Likewise.
14369 * sunrpc/rpc/pmap_clnt.h: Likewise.
14370 * sunrpc/rpc/pmap_prot.h: Likewise.
14371 * sunrpc/rpc/pmap_rmt.h: Likewise.
14372 * sunrpc/rpc/rpc.h: Likewise.
14373 * sunrpc/rpc/rpc_des.h: Likewise.
14374 * sunrpc/rpc/rpc_msg.h: Likewise.
14375 * sunrpc/rpc/svc.h: Likewise.
14376 * sunrpc/rpc/svc_auth.h: Likewise.
14377 * sunrpc/rpc/types.h: Likewise.
14378 * sunrpc/rpc/xdr.h: Likewise.
14379 * sunrpc/rpc_clntout.c: Likewise.
14380 * sunrpc/rpc_cmsg.c: Likewise.
14381 * sunrpc/rpc_common.c: Likewise.
14382 * sunrpc/rpc_cout.c: Likewise.
14383 * sunrpc/rpc_dtable.c: Likewise.
14384 * sunrpc/rpc_hout.c: Likewise.
14385 * sunrpc/rpc_main.c: Likewise.
14386 * sunrpc/rpc_parse.c: Likewise.
14387 * sunrpc/rpc_parse.h: Likewise.
14388 * sunrpc/rpc_prot.c: Likewise.
14389 * sunrpc/rpc_sample.c: Likewise.
14390 * sunrpc/rpc_scan.c: Likewise.
14391 * sunrpc/rpc_scan.h: Likewise.
14392 * sunrpc/rpc_svcout.c: Likewise.
14393 * sunrpc/rpc_tblout.c: Likewise.
14394 * sunrpc/rpc_util.c: Likewise.
14395 * sunrpc/rpc_util.h: Likewise.
14396 * sunrpc/rpcinfo.c: Likewise.
14397 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14398 * sunrpc/rpcsvc/key_prot.x: Likewise.
14399 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14400 * sunrpc/rpcsvc/mount.x: Likewise.
14401 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14402 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14403 * sunrpc/rpcsvc/rex.x: Likewise.
14404 * sunrpc/rpcsvc/rstat.x: Likewise.
14405 * sunrpc/rpcsvc/rusers.x: Likewise.
14406 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14407 * sunrpc/rpcsvc/spray.x: Likewise.
14408 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14409 * sunrpc/rtime.c: Likewise.
14410 * sunrpc/svc.c: Likewise.
14411 * sunrpc/svc_auth.c: Likewise.
14412 * sunrpc/svc_authux.c: Likewise.
14413 * sunrpc/svc_raw.c: Likewise.
14414 * sunrpc/svc_run.c: Likewise.
14415 * sunrpc/svc_simple.c: Likewise.
14416 * sunrpc/svc_tcp.c: Likewise.
14417 * sunrpc/svc_udp.c: Likewise.
14418 * sunrpc/svc_unix.c: Likewise.
14419 * sunrpc/svcauth_des.c: Likewise.
14420 * sunrpc/xcrypt.c: Likewise.
14421 * sunrpc/xdr.c: Likewise.
14422 * sunrpc/xdr_array.c: Likewise.
14423 * sunrpc/xdr_float.c: Likewise.
14424 * sunrpc/xdr_mem.c: Likewise.
14425 * sunrpc/xdr_rec.c: Likewise.
14426 * sunrpc/xdr_ref.c: Likewise.
14427 * sunrpc/xdr_sizeof.c: Likewise.
14428 * sunrpc/xdr_stdio.c: Likewise.
14429
9da4bb31
UD
14430 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14431 handling.
14432
bdaa77bc
AS
144332010-08-19 Andreas Schwab <schwab@redhat.com>
14434
14435 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14436
fe2f79db
LM
144372010-08-19 Luis Machado <luisgpm@br.ibm.com>
14438
14439 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14440 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14441 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14442 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14443 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14444 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14445 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14446 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14447 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14448 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14449 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14450 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14451 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14452 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14453
b9b42ee0
AB
144542010-07-26 Anton Blanchard <anton@samba.org>
14455
14456 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14457 * malloc/arena.c (heap_trim): Likewise.
14458
1c06ba31
UD
144592010-08-16 Ulrich Drepper <drepper@redhat.com>
14460
14461 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14462 here. Not...
14463 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14464 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14465
f8392f40
L
144662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14467
14468 * sysdeps/i386/elf/Makefile: New file.
14469
3162f12e
AS
144702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14471
14472 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14473 from fanotify_init.
14474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14475 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14476
28c90b2c
UD
144772010-08-15 Ulrich Drepper <drepper@redhat.com>
14478
14479 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14480 of strncasecmp_l.
1feccb6c 14481 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14482
ca6bb004
UD
144832010-08-14 Ulrich Drepper <drepper@redhat.com>
14484
e9f82e0d
UD
14485 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14486 strncase_l-nonascii.
14487 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14488 Add strncase_l-ssse3.
14489 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14490 * sysdeps/x86_64/strcmp.S: Likewise.
14491 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14492 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14493 * sysdeps/x86_64/strncase.S: New file.
14494 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14495 * sysdeps/x86_64/strncase_l.S: New file.
14496 * string/Makefile (strop-tests): Add strncasecmp.
14497 * string/test-strncasecmp.c: New file.
14498
14499 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14500 warning.
14501
ca6bb004
UD
14502 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14503 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14504
052fa7b3
AS
145052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14506
14507 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14508
962dba78
UD
145092010-08-12 Ulrich Drepper <drepper@redhat.com>
14510
14511 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14512 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14513 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14514
bebff237
AM
145152010-05-01 Alan Modra <amodra@gmail.com>
14516
14517 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14518 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14519 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14520 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14521 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14522 tidying. Don't tail-call __sigjmp_save for static lib.
14523 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14524 save location.
14525 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14526 (CALL_MCOUNT): Add eh info, and nop after bl.
14527 (TAIL_CALL_SYSCALL_ERROR): New macro.
14528 (PSEUDO_RET): Use it.
14529 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14530 Correct save location of integer regs and cr.
14531 (_dl_profile_resolve): Correct cr save location. Delete nops
14532 after bl when SHARED. Reduce cfi size a little by better
14533 placement of cfi directives.
14534 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14535 make a stack frame. Instead use parm save area as a temp.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14537 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14539 Don't make a stack frame for parent, use parm save area.
14540 Increase child stack frame to 112 bytes. Don't save unused reg,
14541 and adjust reg usage. Set up cfi on error recovery and
14542 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14544 (__makecontext): Add dummy nop after jump to exit.
14545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14546 Use correct parm save area and cr save, reduce stack frame.
14547 Correct cfi for possible PSEUDO_RET frame setup.
14548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14549 Branch to local label emitted by PSEUDO_RET rather than
14550 __syscall_error.
14551
02637374
AS
145522010-08-12 Andreas Schwab <schwab@redhat.com>
14553
14554 [BZ #11904]
14555 * locale/programs/locale.c (print_assignment): New function.
14556 (show_locale_vars): Use it.
14557
c3e2f19b
UD
145582010-08-11 Ulrich Drepper <drepper@redhat.com>
14559
3cdaa6ad
UD
14560 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14561 field.
14562 (struct statfs64): Likewise.
14563 (_STATFS_F_FLAGS): Define.
14564 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14565 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14566 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14567 (ST_VALID): Define locally.
14568 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14569 __statvfs_getflags, use the provided value.
14570 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14571 __ASSUME_STATFS_F_FLAGS.
14572
754f7da3
UD
14573 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14574
10b3bedc
UD
14575 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14576 Add sys/fanotify.h.
14577 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14578 fanotify_mask for GLIBC_2.13.
14579 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14580 fanotify_init and fanotify_mark.
14581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14582 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14583
c08fb0d7
UD
14584 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14585 Add prlimit.
14586 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14587 prlimit64 for GLIBC_2.13.
14588 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14589 prlimit64.
14590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14591 syscall.
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14593 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14594 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14595 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14596 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14597 add prlimit alias.
14598 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14599
15bac72b
UD
14600 [BZ #11903]
14601 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14602 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14603
c3e2f19b
UD
14604 * nss/Makefile: Add rules to build and run tst-nss-test1.
14605 * shlib-versions: Add entry for libnss_test1.
14606 * nss/nss_test1.c: New file.
14607 * nss/tst-nss-test1.c: New file.
14608
14609 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14610 (__nss_configure_lookup): Set appropriate entry in
14611 __nss_configure_lookup to true.
14612 * nss/nsswitch.h: Define enum with indeces of databases in
14613 databases and __nss_database_custom arrays. Declare
14614 __nss_database_custom.
14615 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14616 to avoid using nscd when custom rules are installed.
14617 * nss/getXXbyYY_r.c: Likewise.
14618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14619
14620 * nss/nss_files/files-parse.c: Whitespace fixes.
14621
f15ce4d8
UD
146222010-08-09 Ulrich Drepper <drepper@redhat.com>
14623
14624 [BZ #11883]
14625 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14626 * posix/fnmatch_loop.c: Likewise.
14627
d22e4cc9
AK
146282010-07-17 Andi Kleen <ak@linux.intel.com>
14629
14630 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14631 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14632 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14633 * Versions.def [GLIBC_2.13]: Add.
14634
805bc17d
UD
146352010-08-06 Ulrich Drepper <drepper@redhat.com>
14636
14637 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14638 Also fail if tpwd after pwuid call is NULL.
14639
5a42321d
ST
146402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14641
14642 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14643 when converting to ms.
14644
fd3ebeda
ST
146452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14646
14647 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14648 EOPNOTSUPP errors with ENOTTY.
14649 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14650 EOPNOTSUPP errors with ENOTTY.
14651
73507d3a
UD
146522010-07-31 Ulrich Drepper <drepper@redhat.com>
14653
14654 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14655 Add strcasecmp_l-ssse3.
14656 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14657 strcasecmp.
14658 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14659 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14660 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14661
fe36dd02
UD
146622010-07-30 Ulrich Drepper <drepper@redhat.com>
14663
66f6765a
UD
14664 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14665
42e08a54
UD
14666 * string/Makefile (strop-tests): Add strcasecmp.
14667 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14668 strcasecmp_l-nonascii.
14669 (gen-as-const-headers): Add locale-defines.sym.
14670 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14671 * sysdeps/x86_64/strcasecmp.S: New file.
14672 * sysdeps/x86_64/strcasecmp_l.S: New file.
14673 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14674 * sysdeps/x86_64/locale-defines.sym: New file.
14675 * string/test-strcasecmp.c: New file.
14676
fe36dd02
UD
14677 * string/test-strcasestr.c: Test both ends of the range of characters.
14678 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14679
48cbc0d6
RM
146802010-07-29 Roland McGrath <roland@redhat.com>
14681
76e6d6bc 14682 [BZ #11856]
48cbc0d6
RM
14683 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14684
880113d9
UD
146852010-07-27 Ulrich Drepper <drepper@redhat.com>
14686
14687 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14688 for ld.so.
14689
deb9cabb
AS
146902010-07-27 Andreas Schwab <schwab@redhat.com>
14691
14692 * manual/memory.texi (Malloc Tunable Parameters): Document
14693 M_PERTURB.
14694
1c7570ff
RM
146952010-07-26 Roland McGrath <roland@redhat.com>
14696
14697 [BZ #11840]
14698 * configure.in (-fgnu89-inline check): Set and substitute
14699 gnu89_inline, not libc_cv_gnu89_inline.
14700 * configure: Regenerated.
14701 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14702
24fb0f88
UD
147032010-07-26 Ulrich Drepper <drepper@redhat.com>
14704
14705 * string/test-strnlen.c: New file.
14706 * string/Makefile (strop-tests): Add strnlen.
14707 * string/tester.c (test_strnlen): Add a few more test cases.
14708 * string/tst-strlen.c: Better error reporting.
14709
14710 * sysdeps/x86_64/strnlen.S: New file.
14711
8e96b93a
UD
147122010-07-24 Ulrich Drepper <drepper@redhat.com>
14713
14714 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14715 lower-latency instructions.
14716
dbc676d4
UD
147172010-07-23 Ulrich Drepper <drepper@redhat.com>
14718
14719 * string/test-strcasestr.c: New file.
14720 * string/test-strstr.c: New file.
14721 * string/Makefile (strop-tests): Add strstr and strcasestr.
14722 * string/str-two-way.h: Don't undefine MAX.
14723 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14724
f6a31e0e
AS
147252010-07-21 Andreas Schwab <schwab@redhat.com>
14726
14727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14728 strcasestr-nonascii.
14729 (CFLAGS-strcasestr-nonascii.c): Define.
14730 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14731 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14732 Remove unused attribute.
14733
5dbc3b6c
RM
147342010-07-20 Roland McGrath <roland@redhat.com>
14735
14736 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14737 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14738 ld.so.cache was broken. With it, there is no way to disable dsocaps
14739 like LD_HWCAP_MASK can disable hwcaps.
14740
23d101d8
EPM
147412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14742
14743 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14744
cc9f2e47
UD
147452010-07-16 Ulrich Drepper <drepper@redhat.com>
14746
14747 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14748 call in strcasestr.
14749 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14750 __strcasestr_sse42_nonascii.
14751 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14752 strcasestr-nonascii.c.
14753 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14754
77c1b069
LM
147552010-06-15 Luis Machado <luisgpm@br.ibm.com>
14756
14757 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14759 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14760 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14761
440566c3
UD
147622010-07-09 Ulrich Drepper <drepper@redhat.com>
14763
14764 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14765 fcntl.
14766
5be9d05d
AS
147672010-07-06 Andreas Schwab <schwab@redhat.com>
14768
c30b7ee2 14769 [BZ #11577]
5be9d05d
AS
14770 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14771 dl_signal_cerror.
14772
8a492a67
UD
147732010-07-06 Ulrich Drepper <drepper@redhat.com>
14774
14775 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14776 _PC_PIPE_BUF using F_GETPIPE_SZ.
14777
713df3d5
RM
147782010-07-05 Roland McGrath <roland@redhat.com>
14779
14780 * manual/arith.texi (Rounding Functions): Fix rint description
14781 implicit in round description.
14782
702e8f14
UD
147832010-07-02 Ulrich Drepper <drepper@redhat.com>
14784
14785 * elf/Makefile: Fix linking for a few tests to make recent linker
14786 happy.
14787
52ed8be9
AS
147882010-06-30 Andreas Schwab <schwab@redhat.com>
14789
14790 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14791 $(common-objpfx)libc_nonshared.a.
14792
f47c9a11
LM
147932010-06-21 Luis Machado <luisgpm@br.ibm.com>
14794
14795 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14796 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14797 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14798 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14799 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14800 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14801 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14802 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14817 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14818 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14819 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14820 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14821 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14822 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14823 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14824 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14825 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14826 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14827 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14828 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14843
6fb8cbcb
L
148442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14845
14846 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14847 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14848 * string/memmove.c (memmove): Renamed to ...
14849 (MEMMOVE): ...this. Default to memmove.
14850 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14851 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14852 (END_CHK): Define.
14853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14854 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14855 mempcpy-ssse3-back memmove-ssse3-back.
14856 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14857 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14858 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14859 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14860 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14861 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14862 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14863 * sysdeps/x86_64/multiarch/memmove.c: New file.
14864 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14865 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14866 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14867 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14868 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14870 Define.
14871 (index_Fast_Copy_Backward): Define.
14872 (HAS_ARCH_FEATURE): Define.
14873 (HAS_FAST_REP_STRING): Define.
14874 (HAS_FAST_COPY_BACKWARD): Define.
14875
4e733bac 148762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14877
14878 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14879 Restore proper fallback handling.
14880
63c4ed22
UD
148812010-06-19 Ulrich Drepper <drepper@redhat.com>
14882
ac2b484c
UD
14883 [BZ #11701]
14884 * posix/group_member.c (__group_member): Correct checking loop.
14885
63c4ed22
UD
14886 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14887 OOM in getpwuid_r correctly. Return error number when the caller
14888 should return, otherwise -1.
14889 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14890 call returning > 0 value.
14891 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14892
765ade4b
AS
148932010-06-07 Andreas Schwab <schwab@redhat.com>
14894
14895 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14896 libc_nonshared.a from targets in modules-names.
14897
80da2e09
KS
148982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14899
14900 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14901 requires it.
14902
158db122
LM
149032010-06-10 Luis Machado <luisgpm@br.ibm.com>
14904
14905 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14906 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14909
caa78cf8
AS
149102010-06-02 Andreas Schwab <schwab@redhat.com>
14911
14912 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14913
b2ef2c01
UD
149142010-06-14 Ulrich Drepper <drepper@redhat.com>
14915
14916 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14917 and F_GETPIPE_SZ.
14918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14919 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14923 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14924
fbd643b6
RM
149252010-06-14 Roland McGrath <roland@redhat.com>
14926
14927 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14928
f32f2869
JJ
149292010-06-07 Jakub Jelinek <jakub@redhat.com>
14930
14931 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14932 __REDIRECT followed by __THROW.
14933 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14934 * posix/getopt.h (getopt): Likewise.
14935
2a50c078
EPM
149362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14937
14938 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14939 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14940 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14941 in AT_FLAGS.
14942 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14943 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14944
eb5ad2eb
LM
149452010-05-28 Luis Machado <luisgpm@br.ibm.com>
14946
14947 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14948
3c88fe1e
L
149492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14950
14951 [BZ #11640]
14952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14953 Properly check family and model.
14954
d2f73151
TY
149552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14956
14957 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14958
ebd2e13d
LM
149592010-05-24 Luis Machado <luisgpm@br.ibm.com>
14960
14961 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14962
b32b8b45
UD
149632010-05-21 Ulrich Drepper <drepper@redhat.com>
14964
14965 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14966 symbol reference.
14967
9acbe24d
AS
149682010-05-19 Andreas Schwab <schwab@redhat.com>
14969
14970 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14971 symbol reference.
14972
f0ccf6ea
AS
149732010-05-21 Andreas Schwab <schwab@redhat.com>
14974
3d04ff3a
AS
14975 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14976 and internal_recvmmsg.
14977 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14978 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14979 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14980 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14981
f0ccf6ea
AS
14982 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14983 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14984 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14985
5b08ac57
AS
149862010-05-20 Andreas Schwab <schwab@redhat.com>
14987
14988 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14989
4828935d
LM
149902010-05-17 Luis Machado <luisgpm@br.ibm.com>
14991
14992 POWER7 optimizations.
14993 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14994 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14995
373d545e
UD
149962010-05-19 Ulrich Drepper <drepper@redhat.com>
14997
14998 * version.h: Update for 2.13 development version.
14999
21a2b1ae
AS
150002010-05-12 Andrew Stubbs <ams@codesourcery.com>
15001
15002 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15003 exceptions. Return 0.
15004
3f7dcb2b
RM
150052010-05-07 Roland McGrath <roland@redhat.com>
15006
15007 * elf/ldconfig.c (main): Add a const.
15008
5f24d53a 150092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15010
a160f8d8
UD
15011 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15012 (args_options): Add no-idn option.
15013 (ahosts_keys_int): Add idn_flags to ai_flags.
15014 (parse_option): Handle 'i' option to clear idn_flags.
15015
5f24d53a
UD
15016 * malloc/malloc.c (_int_free): Possible race in the most recently
15017 added check. Only act on the data if no current modification
15018 happened.
265bb1ce
UD
15019
15020See ChangeLog.17 for earlier changes.
This page took 2.037146 seconds and 5 git commands to generate.