]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix warnings in wcschr-c.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d8d1017e
AJ
12012-05-21 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4 only if [SHARED]. Add prototype for __wcschr_ia32.
5
6c7fb145
RM
62012-05-21 Roland McGrath <roland@hack.frob.com>
7
8 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9 of %rbp unmolested in the jmp_buf while mangling the low bits.
10 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11 unmolested high bits of %rbp while demangling the low bits.
12 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13
66274218
AJ
142012-05-21 Andreas Jaeger <aj@suse.de>
15
07c58f8f
AJ
16 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17 * sunrpc/svc_simple.c: Use it for registerrpc.
18 * sunrpc/xcrypt.c: Use it for passwd2des.
19
66274218
AJ
20 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21
61f65140
L
222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23
24 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25 Don't define if [__SYSCALL_WORDSIZE != 32].
26 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27 New macro.
28
5fefb436
AJ
292012-05-21 Bruno Haible <bruno@clisp.org>
30 Andreas Jaeger <aj@suse.de>
31
32 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34 inptr and inend for must_buffer_ch.
35 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37 * stdio-common/Makefile (tests): Remove bug15.
38 (bug15-ENV): Remove macro.
39 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40 anymore.
41
d8e272ab
AJ
422012-05-19 Andreas Jaeger <aj@suse.de>
43 Roland McGrath <roland@hack.frob.com>
44
45 * manual/contrib.texi: Completely rewritten. It contains now an
46 alphabetical list of contributors and their contributions.
47
4a56a162
RH
482012-05-21 Richard Henderson <rth@twiddle.net>
49
50 * misc/getauxval.c (__getauxval): Use unsigned long int.
51 * misc/sys/auxv.h: Include <sys/cdefs.h>.
52 (getauxval): Use unsigned long int.
53
d024d23c
L
542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
55
56 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57
cbc00a03
RM
582012-05-21 Roland McGrath <roland@hack.frob.com>
59
60 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62 __alignof__ (long double).
63
478143fa
AZ
642012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65
66 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67
c7683a6d
RH
682012-05-20 Richard Henderson <rth@twiddle.net>
69
70 * misc/getauxval.c: New file.
71 * misc/sys/auxv.h: New file.
72 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
73 (routines): Add getauxval.
74 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
76 * elf/dl-sysdep.c (_dl_auxv): Remove.
77 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
78 * elf/dl-support.c (_dl_auxv): New variable.
79 (_dl_aux_init): Initialize it.
80 * manual/startup.texi (Auxiliary Vector): New node.
81 * sysdeps/generic/bits/hwcap.h: New file.
82 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
83 * sysdeps/powerpc/sysdep.h: ... here. Include it.
84 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
85 * sysdeps/sparc/sysdep.h: ... here. Include it.
86 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
87 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
89 Update.
c7683a6d
RH
90 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
91 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
92 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
93 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
94 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
95 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
96 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
97 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
98
a6f1845d
AZ
992012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
100
101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
102
cbcbe830
DM
1032012-05-19 David S. Miller <davem@davemloft.net>
104
105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
106
e0b16cc2
JM
1072012-05-19 Joseph Myers <joseph@codesourcery.com>
108
109 [BZ #14123]
110 * math/s_ccosh.c: Include <float.h>
111 (__ccosh): Avoid internal overflow calculating sinh and cosh
112 values before multiplying by sin and cos values.
113 * math/s_ccoshf.c: Likewise.
114 * math/s_ccoshl.c: Likewise.
115 * math/s_csin.c: Likewise.
116 * math/s_csinf.c: Likewise.
117 * math/s_csinl.c: Likewise.
118 * math/s_csinh.c: Likewise.
119 * math/s_csinhf.c: Likewise.
120 * math/s_csinhl.c: Likewise.
121 * math/libm-test.inc (ccos_test): Add more tests.
122 (ccosh_test): Likewise.
123 (csin_test): Likewise.
124 (csinh_test): Likewise.
125 * sysdeps/i386/fpu/libm-test-ulps: Update.
126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
127
6ad13e08
L
1282012-05-19 H.J. Lu <hongjiu.lu@intel.com>
129
f66f0ce8
L
130 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
131 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
132
6ad13e08
L
133 * sysdeps/x86_64/x32/_itoa.h: Add comment.
134
b1d072a7
JM
1352012-05-19 Joseph Myers <joseph@codesourcery.com>
136
137 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
138 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
139 * sysdeps/powerpc/soft-fp/Versions: Likewise.
140 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
141 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
142 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
143 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
144 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
145 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
146 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
147 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
148 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
149 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
150 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
151 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
152 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
153 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
154 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
155 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
156 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
157 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
158 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
159 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
160 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
161 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
162 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
163 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
164 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
165 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
166 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
167 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
168
9eae47cb
AJ
1692012-05-18 Andreas Jaeger <aj@suse.de>
170
171 * csu/.gitignore: Delete.
172
bb07f69f
L
1732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
174
175 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
176 (timex): Use __syscall_slong_t.
177
e6bdb741
AJ
1782012-05-18 Andreas Jaeger <aj@suse.de>
179 Carlos O'Donell <carlos_odonell@mentor.com>
180
181 * manual/install.texi (Configuring and compiling): Update
182 description about files modified in the source directory.
183 * INSTALL: Regenerated.
184
1b74487e
L
1852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
186
187 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
188 value. Use "or" to set return value to -1.
189 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
190 negate return value.
191
a88b64b9
TMQMF
1922012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
193
194 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
195 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
196 failure if the compiler has Graphite support disabled.
197 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
198 Likewise.
199 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
200 CFLAGS-memmove.c): Likewise.
201 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
202 Likewise.
203
3707636e
L
2042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
205
610b8622
L
206 * sysdeps/x86_64/x32/_itoa.h: New file.
207
7cd195df
L
208 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
209 getdents system call only if kernel and user dirents have the
210 same d_ino and d_off.
211
94b07d20
L
212 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
213 LLONG_MAX != LONG_MAX.
214 (_itoa_word): Use _ITOA_WORD_TYPE on value.
215 (_fitoa_word): Likewise.
216
18298070
L
217 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
218 years.
219 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
220 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
221 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
222
553c7ea4
L
223 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
224 include <bits/wordsize.h>. Check __x86_64__ instead of
225 __WORDSIZE.
226 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
227 if __x86_64__ is defined. Use anonymous union on fpstate.
228
3707636e
L
229 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
230 anonymous union.
231
b53ef01a
AS
2322012-05-18 Andreas Schwab <schwab@linux-m68k.org>
233
37fb1dc0
AS
234 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
235 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
236 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
237 Refer to _rtld_local_ro instead of _rtld_global_ro.
238 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
239 Likewise.
240 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
241 Likewise.
242 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
243 Likewise.
244 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
245 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
246 of _rtld_global, and rtld_progname instead of _dl_argv[0].
247
b53ef01a
AS
248 * sysdeps/powerpc/powerpc32/dl-machine.c
249 (__elf_machine_runtime_setup) [PROF]: Don't reference
250 _dl_prof_resolve.
251
7a185db2
AJ
2522012-05-18 Andreas Jaeger <aj@suse.de>
253
254 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
255 function only available for GCCs before 3.4 since GCC 3.4
256 introduced a builtin.
257 (lrint): Likewise.
258 (llrintf): Likewise.
259 (llrint): Likewise.
260 (fmaxf): Likewise.
261 (fmax): Likewise.
262 (fminf): Likewise.
263 (fmin): Likewise.
264 (rint): Likewise.
265 (rintf): Likewise.
266 (nearbyint): Likewise.
267 (nearbyintf): Likewise.
268 (ceil): Likewise.
269 (ceilf): Likewise.
270 (floor): Likewise.
271 (floorf): Likewise.
272
3e5aef87
L
2732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
274
428bd707
L
275 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
276 on both fields and cast pointer to __syscall_ulong_t.
277
3e5aef87
L
278 * bits/types.h (__fsword_t): New type.
279 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
280 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
282 (__FSWORD_T_TYPE): Likewise.
283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
284 (__FSWORD_T_TYPE): Likewise.
285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
286 (__FSWORD_T_TYPE): Likewise.
287 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
288 (__FSWORD_T_TYPE): Likewise.
289 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
290 __SWORD_TYPE with __fsword_t.
291 (statfs64): Likewise.
292
1ba7c3dc
DM
2932012-05-17 David S. Miller <davem@davemloft.net>
294
295 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
296
59910343
AJ
2972012-05-17 Andreas Jaeger <aj@suse.de>
298
299 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
300 warning.
301
2e4c1e9e
L
3022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
303
304 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
305
de7f5ce7
AJ
3062012-05-17 Andreas Jaeger <aj@suse.de>
307
308 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
309 when it is used.
310
286abc3d
CM
3112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
312
313 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
314
477cc68e
L
3152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
316
317 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
318 * sysdeps/x86_64/tst-mallocalign1.c: New file.
319
1a0994f5
CD
3202012-05-17 Andreas Jaeger <aj@suse.de>
321 Carlos O'Donell <carlos_odonell@mentor.com>
322
323 [BZ #14059]
324 * sysdeps/x86_64/multiarch/init-arch.h
325 (bit_YMM_Usable): Rename to...
326 (bit_AVX_Usable): ... this.
327 (bit_FMA4_Usable): New macro.
328 (bit_XMM_state): New macro.
329 (bit_YMM_state): New macro.
330 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
331 [__ASSEMBLER__] (index_AVX_Usable): ... this.
332 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
333 (CPUID_OSXSAVE): New macro.
334 (CPUID_AVX): New macro.
335 (CPUID_FMA4): New macro.
336 (index_YMM_Usable): Rename to...
337 (index_AVX_Usable): ... this.
338 (HAS_AVX): Use HAS_ARCH_FEATURE.
339 (HAS_FMA4): Likewise.
340 (HAS_YMM_USABLE): Remove.
341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
342 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
343 are present.
344 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
345 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
346 * sysdeps/x86_64/multiarch/Makefile: Likewise.
347 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
348 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
349
0af797de
CM
3502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
351
352 * math/libm-test.c: Support platforms without multiple rounding modes.
353 * math/bug-nextafter.c: Support platforms without FP exceptions.
354 * math/bug-nexttoward.c: Likewise.
355 * math/test-fenv.c: Likewise.
356 * math/test-misc.c: Likewise.
357 * stdlib/bug-getcontext.c: Likewise.
358
e39745ff
AJ
3592012-05-17 Andreas Jaeger <aj@suse.de>
360
361 * manual/examples/search.c (critter_cmp): Change signature to
362 avoid warnings.
363 * manual/string.texi (Collation Functions): Likewise.
364
48970aba
L
3652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
366
367 * bits/types.h: Fold copyright years.
368 * bits/typesizes.h: Likewise.
369 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
370 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
371 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
372 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
373 * time/time.h: Likewise.
374
bedee953
PP
3752012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
376
377 [BZ #208]
378 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
379 in instead of returning them. Return void.
380 (__libc_mallinfo): Accumulate over all arenas.
381 (__malloc_stats): Adjust for change in int_mallinfo interface.
382
61653dfb
RM
3832012-05-16 Roland McGrath <roland@hack.frob.com>
384
30b99d79
RM
385 [BZ #10375]
386 * configure.in (NM): Add AC_CHECK_TOOL for it.
387 (libc_extra_cflags): New substituted variable.
388 Check for -fstack-protector being used implicitly.
389 * configure: Regenerated.
390 * config.make.in (config-extra-cflags): New variable,
391 gets @libc_extra_cflags@.
392 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
393
61653dfb
RM
394 [BZ #10375]
395 * configure.in: Check for _FORTIFY_SOURCE being predefined.
396 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
397 * configure: Regenerated.
398 * config.make.in (CPPUNDEFS): New substituted variable.
399 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
400 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
401 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
402
661768bb
L
4032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
404
405 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
406 (mq_attr): Use __syscall_slong_t.
407
d4261567
L
4082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
409
410 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
411 Check __x86_64__ instead of __WORDSIZE.
412 (_STAT_VER_LINUX): Likewise.
413 (stat): Check __x86_64__ instead of __WORDSIZE. Use
414 __syscall_ulong_t and __syscall_slong_t.
415 (stat64): Likewise.
416
cf3ff365
L
4172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
418
419 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
420
76cf3e4d
L
4212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
422
423 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
424
a637753a
L
4252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
426
427 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
428 __syscall_ulong_t.
429
d5e05119
L
430 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
431 include <bits/wordsize.h>. Check __x86_64__ instead of
432 __WORDSIZE.
433 (greg_t): Use "__extension__ long long int" if __x86_64__ is
434 defined.
435 (mcontext_t): Replace "unsigned long" with "unsigned long long".
436
f62ee380
L
437 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
438 include <bits/wordsize.h>. Check __x86_64__ instead of
439 __WORDSIZE.
440 (user_regs_struct): Use "__extension__ unsigned long long"
441 instead of "unsigned long" if __x86_64__ is defined.
442 (user): Likewise. Pad after pointer field if __ILP32__ is
443 defined.
444
4e124ced
JM
4452012-05-16 Joseph Myers <joseph@codesourcery.com>
446
6a3951a0
JM
447 * configure.in (makeinfo): Require version 4.5 or later. Allow
448 versions 5 to 9.
449 * configure: Regenerated.
450 * manual/install.texi (texinfo): Increase version requirement to
451 4.5 or later.
452 * INSTALL: Regenerated.
453
4e124ced
JM
454 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
455
953ca31a
L
4562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
457
458 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
459
617aca05
L
460 * sysdeps/x86_64/x32/ffs.c: New file.
461
5762f7ae
L
462 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
463 __syscall_ulong_t.
464 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
465 defined. Use __syscall_ulong_t.
466 (shminfo): Use __syscall_ulong_t.
467 (shm_info): Likewise.
468
a26b6856
L
469 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
470 __syscall_ulong_t.
471
cb2b9ef7
L
472 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
473 <bits/wordsize.h>.
474 (msgqnum_t): Use __syscall_ulong_t.
475 (msglen_t): Likewise.
476 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
477 __syscall_ulong_t.
478
34683bb0
L
479 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
480 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
481
84a68786
L
482 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
483
48baa5f1
L
484 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
485 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
486
180be88b
L
487 * sysvipc/sys/msg.h (msgbuf): Replace long int with
488 __syscall_slong_t.
489
5e90c8ad
L
490 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
491 include <bits/wordsize.h>. Check __x86_64__ instead of
492 __WORDSIZE.
493
23dfb58b
L
494 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
495 "unsigned long long int" if __x86_64__ is defined.
496 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
497
ce5d54b0
L
498 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
499 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
500 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
501
13dc9eac
L
502 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
503 <stdint.h>.
504 (GET_PC): Cast to uintptr_t first.
505 (GET_FRAME): Likewise.
506 (GET_STACK): Likewise.
507
a7895d15
L
508 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
509 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
510 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
511 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
512 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
513 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
514 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
515 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
516 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
517 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
518 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
519 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
520 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
521 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
522 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
523 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
524 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
525 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
526 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
527 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
528 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
529 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
530 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
531 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
532 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
533 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
534 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
535 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
536 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
537
656416c9
AS
5382012-05-16 Andreas Schwab <schwab@linux-m68k.org>
539
5bd66283
AS
540 * Makerules (+depfiles): Also collect depfiles from .oS in
541 $(extra-objs).
542 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
543 .oS, $(libnldbl-routines)).
544
656416c9
AS
545 * Makerules (native-compile-mkdep-flags): Define.
546 * sunrpc/Makefile (extra-objs): Add $(addprefix
547 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
548 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
549 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
550 calling $(make-target-directory).
551
a46f2169
L
5522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
553
554 * bits/types.h (__snseconds_t): Removed.
555 * time/time.h (struct timespec): Replace __snseconds_t with
556 __syscall_slong_t.
557 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
558 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
559 Likewise.
560 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
561 (__SNSECONDS_T_TYPE): Likewise.
562 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
563 (__SNSECONDS_T_TYPE): Likewise.
564 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
565 (__SNSECONDS_T_TYPE): Likewise.
566
6af6528b
L
5672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
568
569 * sysdeps/mach/hurd/bits/typesizes.h
570 (__SYSCALL_SLONG_TYPE): New macro.
571 (__SYSCALL_ULONG_TYPE): Likewise.
572
de986b56
L
5732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
574
575 * bits/types.h (__syscall_slong_t): New type.
576 (__syscall_ulong_t): Likewise.
577
578 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
579 (__SYSCALL_ULONG_TYPE): Likewise.
580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
581 (__SYSCALL_SLONG_TYPE): Likewise.
582 (__SYSCALL_ULONG_TYPE): Likewise.
583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
584 (__SYSCALL_SLONG_TYPE): Likewise.
585 (__SYSCALL_ULONG_TYPE): Likewise.
586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
587 (__SYSCALL_SLONG_TYPE): Likewise.
588 (__SYSCALL_ULONG_TYPE): Likewise.
589
85736dc7
L
5902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
591
592 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
593 Add sigaltstack-offsets.sym.
594 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
595 <sigaltstack-offsets.h>.
596 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
597 longjmp_msg pointer.
598 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
599 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
600 signal stack.
601 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
602
cc03b296
JM
6032012-05-15 Joseph Myers <joseph@codesourcery.com>
604
a9538892
JM
605 * elf/stackguard-macros.h: Remove file.
606 * sysdeps/generic/stackguard-macros.h: New file.
607 * sysdeps/i386/stackguard-macros.h: Likewise.
608 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
609 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
610 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
611 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
612 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
613 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
614 * sysdeps/x86_64/stackguard-macros.h: Likewise.
615 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
616 <elf/stackguard-macros.h>.
617
cc03b296
JM
618 [BZ #14109]
619 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
620 __aligned__ in attribute.
621 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
622 (gregset_t): Likewise.
623
93171016
L
6242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
625
626 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
627 * sysdeps/x86_64/64/Implies-after: Here. New file.
628 * sysdeps/x86_64/x32/Implies-after: New file.
629
d86813a0
L
6302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
631
632 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
633 and access return value for _dl_profile_fixup. Use R10_LP to
634 load frame size.
635
2953ec75
L
6362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
637
638 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
639
3b550e9e
L
6402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
641
642 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
643 * sysdeps/x86_64/x32/sysdep.h: New file.
644
eda41706
L
6452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
646
647 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
648 * sysdeps/x86_64/setjmp.S: Likewise.
649
9ea01d93
AZ
6502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
651
652 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
653 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
654 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
655 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
656 remove unused global constant.
657
02a91938
CM
6582012-05-15 Chris Metcalf <cmetcalf@tilera.com>
659
660 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
661 include of <not-cancel.h>.
662
6540185f
RM
6632012-05-15 Roland McGrath <roland@hack.frob.com>
664
665 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
666
509072a0
AJ
6672012-05-15 Jeff Law <law@redhat.com>
668 Andreas Jaeger <aj@suse.de>
669
670 [BZ #13594]
671 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
672 out from...
673 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
674 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
675 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
676 code changing __hst_map_handle.map.
677
ba75122d
RM
6782012-05-15 Roland McGrath <roland@hack.frob.com>
679
680 * configure.in (sysnames): Look for Implies-before and Implies-after
681 files.
682 * configure: Regenerated.
683
890d8bd8
L
6842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
685
686 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
687 8-byte data alignment with LP_SIZE alignment.
688
f6ee6623
L
6892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
690
691 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
692 into R10_LP.
693
ea2626f6
L
6942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
695
696 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
697
085f715e
L
6982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
699
700 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
701 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
702 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
703 Likewise.
704 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
705
be8498fc
L
7062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
707
708 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
709 (stackinfo_sub_sp): Likewise.
710
70bc83b9
L
7112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
712
713 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
714 RAX_LP.
715
9bc0b730
L
7162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
717
718 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
719 into R*_LP.
720
6d2850e7
L
7212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
722
723 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
724 sizes into R*_LP.
725
3cb84561
L
7262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
727
728 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
729
54e2ed81
L
7302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
731
732 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
733 into R11_LP and load __x86_64_shared_cache_size_half into
734 R8_LP.
735
8a17f349
L
7362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
737
738 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
739 R8_LP.
740
777b1eea
AZ
7412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
742
743 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
744 logb for POWER7.
745 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
746 logbf for POWER7.
747 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
748 logbl for POWER7.
749 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
750 powerpc32/power7/fpu/s_logb.c via #include.
751 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
752 powerpc32/power7/fpu/s_logbf.c via #include.
753 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
754 powerpc32/power7/fpu/s_logbl.c via #include.
755
d20d4ac2
JM
7562012-05-15 Joseph Myers <joseph@codesourcery.com>
757
758 * README.libm: Remove file.
759
6cdef1ab
L
7602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
761
762 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
763 count for x32. Use R*_LP and omit operand-size suffix.
764
0b254d8f
L
7652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
766
767 * shlib-versions: Move x86_64-.*-linux.* entries to ...
768 * sysdeps/x86_64/64/shlib-versions: Here. New file.
769 * sysdeps/x86_64/x32/shlib-versions: New file.
770
ceb809dc
RM
7712012-05-14 Roland McGrath <roland@hack.frob.com>
772
773 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
774 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
775 Use _dl_fatal_printf instead.
776
37f1abd4
JM
7772012-05-14 Joseph Myers <joseph@codesourcery.com>
778
779 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
780 set if not set by the user. Do not allow for being unset.
781 * sysdeps/unix/sysv/linux/configure: Regenerated.
782
11de3a33
L
7832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
784
785 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
786 the `q' suffix from lea and replace .quad with ASM_ADDR.
787
e02f153a
L
7882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
789
790 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
791 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
792 instead of $17.
793 (PTR_DEMANGLE): Likewise.
794
520ae0fd
L
7952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
796
797 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
798 (LP_OP): Likewise.
799 (ASM_ADDR): Likewise.
800 (RAX_LP): Likewise.
801 (RBP_LP): Likewise.
802 (RBX_LP): Likewise.
803 (RCX_LP): Likewise.
804 (RDI_LP): Likewise.
805 (RSI_LP): Likewise.
806 (RSP_LP): Likewise.
807 (R8_LP): Likewise.
808 (R9_LP): Likewise.
809 (R10_LP): Likewise.
810 (R10_LP): Likewise.
811 (R11_LP): Likewise.
812 (R12_LP): Likewise.
813 (R13_LP): Likewise.
814 (R14_LP): Likewise.
815 (R15_LP): Likewise.
816
b985be81
L
8172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
818
819 * sysdeps/x86_64/x32/dl-machine.h: New file.
820
6a4888ff
AJ
8212012-05-14 Andreas Jaeger <aj@suse.de>
822
823 * manual/Makefile (subdir): Remove export of subdir.
824 (all): Remove target.
825 (.PHONY): Remove all from list.
826 (mkinstalldirs): Remove.
827 (.PHONY): Remove installdirs from list.
828 ($(inst_infodir)/libc.info): Use make-target-directory.
829 (installdirs): Remove.
830 (subdir_%): Remove.
831 (glibc-targets): Remove.
832 (lib): Remove.
833 (stubs): Remove.
834 ($(objpfx)stubs ../po/manual.pot): Remove.
835 ($(objpfx)stamp%): Remove.
836 (make-target-directory): Remove.
837 (subdir_install): Remove.
838 (routines): Remove.
839 (aux): Remove.
840 (sources): Remove.
841 (objects): Remove.
842 (headers): Remove.
843
844 [BZ #13750]
845 * manual/.gitignore: Remove, it's not needed anymore.
846 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
847 all files in it.
848 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
849 directory.
850 (texis): Renamed to $(objpfx)texis.
851 (texis-path): New, contains path to generated files.
852 (chapters.%): Use texis-path for complete path, add extra argument
853 libc-texinfo.sh.
854 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
855 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
856 (summary,texi, stamp-summary): Use complete path of
857 files. Generate files in build dir.
858 (dir-add.texi): Build in build dir.
859 (libm-err.texi,stamp-libm-err): Likewise.
860 (version.texi, stamp-version): Likewise.
861 (.%c.texi): Likewise.
862 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
863 (mostlyclean): Remove target.
864 (realclean): Remove target.
865 (generated): Add new variable with contents from mostlyclean and
866 realclean, remove entries duplicated in common-mostlyclean, add
867 stamp-libm-err and stamp-version.
868 (generated-dirs): Add libc directory.
869 ($(inst_infodir)/libc.info): Install files from build dir.
870
871 * manual/install.texi (Configuring and compiling): Adjust since
872 the info files are not part of the tar ball anymore.
873
7ac77294
AJ
8742012-05-14 Andreas Jaeger <aj@suse.de>
875
876 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
877 variable.
878
ffb7875d
JM
8792012-05-14 Joseph Myers <joseph@codesourcery.com>
880
881 [BZ #13717]
882 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
883 to 2.2.0 where earlier.
884 * sysdeps/unix/sysv/linux/configure: Regenerated.
885 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
886 Remove conditional code.
887 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
888 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
889 Remove conditional code.
890 [!__NR_lchown]: Likewise.
891 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
892 [__NR_lchown]: Likewise.
893 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
894 comment referencing __ASSUME_LCHOWN_SYSCALL.
895 * sysdeps/unix/sysv/linux/i386/sigaction.c
896 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
897 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
898 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
899 Remove conditional code.
900 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
901 (__protocol_available): Remove #if 0 code.
902 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
903 conditional code.
904 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
905 * sysdeps/unix/sysv/linux/kernel-features.h
906 (__ASSUME_GETCWD_SYSCALL): Don't define.
907 (__ASSUME_REALTIME_SIGNALS): Likewise.
908 (__ASSUME_PREAD_SYSCALL): Likewise.
909 (__ASSUME_PWRITE_SYSCALL): Likewise.
910 (__ASSUME_POLL_SYSCALL): Likewise.
911 (__ASSUME_LCHOWN_SYSCALL): Likewise.
912 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
913 non-SPARC.
914 (__ASSUME_SIOCGIFNAME): Don't define.
915 (__ASSUME_MSG_NOSIGNAL): Likewise.
916 (__ASSUME_SENDFILE): Define unconditionally.
917 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
918 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
919 conditional code.
920 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
921 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
922 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
923 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
924 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
925 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
926 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
928 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
929 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
931 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
932 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
934 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
935 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
937 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
940 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
943 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
946 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
947 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
949 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
951 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
952 Remove conditional code.
953 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
954 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
955 Remove conditional code.
956 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
957 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
958 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
959 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
960 Remove conditional code.
961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
962 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
963 Remove conditional code.
964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
965 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
966 Remove conditional code.
967 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
968 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
969 Remove conditional code.
970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
971 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
972 Remove conditional code.
973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
974 * sysdeps/unix/sysv/linux/sh/pwrite64.c
975 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
977 * sysdeps/unix/sysv/linux/sigaction.c
978 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
979 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
980 * sysdeps/unix/sysv/linux/sigpending.c
981 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
982 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
983 * sysdeps/unix/sysv/linux/sigprocmask.c
984 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
985 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
986 * sysdeps/unix/sysv/linux/sigsuspend.c
987 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
988 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
989 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
990 (__libc_missing_rt_sigs): Remove.
991 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
992 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
993 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
994 Remove conditional code.
995 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
996 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
997 return 1.
998 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
999 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1000 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1001 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1002
1bfb7291
AJ
10032012-05-14 Andreas Jaeger <aj@suse.de>
1004
caae5a81
AJ
1005 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1006 it's not used in glibc.
1007 (__coshm1): Likewise.
1008 (__acosh1p): Likewise.
1009 (__sgn): Likewise.
1010
1bfb7291
AJ
1011 * manual/string.texi (Copying and Concatenation): Add missing
1012 variable in concat example.
1013 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1014
c044d724
L
10152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1016
144c5467 1017 [BZ #14103]
c044d724
L
1018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1019 __builtin_clzl with __builtin_clzll.
1020
2523c62b
L
10212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1022
1023 [BZ #14104]
1024 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1025 libc_freeres_ptr.
1026
d7bb4c42
LD
10272012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1028
1029 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1030 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1031 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1032 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1033
9dc4e1fb
MF
10342012-05-14 Mike Frysinger <vapier@gentoo.org>
1035
1036 * NEWS: Update ia64 info.
1037
c7df0112
AS
10382012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1039
1040 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1041 used as bcopy.
1042
dc70356c
TS
10432012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1044
1045 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1046 * sysdeps/unix/syscalls.list (dup3): Likewise.
1047 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1048 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1049
9fb1a21f
L
10502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1051
1052 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1053 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1054
4822a2a5
L
10552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1056
1057 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1058 thread pointer.
1059 (TLS_IE): Use mov/add instead of movq/addq to load thread
1060 pointer.
1061 (TLS_GD_PREFIX): New.
1062 (TLS_GD): Use it.
1063
842b81d6
DM
10642012-05-11 David S. Miller <davem@davemloft.net>
1065
1066 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1067 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1068 (_FPU_SETCW): Likewise.
1069
1cf463cd
L
10702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1071
1072 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1073 is 32-byte aligned.
1074
60cc4a18
AS
10752012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1076
1077 [BZ #11837]
1078 * iconvdata/gb18030.c: Update tables.
1079 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1080 characters specially.
1081 (BODY for TO_LOOP): Add encoding of missing ranges.
1082
febb44a4
TS
10832012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1084
1085 [BZ #13673]
1086 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1087 * sysdeps/mach/hurd/dup3.c: Likewise.
1088 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1089 * sysdeps/powerpc/memmove.c:: Likewise.
1090
0a10fb9e
L
10912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1094 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1095
df8a552f
L
10962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1097
1098 * elf/elf.h (R_X86_64_RELATIVE64): New.
1099 (R_X86_64_NUM): Updated.
1100 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1101 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1102 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1103 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1104 tst-quad1pie tst-quad2pie
1105 (modules-names): Add tst-quadmod1 tst-quadmod2.
1106 ($(objpfx)tst-quad1): New dependency.
1107 ($(objpfx)tst-quad2): Likewise.
1108 ($(objpfx)tst-quad1pie): Likewise.
1109 ($(objpfx)tst-quad2pie): Likewise.
1110 * sysdeps/x86_64/tst-quad1.c: New file.
1111 * sysdeps/x86_64/tst-quad1pie.c: New file.
1112 * sysdeps/x86_64/tst-quad2.c: Likewise.
1113 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1114 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1115 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1116 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1117 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1118
f34d6f84
ST
11192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1120
f42d41d1
ST
1121 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1122 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1123 * streams/stropts.h (t_scalar_t): Define type.
1124
3c3571fc
ST
1125 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1126 (_PATH_PRESERVE): Set to "/var/lib".
1127 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1128
61f06bd3
ST
1129 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1130 instead of int.
1131
918d4d71
ST
1132 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1133 if __dir_mkfile succeeded.
1134
f34d6f84
ST
1135 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1136 checking for _hurd_dtablesize. Unlock it right after having
1137 finished _hurd_dtable allocation.
1138
10589b4a
TS
11392012-05-10 Thomas Schwinge <thomas@schwinge.name>
1140
674cdbc7
TS
1141 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1142 * sysdeps/mach/hurd/configure: Regenerated.
1143 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1144 special-casing to...
1145 * sysdeps/gnu/configure.in: ... this new file.
1146 * sysdeps/unix/sysv/linux/configure: Regenerated.
1147 * sysdeps/gnu/configure: New generated file.
1148
8e41b99f
TS
1149 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1150 for Linux: use nsec instead of usec, as well as:
1151 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1152 members of type struct timespec.
1153 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1154 New macros.
1155 (struct stat64): Likewise.
1156 (_STATBUF_ST_NSEC): New macro.
1157 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1158
10589b4a
TS
1159 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1160 __strtoul_internal rather than strtoul.
1161
63643c85
PT
11622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1163
1164 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1165 and reject them.
1166
3faebe6a
ST
11672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1168
1169 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1170 which preserves existing values.
1171 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1172
c6474b07
PT
11732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1174
1175 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1176 TIMEOUT values. Return EINVAL for NFDS values either negative or
1177 greater than FD_SETSIZE.
1178
1043890b
ST
11792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1180
1181 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1182 allocated, call __vm_protect to finish enabling the existing space, and
1183 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1184 allocate the remainder.
1185
37ed8b9b
PT
11862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1187
1188 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1189 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1190
db653660
ST
11912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1192
37ed8b9b
PT
1193 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1194 sysdeps/mach/hurd/readlink.c.
b29d4053 1195
db653660
ST
1196 * posix/tst-sysconf.c (posix_options): Only use
1197 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1198 _POSIX_SYNCHRONIZED_IO when they are defined
1199 * sysdeps/mach/hurd/bits/posix_opt.h:
1200 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1201 (_XOPEN_REALTIME): Undefine macro.
1202 (_XOPEN_REALTIME_THREADS): Undefine macro.
1203 (_XOPEN_SHM): Undefine macro.
1204 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1205 macro to -1.
1206 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1207 macro to -1.
1208 (_POSIX_ASYNC_IO): Undefine macro.
1209 (_POSIX_PRIORITIZED_IO): Undefine macro.
1210 (_POSIX_SPIN_LOCKS): Define macro to -1.
1211
ee16e894
ST
1212 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1213 SA_NODEFER, SA_RESETHAND.
1214 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1215 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1216 F_DUPFD_CLOEXEC.
1217
6103ae3b
TS
12182012-05-10 Thomas Schwinge <thomas@schwinge.name>
1219
1220 * elf/Makefile (pldd-modules): Define unconditionally.
1221
80b4e5f3
TS
12222012-05-10 Thomas Schwinge <thomas@schwinge.name>
1223
1224 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1225
edadcbd6
ST
12262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1227
1228 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1229 Return ENOENT when name is empty.
1230 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1231
80694780
TS
12322012-05-10 Thomas Schwinge <thomas@schwinge.name>
1233
1792c087
TS
1234 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1235
80694780
TS
1236 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1237
6b645f0d
ST
12382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1239
80694780
TS
1240 Fix mlock in all cases except non-readable pages.
1241 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1242 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1243
6b645f0d
ST
1244 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1245 (__mkdir): When path is `/', just fail with EEXIST.
1246 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1247
e468f8a3
TS
12482012-05-10 Thomas Schwinge <thomas@schwinge.name>
1249
1250 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1251 <sys/uio.h> (for writev).
1252 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1253 and <sys/param.h> (for MIN).
1254
a4186cff
PT
12552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1256
1257 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1258 REQUESTED_TIME. Properly set the remaining time and return EINTR
1259 if interrupted.
1260
510bbf14
TS
12612012-05-10 Thomas Schwinge <thomas@schwinge.name>
1262
1263 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1264 Depend on against $(link-rpcuserlibs).
1265
5d5722e8
ST
12662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1267
a4186cff
PT
1268 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1269 (__libc_stack_end): Do not use attribute_relro.
1270 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1271 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1272 to libthread-provided value.
a4186cff
PT
1273 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1274 attribute_relro.
5d5722e8 1275
37233df9
TS
12762012-05-10 Thomas Schwinge <thomas@schwinge.name>
1277
be971a2b
TS
1278 [BZ #3748]
1279 * bits/libc-lock.h (__libc_once_get): New macro.
1280 * sysdeps/mach/bits/libc-lock.h: Likewise.
1281 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1282 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1283 instead of using implementation details.
1284
37233df9
TS
1285 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1286 * libio/freopen.c: Likewise.
1287 * libio/freopen64.c: Likewise.
1288 * misc/syslog.c: Likewise.
1289 * nscd/connections.c: Likewise.
1290 * nscd/netgroupcache.c: Likewise.
1291 * sysdeps/posix/getcwd.c: Likewise.
1292
38de94a5
RM
12932012-05-10 Roland McGrath <roland@hack.frob.com>
1294
1295 * math/w_ilogbf.c: Add #include <limits.h>.
1296
67530489
ST
12972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1298
a4186cff 1299 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1300 path instead of returning without unlocking.
1301
67530489
ST
1302 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1303 immediate-write ioctls.
1304 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1305
5aa3a74a
TS
13062012-05-10 Thomas Schwinge <thomas@schwinge.name>
1307
18bad2ae
TS
1308 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1309 __builtin_frame_address instead of making assumptions about the
1310 location of the return address relative to DATA. Force early load of
1311 the return address.
1312 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1313 __builtin_frame_address.
1314
5aa3a74a
TS
1315 dup3 for GNU Hurd.
1316 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1317 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1318 implement dup3 and do some further code clean-ups.
1319 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1320 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1321
ecd0de9a
ST
13222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1323
cd9fa985
ST
1324 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1325
a4186cff
PT
1326 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1327 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1328 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1329 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1330 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1331 d->port.lock.
802ca5a5 1332
a4186cff
PT
1333 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1334 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1335 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1336
bcf55240
TS
13372012-05-10 Thomas Schwinge <thomas@schwinge.name>
1338
6960eb42
TS
1339 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1340 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1341 definitions.
1342
eb43375f
TS
1343 accept4 for GNU Hurd.
1344 * include/sys/socket.h (__libc_accept4): New prototype.
1345 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1346 to implement __libc_accept4.
1347 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1348 __libc_accept4.
1349 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1350
bcf55240
TS
1351 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1352 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1353 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1354 signal-defines.sym.
1355
6178c55b
ST
13562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1357
a4186cff 1358 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1359
6f080c2f
TS
13602012-05-10 Thomas Schwinge <thomas@schwinge.name>
1361
1362 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1363 assertion on O_CLOEXEC flag.
1364 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1365 * hurd/intern-fd.c: Likewise.
1366 * hurd/port2fd.c: Likewise.
1367
bcfe3a54
ST
13682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1369
1370 [BZ #3906]
1371 * bits/in.h (IPV6_PKTINFO): Define new macro.
1372 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1373
89c9aa49
AZ
13742012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1375
1376 [BZ #13954]
1377 [BZ #13955]
1378 [BZ #13956]
1379 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1380 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1381 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1382 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1383 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1384 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1385 * math/libm-test.inc (logb_test) : Additional logb tests.
1386
021db4be
AJ
13872012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1388 Andreas Jaeger <aj@suse.de>
1389
1390 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1391 * configure: Regenerated.
1392 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1393 * config.make.in (link-obsolete-rpc): New substituted variable.
1394 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1395 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1396 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1397 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1398 so that libc.a contains the symbols.
1399 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1400 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1401 * sunrpc/auth_none.c: Likewise.
1402 * sunrpc/auth_unix.c: Likewise.
1403 * sunrpc/authdes_prot.c: Likewise.
1404 * sunrpc/authuxprot.c: Likewise.
1405 * sunrpc/clnt_gen.c: Likewise.
1406 * sunrpc/clnt_perr.c: Likewise.
1407 * sunrpc/clnt_raw.c: Likewise.
1408 * sunrpc/clnt_simp.c: Likewise.
1409 * sunrpc/clnt_tcp.c: Likewise.
1410 * sunrpc/clnt_udp.c: Likewise.
1411 * sunrpc/clnt_unix.c: Likewise.
1412 * sunrpc/des_crypt.c: Likewise.
1413 * sunrpc/des_soft.c: Likewise.
1414 * sunrpc/get_myaddr.c: Likewise.
1415 * sunrpc/key_call.c: Likewise.
1416 * sunrpc/key_prot.c: Likewise.
1417 * sunrpc/netname.c: Likewise.
1418 * sunrpc/pm_getmaps.c: Likewise.
1419 * sunrpc/pm_getport.c: Likewise.
1420 * sunrpc/pmap_clnt.c: Likewise.
1421 * sunrpc/pmap_prot.c: Likewise.
1422 * sunrpc/pmap_prot2.c: Likewise.
1423 * sunrpc/pmap_rmt.c: Likewise.
1424 * sunrpc/publickey.c: Likewise.
1425 * sunrpc/rpc_cmsg.c: Likewise.
1426 * sunrpc/rpc_common.c: Likewise.
1427 * sunrpc/rpc_dtable.c: Likewise.
1428 * sunrpc/rpc_prot.c: Likewise.
1429 * sunrpc/rpc_thread.c: Likewise.
1430 * sunrpc/rtime.c: Likewise.
1431 * sunrpc/svc.c: Likewise.
1432 * sunrpc/svc_auth.c: Likewise.
1433 * sunrpc/svc_raw.c: Likewise.
1434 * sunrpc/svc_run.c: Likewise.
1435 * sunrpc/svc_tcp.c: Likewise.
1436 * sunrpc/svc_udp.c: Likewise.
1437 * sunrpc/svc_unix.c: Likewise.
1438 * sunrpc/svcauth_des.c: Likewise.
1439 * sunrpc/xcrypt.c: Likewise.
1440 * sunrpc/xdr.c: Likewise.
1441 * sunrpc/xdr_array.c: Likewise.
1442 * sunrpc/xdr_float.c: Likewise.
1443 * sunrpc/xdr_intXX_t.c: Likewise.
1444 * sunrpc/xdr_mem.c: Likewise.
1445 * sunrpc/xdr_rec.c: Likewise.
1446 * sunrpc/xdr_ref.c: Likewise.
1447 * sunrpc/xdr_sizeof.c: Likewise.
1448 * sunrpc/xdr_stdio.c: Likewise.
1449
b5c086a2
RM
14502012-05-10 Roland McGrath <roland@hack.frob.com>
1451
1452 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1453 change. Update copyright years.
1454
6d74dd09
JM
14552012-05-10 Joseph Myers <joseph@codesourcery.com>
1456
1457 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1458
28e72501
MK
14592012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1460 Joseph Myers <joseph@codesourcery.com>
1461 Paul Pluzhnikov <ppluzhnikov@google.com>
1462
1463 [BZ #14012]
1464 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1465 requiring rpcgen.
1466 [cross-compiling] (extra-libs): Likewise.
1467 [cross-compiling] (extra-libs-others): Likewise.
1468 [cross-compiling] (librpcsvc-routines): Likewise.
1469 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1470 [cross-compiling] (omit-deps): Likewise.
1471 (sunrpc-CPPFLAGS): New variable.
1472 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1473 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1474 (cross-rpcgen-objs): New variable.
1475 (extra-objs): Append $(cross-rpcgen-objs).
1476 ($(cross-rpcgen-objs)): New rule.
1477 ($(objpfx)cross-rpcgen): Likewise.
1478 (rpcgen-cmd): Define to use $(built-program-file). Expand
1479 comment.
1480 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1481 ($(objpfx)x%.stmp): Likewise.
1482 * sunrpc/proto.h [IS_IN_build] (_): Define.
1483 [IS_IN_build] (_libc_intl_domainname): Likewise.
1484
c8c59454
L
14852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1486
1487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1488 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1489 and R_X86_64_TPOFF64.
1490
6f27cd16
JM
14912012-05-10 Joseph Myers <joseph@codesourcery.com>
1492
1493 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1494 sysdeps/unix/sysv/syscalls.list.
1495 (stime): Likewise.
1496 (utime): Likewise.
1497 * sysdeps/unix/sysv/syscalls.list: Remove file.
1498
02467e1c
PE
14992012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1500
1501 [BZ #3440]
1502 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1503 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1504 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1505 (__LC_IDENTIFICATION): Make these macros useful in #if
1506 expressions, as required by C99.
1507
da392631
AS
15082012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1509
1510 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1511 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1512 after this.
1513
8115f29b
L
15142012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1515
1516 * stdlib/longlong.h: Updated from GCC.
1517
bdd74070
AJ
15182012-05-09 Andreas Jaeger <aj@suse.de>
1519
edfe0dbe
AJ
1520 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1521 default is first entry.
1522 (run_mode): Set type.
1523 (main): Remove informal message about syslog.
1524 (options): Fix typo.
1525
bcfe3a54
ST
1526 [BZ #14053]
1527 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1528 to asm.
bcfe3a54
ST
1529 (lrint): Likewise.
1530 (llrintf): Likewise.
1531 (llrint): Likewise.
1532 (rint): Likewise.
1533 (rintf): Likewise.
1534 (nearbyint): Likewise.
1535 (nearbyintf): Likewise.
bdd74070 1536
91d8d69e
AJ
15372012-05-09 Andreas Jaeger <aj@suse.de>
1538 Pedro Alves <palves@redhat.com>
1539
1540 * nscd/nscd.c (run_mode): Use enum.
1541 (main): Cleanup coding style issue.
1542
bb90b80b
AJ
15432012-05-09 Alexandre Oliva <aoliva@redhat.com>
1544 Andreas Jaeger <aj@suse.de>
1545
bcfe3a54
ST
1546 * nscd/nscd.c (go_background): Replaced with...
1547 (run_mode): ... this.
bb90b80b 1548 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1549 (options): Add -F --foreground.
1550 (main): Implement it.
1551 (parse_opt): Parse it.
bb90b80b 1552
1a4b75a1
AJ
15532012-05-09 Andreas Jaeger <aj@suse.de>
1554
1555 [BZ #14083]
1556 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1557 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1558 -Wconversion warning.
1559 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1560 Likewise.
1561
b1cc2472
JM
15622012-05-09 Joseph Myers <joseph@codesourcery.com>
1563
1564 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1565 == 0.
1566 (LC_ALL): Use macro-int-constant.
1567 (LC_COLLATE): Likewise.
1568 (LC_CTYPE): Likewise.
1569 (LC_MESSAGES): Likewise.
1570 (LC_MONETARY): Likewise.
1571 (LC_NUMERIC): Likewise.
1572 (LC_TIME): Likewise.
1573 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1574 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1575 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1576 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1577 Specify type.
1578 [C99-based standards] (float_t): Expect type.
1579 [C99-based standards] (double_t): Expect type.
1580 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1581 type.
1582 [C99-based standards] (HUGE_VALL): Likewise.
1583 [C99-based standards] (INFINITY): Likewise.
1584 [C99-based standards] (NAN): Likewise.
1585 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1586 [C99-based standards] (FP_NAN): Likewise.
1587 [C99-based standards] (FP_NORMAL): Likewise.
1588 [C99-based standards] (FP_SUBNORMAL): Likewise.
1589 [C99-based standards] (FP_ZERO): Likewise.
1590 [C99-based standards] (FP_FAST_FMA): Use
1591 optional-macro-int-constant. Specify type. Require == 1.
1592 [C99-based standards] (FP_FAST_FMAF): Likewise.
1593 [C99-based standards] (FP_FAST_FMAL): Likewise.
1594 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1595 [C99-based standards] (FP_ILOGBNAN): Likewise.
1596 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1597 Specify type.
1598 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1599 [C99-based standards] (math_errhandling): Specify type.
1600 [ISO99 || ISO11] (signgam): Do not allow.
1601 [non-C99-based standards] (copysignf): Do not allow.
1602 [non-C99-based standards] (exp2f): Likewise.
1603 [non-C99-based standards] (log2f): Likewise.
1604 [non-C99-based standards] (modff): Allow.
1605 [non-C99-based standards] (erff): Do not allow.
1606 [non-C99-based standards] (erfcf): Likewise.
1607 [non-C99-based standards] (gammaf): Likewise.
1608 [non-C99-based standards] (hypotf): Likewise.
1609 [non-C99-based standards] (j0f): Likewise.
1610 [non-C99-based standards] (j1f): Likewise.
1611 [non-C99-based standards] (jnf): Likewise.
1612 [non-C99-based standards] (lgammaf): Likewise.
1613 [non-C99-based standards] (tgammaf): Likewise.
1614 [non-C99-based standards] (y0f): Likewise.
1615 [non-C99-based standards] (y1f): Likewise.
1616 [non-C99-based standards] (ynf): Likewise.
1617 [non-C99-based standards] (isnanf): Likewise.
1618 [non-C99-based standards] (acoshf): Likewise.
1619 [non-C99-based standards] (asinhf): Likewise.
1620 [non-C99-based standards] (atanhf): Likewise.
1621 [non-C99-based standards] (cbrtf): Likewise.
1622 [non-C99-based standards] (expm1f): Likewise.
1623 [non-C99-based standards] (ilogbf): Likewise.
1624 [non-C99-based standards] (log1pf): Likewise.
1625 [non-C99-based standards] (logbf): Likewise.
1626 [non-C99-based standards] (nextafterf): Likewise.
1627 [non-C99-based standards] (remainderf): Likewise.
1628 [non-C99-based standards] (rintf): Likewise.
1629 [non-C99-based standards] (scalbf): Likewise.
1630 [non-C99-based standards] (copysignl): Likewise.
1631 [non-C99-based standards] (exp2l): Likewise.
1632 [non-C99-based standards] (log2l): Likewise.
1633 [non-C99-based standards] (modfl): Allow.
1634 [non-C99-based standards] (erfl): Do not allow.
1635 [non-C99-based standards] (erfcl): Likewise.
1636 [non-C99-based standards] (gammal): Likewise.
1637 [non-C99-based standards] (hypotl): Likewise.
1638 [non-C99-based standards] (j0l): Likewise.
1639 [non-C99-based standards] (j1l): Likewise.
1640 [non-C99-based standards] (jnl): Likewise.
1641 [non-C99-based standards] (lgammal): Likewise.
1642 [non-C99-based standards] (tgammal): Likewise.
1643 [non-C99-based standards] (y0l): Likewise.
1644 [non-C99-based standards] (y1l): Likewise.
1645 [non-C99-based standards] (ynl): Likewise.
1646 [non-C99-based standards] (isnanl): Likewise.
1647 [non-C99-based standards] (acoshl): Likewise.
1648 [non-C99-based standards] (asinhl): Likewise.
1649 [non-C99-based standards] (atanhl): Likewise.
1650 [non-C99-based standards] (cbrtl): Likewise.
1651 [non-C99-based standards] (expm1l): Likewise.
1652 [non-C99-based standards] (ilogbl): Likewise.
1653 [non-C99-based standards] (log1pl): Likewise.
1654 [non-C99-based standards] (logbl): Likewise.
1655 [non-C99-based standards] (nextafterl): Likewise.
1656 [non-C99-based standards] (remainderl): Likewise.
1657 [non-C99-based standards] (rintl): Likewise.
1658 [non-C99-based standards] (scalbl): Likewise.
1659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1660 [non-C99-based standards] (FP_*): Do not allow.
1661 [C99-based standards] (FP_*): Change to
1662 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1663 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1664 allow.
1665 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1666 (SIG_ERR): Likewise.
1667 [X/Open-based standards] (SIG_HOLD): Likewise.
1668 (SIG_IGN): Likewise.
1669 (SIGABRT): Use macro-int-constant. Specify type. Require
1670 positive value.
1671 (SIGFPE): Likewise.
1672 (SIGILL): Likewise.
1673 (SIGINT): Likewise.
1674 (SIGSEGV): Likewise.
1675 (SIGTER): Likewise.
1676 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1677 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1678 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1679 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1680 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1681 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1682 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1683 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1684 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1685 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1686 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1687 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1688 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1689 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1690 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1691 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1692 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1693 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1694 [X/Open-based standards] (SIGTRAP): Likewise.
1695 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1696 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1697 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1698 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1699 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1700 allow.
1701
b9f1922d
IW
17022012-05-08 Ian Wienand <ianw@vmware.com>
1703
1704 [BZ #14080]
1705 * time/tzset.c (__tzset_parse_tz): Update default rules for
1706 daylight time changes in the Energy Policy Act of 2005.
1707
1db86e88
AJ
17082012-05-09 Andreas Jaeger <aj@suse.de>
1709
1710 [BZ #13983]
1711 * elf/ldconfig.c (parse_conf): Change string to make clear that
1712 ldconfig only issued a warning if ld.so.conf does not exist.
1713
dee4a4e3
DM
17142012-05-08 David S. Miller <davem@davemloft.net>
1715
ee0db190
DM
1716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1717 movxtod instead of popping the value on the stack.
1718
dee4a4e3
DM
1719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1720
6a43ec98
CD
17212012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1722
1723 * config.h.in: Add HAVE_ARM_PCS_VFP.
1724
05c2c961
RMG
17252012-05-08 Roland Mc Grath <roland@hack.frob.com>
1726
bcfe3a54
ST
1727 [BZ #13979]
1728 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1729 checking but the checks are disabled for any reason.
05c2c961 1730
4b30f61a
L
17312012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1732
1733 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1734 and ELF64_R_TYPE with ELFW(R_TYPE).
1735
eee2bc67
JM
17362012-05-08 Joseph Myers <joseph@codesourcery.com>
1737
7ea5391a
JM
1738 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1739 (ulimit): Likewise.
1740
eee2bc67
JM
1741 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1742 (settimeofday): Likewise.
1743
abb66a67
MF
17442012-05-08 Mike Frysinger <vapier@gentoo.org>
1745
1746 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1747 a struct th_u2 inside the union, and move tu_block/tu_code into
1748 a new th_u3 union of tu_block/tu_code inside of that. Move
1749 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1750 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1751 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1752 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1753 (th_stuff): Change to th_u1.tu_stuff.
1754 (th_data): Define.
1755 (th_msg): Change to th_u1.th_u2.tu_data.
1756
7f18b530
DM
17572012-05-07 David S. Miller <davem@davemloft.net>
1758
05760585
DM
1759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1760
7f18b530
DM
1761 [BZ #14074]
1762 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1763 (SETUP_PIC_REG): Use it.
1764 (SETUP_PIC_REG_LEAF): Use it.
1765
495fd99f
JM
17662012-05-07 Joseph Myers <joseph@codesourcery.com>
1767
1768 [BZ #13885]
1769 [BZ #13923]
1770 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1771 USE_AS_EXPM1L.
1772 (EXPL_FINITE): Likewise.
1773 (FLDLOG): Likewise.
1774 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1775 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1776 e_expl.S.
1777 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1778 USE_AS_EXPM1L.
1779 (EXPL_FINITE): Likewise.
1780 (FLDLOG): Likewise.
1781 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1782 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1783 e_expl.S.
1784 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1785 test of -max_value argument for long double.
1786 * sysdeps/i386/fpu/libm-test-ulps: Update.
1787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1788
6693d694
DM
17892012-05-06 David S. Miller <davem@davemloft.net>
1790
1791 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1792 quad soft-float symbols whose references which are compiler
1793 generated.
1794 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1795
6c23e11c
JM
17962012-05-06 Joseph Myers <joseph@codesourcery.com>
1797
d8b82cad
JM
1798 [BZ #13884]
1799 [BZ #13914]
1800 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1801 USE_AS_EXP10L.
1802 (EXPL_FINITE): Likewise.
1803 (FLDLOG): Likewise.
1804 (c0): Likewise.
1805 (c1): Likewise.
1806 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1807 Adjust comments for base varying.
1808 (__expl_finite): Change alias to EXPL_FINITE.
1809 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1810 e_expl.S.
1811 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1812 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1813 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1814 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1815 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1816 USE_AS_EXP10L.
1817 (EXPL_FINITE): Likewise.
1818 (FLDLOG): Likewise.
1819 (c0): Likewise.
1820 (c1): Likewise.
1821 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1822 Adjust comments for base varying.
1823 (__expl_finite): Change alias to EXPL_FINITE.
1824 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1825 tests for bugs.
1826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1827
6c23e11c
JM
1828 [BZ #14064]
1829 * math/libm-test.inc (check_float_internal): Correct ulp
1830 calculation for subnormal expected results.
1831
29ba805c
AJ
18322012-05-06 Andreas Jaeger <aj@suse.de>
1833
1834 * Makeconfig (+math-flags): New, set to -frounding-math.
1835 (+cflags): Add +math-flags so that all of glibc gets compiled with
1836 it.
1837
1838 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1839
7b17aeda
JM
18402012-05-05 Joseph Myers <joseph@codesourcery.com>
1841
5779f134
JM
1842 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1843 Disable one test.
1844
41498f4d
JM
1845 [BZ #13787]
1846 [BZ #13922]
1847 [BZ #14036]
1848 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1849 (__ieee754_expl): Allow for and saturate large arguments.
1850 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1851 (u_threshold): Likewise.
1852 (__exp): Call __ieee754_exp before checking for overflow and
1853 underflow.
1854 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1855 (u_threshold): Likewise.
1856 (__expf): Call __ieee754_expf before checking for overflow and
1857 underflow.
1858 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1859 (u_threshold): Likewise.
1860 (__expl): Call __ieee754_expl before checking for overflow and
1861 underflow.
1862 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1863 (__ieee754_expl): Allow for and saturate large arguments.
1864 * math/libm-test.inc (exp_test): Add another test. Do not allow
1865 missing overflow exception on overflow.
1866 (expm1_test): Do not allow missing overflow exception on overflow.
1867
6698b8bf
JM
1868 * sysdeps/i386/fpu/e_expl.c: Move to ...
1869 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1870 rather than using inline asm.
1871 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1872 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1873 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1874
7b17aeda
JM
1875 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1876 (nice): Likewise.
1877 (poll): Likewise.
1878 (signal): Likewise.
1879 (time): Likewise.
1880 (times): Likewise.
1881
f7c85819
JM
18822012-05-04 Joseph Myers <joseph@codesourcery.com>
1883
1884 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1885 sysdeps/unix/common/syscalls.list.
1886 (fchmod): Likewise.
1887 (fchown): Likewise.
1888 (ftruncate): Likewise.
1889 (getrusage): Likewise.
1890 (gettimeofday): Likewise.
1891 (setpgid): Likewise.
1892 (setregid): Likewise.
1893 (setreuid): Likewise.
1894 (sigaction): Likewise.
1895 (truncate): Likewise.
1896 (vhangup): Likewise.
1897 * sysdeps/unix/common/syscalls.list: Remove file.
1898 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1899 * sysdeps/unix/sysv/linux/Implies: Likewise.
1900
336270d0
L
19012012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1902
1903 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1905 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1906 Moved to ...
1907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1908 Here.
1909 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1910 to ...
1911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1912 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1913 to ...
1914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1915 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1916 to ...
1917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1918 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1919 to ...
1920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1921 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1922 to ...
1923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1924 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1925 to ...
1926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1927 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1928 to ...
1929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1930 Here.
1931 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1932 to ...
1933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1934 Here.
1935 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1936 to ...
1937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1938 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1939 Moved to ...
1940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1941 Here.
1942 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1943 to ...
1944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1945
d128e450
JM
19462012-05-04 Joseph Myers <joseph@codesourcery.com>
1947
fa8ee516
JM
1948 * sysdeps/unix/common/bits/dirent.h: Remove file.
1949 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1950
d128e450
JM
1951 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1952 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1953 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1954 * sysdeps/unix/bsd/isatty.c: Likewise.
1955 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1956 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1957 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1958
ff8faaf0 19592012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1960
62881be4 1961 [BZ #13563]
31dc8730
AZ
1962 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1963 long double comparison inaccuracies.
1964 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1966
6fef930c
AS
19672012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1968
1969 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1970 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1971
8f203e6c
JM
19722012-05-04 Joseph Myers <joseph@codesourcery.com>
1973
1974 [BZ #14049]
1975 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1976 nonzero digits before rounding a hex value.
1977 * stdlib/tst-strtod.c (tests): Add another test.
1978
5197d9c2
AK
19792012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1980
1981 * sysdeps/s390/fpu/libm-test-ulps: Update.
1982
f0c1dedf
AJ
19832012-05-03 Andreas Jaeger <aj@suse.de>
1984
1985 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1986 does not get optimized out.
1987 (malloc_opt_barrier): New.
1988
a65ef2ae 19892012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1990 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1991
2b942cb7 1992 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1993 intermediate file deletion.
2b942cb7 1994 (generated): Add .symlist files.
a65ef2ae 1995
54b71e02
JM
19962012-05-03 Joseph Myers <joseph@codesourcery.com>
1997
1998 [BZ #13775]
1999 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2000 Redirect under this condition.
2001 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2002 [__USE_GNU] (__dprintf_chk): Not under this condition.
2003 [__USE_GNU] (__vdprintf_chk): Likewise.
2004 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2005 under this condition.
2006 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2007 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2008 [__USE_XOPEN2K8] (vdprintf): Likewise.
2009 [__USE_GNU] (__dprintf_chk): Not under this condition.
2010 [__USE_GNU] (__vdprintf_chk): Likewise.
2011 [__USE_GNU] (dprintf): Likewise.
2012 [__USE_GNU] (vdprintf): Likewise.
2013
d3dfcc41
RM
20142012-05-03 Roland McGrath <roland@hack.frob.com>
2015
2016 * elf/Makefile (common-generated): Set this instead of generated for
2017 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2018 $(all-built-dso)-derived lists.
2019
7ac30cc5
AJ
20202012-05-03 Andreas Jaeger <aj@suse.de>
2021
0c51e550
AJ
2022 * sysdeps/i386/fpu/libm-test-ulps: Update.
2023
7ac30cc5
AJ
2024 * FAQ: Removed.
2025 * FAQ.in: Likewise.
2026 * scripts/gen-FAQ.pl: Likewise.
2027 * manual/install.texi (Installation): Point to online location of
2028 FAQ.
2029 * Makefile (files-for-dist): Remove FAQ.
2030 (FAQ): Remove.
2031
d4c2917f
AM
20322012-05-02 Allan McRae <allan@archlinux.org>
2033
2034 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2035 (LDFLAGS-reldepmod5.so): Likewise.
2036 (LDFLAGS-reldep6mod1.so): Likewise.
2037 (LDFLAGS-reldep6mod4.so): Likewise.
2038 (LDFLAGS-reldep8mod3.so): Likewise.
2039 (LDFLAGS-unload4mod1.so): Likewise.
2040 (LDFLAGS-unload4mod2.so): Likewise.
2041 (LDFLAGS-tst-initorder): Likewise.
2042 (LDFLAGS-tst-initordera2.so): Likewise.
2043 (LDFLAGS-tst-initordera3.so): Likewise.
2044 (LDFLAGS-tst-initordera4.so): Likewise.
2045 (LDFLAGS-tst-initorderb2.so): Likewise.
2046 (LDFLAGS-noload): Likewise.
2047 (LDFLAGS-next): Likewise.
2048 (LDFLAGS-order2mod1.so): Likewise.
2049 (LDFLAGS-order2mod2.so): Likewise.
2050 (LDFLAGS-tst-initorder2): Likewise.
2051 (LDFLAGS-tst-initorder2a.so): Likewise.
2052 (LDFLAGS-tst-initorder2b.so): Likewise.
2053 (LDFLAGS-tst-initorder2c.so): Likewise.
2054 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2055
d77f993f
DM
20562012-05-02 David S. Miller <davem@davemloft.net>
2057
2058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2059
171a70b4
PP
20602012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2061
2062 [BZ #14055]
2063 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2064
0be196ad
AJ
20652012-05-02 Andreas Jaeger <aj@suse.de>
2066
2067 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2068 since we manipulate rounding mode.
2069 (CPPFLAGS-test-idouble.c): Likewise.
2070 (CPPFLAGS-test-ifloat.c): Likewise.
2071 (CFLAGS-test-ldouble.c): Likewise.
2072 (CFLAGS-test-double.c): Likewise.
2073 (CFLAGS-test-float.c): Likewise.
2074 (CFLAGS-test-misc.c): Likewise.
2075 (CFLAGS-test-test-fenv.c): Likewise.
2076
4f9d04aa
AZ
20772012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2078
2b942cb7
RM
2079 [BZ #2550]
2080 [BZ #2570]
2081 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2082 comparisons to determine direction to adjust input.
4f9d04aa 2083
82a79e7d
RM
20842012-05-01 Roland McGrath <roland@hack.frob.com>
2085
f5a01ca9
RM
2086 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2087 output to the target.
2088
90fe4186
RM
2089 * scripts/localplt.awk: New file.
2090 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2091 (check-localplt-CFLAGS): Variable removed.
2092 ($(all-built-dso:=.jmprel)): New static pattern rule.
2093 (generated): Add those targets.
2094 (localplt-built-dso): New variable.
2095 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2096
2097 * elf/check-localplt.c: File removed.
2098
82397ed6
RM
2099 * scripts/check-execstack.awk: New file.
2100 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2101 (check-execstack-CFLAGS): Variable removed.
2102 ($(objpfx)check-execstack.h): Target removed.
2103 ($(objpfx)execstack-default): New target.
2104 (generated): Add that instead of check-execstack.h.
2105 ($(all-built-dso:=.phdr)): New static pattern rule.
2106 (generated): Add those targets.
2107 * elf/check-execstack.c: File removed.
2108
82a79e7d
RM
2109 * scripts/check-textrel.awk: New file.
2110 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2111 (check-textrel-CFLAGS): Variable removed.
2112 (all-built-dso): Use := to define.o
2113 ($(all-built-dso:=.dyn)): New static pattern rule.
2114 (generated): Add those targets.
2115 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2116 * config.make.in (READELF): New substituted variable.
2117 * elf/check-textrel.c: File removed.
2118
62fde54f 21192012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2120
615605c9
JM
2121 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2122 allow.
2123 * conform/data/ctype.h-data [C99-based standards] (isblank):
2124 Expect function.
2125 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2126 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2127 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2128 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2129 Specify type. Require positive value.
2130 (EILSEQ): Likewise.
2131 (ERANGE): Likewise.
2132 [ISO || POSIX] (EILSEQ): Do not expect.
2133 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2134 Specify type. Require positive value.
2135 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2136 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2137 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2138 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2139 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2140 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2141 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2142 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2143 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2144 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2145 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2146 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2147 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2148 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2149 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2150 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2151 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2152 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2153 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2154 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2155 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2156 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2157 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2158 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2159 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2160 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2161 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2162 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2163 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2164 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2165 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2166 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2167 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2168 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2169 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2170 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2171 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2172 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2173 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2174 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2175 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2176 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2177 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2178 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2179 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2180 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2181 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2182 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2183 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2184 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2185 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2186 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2187 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2188 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2189 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2190 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2191 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2192 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2193 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2194 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2195 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2196 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2197 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2198 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2199 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2200 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2201 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2202 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2203 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2204 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2205 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2206 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2207 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2208 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2209 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2210 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2211 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2212 Require >= 2.
2213 (FLT_ROUNDS): Expect as macro, not constant.
2214 (FLT_MANT_DIG): Use macro-int-constant.
2215 (DBL_MANT_DIG): Likewise.
2216 (LDBL_MANT_DIG): Likewise.
2217 (FLT_DIG): Likewise.
2218 (DBL_DIG): Likewise.
2219 (LDBL_DIG): Likewise.
2220 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2221 (DBL_MIN_EXP): Likewise.
2222 (LDBL_MIN_EXP): Likewise.
2223 (FLT_MAX_EXP): Use macro-int-constant.
2224 (DBL_MAX_EXP): Likewise.
2225 (LDBL_MAX_EXP): Likewise.
2226 (FLT_MAX_10_EXP): Likewise.
2227 (DBL_MAX_10_EXP): Likewise.
2228 (LDBL_MAX_10_EXP): Likewise.
2229 (FLT_MAX): Use macro-constant.
2230 (DBL_MAX): Likewise.
2231 (LDBL_MAX): Likewise.
2232 (FLT_EPSILON): Use macro-constant. Give upper bound.
2233 (DBL_EPSILON): Likewise.
2234 (LDBL_EPSILON): Likewise.
2235 (FLT_MIN): Likewise.
2236 (DBL_MIN): Likewise.
2237 (LDBL_MIN): Likewise.
2238 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2239 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2240 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2241 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2242 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2243 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2244 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2245 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2246 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2247 [ISO11] (FLT_TRUE_MIN): Likewise.
2248 [ISO11] (LDBL_TRUE_MIN): Likewise.
2249 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2250 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2251 (SCHAR_MIN): Use macro-int-constant. Specify type.
2252 (SCHAR_MAX): Likewise.
2253 (UCHAR_MAX): Likewise.
2254 (CHAR_MIN): Likewise.
2255 (CHAR_MAX): Likewise.
2256 (MB_LEN_MAX): Use macro-int-constant.
2257 (SHRT_MIN): Use macro-int-constant. Specify type.
2258 (SHRT_MAX): Likewise.
2259 (USHRT_MAX): Likewise.
2260 (INT_MAX): Likewise.
2261 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2262 bound negative.
2263 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2264 bound with "U".
2265 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2266 bound with "L".
2267 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2268 bound negative. Suffix upper bound with "L".
2269 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2270 bound with "UL".
2271 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2272 Specify type.
2273 [C99-based standards] (LLONG_MAX): Likewise.
2274 [C99-based standards] (ULLONG_MAX): Likewise.
2275 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2276 == 0.
2277 [ISO11] (max_align_t): Require type.
2278 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2279
c9140a62
JM
2280 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2281 from $CFLAGS, without defining away __attribute__ calls.
2282 (checknamespace): Use $CFLAGS_namespace.
2283
9af0bf29
JM
2284 * conform/conformtest.pl (@keywords): Only include C99 keywords
2285 for standards based on C99 or C11.
2286
343222a2
JM
2287 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2288 Disable tests.
2289 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2290 UNIX98]: Likewise.
2291
661f8cf0
JM
2292 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2293 usability of symbols in #if.
2294
ee74b9cb
JM
2295 * conform/conformtest.pl: If macro or constant types start
2296 "promoted:", expect the symbol to be of the following type
2297 promoted by the integer promotions.
62fde54f 2298
aafc49b3
JM
2299 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2300 in one place. Also handle "macro-constant".
2301
fefdf574
JM
2302 * conform/conformtest.pl: Only accept expected macro values with
2303 "==". Parse all "macro" lines in one place.
2304 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2305
f2d922fe
JM
2306 * conform/conformtest.pl: Handle braced types on "constant" lines
2307 instead of handling "typed-constant".
2308 * conform/data/signal.h-data: Use "constant" instead of
2309 "typed-constant".
2310
d22956c9
JM
2311 * conform/conformtest.pl: Handle "optional-" at start of lines in
2312 one place rather than duplicating several cases. Handle each
2313 format of "macro" line with initial "optional-".
2314
028e2e38
JM
2315 * conform/conformtest.pl: Only accept expected constant or
2316 optional-constant values with "==". Parse all "constant" lines in
2317 one place. Parse all "optional-constant" lines in one place.
2318 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2319 * conform/data/fmtmsg.h-data: Likewise.
2320 * conform/data/netinet/in.h-data: Likewise.
2321 * conform/data/tar.h-data: Likewise.
2322 * conform/data/limits.h-data: Use "==" form on "constant" and
2323 "optional-constant" lines.
2324
1b8f2850
JM
2325 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2326 Use -std=c99 for XOPEN2K.
2327 (@knownproblems): Remove.
2328 (newtoken): Don't check %isknown.
2329
a05a144b
JM
2330 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2331 Do not expect macro.
2332 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2333 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2334 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2335 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2336 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2337 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2338 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2339 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2340 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2341 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2342 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2343 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2344 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2345 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2346 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2347 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2348 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2349 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2350 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2351 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2352 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2353 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2354 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2355 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2356 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2357 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2358 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2359 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2360 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2361 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2362 [XPG3] (acosh): Likewise.
2363 [XPG3] (asinh): Likewise.
2364 [XPG3] (atanh): Likewise.
2365 [XPG3] (cbrt): Likewise.
2366 [XPG3] (expm1): Likewise.
2367 [XPG3] (ilogb): Likewise.
2368 [XPG3] (log1p): Likewise.
2369 [XPG3] (logb): Likewise.
2370 [XPG3] (nextafter): Likewise.
2371 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2372 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2373 [XPG3] (remainder): Likewise.
2374 [XPG3] (rint): Likewise.
2375 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2376 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2377 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2378 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2379 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2380 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2381 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2382 [UNIX98 || XOPEN2K] (scalb): Expect.
2383 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2384 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2385 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2386 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2387 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2388 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2389 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2390 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2391 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2392 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2393 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2394 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2396 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2397 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2398 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2399 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2400 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2401 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2402 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2403 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2404 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2405 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2406 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2407 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2408 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2419 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2420 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2422 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2423 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2424 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2425 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2426 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2427 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2428 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2429 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2430 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2433 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2437 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2438 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2439 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2440 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2441 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2442 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2443 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2444 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2445 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2446 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2447 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2448 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2453 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2457 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2461 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2462 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2463 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2469 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2470 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2471 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2473 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2474 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2475 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2476 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2477 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2478 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2479 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2480 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2482 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2483 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2487 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2490 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2491 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2492 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2493 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2494 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2495 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2496 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2497 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2498 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2499 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2500 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2501 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2502 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2503 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2504 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2505 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2506 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2507 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2508 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2509 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2510 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2511 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2512 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2513 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2514 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2515 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2516 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2517 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2518 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2519 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2520
73c5ebe3
JM
2521 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2522 _XOPEN_SOURCE_EXTENDED for XPG4.
2523
39c33b6c
JM
2524 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2525
62fde54f
JM
2526 * Makeconfig (localtime): Remove variable.
2527 (inst_localtime-file): Likewise.
2528
0741d64c
AS
25292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2530
2531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2532 Update.
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2534 Update.
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2536 Update.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2538 Update.
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2540 Update.
2541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2542 Update.
2543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2544 Update.
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2546 Update.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2548 Update.
2549
7cb029ee
JM
25502012-05-01 Joseph Myers <joseph@codesourcery.com>
2551
2552 [BZ #2550]
2553 [BZ #2570]
2554 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2555 comparisons to determine direction to adjust input.
2556 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2557 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2558 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2559 Likewise.
2560 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2561 Likewise.
2562 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2563 Likewise.
2564 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2565 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2566 Likewise.
2567 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2568 Likewise.
2569 * math/libm-test.inc (nexttoward_test): Add more tests.
2570
412bd966
AS
25712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2572
2573 [BZ #14040]
2574 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2575 in version GLIBC_2.1, not GLIBC_2.0.
2576 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2577 Likewise.
2578
9568c0c2
JM
25792012-04-30 Joseph Myers <joseph@codesourcery.com>
2580
adfbc8ac
JM
2581 [BZ #13942]
2582 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2583 (1 - x) * (1 + x).
2584 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2585 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2586 * math/libm-test.inc (acos_test): Add more tests.
2587 (asin_test): Likewise.
2588 * sysdeps/i386/fpu/libm-test-ulps: Update.
2589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2590
5ba3cc69
JM
2591 [BZ #14034]
2592 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2593 of square root.
2594 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2595 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2596 * math/libm-test.inc (acos_test_tonearest): New function.
2597 (acos_test_towardzero): Likewise.
2598 (acos_test_downward): Likewise.
2599 (acos_test_upward): Likewise.
2600 (asin_test_tonearest): Likewise.
2601 (asin_test_towardzero): Likewise.
2602 (asin_test_downward): Likewise.
2603 (asin_test_upward): Likewise.
2604 (main): Call the new functions.
2605 * sysdeps/i386/fpu/libm-test-ulps: Update.
2606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2607
9568c0c2
JM
2608 [BZ #13884]
2609 [BZ #13924]
2610 * math/e_exp10.c: Include <float.h>.
2611 (__ieee754_exp10): Handle underflow here rather than multiplying
2612 large negative argument by M_LN10.
2613 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2614 of __ieee754_expf.
2615 * math/e_exp10l.c: Include <float.h>.
2616 (__ieee754_exp10l): Handle underflow here rather than multiplying
2617 large negative argument by M_LN10l.
2618 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2619 spurious overflow exception on underflow.
2620
5ac3ea17
MP
26212012-04-29 Marek Polacek <polacek@redhat.com>
2622
2623 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2624 (__fortify_function): New macro.
2625 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2626 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2627 __extern_always_inline.
2628 * libio/bits/stdio2.h: Likewise.
2629 * libio/bits/stdio.h: Likewise.
2630 * string/string.h: Likewise.
2631 * string/bits/string3.h: Likewise.
2632 * include/stdio.h: Likewise.
2633 * stdlib/bits/stdlib.h: Likewise.
2634 * stdlib/stdlib.h: Likewise.
2635 * rt/bits/mqueue2.h: Likewise.
2636 * rt/mqueue.h: Likewise.
2637 * posix/bits/unistd.h: Likewise.
2638 * posix/unistd.h: Likewise.
2639 * io/bits/poll2.h: Likewise.
2640 * io/bits/fcntl2.h: Likewise.
2641 * io/fcntl.h: Likewise.
2642 * io/sys/poll.h: Likewise.
2643 * misc/bits/syslog.h: Likewise.
2644 * misc/bits/syslog-ldbl.h: Likewise.
2645 * misc/sys/syslog.h: Likewise.
2646 * socket/bits/socket2.h: Likewise.
2647 * socket/sys/socket.h: Likewise.
2648 * debug/tst-chk1.c: Likewise.
2649 * wcsmbs/bits/wchar2.h: Likewise.
2650 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2651 * wcsmbs/wchar.h: Likewise.
2652
ecf0ebfb
AJ
26532012-04-29 Andreas Jaeger <aj@suse.de>
2654
2655 * Makerules (tests): Remove enable-check-abi protection.
2656 (check-abi-warn): Remove.
2657 (check-abi-%): Remove check-abi-warn usage.
2658
2659 * configure.in: Remove check-abi configure option.
2660 * configure: Regenerated.
2661 * config.make.in (enable-check-abi): Remove.
2662
6d5c57fa
AS
26632012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2664
24c5d07e 2665 [BZ #14033]
ded5180a
AS
2666 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2667 double functions to double *_finite functions.
2668
7e0d315d
AS
2669 [BZ #13941]
2670 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2671 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2672 LDBL_MIN_EXP.
2673 * stdio-common/Makefile (tests): Add tst-sprintf3.
2674 * stdio-common/tst-sprintf3.c: New file.
2675
6d5c57fa
AS
2676 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2677 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2678
0749ff8b
JM
26792012-04-28 Joseph Myers <joseph@codesourcery.com>
2680
2681 * conform/conformtest.pl: Remove duplicate typed-constant
2682 handling.
2683
8dbd5d7b
DM
26842012-04-28 David S. Miller <davem@davemloft.net>
2685
2686 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2687 (check-abi-%): Remove AWK script prerequisite and explicit
2688 abilist directory.
2689 (check-abi): Rewrite to just diff the symlist with the abilist.
2690 (config-tls, config-abi-config): Delete, no longer used.
2691 (update-abi-%): Remove AWK script and explicit abilist directory.
2692 (update-abi): Rewrite to simply compare and conditionally copy the
2693 symlist and the sysdep abilist file. Remove update-abi-config
2694 checks.
2695 * abilist/ld.abilist: Remove.
2696 * abilist/libBrokenLocale.abilist: Remove.
2697 * abilist/libanl.abilist: Remove.
2698 * abilist/libcrypt.abilist: Remove.
2699 * abilist/libdl.abilist: Remove.
2700 * abilist/librt.abilist: Remove.
2701 * abilist/libthread_db.abilist: Remove.
2702 * abilist/libutil.abilist: Remove.
2703 * scripts/extract-abilist.awk: Remove.
2704 * scripts/merge-abilist.awk: Remove.
2705 * sysdeps/generic/libcidn.abilist: New file.
2706 * sysdeps/generic/libnss_compat.abilist: New file.
2707 * sysdeps/generic/libnss_db.abilist: New file.
2708 * sysdeps/generic/libnss_dns.abilist: New file.
2709 * sysdeps/generic/libnss_files.abilist: New file.
2710 * sysdeps/generic/libnss_hesiod.abilist: New file.
2711 * sysdeps/generic/libnss_nis.abilist: New file.
2712 * sysdeps/generic/libnss_nisplus.abilist: New file.
2713 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2714 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2715 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2716 file.
2717 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2718 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2719 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2720 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2721 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2722 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2723 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2724 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2725 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2726 file.
2727 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2728 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2729 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2730 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2731 file.
2732 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2733 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2734 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2735 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2736 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2737 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2738 file.
2739 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2740 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2741 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2742 file.
2743 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2744 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2745 New file.
2746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2747 New file.
2748 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2749 New file.
2750 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2751 New file.
2752 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2753 New file.
2754 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2755 New file.
2756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2757 New file.
2758 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2759 New file.
2760 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2761 New file.
2762 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2763 New file.
2764 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2765 New file.
2766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2767 New file.
2768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2769 New file.
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2771 file.
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2773 New file.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2775 New file.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2777 file.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2779 New file.
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2781 New file.
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2783 file.
2784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2785 New file.
2786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2787 New file.
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2789 New file.
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2791 New file.
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2793 New file.
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2795 New file.
2796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2798 file.
2799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2800 New file.
2801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2802 file.
2803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2804 file.
2805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2806 file.
2807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2808 file.
2809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2810 file.
2811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2812 New file.
2813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2814 file.
2815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2816 file.
2817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2818 New file.
2819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2820 file.
2821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2823 file.
2824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2825 New file.
2826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2827 file.
2828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2829 file.
2830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2831 file.
2832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2833 file.
2834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2835 file.
2836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2837 New file.
2838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2839 file.
2840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2841 file.
2842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2843 New file.
2844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2845 file.
2846 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2847 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2848 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2849 file.
2850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2851 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2852 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2853 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2854 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2855 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2856 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2857 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2858 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2859 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2862 file.
2863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2864 New file.
2865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2866 file.
2867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2868 file.
2869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2870 file.
2871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2872 file.
2873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2874 file.
2875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2876 New file.
2877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2878 New file.
2879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2880 file.
2881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2882 New file.
2883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2884 file.
2885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2887 file.
2888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2889 New file.
2890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2891 file.
2892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2893 file.
2894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2895 file.
2896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2897 file.
2898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2899 file.
2900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2901 New file.
2902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2903 New file.
2904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2905 file.
2906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2907 New file.
2908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2909 file.
2910
41d73a1b
JM
29112012-04-28 Joseph Myers <joseph@codesourcery.com>
2912
2913 * conform/conformtest.pl: Fix typo in handling typed-constant from
2914 allow-header.
2915
28aeeda4
JM
29162012-04-27 Joseph Myers <joseph@codesourcery.com>
2917
adae8f5e
JM
2918 * README: Cut down references to pre-2.6 Linux kernels and
2919 Linuxthreads. Update lists of configurations in libc and ports
2920 and sort alphabetically. Say "or newer" with Linux kernel version
2921 requirements.
2922
28aeeda4
JM
2923 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2924
a462cb63
RA
29252012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2926
2927 [BZ #887]
2928 * math/libm-test.inc (logb_test_downward): New test to expose
2929 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2930 rounding mode.
2931
6ad3493e
JM
29322012-04-27 Joseph Myers <joseph@codesourcery.com>
2933
2934 [BZ #14027]
2935 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2936 to be done.
2937 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2938 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2939
2ce4f015
JM
29402012-04-26 Joseph Myers <joseph@codesourcery.com>
2941
5aeb141a
JM
2942 * sysdeps/unix/i386/brk.S: Remove file.
2943 * sysdeps/unix/i386/dl-brk.S: Likewise.
2944 * sysdeps/unix/i386/pipe.S: Likewise.
2945 * sysdeps/unix/i386/sigreturn.S: Likewise.
2946 * sysdeps/unix/i386/syscall.S: Likewise.
2947 * sysdeps/unix/i386/vfork.S: Likewise.
2948 * sysdeps/unix/i386/wait.S: Likewise.
2949
7143acae
JM
2950 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2951 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2952
2ce4f015
JM
2953 * configure.in (arm*-none*): Do not allow without
2954 --enable-hacker-mode.
2955 (netbsd*): Remove case setting base_os.
2956 (386bsd*): Likewise.
2957 (freebsd*): Likewise.
2958 (bsdi*): Likewise.
2959 (osf*): Likewise.
2960 (sunos*): Likewise.
2961 (ultrix*): Likewise.
2962 (newsos*): Likewise.
2963 (dynix*): Likewise.
2964 (*bsd*): Likewise.
2965 (sysv*): Likewise.
2966 (isc*): Likewise.
2967 (esix*): Likewise.
2968 (sco*): Likewise.
2969 (minix*): Likewise.
2970 (irix4*): Likewise.
2971 (irix6*): Likewise.
2972 (solaris[2-9]*): Likewise.
2973 (none): Likewise.
2974 * configure: Regenerated.
2975
0ac229c8
AZ
29762012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2977
2978 [BZ #11521]
2979 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2980 overflow or cancellation in calculating denominator.
2981 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2982 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2983 down expression to avoid unexpected rounding in newer GCCs.
2984 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2985
33f244f4
DM
29862012-04-26 David S. Miller <davem@davemloft.net>
2987
2988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2989 long-double compat symbols.
2990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3003
cfa1f3e8
DM
30042012-04-25 David S. Miller <davem@davemloft.net>
3005
3006 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3007 HWCAP_* values only after the memory barriers have been defined.
3008 (atomic_full_barrier): Define.
3009 (atomic_read_barrier): Define.
3010 (atomic_write_barrier): Define.
3011
6e236b92
SP
30122012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3013
3014 * shlib-versions: Add libgcc_s version information.
3015 * sysdeps/generic/libgcc_s.h: Remove.
3016 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3017 libgcc_s.h.
3018 * sysdeps/gnu/unwind-resume.c: Likewise.
3019 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3020
aab39a09
DM
30212012-04-25 David S. Miller <davem@davemloft.net>
3022
3023 * sysdeps/unix/sparc/brk.S: Delete.
3024 * sysdeps/unix/sparc/dl-brk.S: Delete.
3025 * sysdeps/unix/sparc/pipe.S: Delete.
3026 * sysdeps/unix/sparc/sysdep.S: Delete.
3027 * sysdeps/unix/sparc/sysdep.h: Delete.
3028 * sysdeps/unix/sparc/vfork.S: Delete.
3029 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3030 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3031 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3032 ret_ERRVAL, r0, r1, MOVE): Define.
3033 (JUMPTARGET): Remove.
3034 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3035 sysdeps/unix/sparc/sysdep.h
3036 (ENTRY, END): Remove.
3037 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3038
a3cc4f48
JM
30392012-04-25 Joseph Myers <joseph@codesourcery.com>
3040
2ed8cda2
JM
3041 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3042 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3043 -DIS_IN_build.
3044
35d76d59
JM
3045 * timezone/README: Update upstream location and email address for
3046 tzcode and tzdata.
3047 * timezone/zdump.c: Update from tzcode 2012b.
3048 * timezone/zic.c: Likewise.
3049
a3cc4f48
JM
3050 * configure.in (libc_cv_as_needed): Remove test.
3051 * configure: Regenerated.
3052 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3053 conditional definition.
3054 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3055 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3056 * config.make.in (have-as-needed): Remove variable.
3057
ceab42c3
SP
30582012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3059 Paul Pluzhnikov <ppluzhnikov@google.com>
3060
3061 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3062 strings correctly.
3063
3ce2865f
CLT
30642012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3065
3066 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3067 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3068 * sysdeps/sh/strlen.S: Likewise.
3069
f37e0d68
JM
30702012-04-24 Joseph Myers <joseph@codesourcery.com>
3071
ae186e9a
JM
3072 * sysdeps/unix/fork.S: Remove file.
3073 * sysdeps/unix/i386/fork.S: Likewise.
3074 * sysdeps/unix/sparc/fork.S: Likewise.
3075
b96914af
JM
3076 * sysdeps/unix/system.c: Remove file.
3077 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3078
f37e0d68
JM
3079 * sysdeps/unix/getegid.S: Remove file.
3080 * sysdeps/unix/geteuid.S: Likewise.
3081
87ef29ca
RM
30822012-04-24 Roland McGrath <roland@hack.frob.com>
3083
83bcd236
RM
3084 * scripts/check-localplt.awk: New file.
3085 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3086 of diff.
3087 * scripts/data/localplt-generic.data: Add a comment.
3088
87ef29ca
RM
3089 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3090 NODE when __dir_mkfile failed.
3091 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3092 Reported by Ludovic Courtès <ludo@gnu.org>.
3093
e5a6e567
AJ
30942012-04-24 Andreas Jaeger <aj@suse.de>
3095
3096 * Makerules (common-clean): Also remove gen-as-const-headers
3097 files.
3098
c1820385
JM
30992012-04-24 Joseph Myers <joseph@codesourcery.com>
3100
3101 * Makerules (native-compile): Do not change working directory for
3102 build. Use $(OUTPUT_OPTION) in command.
3103 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3104
94e02fc4
AZ
31052012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3106
3107 [BZ #13886]
3108 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3109 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3110 * math/libm-test.inc (floor_test): Add more tests.
3111 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3112
3a533ca3
JM
31132012-04-24 Joseph Myers <joseph@codesourcery.com>
3114
940ab4b3
JM
3115 * sysdeps/unix/getdents.c: Remove file.
3116 * sysdeps/unix/sysv/getdents.c: Likewise.
3117 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3118
90e037bd
JM
3119 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3120 sysdeps/unix/mman/syscalls.list.
3121 (mmap): Likewise.
3122 (mprotect): Likewise.
3123 (msync): Likewise.
3124 (munmap): Likewise.
3125 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3126 * sysdeps/unix/mman/syscalls.list: Remove.
3127 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3128
3a533ca3
JM
3129 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3130 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3131 * configure: Regenerated.
3132 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3133 $(libgcc_s_suffix).
3134 * config.make.in (libgcc_s_suffix): Remove variable.
3135
1ad743de
JM
31362012-04-23 Joseph Myers <joseph@codesourcery.com>
3137
4ad451e2
JM
3138 * sysdeps/unix/sysv/gethostname.c: Move to ...
3139 * sysdeps/posix/gethostname.c: ... here.
3140
5e37ce39
JM
3141 * sysdeps/unix/execve.S: Remove file.
3142
1ad743de
JM
3143 * sysdeps/unix/_exit.S: Remove file.
3144
4e681b5b
AJ
31452012-04-23 Andreas Jaeger <aj@suse.de>
3146
3147 [BZ #13739]
3148 * manual/Makefile: Remove make dist support, there's no
3149 need for a stand-alone documentation tar ball.
3150 (TEXI2DVI): Define always, it's not in Makeconfig.
3151 (dist): Removed.
3152 (tar-it): Removed.
3153 (edition): Removed.
3154 (glibc-doc-$(edition).tar): Removed
3155 (%.Z): Removed.
3156 (%.gz): Removed.
3157 (%.uu): Removed.
3158 (ETAGS): Remove, it's in Makeconfig.
3159 (move-if-change): Remove, it's in Makeconfig.
3160
c0baea34
PE
31612013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3162
3163 [BZ #13970]
3164 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3165 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3166 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3167 (strtod_l, strtof_l, strtold_l): Remove __wur.
3168 It is not necessarily an error to ignore strtol's return value.
3169 One can reliably look at the stored endptr to decide whether
3170 the number had valid syntax.
3171
7c0616fa
AJ
31722012-04-21 Andreas Jaeger <aj@suse.de>
3173
803cb6b7 3174 [BZ #13739]
7c0616fa
AJ
3175 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3176
b0fe253f
JM
31772012-04-21 Joseph Myers <joseph@codesourcery.com>
3178
3179 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3180 * sysdeps/unix/sysv/Versions: Remove file.
3181
8280f22d
MT
31822012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3183
3184 [BZ #13927]
3185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3186
75ce411f 31872012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3188
3189 [BZ #7064]
3190 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3191 version from __vm86.
3192
097d59fa
JM
31932012-04-20 Joseph Myers <joseph@codesourcery.com>
3194
a90f3bcb
JM
3195 * sysdeps/unix/common/lxstat.c: Remove file.
3196 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3197
edc7ea78
JM
3198 * sysdeps/unix/sysv/Makefile: Remove file.
3199
cb78c221
JM
3200 * sysdeps/unix/sysv/direct.h: Remove file.
3201
efa6a45f
JM
3202 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3203 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3204 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3205 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3206 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3207 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3208 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3209
9c9f2d0c
JM
3210 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3211
4541c83b
JM
3212 * sysdeps/unix/xmknod.c: Remove file.
3213 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3214
f5d153a0
JM
3215 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3216
aa746595
JM
3217 * sysdeps/unix/sysv/i386/time.S: Remove file.
3218
cce5905e
JM
3219 * sysdeps/unix/fxstat.c: Remove file.
3220 * sysdeps/unix/xstat.c: Likewise.
3221 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3222
37fa3841
JM
3223 * sysdeps/unix/sysv/sigaction.c: Remove file.
3224
ff1962a3
JM
3225 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3226 (sysdep_headers): Remove variable.
3227 [termio.h not in sysdep_headers] (generated): Likewise.
3228 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3229 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3230 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3231 * sysdeps/unix/sysv/tcflow.c: Likewise.
3232 * sysdeps/unix/sysv/tcflush.c: Likewise.
3233 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3234 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3235 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3236 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3237 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3238
e7740d31
JM
3239 * sysdeps/unix/siglist.c: Remove file.
3240
ee06f18b
JM
3241 * sysdeps/unix/getppid.S: Remove file.
3242
097d59fa
JM
3243 * sysdeps/unix/mkdir.c: Remove file.
3244 * sysdeps/unix/rmdir.c: Likewise.
3245
ff3d51ec
AS
32462012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3247
3248 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3249 ERR_MAX value.
3250 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3251 errlist-compat value.
3252
50f81fd7
DM
32532012-04-18 David S. Miller <davem@davemloft.net>
3254
3255 * sysdeps/generic/memcopy.h (reg_char): Delete.
3256 * debug/strcat_chk.c: Use char, not reg_char.
3257 * debug/strcpy_chk.c: Likewise.
3258 * debug/strncat_chk.c: Likewise.
3259 * debug/strncpy_chk.c: Likewise.
3260 * string/memchr.c: Likewise.
3261 * string/memrchr.c: Likewise.
3262 * string/rawmemchr.c: Likewise.
3263 * string/strcat.c: Likewise.
3264 * string/strchr.c: Likewise.
3265 * string/strchrnul.c: Likewise.
3266 * string/strcmp.c: Likewise.
3267 * string/strcpy.c: Likewise.
3268 * string/strncat.c: Likewise.
3269 * string/strncmp.c: Likewise.
3270 * string/strncpy.c: Likewise.
3271
8ff41c46
WS
32722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3273
3274 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3275 __builtin_memcopy is called when src and dest ranges are known to not
3276 overlap.
3277
6b652f46
WS
32782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3279
3280 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3281 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3282 fwd_align_merge macro call.
3283 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3284 bwd_align_merge macro call.
3285 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3286
b282631e
WS
32872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3288
3289 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3290 bwd_align_merge macros.
3291 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3292 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3293 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3294
95aa737c
DM
32952012-04-18 David S. Miller <davem@davemloft.net>
3296
3297 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3298
7a99a614
AJ
32992012-04-18 Andreas Jaeger <aj@suse.de>
3300
3301 [BZ# 6794]
3302 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3303 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3304 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3305
3306 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3307 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3308 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3309
3310 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3311 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3312 Adjust for changed ldbl-128 files.
3313
3314 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3315 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3316 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3317
e5270c23
DM
33182012-04-17 David S. Miller <davem@davemloft.net>
3319
3320 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3321
fb5e92c9
AS
33222012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3323
3324 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3325 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3326 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3327 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3328 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3329 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3330
76da7265
AZ
33312012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3332
3333 [BZ #6794]
3334 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3335 * math/libm-test.inc: Add ilogb errno and exception tests.
3336 * math/w_ilogb.c: New file: ilogb wrapper.
3337 * math/w_ilogbf.c: New file: ilogbf wrapper.
3338 * math/w_ilogbl.c: New file: ilogbl wrapper.
3339 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3340 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3341 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3342 exception being thrown with 0.0 as argument.
3343 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3344 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3345 exception being thrown with 0.0 as argument.
3346 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3347 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3348 exception being thrown with 0.0 as argument.
3349 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3350 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3351 exception being thrown with 0.0 as argument.
3352 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3353 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3354 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3355 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3356 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3357 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3358 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3359 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3360 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3361
0396e69d
PB
33622012-04-17 Petr Baudis <pasky@ucw.cz>
3363
3364 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3365 with altivec.
3366
750b5926
MP
33672012-04-16 Marek Polacek <polacek@redhat.com>
3368
3369 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3370
751728a1
MP
33712012-04-16 Marek Polacek <polacek@redhat.com>
3372
3373 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3374 operands of fdivp instruction.
3375
34a27407
L
33762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3377
3378 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3379 * elf/tst-auditmod3b.c: Likewise.
3380 * elf/tst-auditmod4b.c: Likewise.
3381 * elf/tst-auditmod5b.c: Likewise.
3382 * elf/tst-auditmod6b.c: Likewise.
3383 * elf/tst-auditmod6c.c: Likewise.
3384 * elf/tst-auditmod7b.c: Likewise.
3385 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3386 * sysdeps/x86_64/preconfigure.in: Likewise.
3387 * sysdeps/x86_64/preconfigure: Regenerated.
3388
7e73e17d
L
33892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3390
3391 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3392 __ILP32__.
3393
c7a6ab72
AB
33942012-04-13 Antoine Balestrat <merkil33@gmail.com>
3395
3396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3397 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3398
a9e8e0e0
CL
33992012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3400
3401 [BZ #13973]
3402 * locale/iso-639.def: Fix gl language name. Spotted by
3403 Yaron Shahrabani.
3404
ec98af7d
RM
34052012-04-12 Roland McGrath <roland@hack.frob.com>
3406
3407 [BZ #2074]
3408 * libio/libio.h (__io_write_fn): Update comment.
3409
247c3ede
PB
34102012-04-12 Petr Baudis <pasky@ucw.cz>
3411
3412 [BZ #2074]
3413 * stdio.texi (Hook Functions): The user provided writer function
3414 is not allowed to return -1.
3415
55939d6d
DM
34162012-04-11 David S. Miller <davem@davemloft.net>
3417
3418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3419
90020f5a
MF
34202012-04-11 Mike Frysinger <vapier@gentoo.org>
3421
3422 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3423 Add a leading slash to rtkaio.
3424
288f9098
JM
34252012-04-11 Jim Meyering <meyering@redhat.com>
3426
90020f5a
MF
3427 [BZ #11959]
3428 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3429 It is not necessarily an error to ignore fwrite's return
3430 value. One can reliably use ferror to test for errors after
3431 the fact.
288f9098 3432
4be2b570
L
34332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3434
3435 * bits/types.h (__snseconds_t): New type.
3436 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3437
3438 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3440 (__SNSECONDS_T_TYPE): Likewise.
3441 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3442 (__SNSECONDS_T_TYPE): Likewise.
3443 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3444 (__SNSECONDS_T_TYPE): Likewise.
3445
288f9098 34462012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3447
3448 [BZ #2636]
3449 * manual/time.texi (Processor Time): Return type of times is
3450 elapsed real time since an arbitrary point in the past.
3451 (CPU Time): Move CLK_TCK from here...
3452 (Processor Time): ...to here. Correct description.
3453 * manual/conf.texi (Constants for Sysconf): Correct description of
3454 _SC_CLK_TCK.
3455
d7dd4413
DM
34562012-04-10 David S. Miller <davem@davemloft.net>
3457
3458 [BZ #13967]
3459 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3460 where the is a gap between DT_REL(A) and DT_JMPREL.
3461
b46068fc
L
34622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3463
3464 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3465 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3466 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3467
73d65cc3
SP
34682012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3469
3470 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3471 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3472 (dl_main): Handle --inhibit-cache.
3473 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3474 _dl_inhibit_cache.
3475 * elf/dl-load.c (_dl_map_object): Use it.
3476 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3477
bcc8d661
JM
34782012-04-09 Joseph Myers <joseph@codesourcery.com>
3479
8f9a2fae
JM
3480 [BZ #13872]
3481 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3482 (__ieee754_powl): Saturate large exponents rather than testing for
3483 overflow of y*log2(x).
3484 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3485 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3486 exceptions.
3487
bcc8d661
JM
3488 [BZ #11521]
3489 * math/s_ctan.c: Include <float.h>.
3490 (__ctan): Avoid internal overflow or cancellation in calculating
3491 denominator.
3492 * math/s_ctanf.c: Likewise.
3493 * math/s_ctanl.c: Likewise.
3494 * math/s_ctanh.c: Likewise.
3495 * math/s_ctanhf.c: Likewise.
3496 * math/s_ctanhl.c: Likewise.
3497 * math/libm-test.inc (ctan_test): Add more tests.
3498 (ctanh_test): Likewise.
3499 * sysdeps/i386/fpu/libm-test-ulps: Update.
3500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3501
823fbbb4
AJ
35022012-04-09 Andreas Jaeger <aj@suse.de>
3503
03879793
AJ
3504 [BZ #6894]
3505 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3506 is an optional BSD extension.
3507
823fbbb4
AJ
3508 [BZ #10254]
3509 * manual/stdio.texi (Opening Streams): Document additional fopen
3510 parameters.
3511
8de131cb
RM
35122012-04-09 Roland McGrath <roland@hack.frob.com>
3513
3514 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3515 %eax without telling the compiler.
3516
c0ed9d7d
CD
35172012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3518
3519 [BZ # 13963]
3520 * manual/install.texi: Use sourceware.org.
3521
c483f6b4
JM
35222012-04-09 Joseph Myers <joseph@codesourcery.com>
3523
d7dd9453
JM
3524 [BZ #13873]
3525 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3526 (__ieee754_pow): Generate overflow and underflow using huge*huge
3527 and tiny*tiny rather than just returning constant infinity or zero
3528 for large exponents.
3529 * math/libm-test.inc (pow_test): Require overflow exceptions for
3530 applicable cases of large exponents.
3531
c483f6b4
JM
3532 [BZ #706]
3533 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3534 (__ieee754_pow): Use iterative multiplication algorithm only for
3535 integer exponents with absolute value below 1024. Check for odd
3536 integer exponents when using algorithm for real exponents.
3537 * math/libm-test.inc (pow_test): Add more tests.
3538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3539
d2de7579
JM
35402012-04-08 Joseph Myers <joseph@codesourcery.com>
3541
3542 [BZ #13705]
3543 * math/libm-test.inc (exp_test): Do not allow overflow exception
3544 on underflow test.
3545
f77f1232
AJ
35462012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3547
3548 [BZ #13705]
3549 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3550 instead of __kernel_standard_f.
3551
3884932b
MF
35522012-04-08 Mike Frysinger <vapier@gentoo.org>
3553
3554 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3555 * sysdeps/x86_64/memset_chk.S: Likewise.
3556
54472e9c
AJ
35572012-04-08 Andreas Jaeger <aj@suse.de>
3558
6ab0fbfc
AJ
3559 [BZ #10153]
3560 * manual/startup.texi (Environment Access): Describe return value
3561 for putenv and setenv.
3562
61efba8c
AJ
3563 [BZ #6895]
3564 * manual/filesys.texi (Directory Entries): Add description for
3565 DT_LNK.
3566
95c3f29a
AJ
3567 [BZ #6890]
3568 * manual/filesys.texi (Directory Entries): Clarify that it's file
3569 system not operating system in the description of DT_UNKNOWN.
3570
54472e9c
AJ
3571 [BZ #6578]
3572 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3573
624254b1
SC
35742012-04-08 Stephen Compall <s11@member.fsf.org>
3575
3576 [BZ #6649]
3577 * manual/llio.texi (Opening and Closing Files): Add cross
3578 reference to explain mode argument.
3579
1e4920e0
MF
35802012-04-07 Mike Frysinger <vapier@gentoo.org>
3581
3582 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3583 * sysdeps/x86_64/memset_chk.S: Likewise.
3584
5ed848f3
DM
35852012-04-07 David S. Miller <davem@davemloft.net>
3586
3587 * elf/elf.h (R_SPARC_WDISP10): Define.
3588 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3589 R_SPARC_SIZE32.
3590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3591 R_SPARC_SIZE64 and R_SPARC_H34.
3592
96154cd8
CD
35932012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3594
3595 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3596 conditions and remove no longer applicable assertion.
3597
9904dc47
L
35982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3599
3600 * bits/byteswap.h: Include <features.h>.
3601 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3602 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3603
f8887d0a
L
36042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3605
3606 * bits/byteswap.h (__bswap_16): Removed.
3607 Include <bits/byteswap-16.h> to get __bswap_16.
3608 * sysdeps/i386/bits/byteswap.h: Likewise.
3609 * sysdeps/s390/bits/byteswap.h: Likewise.
3610 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3611 * bits/byteswap-16.h: New file.
3612 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3613 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3614 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3615 * string/Makefile (headers): Add bits/byteswap-16.h.
3616
62470f60
PP
36172012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3618
3619 [BZ #13895]
3620 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3621 extra indirection.
3622 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3623 * nss/tst-nss-static.c: New.
3624
4dad7bab
RM
36252012-04-06 Robert Millan <rmh@gnu.org>
3626
3627 [BZ #6486]
3628 * manual/llio.texi (File Position Primitive): lseek
3629 refers to WHENCE when it really means OFFSET.
3630
e9142a17
AJ
36312012-04-06 Andreas Jaeger <aj@suse.de>
3632
2c040eff
AJ
3633 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3634 strncmp declarations.
3635
e9142a17
AJ
3636 * abilist/libc.abilist: Add __poll and __ppoll.
3637
ff9f1c5f
DM
36382012-04-05 David S. Miller <davem@davemloft.net>
3639
dcd2ae90
DM
3640 * scripts/check-local-headers.sh: Accept a host triplet in the
3641 path matched by the exclude regexp.
3642
993eb054
DM
3643 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3644 definition.
3645 * sysdeps/powerpc/powerpc32/dl-machine.h
3646 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3647 * sysdeps/s390/s390-32/dl-machine.h
3648 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3649 * sysdeps/sparc/sparc32/dl-machine.h
3650 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3651 * sysdeps/sparc/sparc64/dl-machine.h
3652 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3653
ff9f1c5f
DM
3654 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3655 lazy binding.
48e2e132 3656 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3657 undefined symbol errors.
3658
48e2e132 3659 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3660 DT_NEEDED entries.
3661
e80d6f94
MM
36622012-04-05 Michael Matz <matz@suse.de>
3663
3664 [BZ #13592]
3665 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3666
349fa79f
AJ
36672012-04-05 Andreas Jaeger <aj@suse.de>
3668
3669 [BZ #13908]
3670 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3671 comment.
3672
f402708f
KK
36732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3674
3675 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3676 which ROUND is no valid rounding mode.
3677
2ecccfc9
KK
36782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3679
3680 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3681 read again.
3682 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3683
8a53f50f
KK
36842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3685
3686 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3687 an exception using FPU order intentionally.
3688
36892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3690
3691 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3692 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3693 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3694 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3695
d653abb7
SJ
36962012-04-05 Simon Josefsson <simon@josefsson.org>
3697
3698 [BZ #12340]
3699 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3700 EINVAL when BUFLEN is too smal.
3701
c3b1bf7d
TS
37022012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3703
3704 [BZ #13553]
3705 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3706 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3707
b1aa60f3
AJ
37082012-04-03 Andreas Jaeger <aj@suse.de>
3709
c3b1bf7d 3710 [BZ #13938]
67f60a26
AJ
3711 * manual/setjmp.texi (System V contexts): Fix sentence.
3712
b1aa60f3
AJ
3713 [BZ #13926]
3714 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3715 New macro for this case.
3716 [!__GNUC__] (__bswap_64): New inline function for this case.
3717 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3718 * bits/byteswap.h: Likewise.
3719 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3720 ull, guard with __GLIBC_HAVE_LONG_LONG.
3721
3722 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3723 __GLIBC_HAVE_LONG_LONG.
3724
3725 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3726 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3727
39c59c35
TMQMF
37282012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3729
3730 [BZ #13691]
3731 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3732 inptr and inend, rather than using last_ch.
3733
135ffda8
DM
37342012-04-02 David S. Miller <davem@davemloft.net>
3735
3736 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3737 * stdio-common/printf-parse.h (read_int): Change return type to
3738 'int', return -1 on INT_MAX overflow.
3739 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3740 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3741 overflows INT_MAX. Check for overflow of in-format-string precision
3742 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3743 SIZE_MAX not INT_MAX for integer overflow test.
3744 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3745 skip the construct in the format string but do not record anything.
3746 * stdio-common/bug22.c: Adjust to test both width/prevision
3747 INT_MAX overflow as well as total length INT_MAX overflow. Check
3748 explicitly for proper errno values.
3749
228c019e
TS
37502012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3751
302cadd3
TS
3752 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3753 CHAR_MAX.
3754 * string/test-strcmp.c [! WIDE]: Likewise.
3755 * time/tst-mktime2.c: Likewise for INT_MAX.
3756 * string/test-string.h: #include <sys/param.h> for MIN.
3757
228c019e
TS
3758 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3759 * sysdeps/i386/init-first.c (init): Likewise.
3760 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3761 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3762 * sysdeps/sh/init-first.c (init): Likewise.
3763
cfa633f5
UD
37642012-04-01 Ulrich Drepper <drepper@gmail.com>
3765
3766 * po/ru.po: Update from translation team.
d1635ef8 3767 * po/vi.po: Likewise.
cfa633f5 3768
6cd0a5ea
SP
37692012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3770
3771 * resolv/nss_dns/dns-host.c: Merge copyright years.
3772
4b43400f
LD
37732012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3774
3775 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3776 Optimize memcpy with prefetch if
3777 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3778 src, dst pointers have unequal 16 byte alignments.
3779
48c41d04
SP
37802012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3781
3782 [BZ #13928]
3783 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3784 from a CNAME entry and return the minimum ttl for the query.
3785 (gaih_getanswer_slice): Likewise.
3786
b8dc394d
JL
37872012-03-30 Jeff Law <law@redhat.com>
3788
3789 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3790 due to long keys.
3791 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3792 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3793
2f5a5ed0
JL
3794 * resolv/nss_dns/dns-host.c: Update copyright year.
3795
1d39e359
UD
37962012-03-30 Ulrich Drepper <drepper@gmail.com>
3797
c030f70c 3798 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3799 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3800
1d39e359
UD
3801 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3802 comments for sendmmsg.
3803
38042012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3805
3806 [BZ #13691]
3807 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3808 with only 1 character between 0x0041 and 0x01b0.
3809 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3810 * wcsmbs/tst-mbsnrtowcs.c: New file.
3811
20fde227
DM
38122012-03-29 David S. Miller <davem@davemloft.net>
3813
3814 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3815 small copies by hand.
3816
984a4237
JL
38172012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3818
3819 [BZ #13761]
3820 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3821 _nss_compat_initgroups_dyn): Fall back to malloc/free
3822 for large group memberships.
3823
18c9d62b
DM
38242012-03-28 David S. Miller <davem@davemloft.net>
3825
88d85d4f
DM
3826 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3827 that branches into memcpy.
3828 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3829 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3830 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3831 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3832 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3833 bits.
3834 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3835 implementation too.
3836 * sysdeps/sparc/mempcpy.S: New file.
3837
e5aa83e1
DM
3838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3839 the IFUNC routine in the libc case.
3840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3841
88570753
DM
3842 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3843 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3844 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3845 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3846 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3847 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3848 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3849 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3850
249d7567
DM
3851 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3852 loop to 256 bytes instead of 64 bytes and fix test signedness.
3853
18c9d62b
DM
3854 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3855 * sysdeps/sparc/sparc32/Makefile: rather than here...
3856 * sysdeps/sparc/sparc64/Makefile: and here.
3857
05f3d1f6
UD
38582012-03-28 Ulrich Drepper <drepper@gmail.com>
3859
3860 * malloc/mallocbug.c: Avoid warnings about unused variables.
3861
86ae07a8
JL
38622012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3863
3864 [BZ #13760]
3865 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3866 in the right place. Discard and retry query if response is
3867 larger than input buffer size.
3868
41bf21a1
JM
38692012-03-28 Joseph Myers <joseph@codesourcery.com>
3870
d6270972
JM
3871 [BZ #369]
3872 [BZ #2678]
3873 [BZ #3866]
3874 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3875 x for large integer exponent.
3876 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3877 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3878 sign of result as needed afterwards.
3879 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3880 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3881 result for underflowing pow the same as for overflow.
3882 (__kernel_standard_l): Handle powl overflow and underflow here
3883 rather than calling __kernel_standard.
3884 * math/libm-test.inc (pow_test): Add more tests.
3885
414fca03 3886 [BZ #3868]
41bf21a1
JM
3887 [BZ #13879]
3888 [BZ #13910]
3889 [BZ #13911]
3890 [BZ #13912]
3891 [BZ #13913]
3892 [BZ #13915]
3893 [BZ #13916]
3894 [BZ #13917]
3895 [BZ #13918]
3896 [BZ #13919]
3897 [BZ #13920]
3898 [BZ #13921]
3899 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3900 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3901 (__kernel_standard_l): New function.
3902 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3903 __kernel_standard.
3904 * math/w_acosl.c (__acosl): Likewise.
3905 * math/w_asinl.c (__asinl): Likewise.
3906 * math/w_atan2l.c (__atan2l): Likewise.
3907 * math/w_atanhl.c (__atanhl): Likewise.
3908 * math/w_coshl.c (__coshl): Likewise.
3909 * math/w_exp10l.c (__exp10l): Likewise.
3910 * math/w_exp2l.c (__exp2l): Likewise.
3911 * math/w_fmodl.c (__fmodl): Likewise.
3912 * math/w_hypotl.c (__hypotl): Likewise.
3913 * math/w_j0l.c (__j0l, __y0l): Likewise.
3914 * math/w_j1l.c (__j1l, __y1l): Likewise.
3915 * math/w_jnl.c (__jnl, __ynl): Likewise.
3916 * math/w_lgammal.c (__lgammal): Likewise.
3917 * math/w_log10l.c (__log10l): Likewise.
3918 * math/w_log2l.c (__log2l): Likewise.
3919 * math/w_logl.c (__logl): Likewise.
3920 * math/w_powl.c (__powl): Likewise.
3921 * math/w_remainderl.c (__remainderl): Likewise.
3922 * math/w_scalbl.c (sysv_scalbl): Likewise.
3923 * math/w_sinhl.c (__sinhl): Likewise.
3924 * math/w_sqrtl.c (__sqrtl): Likewise.
3925 * math/w_tgammal.c (__tgammal): Likewise.
3926 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3927 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3928 * math/libm-test.inc (acos_test): Add more tests.
3929 (acosh_test): Likewise.
3930 (asin_test): Likewise.
3931 (atanh_test): Likewise.
3932 (exp_test): Likewise.
3933 (exp10_test): Likewise.
3934 (exp2_test): Likewise.
3935 (expm1_test): Likewise.
3936 (lgamma_test): Likewise.
3937 (log_test): Likewise.
3938 (log10_test): Likewise.
3939 (log1p_test): Likewise.
3940 (log2_test): Likewise.
3941 (pow_test): Do not allow some spurious overflow exceptions.
3942 (sqrt_test): Add more tests.
3943 (tgamma_test): Likewise.
3944 (y0_test): Likewise.
3945 (y1_test): Likewise.
3946 (yn_test): Likewise.
3947
dd62fda6
AB
39482012-03-27 Anton Blanchard <anton@samba.org>
3949
3950 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3951 MAP_HUGETLB.
3952 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3953 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3954 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3955
1e3cdfda
AJ
39562012-03-27 David S. Miller <davem@davemloft.net>
3957
b855ab85
DM
3958 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3959
1e3cdfda
AJ
3960 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3961 have-as-vis3 check.
3962
39632012-03-27 Andreas Jaeger <aj@suse.de>
3964
3965 * sysdeps/x86_64/elf/configure.in: Moved to ...
3966 * sysdeps/x86_64/configure.in: ... here.
3967 * sysdeps/x86_64/elf/start.S: Moved to ...
3968 * sysdeps/x86_64/start.S: ... here.
3969 * sysdeps/x86_64/elf/configure: Delete.
3970
3971 * sysdeps/x86_64/configure.in: Merge contents from
3972 sysdeps/i386/configure.in (without i686 check).
3973
3974 * sysdeps/i386/elf/Versions: Merge into ...
3975 * sysdeps/i386/Versions: ... this.
3976 * sysdeps/i386/elf/Versions: Delete file.
3977 * sysdeps/i386/elf/start.S: Moved to ...
3978 * sysdeps/i386/start.S: ...here.
3979 * sysdeps/i386/elf/configure.in: Merge into...
3980 * sysdeps/i386/configure.in: ...here.
3981 * sysdeps/i386/elf/configure.in: Delete file.
3982 * sysdeps/i386/elf/configure: Delete file.
3983
3984 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3985 * debug/backtracesyms.c: ... here.
3986 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3987 * debug/backtracesymsfd.c: ... here.
3988 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3989 * sysdeps/generic/ifunc-sel.h: ... here.
3990
3991 * sysdeps/unix/i386/start.c: Delete file.
3992 * sysdeps/unix/sparc/start.c: Delete file.
3993 * sysdeps/unix/start.c: Delete file.
3994
3995 * sysdeps/sh/elf/configure.in: Moved to ...
3996 * sysdeps/sh/configure.in: ... here.
3997 * sysdeps/sh/elf/start.S: Moved to ...
3998 * sysdeps/sh/start.S: ... here.
3999 * sysdeps/sh/elf/configure: Delete file.
4000
4001 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4002 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4003 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4004 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4005 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4006 * sysdeps/powerpc/powerpc64/start.S: here.
4007 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4008 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4009 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4010 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4011 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4012
4013 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4014 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4015 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4016 * sysdeps/powerpc/powerpc32/start.S: ... here.
4017 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4018 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4019 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4020
4021 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4022 * sysdeps/powerpc/ifunc-sel.h: ... here.
4023 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4024 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4025
4026 * sysdeps/sparc/elf/configure.in: Moved to ...
4027 * sysdeps/sparc/configure.in: ... here.
4028 * sysdeps/sparc/elf/configure: Delete file.
4029 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4030 * sysdeps/sparc/sparc32/start.S: ... here.
4031 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4032 * sysdeps/sparc/sparc64/start.S: ... here.
4033 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4034 * sysdeps/sparc/sparc32/Makefile: ... this.
4035 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4036 * sysdeps/sparc/sparc64/Makefile: ... this.
4037
4038 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4039 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4040 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4041 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4042 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4043 * sysdeps/s390/s390-32/setjmp.S: ... here.
4044 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4045 * sysdeps/s390/s390-32/configure.in: ... here.
4046 * sysdeps/s390/s390-32/elf/configure: Delete file.
4047 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4048 * sysdeps/s390/s390-32/start.S: ... here.
4049
4050 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4051 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4052 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4053 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4054 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4055 * sysdeps/s390/s390-64/setjmp.S: ... here.
4056 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4057 * sysdeps/s390/s390-64/configure.in: ... here
4058 * sysdeps/s390/s390-64/elf/configure: Delete file.
4059 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4060 * sysdeps/s390/s390-64/start.S: ... here.
4061 * sysdeps/s390/s390-64/elf/configure: Delete.
4062
4063 * configure.in: Remove support for elf directories in sysdeps.
4064
4065 * configure: Regenerated.
4066 * sysdeps/i386/configure: Regenerated.
4067 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4068 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4069 * sysdeps/s390/s390-32/configure: Regenerated.
4070 * sysdeps/s390/s390-64/configure: Regenerated.
4071 * sysdeps/sh/configure: Regenerated.
4072 * sysdeps/sparc/configure: Regenerated.
4073 * sysdeps/x86_64/configure: Regenerated.
4074
a3f61311
AS
40752012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4076
c876e002
AS
4077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4078
a3f61311
AS
4079 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4080 denormal result into account.
4081
ac4c54f0
RM
40822012-03-25 Roland McGrath <roland@hack.frob.com>
4083
4084 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4085 Reported by Allan McRae <allan@archlinux.org>.
4086
6a9b9c02
JL
40872012-03-23 Jeff Law <law@redhat.com>
4088
4089 * nss/getnssent.c (__nss_getent): Fix typo.
4090
4c42a0c1
DM
40912012-03-23 David S. Miller <davem@davemloft.net>
4092
4093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4094
1532c7ac
L
40952012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4096
4097 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4098 to pad to uint64_t for each field.
4099 (dl_tls_index): Replace unsigned long with uint64_t.
4100
3ff42526
PP
41012012-03-23 Daniel Jacobowitz <dmj@google.com>
4102 Paul Pluzhnikov <ppluzhnikov@google.com>
4103
4104 [BZ #6528]
4105 * grp/Makefile (otherlibs): Don't set it.
4106 * inet/Makefile (otherlibs): Likewise.
4107 * login/Makefile (otherlibs): Likewise.
4108 * nscd/Makefile (otherlibs): Likewise.
4109 * posix/Makefile (otherlibs): Likewise.
4110 * pwd/Makefile (otherlibs): Likewise.
4111 * rt/Makefile (otherlibs): Likewise.
4112 * sunrpc/Makefile (otherlibs): Likewise.
4113 * nss/Makefile (otherlibs): Likewise.
4114 Add libnss_files to routines and static-only-routines.
4115 ($(objpfx)getent): Remove rule.
4116 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4117 static-only-routines.
4118
7c69cd14
JM
41192012-03-22 Joseph Myers <joseph@codesourcery.com>
4120
4121 [BZ #13892]
4122 * math/s_cexp.c: Include <float.h>.
4123 (__cexp): Handle exp result overflowing not necessarily
4124 overflowing both real and imaginary parts of result.
4125 * math/s_cexpf.c: Likewise.
4126 * math/s_cexpl.c: Likewise.
4127 * math/libm-test.inc (cexp_test): Add more tests.
4128 * sysdeps/i386/fpu/libm-test-ulps: Update.
4129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4130
81b035fe
L
41312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4132
4133 * include/link.h (ELFW): New macro.
4134 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4135 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4136
1da7940c
L
41372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4138
4139 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4140 with uint64_t.
4141
b749dbb9
L
41422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4143
4144 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4145 declaration.
4146 (struct La_x32_retval): Likewise.
4147
2ff87f3f
L
41482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4149
4150 * sysdeps/x86_64/preconfigure.in: New file.
4151 * sysdeps/x86_64/preconfigure: New generated file.
4152
c0df8e69
JM
41532012-03-22 Joseph Myers <joseph@codesourcery.com>
4154
48e44791
JM
4155 [BZ #13824]
4156 * math/e_exp2l.c: Include <float.h>.
4157 (__ieee754_exp2l): Handle overflow and underflow cases
4158 separately. Only pass fractional part of argument to
4159 __ieee754_expl.
4160 * math/libm-test.inc (exp2_test): Add more tests.
4161
c0df8e69
JM
4162 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4163 negating x to take absolute value.
4164 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4165 Likewise.
4166 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4168 Likewise.
4169 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4170 computing low part if x was negated.
4171 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4172
c8e43ba7
L
41732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4174
4175 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4176 la_x32_gnu_pltexit.
4177 (pltexit): Cast int_retval to ptrdiff_t.
4178 * elf/tst-auditmod3b.c: Likewise.
4179 * elf/tst-auditmod4b.c: Likewise.
4180 * elf/tst-auditmod5b.c: Likewise.
4181 * elf/tst-auditmod6b.c: Likewise.
4182 * elf/tst-auditmod6c.c: Likewise.
4183 * elf/tst-auditmod7b.c: Likewise.
4184
4185 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4186 and x32_gnu_pltexit.
4187
4188 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4189 __ELF_NATIVE_CLASS.
4190 (La_x32_regs): New macro.
4191 (La_x32_retval): Likewise.
4192 (la_x32_gnu_pltenter): New function prototype.
4193 (la_x32_gnu_pltexit): Likewise.
4194
7998fa78
AS
41952012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4196
dcb33988
AS
4197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4198 exponent.
4199
233fc563
AS
4200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4201
7998fa78
AS
4202 * configure.in (libc_cv_cc_nofma): Check for option to disable
4203 generation of FMA instructions.
4204 * configure: Regenerate.
4205 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4206 * sysdeps/ieee754/dbl-64/Makefile: New file.
4207 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4208 Remove brandred-fma4.
4209 (CFLAGS-brandred-fma4.c): Remove.
4210 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4211 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4212 define.
4213 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4214 define.
4215
8e95c99a
L
42162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4217
4218 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4219 LLONG_MAX != LONG_MAX.
4220 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4221 (_fitoa_word): Likewise.
4222 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4223 LLONG_MAX != LONG_MAX.
4224 * stdio-common/_itowa.h: Include <_itoa.h>.
4225 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4226 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4227 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4228 only if not defined.
4229 (_ITOA_WORD_TYPE): Likewise.
4230 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4231 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4232
6f4db457
DM
42332012-03-21 David S. Miller <davem@davemloft.net>
4234
4235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4236
7785fe5a
L
42372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4238
4239 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4240 of x86_64 when setting libc_cv_slibdir, libdir and
4241 libc_cv_localedir.
4242 * sysdeps/unix/sysv/linux/configure: Regenerated.
4243
4535cd55
JM
42442012-03-21 Joseph Myers <joseph@codesourcery.com>
4245
4246 * manual/lang.texi (Old Varargs): Remove section.
4247 (How Variadic): Update menu.
4248 (va_start): Do not mention varargs.h.
4249
17228132
TS
42502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4251 Joseph Myers <joseph@codesourcery.com>
4252
4253 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4254 link test.
4255 * configure: Regenerated.
4256
8149f976
TS
42572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4258
05f3d1f6
UD
4259 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4260 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4261 conformtest.pl
8149f976 4262
1a4ac776
JM
42632012-03-21 Joseph Myers <joseph@codesourcery.com>
4264
be22ce65
JM
4265 * NOTES: Remove.
4266 * Makefile (files-for-dist): Remove NOTES.
4267 (NOTES): Remove rule.
4268 * README: Don't refer to NOTES.
4269 * manual/creature.texi: Don't include macros.texi.
4270 * manual/intro.texi (creature.texi): Remove comment referring to
4271 NOTES.
4272
40b601fb
JM
4273 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4274 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4275 * configure: Regenerated.
4276 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4277 LIBC_TRY_CC_OPTION.
4278 (libc_cv_as_i686): Likewise.
4279 (libc_cv_cc_avx): Likewise.
4280 (libc_cv_cc_sse2avx): Likewise.
4281 (libc_cv_cc_fma4): Likewise.
4282 (libc_cv_cc_novzeroupper): Likewise.
4283 * sysdeps/i386/configure: Regenerated.
4284
1a4ac776
JM
4285 [BZ #13883]
4286 * sysdeps/i386/fpu/s_cexp.S: Remove.
4287 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4288 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4289 * math/libm-test.inc (cexp_test): Add more tests.
4290 * sysdeps/i386/fpu/libm-test-ulps: Update.
4291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4292
a458e7fe
AM
42932012-03-21 Allan McRae <allan@archlinux.org>
4294
4295 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4296
0cb7efc5
JM
42972012-03-21 Joseph Myers <joseph@codesourcery.com>
4298
4299 [BZ #13871]
4300 * math/w_exp2.c: Do not include <float.h>.
4301 (o_threshold, u_threshold): Remove.
4302 (__exp2): Calculate result before checking finiteness and calling
4303 __kernel_standard.
4304 * math/w_exp2f.c: Likewise.
4305 * math/w_exp2l.c: Likewise.
4306 * math/libm-test.inc (exp2_test): Require overflow exception for
4307 1e6 input.
2460d3aa
JM
4308
4309 [BZ #3866]
4310 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4311 range of signed 64-bit integers before using fistpll. Remove
4312 checks for whether integers fit in mantissa bits.
4313 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4314 the range of signed 32-bit integers before using fistpl. Remove
4315 checks for whether integers fit in mantissa bits.
4316 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4317 (__ieee754_powl): Test for y outside the range of signed 64-bit
4318 integers before using fistpll. Reduce 64-bit values to 63-bit
4319 ones as needed.
4320 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4321 divide-by-zero is raised for zero to large negative powers.
4322 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4323 (__ieee754_powl): Test for y outside the range of signed 64-bit
4324 integers before using fistpll. Reduce 64-bit values to 63-bit
4325 ones as needed.
4326 * math/libm-test.inc (pow_test): Add more tests.
4327
eb96ffb0
L
43282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4329
4330 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4331 <stdio-common/_itoa.h>.
4332 * debug/segfault.c: Likewise.
4333 * elf/dl-cache.c: Likewise.
4334 * elf/dl-minimal.c: Likewise.
4335 * elf/dl-misc.c: Likewise.
4336 * elf/dl-sysdep.c: Likewise.
4337 * elf/dl-version.c: Likewise.
4338 * elf/rtld.c: Likewise.
4339 * hurd/hurdsock.c: Likewise.
4340 * hurd/lookup-retry.c: Likewise.
4341 * malloc/malloc.c: Likewise.
4342 * malloc/mtrace.c: Likewise.
4343 * nscd/nscd_getgr_r.c: Likewise.
4344 * nscd/nscd_getpw_r.c: Likewise.
4345 * nscd/nscd_getserv_r.c: Likewise.
4346 * posix/getopt_init.c: Likewise.
4347 * posix/wordexp.c: Likewise.
4348 * stdio-common/_itoa.c: Likewise.
4349 * stdio-common/printf_fphex.c: Likewise.
4350 * stdio-common/vfprintf.c: Likewise.
4351 * string/_strerror.c: Likewise.
4352 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4353 * sysdeps/i386/i686/hp-timing.h: Likewise.
4354 * sysdeps/mach/_strerror.c: Likewise.
4355 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4356 * sysdeps/mach/hurd/sethostid.c: Likewise.
4357 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4358 * sysdeps/mach/xpg-strerror.c: Likewise.
4359 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4360 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4361 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4362 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4363 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4364 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4365 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4366 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4367 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4368 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4369 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4370 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4371 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4372 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4373 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4374 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4375 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4376 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4377 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4378 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4379 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4380
4381 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4382
4383 * stdio-common/_itoa.h: Moved to ...
4384 * sysdeps/generic/_itoa.h: Here.
4385
4386 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4387
4388 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4389 instead of "_itoa.h" and "_itowa.h".
4390 * stdio-common/vfprintf.: Likewise.
4391
d1af992d
L
43922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4393
4394 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4395 <bits/wordsize.h>.
4396 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4397 (__signbit): Likwise.
4398 (llrintf): Likwise.
4399 (llrint): Likwise.
4400
114883e0
L
44012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4402
4403 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4404 __WORDSIZE != 64.
4405
c135cc1b
JM
44062012-03-20 Joseph Myers <joseph@codesourcery.com>
4407
4408 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4409 OVERFLOW_EXCEPTION_OK.
4410 * math/libm-test.inc ("Philosophy"): Update comment about
4411 exception testing.
4412 (OVERFLOW_EXCEPTION): Define.
4413 (OVERFLOW_EXCEPTION_OK): Likewise.
4414 (INVALID_EXCEPTION_OK): Renumber.
4415 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4416 (IGNORE_ZERO_INF_SIGN): Likewise.
4417 (test_exceptions): Handle FE_OVERFLOW.
4418 (exp10_test): Expect overflow exceptions.
4419 (exp2_test): Likewise.
4420 (expm1_test): Likewise.
4421 (nextafter_test): Likewise.
4422 (pow_test): Likewise.
4423 (scalbn_test): Likewise.
4424 (scalbln_test): Likewise.
4425
95443d88
L
44262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4427
4428 * sysdeps/x86_64/bits/atomic.h
4429 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4430 64bit integer.
4431 (atomic_exchange_acq): Likewise.
4432 (__arch_exchange_and_add_body): Likewise.
4433 (__arch_add_body): Likewise.
4434 (atomic_add_negative): Likewise.
4435 (atomic_add_zero): Likewise.
4436
490df6c4
L
44372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4438
c2722551 4439 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4440 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4441
5e52b189
L
44422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4443
4444 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4445 Check __x86_64__ instead of __WORDSIZE.
4446
a9879d4c
L
44472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4448
4449 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4450
5df98260
DM
44512012-03-19 David S. Miller <davem@davemloft.net>
4452
e1497744
DM
4453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4454
5df98260
DM
4455 * sysdeps/sparc/fpu/fenv_private.h: New file.
4456 * sysdeps/sparc/fpu/math_private.h: Use it.
4457 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4458 Remove.
4459 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4460 (libc_feholdexcept_setroundl): Remove.
4461 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4462 Remove.
4463 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4464 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4465
b4c35121
L
44662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4467
4468 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4469 int64_t instead of long int.
4470 (INSERT_WORDS64): Likwise.
4471
56965fd7
L
44722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4473
4474 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4475 _Unwind_GetCFA return to _Unwind_Ptr first.
4476
83d1aec8
JM
44772012-03-19 Joseph Myers <joseph@codesourcery.com>
4478
1897ad44
JM
4479 [BZ #13629]
4480 * math/s_clog.c: Include <float.h>.
4481 (__clog): Scale large or subnormal inputs.
4482 * math/s_clogf.c: Likewise.
4483 * math/s_clogl.c: Likewise.
4484 * math/s_clog10.c: Include <float.h>.
4485 (M_LOG10_2): Define.
4486 (__clog10): Scale large or subnormal inputs.
4487 * math/s_clog10f.c: Likewise.
4488 * math/s_clog10l.c: Likewise.
4489 * math/libm-test.inc (clog_test): Add more tests.
4490 (clog10_test): Likewise.
4491 * sysdeps/i386/fpu/libm-test-ulps: Update.
4492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4493
7726d6a9
JM
4494 [BZ #11451]
4495 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4496 x and y.
4497 * math/libm-test.inc (atan2_test): Add another test.
4498
83d1aec8
JM
4499 * Makerules (common-objdir-compile): Remove.
4500 * sysdeps/unix/Makefile (config-generated): Do not add
4501 $(unix-generated) to variable.
4502 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4503 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4504 Remove rule.
4505 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4506 Likewise.
4507 [generic bits/local_lim.h] (before-compile): Do not append to
4508 variable.
4509 [generic bits/local_lim.h] (common-generated): Likewise.
4510 [generic sys/param.h] (before-compile): Do not append to variable.
4511 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4512 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4513 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4514 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4515 include.
4516 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4517 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4518 [generic sys/param.h] ($(addprefix
4519 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4520 [generic sys/param.h] (common-generated): Do not append to
4521 variable.
4522 [generic sys/param.h] (sysdep_headers): Likewise.
4523 [generic bits/errno.h] (before-compile): Do not append to
4524 variable.
4525 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4526 rule.
4527 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4528 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4529 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4530 [generic bits/errno.h] (common-generated): Do not append to
4531 variable.
4532 [generic bits/ioctls.h] (before-compile): Do not append to
4533 variable.
4534 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4535 rule.
4536 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4537 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4538 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4539 rule.
4540 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4541 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4542 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4543 [generic bits/ioctls.h] (common-generated): Do not append to
4544 variable.
4545 [generic sys/syscall.h] (syscall.h): Remove variable.
4546 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4547 rule.
4548 [generic sys/syscall.h] (before-compile): Do not append to
4549 variable.
4550 [generic sys/syscall.h] (common-generated): Likewise.
4551 * sysdeps/unix/errnos-tmpl.c: Remove file.
4552 * sysdeps/unix/errnos.awk: Likewise.
4553 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4554 * sysdeps/unix/ioctls.awk: Likewise.
4555 * sysdeps/unix/mk-local_lim.c: Likewise.
4556 * sysdeps/unix/snarf-ioctls: Likewise.
4557
4851a949
RH
45582012-03-19 Richard Henderson <rth@twiddle.net>
4559
bd37f2ee
RH
4560 * sysdeps/i386/fpu/fenv_private.h: New file.
4561 * sysdeps/i386/fpu/math_private.h: Use it.
4562 (math_opt_barrier, math_force_eval): Remove.
4563 (libc_feholdexcept_setround_53bit): Remove.
4564 (libc_feupdateenv_53bit): Remove.
4565 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4566 (math_opt_barrier, math_force_eval): Remove.
4567 (libc_feholdexcept): Remove.
4568 (libc_feholdexcept_setround): Remove.
4569 (libc_fetestexcept, libc_fesetenv): Remove.
4570 (libc_feupdateenv_test): Remove.
4571 (libc_feupdateenv, libc_feholdsetround): Remove.
4572 (libc_feresetround): Remove.
4573
d0adc922
RH
4574 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4575 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4576
0fe0f1f8
RH
4577 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4578 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4579 (libc_feupdateenv_testl): New.
4580 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4581 (libc_feupdateenv_testf): New.
4582 (libc_feupdateenv): Use libc_feupdateenv_test.
4583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4584 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4585
eb92c487
RH
4586 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4587 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4588 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4589 (libc_feresetround_noex): New.
4590 (libc_feresetround_noexf): New.
4591 (libc_feresetround_noexl): New.
4592 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4593 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4594 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4595 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4596 SET_RESTORE_ROUND.
4597 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4598 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4599 (__cos): Likewise.
4600 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4601 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4602 SET_RESTORE_ROUND_NOEX.
4603 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4604 SET_RESTORE_ROUND_NOEXF.
4605 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4606 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4607 (libc_feholdsetroundf): New.
4608 (libc_feresetround, libc_feresetroundf): New.
4609
7d2e8012
RH
4610 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4611 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4612 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4613
b4dabbb4
RH
4614 * sysdeps/generic/math_private.h: Include <fenv.h>.
4615 (default_libc_feholdexcept): New.
4616 (default_libc_feholdexcept_setround): New.
4617 (default_libc_fesetenv, default_libc_feupdateenv): New.
4618 (libc_feholdexcept): Only define if undefined.
4619 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4620 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4621 (libc_feholdexcept_setroundl): Likewise.
4622 (libc_feholdexcept_setround_53bit): Likewise.
4623 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4624 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4625 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4626 (libc_feupdateenv_53bit): Likewise.
4627 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4628 (libc_feholdexcept): Convert from macro to inline function.
4629 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4630 (libc_fesetenv, libc_feupdateenv): Likewise.
4631
4851a949
RH
4632 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4633 not previously defined.
4634 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4635 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4636 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4637 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4638 * sysdeps/ieee754/flt-32/math_private.h: New file.
4639 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4640 math_private.h below SET_FLOAT_WORD.
4641 (__isnan, __isinf_ns, __finite): Remove.
4642 (__isnanf, __isinf_nsf, __finitef): Remove.
4643
e79d442e
AS
46442012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4645
4646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4647
90b80344
DM
46482012-03-17 David S. Miller <davem@davemloft.net>
4649
4650 [BZ #6471]
4651 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4652 for 2.16.
4653
edc21804
DM
46542012-03-16 David S. Miller <davem@davemloft.net>
4655
77e927af
DM
4656 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4657 warnings.
4658
374976dd
DM
4659 [BZ #6471]
4660 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4661 properly.
4662 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4663 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4664 sysdep_routines when subdir is sysvipc.
4665 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4666 __getshmlba helper.
4667
edc21804
DM
4668 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4669
473c3ef3
L
46702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4671
4672 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4673 [__LP64__].
4674
eb0f39b6
L
46752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4676
4677 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4678 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4679 (__lround): Renamed to ...
4680 (__llround): This. Replace long int with long long int.
4681 Define lround functions as aliases of llround functions.
4682 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4683
6b6cd74b
L
46842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4685
4686 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4687 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4688 adresses to uintptr_t. Replace "long int" and "unsigned long
4689 int" with "greg_t" on va_arg.
4690
f1a77b01
L
46912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4692
4693 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4694 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4695
4696 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4697 Move e_machine check before EI_CLASS check. Handle x32
4698 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4699 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4700 SKIP_EM_IA_64 and include
4701 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4702
4703 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4704 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4705 (add_system_dir): New macro.
4706
4707 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4708 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4709
11b90b9f
JM
47102012-03-16 Joseph Myers <joseph@codesourcery.com>
4711
c36e1d23
JM
4712 [BZ #2551]
4713 [BZ #2552]
4714 [BZ #2553]
4715 [BZ #2554]
4716 [BZ #2562]
4717 [BZ #2563]
4718 [BZ #2565]
4719 [BZ #2566]
4720 [BZ #2576]
4721 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4722 (y0): Likewise.
4723 * math/w_j0f.c (j0f): Likewise.
4724 (y0f): Likewise.
4725 * math/w_j0l.c (__j0l): Likewise.
4726 (__y0l): Likewise.
4727 * math/w_j1.c (j1): Likewise.
4728 (y1): Likewise.
4729 * math/w_j1f.c (j1f): Likewise.
4730 (y1f): Likewise.
4731 * math/w_j1l.c (__j1l): Likewise.
4732 (__y1l): Likewise.
4733 * math/w_jn.c (jn): Likewise.
4734 (yn): Likewise.
4735 * math/w_jnf.c (jnf): Likewise.
4736 (ynf): Likewise.
4737 * math/w_jnl.c (__jnl): Likewise.
4738 (__ynl): Likewise.
4739 * math/libm-test.inc (j0_test): Add more tests.
4740 (j1_test): Likewise.
4741 (jn_test): Likewise. Add trailing semicolon to existing test.
4742 (y0_test): Likewise.
4743 (y1_test): Likewise.
4744 * sysdeps/i386/fpu/libm-test-ulps: Update.
4745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4746
11b90b9f
JM
4747 [BZ #13851]
4748 [BZ #13854]
4749 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4750 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4751 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4752 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4753 (__tanl): Set errno for infinite argument.
4754 * sysdeps/i386/fpu/mptan.c: Remove.
4755 * sysdeps/i386/fpu/s_tan.S: Likewise.
4756 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4757 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4758 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4759 * math/libm-test.inc (tan_test): Add more tests and enable more
4760 tests for double and long double.
4761 * sysdeps/i386/fpu/libm-test-ulps: Update.
4762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4763
6a1bd2a1
JK
47642012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4765
4766 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4767 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4768
10a803e0
RM
47692012-03-16 Roland McGrath <roland@hack.frob.com>
4770
4771 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4772 * configure.in: Use it for both main tree and add-ons.
4773 * configure: Regenerated.
4774
f196c7f7
L
47752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4776
4777 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4778
8848d99d
JM
47792012-03-16 Joseph Myers <joseph@codesourcery.com>
4780
96cbe7f4
JM
4781 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4782 in comment.
4783
8848d99d
JM
4784 [BZ #13851]
4785 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4786 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4787 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4788 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4789 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4790 infinite argument.
4791 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4792 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4793 != 0 for prec == 2.
4794 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4795 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4796 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4797 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4798 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4799 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4800 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4801 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4802 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4803 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4804 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4805 * math/libm-test.inc (cos_test): Add more tests and enable more
4806 tests for long double.
4807 (sin_test): Likewise.
4808 (sincos_test): Likewise.
4809 * sysdeps/i386/fpu/libm-test-ulps: Update.
4810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4811
dd7f4703
DM
48122012-03-16 David S. Miller <davem@davemloft.net>
4813
4814 * sysdeps/sparc/fpu/math_private.h: New file.
4815
006f1daa
DM
48162012-03-15 David S. Miller <davem@davemloft.net>
4817
c0c83bc8
DM
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4819 file.
e6a62e18 4820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4822 file.
e6a62e18
DM
4823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4828 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4829 sysdep routines.
4830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4831
88cb87d9
DM
4832 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4833 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4834
006f1daa 4835 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4837 sparc-ifunc.h
006f1daa 4838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4840 Likewise.
4841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4842 Likewise.
006f1daa
DM
4843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4847 Likewise.
006f1daa
DM
4848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4853 Likewise.
4854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4855 Likewise.
006f1daa
DM
4856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4860 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4862 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4863 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4878 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4879 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4880
11e0098e
AS
48812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4882
4883 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4884 scaling.
4885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4886
e85b09d0
AJ
48872012-03-15 Andreas Jaeger <aj@suse.de>
4888
4889 [BZ #13852]
4890 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4891 ieee754/flt-32 implementation for sin, cos and sincos.
4892 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4893 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4894 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4895 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4896 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4897 ieee754/flt-32 implementation for tan.
4898
4899 * math/libm-test.inc (cos_test): Enable some large input tests for
4900 float as well
4901 (sin_test): Likewise.
4902 (sincos_test): Likewise.
4903 (tan_test): Add tests for large input.
4904
4905 * sysdeps/i386/fpu/libm-test-ulps: Update.
4906
81c64153
AJ
49072012-03-15 Andreas Jaeger <aj@suse.de>
4908
4909 [BZ #13658]
4910 * math/libm-test.inc (cos_test): Add more test cases.
4911 (sin_test): Likewise.
4912 (sincos_test): Likewise.
4913
7bbfa5c6
AJ
49142012-03-15 Andreas Jaeger <aj@suse.de>
4915
4916 [BZ #13837]
4917 * math/libm-test.inc (cos_test): Add a test case for large input
4918 value.
4919 (sin_test): Likewise.
4920 (sincos_test): Likewise.
4921
49222012-03-15 Andreas Jaeger <aj@suse.de>,
4923 Joseph Myers <joseph@codesourcery.com>
4924
4925 [BZ #13658]
0671f479 4926 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4927 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4928 * sysdeps/i386/fpu/branred.c: Likewise.
4929 * sysdeps/i386/fpu/dosincos.c: Likewise.
4930 * sysdeps/i386/fpu/mpa.c: Likewise.
4931 * sysdeps/i386/fpu/s_cos.S: Likewise.
4932 * sysdeps/i386/fpu/s_sin.S: Likewise.
4933 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4934 * sysdeps/i386/fpu/sincos32.c: Likewise.
4935
4936 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4937 Define.
4938 (libc_feupdateenv_53bit): Define.
4939 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4940 Define.
4941 (libc_feupdateenv_53bit): Define.
4942
4943 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4944 53 bit (without extend i386 double precision).
4945
4946 * math/libm-test.inc (sincos_test): Add tests for large input.
4947 (sin): Likewise.
4948 (cos): Likewise.
4949
4950 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4951
9cad04ea
AS
49522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4953
4954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4955
f7062b9a
DM
49562012-03-15 David S. Miller <davem@davemloft.net>
4957
4958 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4959 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4960 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4961 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4974 file.
f7062b9a 4975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4977 file.
f7062b9a 4978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4980 file.
f7062b9a 4981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4983 file.
f7062b9a
DM
4984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4985 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4986 fmin/fmax sysdep routines.
4987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4988
7bd951ff
DM
49892012-03-14 David S. Miller <davem@davemloft.net>
4990
559398ab
DM
4991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4995 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4996 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4997 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4998 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5011 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5012 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5013 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5015 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5016 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5018 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5019 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5020 routines.
5021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5022 file.
559398ab 5023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5025 file.
559398ab 5026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5028 file.
559398ab 5029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5031 file.
559398ab 5032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5034 file.
559398ab 5035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5037 file.
5038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5039 file.
5040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5041 file.
5042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5043 file.
5044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5045 New file.
5046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5047 file.
5048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5049 file.
559398ab 5050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5052 file.
559398ab 5053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5055 file.
559398ab 5056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5058 file.
559398ab 5059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5061 VIS3 routines.
559398ab
DM
5062
5063 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5064 New file.
5065
5a1c1e32
DM
5066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5067
eae47a36
DM
5068 * sysdeps/sparc/configure.in: New file.
5069 * sysdeps/sparc/configure: Generate.
5070 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5071 * configure: Regenerate.
5072 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5073 * config.make.in (have-as-vis3): New.
5074 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5075 available use -Av9d instead of -Av9a.
5076 * sysdeps/sparc/sparc64/Makefile: Likewise.
5077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5079 New file.
5080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5081 file.
5082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5083 New file.
5084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5085 file.
eae47a36
DM
5086 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5087 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5088 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5089 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5091
c0c83bc8
DM
5092 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5093 fzeros/fnegs to load 0x80000000 into a float register instead of
5094 using the stack.
7bd951ff
DM
5095 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5096
bd951ccb
JM
50972012-03-14 Joseph Myers <joseph@codesourcery.com>
5098
5099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5100 bits/syscall.h.
5101 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5102 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5103 ($(inst_includedir)/bits/syscall.h): Remove rule.
5104 ($(objpfx)bits/syscall.d): Include instead of
5105 $(objpfx)syscall-list.d.
5106 (generated): Change syscall-list.h and syscall-list.d to
5107 bits/syscall.h and bits/syscall.d.
5108
bb4e6db2
RM
51092012-03-14 Roland McGrath <roland@hack.frob.com>
5110
5111 [BZ #13846]
5112 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5113
aa4a2ae1
JM
51142012-03-14 Joseph Myers <joseph@codesourcery.com>
5115
e456826d
JM
5116 [BZ #13841]
5117 * math/s_csqrt.c: Include <float.h>.
5118 (__csqrt): Scale large or subnormal inputs.
5119 * math/s_csqrtf.c: Likewise.
5120 * math/s_csqrtl.c: Likewise.
5121 * math/libm-test.inc (csqrt_test): Add more tests.
5122 * sysdeps/i386/fpu/libm-test-ulps: Update.
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5124
aa4a2ae1
JM
5125 [BZ #13840]
5126 * math/libm-test.inc (hypot_test): Add more tests.
5127
7c10fd35
DM
51282012-03-13 David S. Miller <davem@davemloft.net>
5129
5130 [BZ #13840]
5131 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5132 double-precision for the calculation instead of scaling.
5133
f453b98b
JM
51342012-03-13 Joseph Myers <joseph@codesourcery.com>
5135
5136 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5137 manipulate bits before adding and subtracting TWO52[sx].
5138 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5139 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5140 Likewise.
5141 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5142
09a3453f
DM
51432012-03-13 David S. Miller <davem@davemloft.net>
5144
8e59da90
DM
5145 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5146 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5147 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5148 rtld-global-offsets.h
5149 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5150
2a8ab7f2
DM
5151 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5152 large parameters.
5153
10f62770
DM
5154 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5155
5f0bdb18
DM
5156 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5157 'err' in the ifdef scope in which it is actually used.
5158
09a3453f
DM
5159 * nss/nss_db/db-init.c: Include string.h
5160
b4b2eb5e
DM
51612012-03-12 David S. Miller <davem@davemloft.net>
5162
98bb2f1c
DM
5163 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5164 masking out of the most significant byte of random value used.
5165 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5166 Fix coding style in previous change.
5167
b4b2eb5e
DM
5168 * sysdeps/unix/sysv/linux/kernel-features.h
5169 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5170 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5171 expression.
5172 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5173 later.
5174
6e226b09
DM
51752012-03-11 David S. Miller <davem@davemloft.net>
5176
a1bcbd40
DM
5177 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5178 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5179 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5180 for 'resultvar' otherwise things get truncated on 64-bit.
5181
cb9d6174
DM
5182 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5183 Fix masking out of the most significant byte of random value used.
5184
6e226b09
DM
5185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5186
058c132d
AS
51872012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5188
5189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5190
2d2cd515
DM
51912012-03-09 David S. Miller <davem@davemloft.net>
5192
5193 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5194 variables with appropriate CPP guards.
5195 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5196 frame pointer, not the stack pointer. Correct layout comments. Fix test
5197 on resulting framesize and the management of the outregs buffer for pltexit.
5198 Preserve floating point return values across _dl_call_pltexit call.
5199 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5200 framesize and the management of the outregs buffer for pltexit.
5201 Preserve floating point return values across _dl_call_pltexit
5202 call.
5203 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5204 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5205 (print_exit): Fix format string for return register value.
5206
9a07f9d0
JM
52072012-03-10 Joseph Myers <joseph@codesourcery.com>
5208
5209 * sunrpc/Makefile (others): Add rpcgen.
5210 ($(objpfx)rpcgen): Remove special build rule and dependency on
5211 libc.
5212 * sunrpc/rpcgen.c: New file.
5213
547b5e30
PE
52142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5215
c524201a
PE
5216 [BZ #13673]
5217 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5218 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5219 * sysdeps/i386/crti.S: Likewise.
5220 * sysdeps/i386/crtn.S: Likewise.
5221 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5222 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5223 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5224 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5225 * sysdeps/sh/crti.S: Likewise.
5226 * sysdeps/sh/crtn.S: Likewise.
5227 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5228
7b6235f2
PE
5229 [BZ #13673]
5230 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5231 with URL.
5232 * locale/programs/locfile-kw.gperf: Likewise.
5233 * locale/programs/charmap-kw.h: Regenerated.
5234 * locale/programs/locfile-kw.h: Likewise.
5235
547b5e30
PE
5236 [BZ #13673]
5237 * intl/plural.y: Replace FSF snail mail address with URL.
5238 * intl/plural.c: Regenerated.
5239
5f0a5dae
RH
52402012-03-09 Richard Henderson <rth@twiddle.net>
5241
5242 * include/math_private.h: Remove file.
5243 * math/math_private.h: Move file ...
5244 * sysdeps/generic/math_private.h: ... here.
5245
b8c03620
RH
5246 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5247 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5248 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5249
4e234f5d 5250 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5251 and <math_private.h>.
5252 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5253 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5254 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5255 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5256 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5258 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5265 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5267 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5274 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5277 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5278 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5279 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5281 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5284 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5287 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5292 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5293 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5294 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5295 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5296 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5297 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5298 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5299 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5300 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5301 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5302 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5303 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5304 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5305 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5306 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5307 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5308 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5309 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5310 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5311 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5312 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5314 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5316 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5323 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5324 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5325 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5326 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5327 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5328 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5330 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5331 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5332 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5333 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5334 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5335 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5336 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5340 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5341 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5342 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5343 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5344 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5345 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5346 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5347 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5348 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5349 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5350 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5351 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5352 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5353 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5354 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5355 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5356 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5357 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5358 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5359 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5360 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5361 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5362 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5363 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5364 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5365 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5366 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5367 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5368 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5369 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5370 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5371 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5372 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5373 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5374 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5375 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5376 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5377 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5378 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5379 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5380 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5381 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5382 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5383 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5384 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5385 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5386 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5387 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5388 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5389 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5390 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5391 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5392 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5393 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5394 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5395 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5396 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5397 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5398 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5399 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5400 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5401 * sysdeps/ieee754/k_standard.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5429 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5433 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5435 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5436 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5444 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5455 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5464 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5495 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5514 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5517 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5519 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5521 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5522 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5524 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5525 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5529 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5531 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5532 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5534 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5542 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5548 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5550 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5551 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5552 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5557 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5558 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5560 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5561 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5562 * sysdeps/ieee754/s_lib_version.c: Likewise.
5563 * sysdeps/ieee754/s_matherr.c: Likewise.
5564 * sysdeps/ieee754/s_signgam.c: Likewise.
5565 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5566 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5567 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5568 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5569 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5570 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5571 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5572 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5573 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5574 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5575 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5576 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5577 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5578 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5579 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5580 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5581 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5582 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5583 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5584 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5586
1991fa03
JM
55872012-03-09 Joseph Myers <joseph@codesourcery.com>
5588
5589 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5590 * sunrpc/rpc_main.c: Likewise.
5591 * sunrpc/rpc_svcout.c: Likewise.
5592
60d6f5a6
DM
55932012-03-09 David S. Miller <davem@davemloft.net>
5594
5595 * include/math_private.h: New file.
5596
4962050e
JM
55972012-03-09 Joseph Myers <joseph@codesourcery.com>
5598
02a6f887
JM
5599 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5600 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5601 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5602 from <bits/socket_type.h>.
5603 (enum __socket_type): Don't define here.
5604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5606 bits/socket_type.h.
5607
c6e013c1
JM
5608 [BZ #13566]
5609 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5610 checking __USE_GNU.
5611
4962050e
JM
5612 * Makerules ($(inst_includedir)/%.h): New rule.
5613 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5614 (install-others): Remove variable setting.
5615 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5616
38842f45
RH
56172012-03-08 Richard Henderson <rth@twiddle.net>
5618
67bb6da6
RH
5619 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5620 from macro to inline function; merge with the
5621 !__LIBC_INTERNAL_MATH_INLINES version.
5622 (__ieee754_sqrtf): Likewise.
5623
15194b4b
RH
5624 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5625 to inline function.
5626 (__rintf, __floor, __floorf): Likewise.
5627
64e21ede
RH
5628 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5629 macro to inline function.
5630 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5631
38842f45
RH
5632 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5633 not <math/math_private.h>.
5634
c64bf5fe
DM
56352012-03-08 David S. Miller <davem@davemloft.net>
5636
5637 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5638 copyright year.
5639 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5640
82d86f28
TS
56412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5642
5643 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5644 normalization.
5645 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5646 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5647
aea5d727
UD
56482012-03-08 Ulrich Drepper <drepper@gmail.com>
5649
5650 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5651 be defined individually, they must be defined as a block. Define
5652 S for printing a string instead of hidint the different by using a
5653 macro for adding the 'l'.
5654 * stdio-common/tst-fphex-wide.c: Adjust.
5655
70bca0a3
MP
56562012-03-07 Marek Polacek <polacek@redhat.com>
5657
5658 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5659
65b81130
MP
56602012-03-08 Marek Polacek <polacek@redhat.com>
5661
5662 [BZ #13806]
5663 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5664 * stdio-common/tst-fphex.c: Define a few macros to make the
5665 test reusable. Use them.
5666 * stdio-common/tst-fphex-wide.c: New file.
5667
07037eeb
JM
56682012-03-08 Joseph Myers <joseph@codesourcery.com>
5669
a7a93d50
JM
5670 [BZ #6911]
5671 * manual/macros.texi (gnusystems): New macro.
5672 (nongnusystems): Likewise.
5673 (gnulinuxhurdsystems): Likewise.
5674 (gnuhurdsystems): Likewise..
5675 (gnulinuxsystems): Likewise.
5676 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5677 variants of the GNU system, not "GNU system".
5678 * manual/conf.texi: Likewise.
5679 * manual/errno.texi: Likewise. Update example of errno macro
5680 expansion.
5681 * manual/filesys.texi: Likewise.
5682 (getumask): Document as specific to GNU/Hurd.
5683 * manual/install.texi: Likewise. Reword some references to
5684 GNU/Linux.
5685 * manual/intro.texi: Likewise.
5686 * manual/io.texi: Likewise.
5687 (File Name Portability): Detail which constraints are inapplicable
5688 to all GNU systems and which are only inapplicable to GNU/Hurd.
5689 * manual/job.texi: Likewise.
5690 * manual/llio.texi: Likewise.
5691 (O_NOCTTY): Document as present on GNU/Linux.
5692 * manual/maint.texi: Likewise.
5693 * manual/memory.texi: Likewise.
5694 * manual/pattern.texi: Likewise.
5695 * manual/pipe.texi: Likewise.
5696 * manual/process.texi: Likewise.
5697 * manual/resource.texi: Likewise.
5698 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5699 child on GNU/Hurd.
5700 * manual/setjmp.texi: Likewise.
5701 * manual/signal.texi: Likewise.
5702 * manual/startup.texi: Likewise.
5703 * manual/stdio.texi: Likewise.
5704 * manual/terminal.texi: Likewise.
5705 (ONLCR): Document as POSIX.
5706 (OXTABS): Document availability on GNU/Linux as XTABS.
5707 (ONOEOT): Document availability separately from other bits.
5708 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5709 * manual/time.texi: Likewise.
5710 * manual/users.texi: Likewise.
5711 * INSTALL: Regenerated.
5712 * sysdeps/gnu/errlist.c: Regenerated.
5713
07037eeb
JM
5714 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5715 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5716 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5717 puts.
5718 * configure: Regenerated.
5719
d1d3431a
JM
57202012-03-07 Joseph Myers <joseph@codesourcery.com>
5721
af6a1e37
JM
5722 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5723 default includes instead of AC_HEADER_CHECK.
5724 * sysdeps/i386/configure: Regenerated.
5725
d1d3431a
JM
5726 [BZ #10716]
5727 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5728 * math/s_cacoshf.c (__cacoshf): Likewise.
5729 * math/s_cacoshl.c (__cacoshl): Likewise.
5730 * math/s_casinh.c (__casinh): Set signs of result from argument.
5731 * math/s_casinhf.c (__casinhf): Likewise.
5732 * math/s_casinhl.c (__casinhl): Likewise.
5733 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5734 (casinh_test): Add more tests.
5735 * sysdeps/i386/fpu/libm-test-ulps: Update.
5736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5737
482ff4da
UD
57382012-03-07 Ulrich Drepper <drepper@gmail.com>
5739
872fda05
UD
5740 * po/zh_TW.po: Update from translation team.
5741
a4300c7a
UD
5742 * login/Makefile (distribute): Remove variable.
5743 * catgets/Makefile: Likewise.
5744 * mach/Makefile: Likewise.
5745 * malloc/Makefile: Likewise.
5746 * misc/Makefile: Likewise.
5747 * iconv/Makefile: Likewise.
5748 * nscd/Makefile: Likewise.
5749 * hurd/Makefile: Likewise.
5750 * manual/Makefile: Likewise.
5751 * locale/Makefile: Likewise.
5752 * intl/Makefile: Likewise.
5753 * conform/Makefile: Likewise.
5754 * nss/Makefile: Likewise.
5755 * time/Makefile: Likewise.
5756 * soft-fp/Makefile: Likewise.
5757 * dirent/Makefile: Likewise.
5758 * gmon/Makefile: Likewise.
5759 * po/Makefile: Likewise.
5760 * rt/Makefile: Likewise.
5761 * socket/Makefile: Likewise.
5762 * math/Makefile: Likewise.
5763 * signal/Makefile: Likewise.
5764 * debug/Makefile: Likewise.
5765 * elf/Makefile: Likewise.
5766 * timezone/Makefile: Likewise.
5767 * stdlib/Makefile: Likewise.
5768 * iconvdata/Makefile: Likewise.
5769 * sunrpc/Makefile: Likewise.
5770 * io/Makefile: Likewise.
5771 * argp/Makefile: Likewise.
5772 * inet/Makefile: Likewise.
5773 * hesiod/Makefile: Likewise.
5774 * grp/Makefile: Likewise.
5775 * csu/Makefile: Likewise.
5776 * wctype/Makefile: Likewise.
5777 * crypt/Makefile: Likewise.
5778 * libio/Makefile: Likewise.
5779 * string/Makefile: Likewise.
5780 * nis/Makefile: Likewise.
5781 * resolv/Makefile: Likewise.
5782 * stdio-common/Makefile: Likewise.
5783 * wcsmbs/Makefile: Likewise.
5784 * dlfcn/Makefile: Likewise.
5785 * posix/Makefile: Likewise.
5786
3b7c4e74 5787 [BZ #6959]
482ff4da
UD
5788 * timezone/Makefile: Don't install timezone files, just the programs
5789 and scripts.
5790
f72ed77d
UD
57912012-03-06 Ulrich Drepper <drepper@gmail.com>
5792
a000466f
UD
5793 * nss/databases.def: Add missing gshadow entry.
5794
f72ed77d
UD
5795 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5796
a53b7a4e
MP
57972012-03-06 Marek Polacek <polacek@redhat.com>
5798
5799 [BZ #13726]
5800 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5801 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5802 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5803 * stdio-common/tst-long-dbl-fphex.c: New file.
5804
e9258400
DM
58052012-03-06 David S. Miller <davem@davemloft.net>
5806
5807 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5808 (set_obp_int): New function.
5809 (get_obp_int): New function.
5810 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5811 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5812 Avoid unused variable warnings on 'val' and use builtin_expect.
5813 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5814 __builtin_expect.
e9258400
DM
5815 (INLINE_CLONE_SYSCALL): Likewise.
5816
3bd2c723
DM
58172012-03-05 David S. Miller <davem@davemloft.net>
5818
5819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5820
bbb78d03
AS
58212012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5822
884c5db4
AS
5823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5824
bbb78d03
AS
5825 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5826 only for |x| >= 40.
5827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5828
1c9f702a 58292012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5830
5831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5832 Replace gettimeofday with __vdso_gettimeofday.
5833
7be16f82
RM
5834 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5835 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5836 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5837
5838 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5839 time with __vdso_time.
5840
ed58a00f
JM
58412012-03-05 Joseph Myers <joseph@codesourcery.com>
5842
5843 * manual/lang.texi (size_t): Note types to which size_t may be
5844 equivalent with the GNU C Library, but do not describe when
5845 differences between them are significant.
5846
30ee4ced
AJ
58472012-03-05 Andreas Jaeger <aj@suse.de>
5848
5849 * sysdeps/i386/fpu/libm-test-ulps: Update.
5850
b7cd39e8
JM
58512012-03-05 Joseph Myers <joseph@codesourcery.com>
5852
5853 [BZ #3976]
5854 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5855 (__ieee754_pow): Save and restore rounding mode and use
5856 round-to-nearest for main computations.
5857 * math/libm-test.inc (pow_test_tonearest): New function.
5858 (pow_test_towardzero): Likewise.
5859 (pow_test_downward): Likewise.
5860 (pow_test_upward): Likewise.
5861 (main): Call the new functions.
5862 * sysdeps/i386/fpu/libm-test-ulps: Update.
5863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5864
5865 [BZ #3976]
5866 * math/libm-test.inc (cosh_test_tonearest): New function.
5867 (cosh_test_towardzero): Likewise.
5868 (cosh_test_downward): Likewise.
5869 (cosh_test_upward): Likewise.
5870 (sinh_test_tonearest): Likewise.
5871 (sinh_test_towardzero): Likewise.
5872 (sinh_test_downward): Likewise.
5873 (sinh_test_upward): Likewise.
5874 (main): Call the new functions.
5875 * sysdeps/i386/fpu/libm-test-ulps: Update.
5876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5877
6c6a98c9
TV
58782012-03-05 Tom de Vries <tom@codesourcery.com>
5879
5880 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5881 default stack guard is set in last bytes.
5882 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5883
21bb2d2e 58842012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5885
21bb2d2e 5886 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5887
21bb2d2e
AJ
5888 [BZ #13656]
5889 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5890 possibly allocate from heap instead of stack.
5891 * stdio-common/bug-vfprintf-nargs.c: New file.
5892 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5893
c6922934
AS
58942012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5895
5896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5897
bc957d53
MP
58982012-03-03 Marek Polacek <polacek@redhat.com>
5899
5900 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5901 * math/math_private.h: Likewise.
5902 * stdlib/tst-strtod.c: Likewise.
5903 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5904 * sysdeps/x86_64/bits/atomic.h: Likewise.
5905
6358490d
DM
59062012-03-02 David S. Miller <davem@davemloft.net>
5907
5908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5912 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5913 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5914 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5915 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5916
01ae168d
RM
59172012-03-02 Roland McGrath <roland@hack.frob.com>
5918
d9a17c07
RM
5919 [BZ #13792]
5920 * manual/examples/README: New file, says the example source files
5921 can be used under GPL>=2.
5922 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5923 line containing just "*/".
5924 * manual/examples/add.c: Add copyright header (GPL>=2).
5925 * manual/examples/argp-ex1.c: Likewise.
5926 * manual/examples/argp-ex2.c: Likewise.
5927 * manual/examples/argp-ex3.c: Likewise.
5928 * manual/examples/argp-ex4.c: Likewise.
5929 * manual/examples/atexit.c: Likewise.
5930 * manual/examples/db.c: Likewise.
5931 * manual/examples/dir.c: Likewise.
5932 * manual/examples/dir2.c: Likewise.
5933 * manual/examples/execinfo.c: Likewise.
5934 * manual/examples/filecli.c: Likewise.
5935 * manual/examples/filesrv.c: Likewise.
5936 * manual/examples/fmtmsgexpl.c: Likewise.
5937 * manual/examples/genpass.c: Likewise.
5938 * manual/examples/inetcli.c: Likewise.
5939 * manual/examples/inetsrv.c: Likewise.
5940 * manual/examples/isockad.c: Likewise.
5941 * manual/examples/longopt.c: Likewise.
5942 * manual/examples/memopen.c: Likewise.
5943 * manual/examples/memstrm.c: Likewise.
5944 * manual/examples/mkfsock.c: Likewise.
5945 * manual/examples/mkisock.c: Likewise.
5946 * manual/examples/mygetpass.c: Likewise.
5947 * manual/examples/pipe.c: Likewise.
5948 * manual/examples/popen.c: Likewise.
5949 * manual/examples/rprintf.c: Likewise.
5950 * manual/examples/search.c: Likewise.
5951 * manual/examples/select.c: Likewise.
5952 * manual/examples/setjmp.c: Likewise.
5953 * manual/examples/sigh1.c: Likewise.
5954 * manual/examples/sigusr.c: Likewise.
5955 * manual/examples/stpcpy.c: Likewise.
5956 * manual/examples/strdupa.c: Likewise.
5957 * manual/examples/strftim.c: Likewise.
5958 * manual/examples/strncat.c: Likewise.
5959 * manual/examples/subopt.c: Likewise.
5960 * manual/examples/swapcontext.c: Likewise.
5961 * manual/examples/termios.c: Likewise.
5962 * manual/examples/testopt.c: Likewise.
5963 * manual/examples/testpass.c: Likewise.
5964 * manual/examples/timeval_subtract.c: Likewise.
5965
01ae168d
RM
5966 [BZ #13792]
5967 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5968 function to ...
5969 * manual/timeval_subtract.c.texi: ... here, new file.
5970
49efa33d
DM
59712012-03-02 David S. Miller <davem@davemloft.net>
5972
5973 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5974
28afd92d
JM
59752012-03-02 Joseph Myers <joseph@codesourcery.com>
5976
804360ed
JM
5977 [BZ #3976]
5978 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5979 (__sin): Save and restore rounding mode and use round-to-nearest
5980 for all computations.
5981 (__cos): Save and restore rounding mode and use round-to-nearest
5982 for all computations.
5983 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5984 <fenv.h>.
5985 (tan): Save and restore rounding mode and use round-to-nearest for
5986 all computations.
5987 * math/libm-test.inc (cos_test_tonearest): New function.
5988 (cos_test_towardzero): Likewise.
5989 (cos_test_downward): Likewise.
5990 (cos_test_upward): Likewise.
5991 (sin_test_tonearest): Likewise.
5992 (sin_test_towardzero): Likewise.
5993 (sin_test_downward): Likewise.
5994 (sin_test_upward): Likewise.
5995 (tan_test_tonearest): Likewise.
5996 (tan_test_towardzero): Likewise.
5997 (tan_test_downward): Likewise.
5998 (tan_test_upward): Likewise.
5999 (main): Call the new functions.
6000 * sysdeps/i386/fpu/libm-test-ulps: Update.
6001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6002
a6d06d7b
JM
6003 [BZ #10135]
6004 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6005 small n, then large n, before computing and testing k+n.
6006 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6008 Likewise.
6009 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6010 Likewise.
6011 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6012 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6013 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6014 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6015 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6016 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6017 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6018 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6019 * math/libm-test.inc (scalbn_test): Add more tests.
6020 (scalbln_test): Likewise.
6021
07e12bb3
JM
6022 * manual/filesys.texi (mode_t): Describe constraints on size and
6023 signedness, not exact equivalence to a particular type.
6024 (ino_t): Likewise.
6025 (ino64_t): Likewise.
6026 (dev_t): Likewise.
6027 (nlink_t): Likewise.
6028 (blkcnt_t): Likewise.
6029 (blkcnt64_t): Likewise.
6030 * manual/llio.texi (off_t): Likewise.
6031
28afd92d
JM
6032 [BZ #3976]
6033 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6034 (__ieee754_exp): Save and restore rounding mode and use
6035 round-to-nearest for all computations.
6036 * math/libm-test.inc (exp_test_tonearest): New function.
6037 (exp_test_towardzero): Likewise.
6038 (exp_test_downward): Likewise.
6039 (exp_test_upward): Likewise.
6040 (main): Call the new functions.
6041 * sysdeps/i386/fpu/libm-test-ulps: Update.
6042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6043
b1eeb65d
CD
60442012-03-01 Chris Demetriou <cgd@google.com>
6045
6046 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6047 have predictable order.
6048
53362a4b
DM
60492012-03-01 David S. Miller <davem@davemloft.net>
6050
3c969083
DM
6051 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6052
759707de
DM
6053 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6054 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6055 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6056 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6057
dfdb8ff2
DM
6058 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6059 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6060 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6062 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6063 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6064 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6065 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6066 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6067
ead89f96
DM
6068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6069
7f66bd07
DM
6070 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6071 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6072 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6073
53362a4b
DM
6074 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6075 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6076 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6077 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6078 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6079 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6080 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6081 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6082 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6083 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6084 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6085 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6087 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6088 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6089 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6090 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6091 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6092 * sysdeps/sparc/elf/configure: Regenerated.
6093
7b1902cb
JM
60942012-03-01 Joseph Myers <joseph@codesourcery.com>
6095
bec039bc
JM
6096 * configure.in (AS, LD): Require binutils 2.20 or later.
6097 * configure: Regenerated.
6098 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6099 as required minimum version.
6100 * INSTALL: Regenerated.
6101
7b1902cb
JM
6102 [BZ #2541]
6103 [BZ #4108]
6104 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6105 before squaring exponent.
6106 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6107 bottom long double and 27 bits of top long double before squaring
6108 exponent.
6109 * math/libm-test.inc (erfc_test): Add more tests.
6110 * sysdeps/i386/fpu/libm-test-ulps: Update.
6111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6113
f775c276
KT
61142012-03-01 Kai Tietz <ktietz@redhat.com>
6115
6116 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6117 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6118 containing bit-fields.
6119 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6120 * soft-fp/single.h (_FP_UNION_S): Likewise.
6121 * soft-fp/double.h (_FP_UNION_D): Likewise.
6122
5b8a4d4a
JM
61232012-02-29 Joseph Myers <joseph@codesourcery.com>
6124
0bab47b6
JM
6125 [BZ #13786]
6126 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6127 not include ../strcmp.S.
6128 [USE_AS_STRNCASECMP_L]: Likewise.
6129 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6130 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6131 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6132 (__strncasecmp_l_ia32): Define as alias to
6133 __strncasecmp_l_nonascii.
6134
0fcad3e2
JM
6135 [BZ #5794]
6136 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6137 * sysdeps/i386/fpu/libm-test-ulps: Update.
6138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6139
5b8a4d4a
JM
6140 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6142
8fdceb2e
JL
61432012-02-29 Jeff Law <law@redhat.com>
6144
6145 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6146 out of bounds read.
6147
1f393a11
MP
61482012-02-29 Marek Polacek <polacek@redhat.com>
6149
6150 [BZ #13706]
6151 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6152 * elf/Makefile: Add rules to run tst-unused-dep.out.
6153
8847f037
DM
61542012-02-28 David S. Miller <davem@davemloft.net>
6155
6156 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6157 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6158 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6160 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6161 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6162
169d7f11
JM
61632012-02-29 Joseph Myers <joseph@codesourcery.com>
6164
6165 * math/libm-test.inc (llround_test): Move one test from
6166 lround_test. Use TEST_f_L in moved test.
6167 (lround_test): Move misplaced test to llround_test. Add testcase
6168 from bug 2561.
6169
39adf059
UD
61702012-02-28 Ulrich Drepper <drepper@gmail.com>
6171
6172 * sysdeps/x86_64/fpu/e_expf.S: New file.
6173 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6174
71b5d1c5
SB
61752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6176
6177 [BZ #13637]
6178 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6179 of remain_len that may cause incomplete multi-byte character and
6180 false match.
6181 * posix/bug-regex33.c: New file.
6182 * posix/Makefile (tests): Add bug-regex33.
6183
1f77f049
JM
61842012-02-28 Joseph Myers <joseph@codesourcery.com>
6185
6186 * manual/macros.texi: New file.
6187 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6188 * manual/libc.texinfo: Include macros.texi.
6189 * manual/creatute.texi: Likewise.
6190 * manual/install.texi: Likewise.
6191 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6192 @glibcadj{} in references to the GNU C Library.
6193 * manual/charset.texi: Likewise.
6194 * manual/conf.texi: Likewise.
6195 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6196 when not using those macros.
6197 * manual/creature.texi: Likewise.
6198 * manual/crypt.texi: Likewise.
6199 * manual/errno.texi: Likewise.
6200 * manual/filesys.texi: Likewise.
6201 * manual/header.texi: Likewise.
6202 * manual/install.texi: Likewise.
6203 * manual/intro.texi: Likewise.
6204 * manual/io.texi: Likewise.
6205 * manual/job.texi: Likewise.
6206 * manual/lang.texi: Likewise.
6207 * manual/libc.texiinfo: Likewise.
6208 * manual/llio.texi: Likewise.
6209 * manual/locale.texi: Likewise.
6210 * manual/maint.texi: Likewise.
6211 * manual/math.texi: Likewise.
6212 * manual/memory.texi: Likewise.
6213 * manual/message.texi: Likewise.
6214 * manual/nss.texi: Likewise.
6215 * manual/pattern.texi: Likewise.
6216 * manual/process.texi: Likewise.
6217 * manual/resource.texi: Likewise.
6218 * manual/search.texi: Likewise.
6219 * manual/setjmp.texi: Likewise.
6220 * manual/signal.texi: Likewise.
6221 * manual/socket.texi: Likewise.
6222 * manual/startup.texi: Likewise.
6223 * manual/stdio.texi: Likewise.
6224 * manual/string.texi: Likewise.
6225 * manual/sysinfo.texi: Likewise.
6226 * manual/syslog.texi: Likewise.
6227 * manual/terminal.texi: Likewise.
6228 * manual/time.texi: Likewise.
6229 * manual/users.texi: Likewise.
6230 * INSTALL: Regenerated.
6231 * NOTES: Regenerated.
d40c5d54 6232 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6233
450bf206
AS
62342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6235
6236 * include/dirent.h: Include <dirstream.h> before
6237 <dirent/dirent.h>.
6238
741a235b
DM
62392012-02-28 David S. Miller <davem@davemloft.net>
6240
6241 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6242 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6243 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6244 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6245
d6b5aa58
DM
62462012-02-27 David S. Miller <davem@davemloft.net>
6247
1aff59a3
DM
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6250 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6251 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6252
d6b5aa58
DM
6253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6254 frame pointer instead of stack pointer relative arg slot.
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6256 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6257 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6258
433f48bf
CD
62592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6260
6261 [BZ #3992]
6262 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6263
d674b76d
DM
62642012-02-27 David S. Miller <davem@davemloft.net>
6265
6266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6270 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6271 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6272 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6273 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6274
0e7727f7
JM
62752012-02-27 Joseph Myers <joseph@codesourcery.com>
6276
6277 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6278 later. Allow versions 5-9.
43be4ca2 6279 * configure: Regenerated.
0e7727f7
JM
6280 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6281 required minimum version and 4.6 as recommended version. Do not
6282 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6283 * INSTALL: Regenerated.
0e7727f7 6284
a78bc654
DM
62852012-02-27 David S. Miller <davem@davemloft.net>
6286
428d5830
DM
6287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6291 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6292 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6293 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6294 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6295
a78bc654
DM
6296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6297 manipulate bits before adding and subtracting TWO112[sx].
6298 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6299
4579f81c
RM
63002012-02-27 Roland McGrath <roland@hack.frob.com>
6301
36c8acb4
RM
6302 [BZ #13775]
6303 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6304 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6305 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6306 being in POSIX, because they are in 1003.1-2008.
6307
84ad622b
RM
6308 * rt/tst-aio.c: Include <fcntl.h>.
6309 * rt/tst-aio7.c: Likewise.
6310 * rt/tst-aio64.c: Likewise.
6311
4579f81c
RM
6312 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6313
abd923db
JM
63142012-02-27 Joseph Myers <joseph@codesourcery.com>
6315
6316 * manual/install.texi (--with-headers): Describe headers as
6317 interface headers, not private headers.
6318 (Specific advice for GNU/Linux systems): Describe use of headers
6319 from "make headers_install", not private headers from older
6320 kernels.
43be4ca2 6321 * INSTALL: Regenerated.
abd923db
JM
6322 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6323 Change to 2.6.19.
6324 * sysdeps/unix/sysv/linux/configure: Regenerated.
6325
6664049b
JM
6326 * manual/llio.texi (fclean): Remove documentation.
6327
bb8b6697
JM
6328 * manual/Makefile (libc-texi-generated): New variable. Include
6329 version.texi.
6330 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6331 $(libc-texi-generated), not duplicated list of files.
6332 (version.texi, stamp-version): New rules.
6333 (realclean): Remove $(libc-texi-generated), not individual files
6334 from that list. Do not remove dir-add.texinfo.
6335 * manual/libc.texinfo: Comment out uses of edition numbers and
6336 references to printed manual. Remove last-updated dates.
6337 (EDITION): Comment out.
6338 (ISBN): Likewise.
6339 (VERSION, UPDATED): Remove.
6340 (version.texi): Include.
6341
12e5c3b9
AS
63422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6343
6344 * sysdeps/posix/spawni.c: Include <signal.h>.
6345 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6346 * sysdeps/pthread/aio_fsync.c: Likewise.
6347
4efeffc1 63482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6349
ba63ba08
UD
6350 * conform/Makefile (tests): Run only when not cross-compiling and
6351 when fast-check is not defined.
6352
d94a4670
UD
6353 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6354 * conform/data/limits.h-data: Fixes for POSIX2008.
6355 * conform/run-conformtest.sh: Run all tests.
6356 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6357 headers.
6358 * include/bits/dlfcn.h: Likewise.
6359 * include/langinfo.h: Likewise.
6360 * include/monetary.h: Likewise.
6361 * include/sys/poll.h: Likewise.
6362
6363 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6364 for __USE_GNU.
6365 * posix/spawn.h: Define __need_sigset_t.
6366 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6367 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6368 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6369 to get sigevent_t only.
6370 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6371 only for __USE_GNU.
6372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6373 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6374 process_vm_writev only for __USE_GNU.
6375 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6376
6377 * conform/Makefile: For now ignore errors from run-conformtest.
6378 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6379 POSIX to avoid namespace pollution. Don't prepend headers.
6380 * conform/data/aio.h-data: Fixes for POSIX testing.
6381 * conform/data/fcntl.h-data: Likewise.
6382 * conform/data/glob.h-data: Likewise.
6383 * conform/data/grp.h-data: Likewise.
6384 * conform/data/pthread.h-data: Likewise.
6385 * conform/data/pwd.h-data: Likewise.
6386 * conform/data/signal.h-data: Likewise.
6387 * conform/data/spawn.h-data: Likewise.
6388 * conform/data/stdio.h-data: Likewise.
6389 * conform/data/stdlib.h-data: Likewise.
6390 * conform/data/stropts.h-data: Likewise.
6391 * conform/data/sys/mman.h-data: Likewise.
6392 * conform/data/sys/stat.h-data: Likewise.
6393 * conform/data/sys/types.h-data: Likewise.
6394 * conform/data/sys/wait.h-data: Likewise.
6395 * conform/data/time.h-data: Likewise.
6396 * conform/data/unistd.h-data: Likewise.
6397 * conform/data/utime.h-data: Likewise.
6398
6399 * io/sys/stat.h: fchmod was always in POSIX.
6400 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6401 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6402 * rt/aio.h: Define __need_timespec before including <time.h>.
6403 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6404 struct. Add forward declaration of pthread_attr_t and use it in
6405 sigevent.
6406 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6407 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6408 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6409 always remove CLK_TCK definition.
6410
c20105c3
AS
64112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6412
6413 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6414
7a270350
UD
64152012-02-25 Ulrich Drepper <drepper@gmail.com>
6416
31341567
UD
6417 * conform/run-conformtest.sh: New file.
6418 * conform/Makefile: Run run-conformtest for tests.
6419 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6420 support.
6421
6422 * conform/data/uchar.h-data: New file.
6423 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6424 * conform/data/arpa/inet.h-data: Likewise.
6425 * conform/data/assert.h-data: Likewise.
6426 * conform/data/complex.h-data: Likewise.
6427 * conform/data/cpio.h-data: Likewise.
6428 * conform/data/ctype.h-data: Likewise.
6429 * conform/data/dirent.h-data: Likewise.
6430 * conform/data/dlfcn.h-data: Likewise.
6431 * conform/data/errno.h-data: Likewise.
6432 * conform/data/fcntl.h-data: Likewise.
6433 * conform/data/float.h-data: Likewise.
6434 * conform/data/fmtmsg.h-data: Likewise.
6435 * conform/data/fnmatch.h-data: Likewise.
6436 * conform/data/ftw.h-data: Likewise.
6437 * conform/data/glob.h-data: Likewise.
6438 * conform/data/grp.h-data: Likewise.
6439 * conform/data/iconv.h-data: Likewise.
6440 * conform/data/inttypes.h-data: Likewise.
6441 * conform/data/langinfo.h-data: Likewise.
6442 * conform/data/libgen.h-data: Likewise.
6443 * conform/data/limits.h-data: Likewise.
6444 * conform/data/locale.h-data: Likewise.
6445 * conform/data/math.h-data: Likewise.
6446 * conform/data/monetary.h-data: Likewise.
6447 * conform/data/mqueue.h-data: Likewise.
6448 * conform/data/ndbm.h-data: Likewise.
6449 * conform/data/net/if.h-data: Likewise.
6450 * conform/data/netdb.h-data: Likewise.
6451 * conform/data/netinet/in.h-data: Likewise.
6452 * conform/data/nl_types.h-data: Likewise.
6453 * conform/data/poll.h-data: Likewise.
6454 * conform/data/pthread.h-data: Likewise.
6455 * conform/data/pwd.h-data: Likewise.
6456 * conform/data/regex.h-data: Likewise.
6457 * conform/data/sched.h-data: Likewise.
6458 * conform/data/search.h-data: Likewise.
6459 * conform/data/semaphore.h-data: Likewise.
6460 * conform/data/setjmp.h-data: Likewise.
6461 * conform/data/signal.h-data: Likewise.
6462 * conform/data/spawn.h-data: Likewise.
6463 * conform/data/stdarg.h-data: Likewise.
6464 * conform/data/stdio.h-data: Likewise.
6465 * conform/data/stdlib.h-data: Likewise.
6466 * conform/data/string.h-data: Likewise.
6467 * conform/data/strings.h-data: Likewise.
6468 * conform/data/stropts.h-data: Likewise.
6469 * conform/data/sys/ipc.h-data: Likewise.
6470 * conform/data/sys/mman.h-data: Likewise.
6471 * conform/data/sys/msg.h-data: Likewise.
6472 * conform/data/sys/resource.h-data: Likewise.
6473 * conform/data/sys/select.h-data: Likewise.
6474 * conform/data/sys/sem.h-data: Likewise.
6475 * conform/data/sys/shm.h-data: Likewise.
6476 * conform/data/sys/socket.h-data: Likewise.
6477 * conform/data/sys/stat.h-data: Likewise.
6478 * conform/data/sys/statvfs.h-data: Likewise.
6479 * conform/data/sys/time.h-data: Likewise.
6480 * conform/data/sys/timeb.h-data: Likewise.
6481 * conform/data/sys/times.h-data: Likewise.
6482 * conform/data/sys/types.h-data: Likewise.
6483 * conform/data/sys/uio.h-data: Likewise.
6484 * conform/data/sys/un.h-data: Likewise.
6485 * conform/data/sys/utsname.h-data: Likewise.
6486 * conform/data/sys/wait.h-data: Likewise.
6487 * conform/data/syslog.h-data: Likewise.
6488 * conform/data/tar.h-data: Likewise.
6489 * conform/data/termios.h-data: Likewise.
6490 * conform/data/utime.h-data: Likewise.
6491 * conform/data/utmpx.h-data: Likewise.
6492 * conform/data/varargs.h-data: Likewise.
6493 * conform/data/wchar.h-data: Likewise.
6494 * conform/data/wctype.h-data: Likewise.
6495 * conform/data/wordexp.h-data: Likewise.
6496
6497 * include/stropts.h: New file.
6498 * include/uchar.h: New file.
6499 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6500 * include/assert.h: Likewise.
6501 * include/ctype.h: Likewise.
6502 * include/dirent.h: Likewise.
6503 * include/dlfcn.h: Likewise.
6504 * include/fcntl.h: Likewise.
6505 * include/fnmatch.h: Likewise.
6506 * include/glob.h: Likewise.
6507 * include/grp.h: Likewise.
6508 * include/libio.h: Likewise.
6509 * include/locale.h: Likewise.
6510 * include/math.h: Likewise.
6511 * include/net/if.h: Likewise.
6512 * include/netdb.h: Likewise.
6513 * include/netinet/in.h: Likewise.
6514 * include/pthread.h: Likewise.
6515 * include/pwd.h: Likewise.
6516 * include/regex.h: Likewise.
6517 * include/sched.h: Likewise.
6518 * include/search.h: Likewise.
6519 * include/setjmp.h: Likewise.
6520 * include/signal.h: Likewise.
6521 * include/stdio.h: Likewise.
6522 * include/stdlib.h: Likewise.
6523 * include/string.h: Likewise.
6524 * include/sys/cdefs.h: Likewise.
6525 * include/sys/mman.h: Likewise.
6526 * include/sys/msg.h: Likewise.
6527 * include/sys/resource.h: Likewise.
6528 * include/sys/select.h: Likewise.
6529 * include/sys/socket.h: Likewise.
6530 * include/sys/stat.h: Likewise.
6531 * include/sys/statvfs.h: Likewise.
6532 * include/sys/time.h: Likewise.
6533 * include/sys/times.h: Likewise.
6534 * include/sys/uio.h: Likewise.
6535 * include/sys/utsname.h: Likewise.
6536 * include/sys/wait.h: Likewise.
6537 * include/termios.h: Likewise.
6538 * include/time.h: Likewise.
6539 * include/ulimit.h: Likewise.
6540 * include/unistd.h: Likewise.
6541 * include/utime.h: Likewise.
6542 * include/wchar.h: Likewise.
6543 * include/wctype.h: Likewise.
6544 * include/wordexp.h: Likewise.
6545
6546 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6547
7a270350
UD
6548 * time/time.h: TIME_UTC must be a macro.
6549 Make timespec_get available for ISO C11 only as well.
6550
7724defc
UD
65512012-02-24 Ulrich Drepper <drepper@gmail.com>
6552
6553 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6554 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6555
6b1d1d46
JM
65562012-02-24 Joseph Myers <joseph@codesourcery.com>
6557
6558 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6559
0f8bbd69
JM
65602012-02-24 Joseph Myers <joseph@codesourcery.com>
6561
6562 * manual/texinfo.tex: Update to version 2012-01-19.16.
6563
66ab80bc
JM
65642012-02-24 Joseph Myers <joseph@codesourcery.com>
6565
6566 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6567
74981cc5
RM
65682012-02-24 Roland McGrath <roland@hack.frob.com>
6569
ee968201
RM
6570 [BZ #13738]
6571 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6572 * manual/fdl-1.3.texi: New file.
6573 * manual/fdl-1.1.texi: File removed.
6574
74981cc5
RM
6575 [BZ #13738]
6576 * manual/libc.texinfo (FDL_VERSION): New @set.
6577 Use it for mention of FDL in cover text.
6578 (Documentation License): Use it in @include file name.
6579
7bb764bc
JM
65802012-02-22 Joseph Myers <joseph@codesourcery.com>
6581 Roland McGrath <roland@hack.frob.com>
6582
6583 [BZ #5461]
6584 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6585 not LONG_LONG_MAX and LONG_LONG_MIN.
6586 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6587 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6588 name.
6589 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6590
6cbeae47
JM
65912012-02-22 Joseph Myers <joseph@codesourcery.com>
6592
6593 [BZ #2547]
6594 [BZ #11365]
6595 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6596 manipulate bits before adding and subtracting TWO23[sx].
6597 * math/libm-test.inc (nearbyint_test): Add more tests.
6598
fe45ce09
JM
65992012-02-22 Joseph Myers <joseph@codesourcery.com>
6600
6601 [BZ #2548]
6602 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6603 bits before adding and subtracting TWO23[sx].
6604 * math/libm-test.inc (rint_test): Add more tests.
6605 (rint_test_tonearest): Likewise.
6606 (rint_test_towardzero): Likewise.
6607 (rint_test_downward): Likewise.
6608 (rint_test_upward: Likewise.
6609
ff3b3d82
JM
66102012-02-22 Joseph Myers <joseph@codesourcery.com>
6611
6612 [BZ #10110]
6613 * include/stdc-predef.h: New file. Extracted from features.h.
6614 * include/features.h: Include stdc-predef.h.
6615 * Makefile (headers): Add stdc-predef.h.
6616 * CONFORMANCE (Compiler limitations): Update.
6617
ef0aab35
JM
66182012-02-22 Joseph Myers <joseph@codesourcery.com>
6619
6620 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6621
58639409
DM
66222012-02-21 David S. Miller <davem@davemloft.net>
6623
6624 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6625 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6626
c0e70b25
DM
66272012-02-20 David S. Miller <davem@davemloft.net>
6628
6629 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6630 using a normal save/restore sequence, rather than allocating a
6631 dummy stack frame just to store a frame pointer and restore.
6632 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6633
fb06851d
JM
66342012-02-21 Joseph Myers <joseph@codesourcery.com>
6635
6636 * manual/install.texi: Fix stray word in line-wrapped comment.
6637
7a8b71c3
DM
66382012-02-20 David S. Miller <davem@davemloft.net>
6639
d510c123
DM
6640 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6641 both binutils and gcc support GOTDATA.
6642
0722d7c2
DM
6643 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6644 "rd %pc" in the PIC register setup sequences.
6645
3d2b3019
DM
6646 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6647 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6648 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6649 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6650 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6652 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6653 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6654 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6655 (SYSCALL_ERROR_HANDLER): Likewise.
6656 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6657 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6658 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6659 (SYSCALL_ERROR_HANDLER): Likewise.
6660
c80098a9
DM
6661 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6662 (HAVE_GCC_GOTDATA): New.
6663 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6664 relocation support in both binutils and gcc.
6665 * sysdeps/sparc/elf/configure: Regenerate.
6666
3a2545a0
DM
6667 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6668 * sysdeps/sparc/sparc32/elf/configure: Delete.
6669 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6670 * sysdeps/sparc/sparc64/elf/configure: Delete.
6671 * sysdeps/sparc/elf/configure.in: New file.
6672 * sysdeps/sparc/elf/configure: Generate.
6673
7a8b71c3
DM
6674 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6675 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6676 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6677 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6678 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6679
f1e86fca
JM
66802012-02-21 Joseph Myers <joseph@codesourcery.com>
6681
6682 * manual/install.texi: Do not mention specific glibc version
6683 numbers.
6684 * manual/libc.texinfo (VERSION, UPDATED): Update.
6685 (@copying): Use @copyright{} and range of years.
6686
0e7dfaef
JM
66872012-02-21 Joseph Myers <joseph@codesourcery.com>
6688
6689 [BZ #13695]
6690 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6691 [crti.S not in sysdirs] (generated): Do not append.
6692 [crti.S not in sysdirs] (omit-deps): Likewise.
6693 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6694 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6695 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6696 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6697 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6698 Likewise.
6699 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6700 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6701 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6702 * csu/defs.awk: Remove file.
6703 * sysdeps/generic/initfini.c: Likewise.
6704 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6705 variable.
6706 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6707 Likewise.
6708
599af3ca
JM
67092012-02-20 Joseph Myers <joseph@codesourcery.com>
6710
6711 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6712 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6713 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6714 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6715 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6716 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6717 <bits/epoll.h>.
6718 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6719 (__EPOLL_PACKED): Define to empty if not defined by
6720 <bits/epoll.h>.
6721 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6723 bits/epoll.h.
6724
0e499750
JM
67252012-02-20 Joseph Myers <joseph@codesourcery.com>
6726
6727 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6728 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6729 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6730 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6731 <bits/timerfd.h>.
6732 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6734 bits/timerfd.h.
6735
5ad91f6e
JM
67362012-02-20 Joseph Myers <joseph@codesourcery.com>
6737
6738 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6739 in C locale.
6740 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6741 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6742 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6744
06b99b02
AJ
67452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6746
6747 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6748 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6749
7638c0fd
AS
67502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6751
6752 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6753 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6754 defined.
6755 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6756 Likewise.
6757 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6758 entry for 2.16.
6759
92221550
AJ
67602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6761
6762 * math/w_acos.c: Use non-signaling floating-point comparisons.
6763 * math/w_acosf.c: Likewise.
6764 * math/w_acosh.c: Likewise.
6765 * math/w_acoshf.c: Likewise.
6766 * math/w_acoshl.c: Likewise.
6767 * math/w_acosl.c: Likewise.
6768 * math/w_asin.c: Likewise.
6769 * math/w_asinf.c: Likewise.
6770 * math/w_asinl.c: Likewise.
6771 * math/w_atanh.c: Likewise.
6772 * math/w_atanhf.c: Likewise.
6773 * math/w_atanhl.c: Likewise.
6774 * math/w_exp2.c: Likewise.
6775 * math/w_exp2f.c: Likewise.
6776 * math/w_exp2l.c: Likewise.
6777 * math/w_j0.c: Likewise.
6778 * math/w_j0f.c: Likewise.
6779 * math/w_j0l.c: Likewise.
6780 * math/w_j1.c: Likewise.
6781 * math/w_j1f.c: Likewise.
6782 * math/w_j1l.c: Likewise.
6783 * math/w_jn.c: Likewise.
6784 * math/w_jnf.c: Likewise.
6785 * math/w_log.c: Likewise.
6786 * math/w_log10.c: Likewise.
6787 * math/w_log10f.c: Likewise.
6788 * math/w_log10l.c: Likewise.
6789 * math/w_log2.c: Likewise.
6790 * math/w_log2f.c: Likewise.
6791 * math/w_log2l.c: Likewise.
6792 * math/w_logf.c: Likewise.
6793 * math/w_logl.c: Likewise.
6794 * math/w_sqrt.c: Likewise.
6795 * math/w_sqrtf.c: Likewise.
6796 * math/w_sqrtl.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6799 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6800 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6801 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6802
ebaf36eb
JM
68032012-02-19 Joseph Myers <joseph@codesourcery.com>
6804
6805 [BZ #9739]
6806 * manual/string.texi (strnlen): Use correct parameter name in
6807 equivalent expression.
6808
71c254a6
JM
68092012-02-19 Joseph Myers <joseph@codesourcery.com>
6810
6811 [BZ #11174]
6812 * manual/users.texi (seteuid): Consistently use neweuid for
6813 argument name.
6814
16d2c631
JM
68152012-02-19 Joseph Myers <joseph@codesourcery.com>
6816
6817 [BZ #13704]
6818 * manual/nss.texi (Services in the NSS configuration): Correct
6819 list of services in example configuration file.
6820
cd837b09
NB
68212012-02-19 Nick Bowler <nbowler@draconx.ca>
6822
6823 [BZ #11322]
6824 * manual/arith.texi: Remove statements about negative zero
6825 behaving identically to zero.
6826
02c4bbad
JM
68272012-02-18 Joseph Myers <joseph@codesourcery.com>
6828
6829 [BZ #5993]
6830 * manual/install.texi: Do not document upgrading from libc5.
6831
366842e7
JM
68322012-02-18 Joseph Myers <joseph@codesourcery.com>
6833
6834 [BZ #4596]
6835 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6836
dd54084d
DM
68372012-02-18 David S. Miller <davem@davemloft.net>
6838
6839 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6840 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6841 %o7 across the call.
6842 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6843 instead.
6844 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6845 SETUP_PIC_REG_LEAF.
6846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6847 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6848 * sysdeps/sparc/crtn.S: Likewise.
6849
2bcc53a3
UD
68502012-02-17 Ulrich Drepper <drepper@gmail.com>
6851
6852 * aout/Makefile: Remove.
6853
09c093b5
RK
68542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6855
6856 [BZ #13058]
6857 * manual/examples/argp-ex1.c (main): Format definition in GNU
6858 style.
6859 * manual/examples/argp-ex2.c (main): Likewise.
6860 * manual/examples/argp-ex3.c (main): Likewise.
6861 * manual/examples/argp-ex4.c (main): Likewise.
6862 * manual/examples/longopt.c (main): Use new-style prototype
6863 definition.
6864 * manual/examples/strncat.c (main): Specify return type and use
6865 (void) for arguments.
6866 * manual/examples/subopt.c (main): Use char **argv argument.
6867
2ee633a2
JM
68682012-02-17 Joseph Myers <joseph@codesourcery.com>
6869
6870 [BZ #5077]
6871 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6872 rounding modes.
6873
0520adde
FB
68742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6875
6876 [BZ #6907]
6877 * manual/string.texi (strchr): Change when strchrnul is
6878 recommended.
6879
3f4081cd
DGM
68802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6881
6882 [BZ #174]
6883 * manual/locale.texi (setlocale): Document LOCPATH.
6884
d1b10e78
JM
68852012-02-17 Joseph Myers <joseph@codesourcery.com>
6886
6887 [BZ #10210]
6888 * manual/process.texi (execle): Move @dots{} before last argument.
6889
79c6869c
PB
68902012-02-17 Paul Bolle <pebolle@tiscali.nl>
6891
6892 [BZ #12047]
6893 * manual/charset.texi (Generic Charset Conversion): Fix typo
6894 (LC_TYPE -> LC_CTYPE).
6895
cc6e48bc
NB
68962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6897
6898 [BZ #5805]
6899 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6900 (scalbnf): Likewise.
6901 (scalbnl): Likewise.
6902 (scalbln): Likewise.
6903 (scalblnf): Likewise.
6904 (scalblnl): Likewise.
6905 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6906 (vwarnx): Likewise.
6907 (verr): Likewise.
6908 (verrx): Likewise.
6909 * manual/filesys.texi (telldir): Use braces around return type.
6910 * manual/llio.texi (mmap): Add space after comma.
6911 (mmap64): Likewise.
6912 * manual/math.texi (jn): Use @var{} on parameter names.
6913 (jnf): Likewise.
6914 (jnl): Likewise.
6915 (yn): Likewise.
6916 (ynf): Likewise.
6917 (ynl): Likewise.
6918 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6919 line.
6920 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6921 "...".
6922 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6923 (sched_get_priority_max): Likewise.
6924 * manual/signal.texi (sigvec): Add space after comma.
6925 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6926 names.
6927 (if_indextoname): Likewise.
6928 (if_freenameindex): Likewise.
6929 (sendto): Use ',' instead of '.' in prototype.
6930 * manual/startup.texi (syscall): Use @dots{} instead of literal
6931 "...".
6932 * manual/stdio.texi (__fpending): Separate initial words of
6933 paragraph from @deftypefun line.
6934 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6935 "...".
6936 (vsyslog): Use @var{} on parameter names.
6937 * manual/terminal.texi (stty): Use @var{} on parameter names.
6938 * manual/users.texi (getutmp): Use @var{} on parameter names.
6939 (getutmpx): Likewise.
6940
5b23062f
JM
69412012-02-17 Joseph Myers <joseph@codesourcery.com>
6942
6943 [BZ #6884]
6944 * manual/stdio.texi (fopen): Fix typos in description of
6945 ",ccs=STRING".
6946
8dee4833
AJ
69472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6948
6949 [BZ #4026]
6950 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6951 get clock_id definition.
6952
9078ce93
TS
69532012-02-17 Thomas Schwinge <thomas@schwinge.name>
6954
6955 [BZ #4822]
6956 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6957 (madvise): Cast every argument to void on its own.
6958
3835c55f
JM
69592012-02-17 Joseph Myers <joseph@codesourcery.com>
6960
6961 [BZ #9902]
6962 * manual/startup.texi (Exit Status): Fix typo.
6963
35c47e37
JM
69642012-02-17 Joseph Myers <joseph@codesourcery.com>
6965
6966 [BZ #10140]
6967 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6968 * manual/examples/argp-ex2.c: Likewise.
6969 * manual/examples/argp-ex3.c: Likewise.
6970
e3b69ca7
RH
69712012-02-16 Richard Henderson <rth@redhat.com>
6972
6973 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6974 * sysdeps/s390/s390-32/initfini.c: Remove.
6975 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6976 * sysdeps/s390/s390-64/initfini.c: Remove.
6977
df83af67
KK
69782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6979
6980 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6981 compiler output for sysdeps/generic/initfini.c.
6982 * sysdeps/sh/elf/initfini.c: Remove file.
6983
f63f3380
DM
69842012-02-16 David S. Miller <davem@davemloft.net>
6985
fb59b3a4
DM
6986 [BZ #11494]
6987 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6988
f63f3380
DM
6989 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6990 * sysdeps/sparc/crti.S: New file.
6991 * sysdeps/sparc/crtn.S: New file.
6992 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6993 * sysdeps/sparc/sparc64/Makefile: Likewise.
6994
df6a4a4a
MF
69952012-02-15 Mike Frysinger <vapier@gentoo.org>
6996
6dd8f3dc 6997 [BZ #3335]
df6a4a4a
MF
6998 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6999
1cac7236
RM
70002012-02-15 Roland McGrath <roland@hack.frob.com>
7001
d2c736f8
RM
7002 [BZ #4822]
7003 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7004
1cac7236
RM
7005 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7006 (write, read, close): Likewise.
7007 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7008
8e475601
JM
70092012-02-15 Joseph Myers <joseph@codesourcery.com>
7010
7011 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7012 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7013 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7014 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7015 <bits/signalfd.h>.
7016 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7018 bits/signalfd.h.
7019
ed656b40
MP
70202012-02-14 Marek Polacek <polacek@redhat.com>
7021
7022 * sysdeps/x86_64/crti.S: New file.
7023 * sysdeps/x86_64/crtn.S: New file.
7024 * sysdeps/x86_64/elf/initfini.c: Remove file.
7025
2a979d3a
JM
70262012-02-13 Joseph Myers <joseph@codesourcery.com>
7027
7028 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7029 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7030 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7031 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7032 <bits/inotify.h>.
7033 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7035 bits/inotify.h.
7036
2a418ac3
JM
70372012-02-13 Joseph Myers <joseph@codesourcery.com>
7038
7039 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7040 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7041 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7042 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7043 <bits/eventfd.h>.
7044 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7046 bits/eventfd.h.
7047
fb779be7
TS
70482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7049
e19e83c5
RM
7050 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7051 __feraiseexcept instead of feraiseexcept.
7c35ffed 7052
fb779be7
TS
7053 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7054 nanosleep invocations.
7055 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7056 strings, and add error checking for a nanosleep invocations.
7057
59ba27a6
PE
70582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7059
7060 Replace FSF snail mail address with URLs, as per GNU coding standards.
7061 Most of the snail mail addresses were wrong anyway, and omitting
7062 them makes the source code easier to maintain. Almost all of the
7063 changes are to license notices and to locale LC_IDENTIFICATION
7064 addresses, except for this one:
7065 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7066 not its snail mail address.
7067
57b957eb
RH
70682012-02-09 Richard Henderson <rth@twiddle.net>
7069
af850b1c
RH
7070 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7071 of kernel-features.h.
7072
57b957eb
RH
7073 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7074
6b73181a
MP
70752012-02-08 Marek Polacek <polacek@redhat.com>
7076
7077 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7078 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7079 * sysdeps/gnu/_G_config.h: Likewise.
7080 * sysdeps/generic/_G_config.h: Likewise.
7081
26ecc33a
AS
70822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7083
6c6dbc63
AS
7084 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7085 tests.
7086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7087
e216c012
AS
7088 * sysdeps/powerpc/powerpc32/crti.S: New file.
7089 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7090 * sysdeps/powerpc/powerpc64/crti.S: New file.
7091 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7092
26ecc33a
AS
7093 * Makeconfig (have-initfini): Don't set.
7094 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7095 * configure.in (nopic_initfini): Don't substitute.
7096 * config.h.in (HAVE_INITFINI): Don't #undef.
7097 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7098 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7099
3add8e13
JM
71002012-02-08 Joseph Myers <joseph@codesourcery.com>
7101
7102 Support crti.S and crtn.S provided directly by architectures.
7103 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7104 [crti.S in sysdirs] (omit-deps): Likewise.
7105 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7106 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7107 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7108 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7109 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7110 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7111 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7112 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7113 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7114 compiler output for sysdeps/generic/initfini.c.
7115 * sysdeps/i386/elf/Makefile: Remove file.
7116 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7117
a22f12b4
MP
71182012-02-07 Marek Polacek <polacek@redhat.com>
7119
7120 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7121 * sysdeps/gnu/_G_config.h: Likewise.
7122 * sysdeps/mach/hurd/_G_config.h: Likewise.
7123
148cf100
MP
71242012-02-07 Marek Polacek <polacek@redhat.com>
7125
7126 * math/Makefile (tests): Add tst-CMPLX2.
7127 * math/tst-CMPLX2.c: New file.
7128
cfdc0dd7
AS
71292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7130
84ba42c4
AS
7131 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7132
cfdc0dd7
AS
7133 * math/libm-test.inc (jn_test): Add missing L suffix.
7134
622c86f4
MP
71352012-02-06 Marek Polacek <polacek@redhat.com>
7136
7137 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7138 * sysdeps/i386/fpu/e_powf.S: Likewise.
7139 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7140 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7141 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7142 * sysdeps/i386/fpu/e_pow.S: Likewise.
7143 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7144 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7145 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7146 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7147 * sysdeps/i386/fpu/e_log2.S: Likewise.
7148 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7149 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7150 * sysdeps/i386/fpu/e_powl.S: Likewise.
7151 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7152 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7153 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7154 * sysdeps/i386/fpu/e_logl.S: Likewise.
7155 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7156 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7157 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7158 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7159 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7160 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7161 * sysdeps/i386/fpu/e_log.S: Likewise.
7162 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7163 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7164 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7165 * sysdeps/i386/fpu/e_logf.S: Likewise.
7166 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7167 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7168 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7169 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7170 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7171 * sysdeps/i386/fpu/e_log10.S: Likewise.
7172 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7173 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7174 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7175 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7176 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7177 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7178 * sysdeps/i386/asm-syntax.h: Likewise.
7179 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7180 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7181 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7182 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7183 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7184 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7185 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7186 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7187 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7188 * sysdeps/powerpc/sysdep.h: Likewise.
7189 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7190 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7191
d4a54ac6
JM
71922012-02-06 Joseph Myers <joseph@codesourcery.com>
7193
7194 [BZ #411]
7195 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7196
314054ea
JM
71972012-02-06 Joseph Myers <joseph@codesourcery.com>
7198
7199 * sysdeps/i386/sysdep.h: Include <features.h>.
7200 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7201 version.
7202
d8e0ca50
JM
72032012-02-05 Joseph Myers <joseph@codesourcery.com>
7204
7205 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7206 Define.
7207 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7208 LOAD_PIC_REG_STR.
7209
b1da7dd9
JM
72102012-02-03 Joseph Myers <joseph@codesourcery.com>
7211
7212 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7213 (SETUP_PIC_REG): Use GET_PC_THUNK.
7214 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7215 macro.
7216
9a1d9254
JM
72172012-02-03 Joseph Myers <joseph@codesourcery.com>
7218
7219 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7220 for non-PIC compilation.
7221 (SETUP_PIC_REG): Add .p2align directive.
7222 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7223 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7224 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7225 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7226 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7227 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7228 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7229 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7230 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7231 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7232 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7233 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7234 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7235 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7236 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7237 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7238 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7239 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7240 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7241 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7242 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7243 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7244 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7245 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7246 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7248 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7249 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7250 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7251 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7252 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7253 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7254 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7255 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7256 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7257 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7258 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7259 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7260 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7261 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7262 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7263
65dc3b75
JM
72642012-02-03 Joseph Myers <joseph@codesourcery.com>
7265
7266 * math/tst-CMPLX.c: Include <stdio.h>.
7267
d55bf177
JM
72682012-01-31 Joseph Myers <joseph@codesourcery.com>
7269
7270 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7271 float.
7272 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7273 * sysdeps/sparc/bits/mathdef.h: Likewise.
7274
69db4f8f
MP
72752012-01-31 Marek Polacek <polacek@redhat.com>
7276
7277 * libio/libio.h: Don't define _PARAMS.
7278 * locale/programs/config.h: Don't define PARAMS.
7279 * stdlib/strtol_l.c: Likewise.
7280 (__strtol_l): Remove PARAMS from the prototype.
7281
41b81892
UD
72822012-01-31 Ulrich Drepper <drepper@gmail.com>
7283
3b49edc0
UD
7284 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7285 names. Just use the correct names. Remove unnecessary wrapper
7286 functions.
7287 * malloc/arena.c: Likewise.
7288 * malloc/hooks.c: Likewise.
7289
41b81892
UD
7290 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7291 ARENA_TEST says not to. Simplify test for creation of a new arena.
7292 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7293
27a25b6e
UD
72942012-01-30 Ulrich Drepper <drepper@gmail.com>
7295
7296 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7297 into tail calls.
7298 (update_get_addr): New function.
7299 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7300 GET_ADDR_MODULE parameter.
7301
c8a89e7d
JM
73022012-01-30 Joseph Myers <joseph@codesourcery.com>
7303
7304 * crypt/cert.c: Remove __STDC__ conditionals.
7305 * crypt/crypt-entry.c: Likewise.
7306 * crypt/crypt_util.c: Likewise.
7307 * libio/filedoalloc.c: Likewise.
7308 * libio/fileops.c: Likewise.
7309 * libio/genops.c: Likewise.
7310 * libio/iofclose.c: Likewise.
7311 * libio/iofdopen.c: Likewise.
7312 * libio/iofopen.c: Likewise.
7313 * libio/iofopen64.c: Likewise.
7314 * libio/iogetdelim.c: Likewise.
7315 * libio/iopopen.c: Likewise.
7316 * libio/obprintf.c: Likewise.
7317 * libio/oldfileops.c: Likewise.
7318 * libio/oldiofclose.c: Likewise.
7319 * libio/oldiofdopen.c: Likewise.
7320 * libio/oldiofopen.c: Likewise.
7321 * libio/oldiopopen.c: Likewise.
7322 * libio/wfiledoalloc.c: Likewise.
7323 * libio/wgenops.c: Likewise.
7324 * locale/programs/xmalloc.c: Likewise.
7325 * misc/syslog.c: Likewise.
7326 * stdio-common/xbug.c: Likewise.
7327 * string/memchr.c: Likewise.
7328 * string/memcmp.c: Likewise.
7329 * string/memrchr.c: Likewise.
7330 * string/rawmemchr.c: Likewise.
7331 * sysdeps/posix/getcwd.c: Likewise.
7332 * time/strftime_l.c: Likewise.
7333
3b100462
JM
73342012-01-30 Joseph Myers <joseph@codesourcery.com>
7335
7336 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7337 * config.make.in (config-cflags-sse2avx): Define.
7338 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7339 Fix typo.
7340
607998af
CM
73412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7342
7343 * scripts/config.guess: Update from upstream config git repository.
7344 * scripts/config.sub: Likewise.
7345
3601428f
CM
73462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7347
3ac8b282
CM
7348 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7349 (EM_NUM): Update.
7350 (R_TILEPRO_*, R_TILEGX_*): New macros.
7351
e034841e
CM
7352 * scripts/firstversions.awk: Fix bug in version range handling.
7353
540d7568
CM
7354 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7355
3601428f
CM
7356 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7357
463de862
CM
7358 * include/sys/epoll.h: New file.
7359 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7360 libc_hidden_def.
7361
73139a76
UD
73622012-01-28 Ulrich Drepper <drepper@gmail.com>
7363
96bc5b45
UD
7364 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7365 Avoid unnecessary __WORDSIZE == 64 test.
7366 (fmaxf): Use VEX format if possible.
7367 (fmax): Likewise.
7368 (fminf): Likewise.
7369 (fmin): Likewise.
7370
56f6f6a2
UD
7371 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7372 * math/math_private.h: Remove libc_fegetround* and
7373 libc_fesetround*.
7374 * sysdeps/i386/configure.in: Check for -msse2avx.
7375 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7376 also if SSE2AVX is defined.
7377 Remove libc_fegetround* and libc_fesetround*.
7378 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7379 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7380 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7381 of HAS_YMM_USABLE.
7382 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7383 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7384 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7385 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7386 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7387
73139a76
UD
7388 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7389
d73f93a4
AZ
73902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7391
7392 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7393 size is not set.
7394 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7395
6ee65ed6
UD
73962012-01-27 Ulrich Drepper <drepper@gmail.com>
7397
7398 [BZ #13618]
7399 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7400 relocation.
7401 * Makeconfig (libm): Define.
7402 * elf/Makefile: Add rules to build and run tst-relsort1.
7403 * elf/tst-relsort1.c: New file.
7404 * elf/tst-relsort1mod1.c: New file.
7405 * elf/tst-relsort1mod2.c: New file.
7406
8db21882
JM
74072012-01-27 Joseph Myers <joseph@codesourcery.com>
7408
7409 * math/s_ldexp.c: Remove __STDC__ conditionals.
7410 * math/s_ldexpf.c: Likewise.
7411 * math/s_ldexpl.c: Likewise.
7412 * math/s_nextafter.c: Likewise.
7413 * math/s_nexttowardf.c: Likewise.
7414 * math/s_significand.c: Likewise.
7415 * math/s_significandf.c: Likewise.
7416 * math/s_significandl.c: Likewise.
7417 * math/w_jnl.c: Likewise.
7418 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7419 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7420 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7421 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7422 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7424 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7426 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7427 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7428 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7429 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7430 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7431 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7432 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7433 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7434 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7435 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7436 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7437 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7438 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7439 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7440 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7441 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7442 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7443 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7444 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7445 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7446 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7447 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7448 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7449 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7450 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7451 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7452 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7453 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7454 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7455 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7456 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7457 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7458 * sysdeps/ieee754/k_standard.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7468 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7473 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7475 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7476 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7477 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7478 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7483 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7486 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7487 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7488 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7491 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7495 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7496 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7497 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7498 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7499 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7500 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7501 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7502 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7503 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7504 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7506 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7507 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7508 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7509 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7510 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7511 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7512 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7513 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7514 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7515 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7517 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7518 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7519 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7520 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7521 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7522 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7523 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7524 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7525 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7526 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7527 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7528 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7529 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7530 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7531 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7532 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7533 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7534 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7535 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7536 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7537 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7538 * sysdeps/ieee754/s_matherr.c: Likewise.
7539 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7540 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7541 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7542 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7543
965a54a4
JM
75442012-01-26 Joseph Myers <joseph@codesourcery.com>
7545
7546 * crypt/md5.h: Remove __STDC__ conditionals.
7547 * libio/libioP.h: Likewise.
7548 * locale/programs/config.h: Likewise.
7549 * sysdeps/generic/sysdep.h: Likewise.
7550 * sysdeps/i386/asm-syntax.h: Likewise.
7551 * sysdeps/s390/asm-syntax.h: Likewise.
7552 * sysdeps/unix/sysdep.h: Likewise.
7553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7555
7071ad79
JM
75562012-01-26 Joseph Myers <joseph@codesourcery.com>
7557
7558 * libio/libio.h: Remove __STDC__ conditionals.
7559 * malloc/obstack.h: Likewise.
7560 * math/complex.h: Likewise.
7561 * math/math.h: Likewise.
7562 * sysdeps/generic/_G_config.h: Likewise.
7563 * sysdeps/gnu/_G_config.h: Likewise.
7564 * sysdeps/mach/hurd/_G_config.h: Likewise.
7565 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7566 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7567 * sysdeps/sparc/bits/mathdef.h: Likewise.
7568
afc5ed09
UD
75692012-01-26 Ulrich Drepper <drepper@gmail.com>
7570
7571 [BZ #13583]
7572 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7573 Clean up HAS_* macros.
afc5ed09 7574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7575 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7576 possible.
7577 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7578 HAS_AVX.
7579 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7580 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7581 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7582 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7583 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7584
bdb6de1d
JM
75852012-01-25 Joseph Myers <joseph@codesourcery.com>
7586
7587 * elf/tst-unique3.cc (gets): Remove declaration.
7588 * elf/tst-unique3lib.cc (gets): Likewise.
7589 * elf/tst-unique3lib2.cc (gets): Likewise.
7590 * elf/tst-unique4.cc (gets): Likewise.
7591
b15549e6
UD
75922012-01-24 Ulrich Drepper <drepper@gmail.com>
7593
7594 * include/stdio.h: Add C++ protection. Add gets declarations and
7595 definitions.
7596 * debug/tst-chk1.c: Don't declare gets here.
7597 * stdio-common/tst-gets.c: Likewise.
7598
a037381f
JM
75992012-01-24 Joseph Myers <joseph@codesourcery.com>
7600
7601 * posix/glob: Remove directory.
7602
f1d4aa75
JM
76032012-01-24 Joseph Myers <joseph@codesourcery.com>
7604
7605 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7606
81c0c964
PT
76072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7608
7609 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7610 of the non-standard EPFNOSUPPORT.
7611
0ea698ae
ST
76122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7613
7614 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7615 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7616 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7617
d220b117
UD
76182012-01-21 Ulrich Drepper <drepper@gmail.com>
7619
7620 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7621
3e1aa84e
UD
76222012-01-20 Ulrich Drepper <drepper@gmail.com>
7623
7624 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7625 transient errors.
7626 * nscd/grpcache.c (cache_addgr): Likewise.
7627 * nscd/hstcache.c (cache_addhst): Likewise.
7628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7629 * nscd/pwdcache.c (cache_addpw): Likewise.
7630 * nscd/servicescache.c (cache_addserv): Likewise.
7631
400aa020
UD
76322012-01-16 Ulrich Drepper <drepper@gmail.com>
7633
d77e7869
UD
7634 * malloc/malloc.c: Various cleanups.
7635 * malloc/hooks.c: Likewise.
7636
400aa020
UD
7637 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7638 * stdlib/bug-fmtmsg1.c: New file.
7639
7640 * stdlib/fmtmsg.c (init): Add missing unlock.
7641 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7642
e0a309cf
MP
76432012-01-12 Marek Polacek <polacek@redhat.com>
7644
7645 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7646 and _GNU_SOURCE.
7647
929d11c7
WS
76482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7649
7650 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7651 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7652 macro to ensure uniqueness of label name.
7653 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7654 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7655
41d0e869
UD
76562012-01-11 Ulrich Drepper <drepper@gmail.com>
7657
0cc5ed3b
UD
7658 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7659
41d0e869
UD
7660 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7661 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7662 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7663 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7664
a47a831a
UD
76652012-01-10 Ulrich Drepper <drepper@gmail.com>
7666
daa891c0
UD
7667 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7668
7669 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7670 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7671 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7672
e58ef0f2
UD
7673 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7674
a47a831a 7675 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7676 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7677 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7679
7680 * math/bits/math-finite.h: Add ldexp support.
7681
a0bfc9c7
MP
76822012-01-10 Marek Polacek <polacek@redhat.com>
7683
7684 * locale/programs/localedef.h (show_archive_content): Add noreturn
7685 attribute.
7686
d6e97a1d
UD
76872012-01-09 Ulrich Drepper <drepper@gmail.com>
7688
7689 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7690
d5835c26
UD
76912012-01-08 Ulrich Drepper <drepper@gmail.com>
7692
e5f484c6
UD
7693 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7694
d5835c26
UD
7695 * io/Makefile (headers): Add bits/poll2.h.
7696
d1f741e9
WS
76972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7698
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7700 typo #include statement.
7701
ec09c1c4
UD
77022012-01-08 Ulrich Drepper <drepper@gmail.com>
7703
7704 * include/sys/cdefs.h: Define __attribute_alloc_size.
7705 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7706 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7707 * elf/pldd.c: Likewise.
7708 * iconv/iconv_charmap.c: Likewise.
7709 * iconv/iconvconfig.c: Likewise.
7710 * iconv/strtab.c: Likewise.
7711 * locale/programs/locale.c: Likewise.
7712 * locale/programs/localedef.h: Likewise.
7713 * locale/programs/simple-hash.c: Likewise.
7714 * nscd/nscd.h: Likewise.
7715 * nss/makedb.c: Likewise.
7716 * sysdeps/generic/ldconfig.h: Likewise.
7717 * locale/programs/localedef.c: Remove xmalloc prototype.
7718 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7719
20b38e03
PP
77202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7721
7722 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7723 appropriate.
7724
a0da5fe1
UD
77252012-01-08 Ulrich Drepper <drepper@gmail.com>
7726
1d5a644a 7727 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7728 * math/tst-CMPLX.c: New file.
1d5a644a 7729
8784a6db
UD
7730 * math/complex.h (CMPLXL): Fix typo.
7731
d9a216c0
UD
7732 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7733 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7734 GLIBC_2.16.
7735 * debug/tst-chk1.c: Add poll and ppoll tests.
7736 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7737 * include/sys/poll.h: Add hidden proto for ppoll.
7738 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7739 * sysdeps/mach/hurd/ppoll.c: Likewise.
7740 * io/ppoll.c: Likewise.
7741 * debug/poll_chk.c: New file.
7742 * debug/ppoll_chk.c: New file.
7743 * include/bits/poll2.h: New file.
7744 * io/bits/poll2.h: New file.
7745
ac097f5c
UD
7746 [BZ #1350]
7747 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7748
2119dcfa
UD
7749 * configure.in: static is always set to yes. Remove.
7750 * config.make.in: Don't set build-static.
7751 * Makeconfig: Remove use of build-static.
7752 * dlfcn/Makefile: Likewise.
7753 * elf/Makefile: Likewise.
7754 * math/Makefile: Likewise.
7755 * misc/Makefile: Likewise.
7756 * nptl/Makefile: Likewise.
7757 * sysdeps/mach/hurd/Makefile: Likewise.
7758
121766a9
UD
7759 * configure.in: PWD_P is not used anymore.
7760 * config.make.in: Remove PWD_P entry.
7761
51a1d39c 7762 * configure.in: Remove last remnants of RANLIB.
8720d066 7763 No need to check for signed size_t anymore.
215f4bdc
UD
7764 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7765 and IA-64.
3857022a 7766 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7767 * aclocal.m4: Likewise.
7768
d3ed7225
UD
7769 * wcsmbs/mbrtoc16.c: Implement using towc function.
7770 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7771 * wcsmbs/wcsmbsload.c: Likewise.
7772 * iconv/gconv_simple.c: Likewise.
7773 * iconv/gconv_int.h: Likewise.
7774 * iconv/gconv_builtin.h: Likewise.
7775 * iconv/iconv_prog.c: Remove CHAR16 handling.
7776
7777 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7778
7779 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7780
a0da5fe1
UD
7781 * configure.in: Remove --with-elf and --enable-bounded options.
7782 Dont set base_machine for ia64. More non-ELF conditions removed.
7783 Remove testing and setting of leading underscore information.
7784 * config.make.in (build-bounded): Set to no.
7785 * config.h.in: Remove NO_UNDERSCORES entry.
7786 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7787 them.
7788 * csu/start.c: Remove !NO_UNDERSCORE code.
7789 * locale/localeinfo.h: Likewise.
7790 * sysdeps/generic/machine-gmon.h: Likewise.
7791 * sysdeps/generic/sysdep.h: Likewise.
7792 * sysdeps/i386/sysdep.h: Likewise.
7793 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7794 * sysdeps/mach/sysdep.h: Likewise.
7795 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7796 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7797 * sysdeps/sh/sysdep.h: Likewise.
7798 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7799 * sysdeps/unix/i386/sysdep.S: Likewise.
7800 * sysdeps/unix/sparc/start.c: Likewise.
7801 * sysdeps/unix/sparc/sysdep.S: Likewise.
7802 * sysdeps/unix/sparc/sysdep.h: Likewise.
7803 * sysdeps/unix/start.c: Likewise.
7804 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7805 * sysdeps/x86_64/sysdep.h: Likewise.
7806
df78418a
UD
78072012-01-07 Ulrich Drepper <drepper@gmail.com>
7808
a784e502
UD
7809 [BZ #13553]
7810 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7811 for non-gcc.
7812 * argp/argp-fmtstream.h: Use const instead __const.
7813 * argp/argp.h: Likewise.
7814 * assert/assert.h: Likewise.
7815 * bits/fenv.h: Likewise.
7816 * bits/sched.h: Likewise.
7817 * bits/sigset.h: Likewise.
7818 * bits/sigthread.h: Likewise.
7819 * catgets/nl_types.h: Likewise.
7820 * conform/data/pthread.h-data: Likewise.
7821 * crypt/crypt-private.h: Likewise.
7822 * crypt/crypt.h: Likewise.
7823 * crypt/crypt_util.c: Likewise.
7824 * ctype/ctype.h: Likewise.
7825 * debug/execinfo.h: Likewise.
7826 * debug/mbsnrtowcs_chk.c: Likewise.
7827 * debug/mbsrtowcs_chk.c: Likewise.
7828 * debug/wcsnrtombs_chk.c: Likewise.
7829 * debug/wcsrtombs_chk.c: Likewise.
7830 * debug/wcstombs_chk.c: Likewise.
7831 * dirent/dirent.h: Likewise.
7832 * dlfcn/dlfcn.h: Likewise.
7833 * elf/neededtest4.c: Likewise.
7834 * grp/grp.h: Likewise.
7835 * gshadow/gshadow.h: Likewise.
7836 * iconv/gconv.h: Likewise.
7837 * iconv/gconv_int.h: Likewise.
7838 * iconv/gconv_simple.c: Likewise.
7839 * iconv/iconv.h: Likewise.
7840 * iconv/loop.c: Likewise.
7841 * iconv/skeleton.c: Likewise.
7842 * include/aio.h: Likewise.
7843 * include/aliases.h: Likewise.
7844 * include/argz.h: Likewise.
7845 * include/arpa/inet.h: Likewise.
7846 * include/assert.h: Likewise.
7847 * include/dirent.h: Likewise.
7848 * include/dlfcn.h: Likewise.
7849 * include/execinfo.h: Likewise.
7850 * include/fcntl.h: Likewise.
7851 * include/fenv.h: Likewise.
7852 * include/glob.h: Likewise.
7853 * include/grp.h: Likewise.
7854 * include/libintl.h: Likewise.
7855 * include/mntent.h: Likewise.
7856 * include/netdb.h: Likewise.
7857 * include/pwd.h: Likewise.
7858 * include/rpc/netdb.h: Likewise.
7859 * include/sched.h: Likewise.
7860 * include/search.h: Likewise.
7861 * include/shadow.h: Likewise.
7862 * include/signal.h: Likewise.
7863 * include/stdio.h: Likewise.
7864 * include/stdlib.h: Likewise.
7865 * include/string.h: Likewise.
7866 * include/sys/socket.h: Likewise.
7867 * include/sys/stat.h: Likewise.
7868 * include/sys/statfs.h: Likewise.
7869 * include/sys/statvfs.h: Likewise.
7870 * include/sys/syslog.h: Likewise.
7871 * include/sys/time.h: Likewise.
7872 * include/sys/uio.h: Likewise.
7873 * include/time.h: Likewise.
7874 * include/unistd.h: Likewise.
7875 * include/utmp.h: Likewise.
7876 * include/wchar.h: Likewise.
7877 * include/wctype.h: Likewise.
7878 * inet/aliases.h: Likewise.
7879 * inet/arpa/inet.h: Likewise.
7880 * inet/netinet/ether.h: Likewise.
7881 * inet/netinet/in.h: Likewise.
7882 * intl/libintl.h: Likewise.
7883 * io/bits/fcntl2.h: Likewise.
7884 * io/fcntl.h: Likewise.
7885 * io/ftw.h: Likewise.
7886 * io/sys/poll.h: Likewise.
7887 * io/sys/stat.h: Likewise.
7888 * io/sys/statfs.h: Likewise.
7889 * io/sys/statvfs.h: Likewise.
7890 * io/utime.h: Likewise.
7891 * libio/bits/stdio.h: Likewise.
7892 * libio/bits/stdio2.h: Likewise.
7893 * libio/libio.h: Likewise.
7894 * libio/libioP.h: Likewise.
7895 * libio/stdio.h: Likewise.
7896 * locale/lc-ctype.c: Likewise.
7897 * locale/locale.h: Likewise.
7898 * login/utmp.h: Likewise.
7899 * malloc/arena.c: Likewise.
7900 * malloc/malloc.c: Likewise.
7901 * malloc/malloc.h: Likewise.
7902 * malloc/mcheck.c: Likewise.
7903 * malloc/mtrace.c: Likewise.
7904 * math/bits/mathcalls.h: Likewise.
7905 * math/fenv.h: Likewise.
7906 * math/math_private.h: Likewise.
7907 * misc/bits/error.h: Likewise.
7908 * misc/bits/syslog.h: Likewise.
7909 * misc/err.h: Likewise.
7910 * misc/error.h: Likewise.
7911 * misc/fstab.h: Likewise.
7912 * misc/mntent.h: Likewise.
7913 * misc/regexp.h: Likewise.
7914 * misc/search.h: Likewise.
7915 * misc/sgtty.h: Likewise.
7916 * misc/sys/mman.h: Likewise.
7917 * misc/sys/syslog.h: Likewise.
7918 * misc/sys/uio.h: Likewise.
7919 * misc/sys/xattr.h: Likewise.
7920 * misc/ttyent.h: Likewise.
7921 * nis/rpcsvc/ypclnt.h: Likewise.
7922 * nss/nss.h: Likewise.
7923 * posix/bits/unistd.h: Likewise.
7924 * posix/fnmatch.h: Likewise.
7925 * posix/glob.h: Likewise.
7926 * posix/sched.h: Likewise.
7927 * posix/spawn.h: Likewise.
7928 * posix/sys/wait.h: Likewise.
7929 * posix/unistd.h: Likewise.
7930 * posix/wordexp.h: Likewise.
7931 * pwd/pwd.h: Likewise.
7932 * resolv/netdb.h: Likewise.
7933 * resource/sys/resource.h: Likewise.
7934 * rt/aio.h: Likewise.
7935 * rt/bits/mqueue2.h: Likewise.
7936 * rt/mqueue.h: Likewise.
7937 * shadow/shadow.h: Likewise.
7938 * signal/signal.h: Likewise.
7939 * socket/send.c: Likewise.
7940 * socket/sendto.c: Likewise.
7941 * socket/sys/socket.h: Likewise.
7942 * stdio-common/printf.h: Likewise.
7943 * stdlib/bits/stdlib.h: Likewise.
7944 * stdlib/fmtmsg.h: Likewise.
7945 * stdlib/monetary.h: Likewise.
7946 * stdlib/stdlib.h: Likewise.
7947 * stdlib/ucontext.h: Likewise.
7948 * streams/stropts.h: Likewise.
7949 * string/argz.h: Likewise.
7950 * string/bits/string2.h: Likewise.
7951 * string/string.h: Likewise.
7952 * string/strings.h: Likewise.
7953 * sunrpc/rpc/auth.h: Likewise.
7954 * sunrpc/rpc/auth_des.h: Likewise.
7955 * sunrpc/rpc/clnt.h: Likewise.
7956 * sunrpc/rpc/netdb.h: Likewise.
7957 * sunrpc/rpc/pmap_clnt.h: Likewise.
7958 * sunrpc/rpc/xdr.h: Likewise.
7959 * sysdeps/generic/inttypes.h: Likewise.
7960 * sysdeps/generic/net/if.h: Likewise.
7961 * sysdeps/generic/sys/swap.h: Likewise.
7962 * sysdeps/gnu/net/if.h: Likewise.
7963 * sysdeps/gnu/utmpx.h: Likewise.
7964 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7965 * sysdeps/i386/i486/bits/string.h: Likewise.
7966 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7967 * sysdeps/s390/bits/string.h: Likewise.
7968 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7969 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7970 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7971 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7972 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7973 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7974 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7975 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7976 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7977 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7978 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7979 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7980 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7981 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7982 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7983 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7984 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7986 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7987 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7988 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7989 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7990 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7991 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7992 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7993 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7994 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7995 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7996 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7997 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7998 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7999 * sysvipc/sys/ipc.h: Likewise.
8000 * sysvipc/sys/msg.h: Likewise.
8001 * sysvipc/sys/sem.h: Likewise.
8002 * sysvipc/sys/shm.h: Likewise.
8003 * termios/termios.h: Likewise.
8004 * time/sys/time.h: Likewise.
8005 * time/time.h: Likewise.
8006 * wcsmbs/bits/wchar2.h: Likewise.
8007 * wcsmbs/uchar.h: Likewise.
8008 * wcsmbs/wchar.h: Likewise.
8009 * wctype/wctype.h: Likewise.
8010
0269750c
UD
8011 [BZ #13551]
8012 * Makeconfig: Remove all but ELF support including AIX support.
8013 * Makerules: Likewise.
8014 * config.h.in: Likewise.
8015 * config.make.in: Likewise.
8016 * configure: Likewise.
8017 * configure.in: Likewise.
8018 * csu/Makefile: Likewise.
8019 * csu/version.c: Likewise.
8020 * debug/Makefile: Likewise.
8021 * dlfcn/Makefile: Likewise.
8022 * elf/Makefile: Likewise.
8023 * extra-lib.mk: Likewise.
8024 * iconv/Makefile: Likewise.
8025 * include/libc-symbols.h: Likewise.
8026 * include/shlib-compat.h: Likewise.
8027 * resolv/Makefile: Likewise.
8028 * resolv/res_libc.c: Likewise.
8029 * rt/Makefile: Likewise.
8030 * sysdeps/i386/asm-syntax.h: Likewise.
8031 * sysdeps/i386/sysdep.h: Likewise.
8032 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8033 * sysdeps/mach/sysdep.h: Likewise.
8034 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8035 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8036 * sysdeps/s390/asm-syntax.h: Likewise.
8037 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8038 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8039 * sysdeps/sh/sysdep.h: Likewise.
8040 * sysdeps/unix/sparc/sysdep.h: Likewise.
8041 * sysdeps/wordsize-32/divdi3.c: Likewise.
8042 * sysdeps/x86_64/sysdep.h: Likewise.
8043
00bbd29b
UD
8044 * argp/Versions: Remove _argp_unlock_xxx.
8045
8046 [BZ #13559]
8047 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8048 * abilist/libBrokenLocale.abilist: Likewise.
8049 * abilist/libanl.abilist: Likewise.
8050 * abilist/libc.abilist: Likewise.
8051 * abilist/libcrypt.abilist: Likewise.
8052 * abilist/libdl.abilist: Likewise.
8053 * abilist/libm.abilist: Likewise.
8054 * abilist/libnsl.abilist: Likewise.
8055 * abilist/libpthread.abilist: Likewise.
8056 * abilist/libresolv.abilist: Likewise.
8057 * abilist/librt.abilist: Likewise.
8058 * abilist/libthread_db.abilist: Likewise.
8059 * abilist/libutil.abilist: Likewise.
8060 * abilist/libnss_db.abilist: New file.
8061
8062 * scripts/abilist.awk: Add support for indirect functions.
8063
a2693a0e
UD
8064 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8065
3f05895f
UD
8066 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8067
ecb6fb48
UD
8068 * shlib-versions: Remove entries for ports architectures.
8069
664f8cb9
UD
8070 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8071 files in ports.
8072 * elf/stackguard-macros.h: Remove support for IA-64.
8073 * elf/tst-auditmod1.c: Likewise.
8074 * sysdeps/generic/ldsodefs.h: Likewise.
8075
7ae81d88
UD
8076 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8077 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8078 configure files.
8079
bdeba135
UD
8080 [BZ #13552]
8081 * configure.in: Remove --enable-omitfp support.
8082 * FAQ.in: Adjust.
8083 * config.make.in: Likewise.
8084 * Makeconfig: Likewise.
8085 * manual/install.texi: Likewise.
8086
d75a0a62
UD
8087 In case anyone cares, the IA-64 architecture could move to ports.
8088 * sysdeps/ia64/*: Removed.
8089 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8090 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8091
dcc9756b
UD
8092 [BZ #13555]
8093 * configure.in: Remove entries for unsupported architectures.
8094
d3761ebc 8095 [BZ #13533]
9954432e
UD
8096 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8097 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8098 routines.
8099 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8100 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8101 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8102 fall back to using wcrtomb.
8103 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8104 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8105 renaming.
8106 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8107 * wcsmbs/tst-c16c32-1.c: New file.
8108
8109 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8110 local variable.
8111
c3a87236
UD
8112 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8113
28926a1b
UD
8114 * elf/tst-unique3.cc: Add explicit declaration of gets.
8115 * elf/tst-unique3lib.cc: Likewise.
8116 * elf/tst-unique3lib2.cc: Likewise.
8117 * elf/tst-unique4.cc: Likewise.
8118
df78418a
UD
8119 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8120
8ecd6b2a
JM
81212012-01-06 Joseph Myers <joseph@codesourcery.com>
8122
8123 [BZ #13566]
8124 * assert/assert.h (static_assert): Don't define for C++.
8125 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8126 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8127
9f115170
UD
81282012-01-03 Ulrich Drepper <drepper@gmail.com>
8129
5e0d0300
UD
8130 * iconv/loop.c (single loop): Fix assertion in storing of
8131 remaining bytes.
8132
9f115170
UD
8133 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8134
81fb02b0
UD
81352012-01-01 Ulrich Drepper <drepper@gmail.com>
8136
8137 * posix/getconf.c: Update copyright year.
8138 * nss/getent.c: Likewise.
a316c1f6 8139 * nss/makedb.c: Likewise.
81fb02b0
UD
8140 * iconv/iconvconfig.c: Likewise.
8141 * iconv/iconv_prog.c: Likewise.
8142 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8143 * elf/pldd.c: Likewise.
8144 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8145 * catgets/gencat.c: Likewise.
8146 * csu/version.c: Likewise.
8147 * elf/ldd.bash.in: Likewise.
8148 * elf/sprof.c (print_version): Likewise.
8149 * locale/programs/locale.c: Likewise.
8150 * locale/programs/localedef.c: Likewise.
a316c1f6 8151 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8152 * nscd/nscd.c (print_version): Likewise.
8153 * debug/xtrace.sh: Likewise.
8154 * malloc/memusage.sh: Likewise.
8155 * malloc/mtrace.pl: Likewise.
8156 * debug/catchsegv.sh: Likewise.
8157
2ba92745
JJ
81582011-12-30 Jakub Jelinek <jakub@redhat.com>
8159
8160 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8161 pure attribute.
8162
dadebdae
UD
81632011-12-24 Ulrich Drepper <drepper@gmail.com>
8164
d3761ebc 8165 [BZ #13533]
db6af3eb
UD
8166 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8167 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8168 transformations.
8169 * iconv/gconv_int.h: Likewise.
8170 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8171 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8172 from libc for GLIBC_2.16.
8173 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8174 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8175 * wcsmbs/uchar.h: Really define mbstate_t.
8176 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8177 * wcsmbs/c16rtomb.c: New file.
8178 * wcsmbs/mbrtoc16.c: New file.
8179 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8180 for C/POSIX locale.
8181 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8182 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8183
dadebdae
UD
8184 * wcsmbs/wchar.h: Add missing __restrict.
8185
67371b56
UD
81862011-12-23 Ulrich Drepper <drepper@gmail.com>
8187
74033a25
UD
8188 [BZ #13532]
8189 * time/Makefile (routines): Add timespec_get.
8190 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8191 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8192 timespec for ISO C11.
8193 * time/timespec_get.c: New file.
8194 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8195 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8196
380d7e87
UD
8197 [BZ #13531]
8198 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8199 * stdlib/stdlib.h: Declare aligned_alloc.
8200 * Versions.def: Add GLIBC_2.16 for libc.
8201 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8202
4e9e7a35
UD
8203 [BZ 13527]
8204 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8205 ISO C11.
8206
380d7e87 8207 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8208 code.
8209
03a71829
UD
8210 [BZ #13528]
8211 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8212
839e283e
UD
8213 [BZ #13529]
8214 * assert/assert.h (static_assert): Define.
8215
ce5294e2 8216 * version.h: Update for 2.16 development version.
90fa7312 8217
8d44e150 8218 [BZ #13526]
d7809905
UD
8219 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8220 _ISOC11_SOURCE.
8221
c0da14cd
UD
8222 * version.h (RELEASE): Bump for 2.15 release.
8223 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8224
530a3249
MP
8225 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8226 Patch by Marek Polacek <mpolacek@redhat.com>.
8227
67371b56
UD
8228 * bits/byteswap.h: Protect long long constants with __extension__.
8229 * sysdeps/i386/bits/byteswap.h: Likewise.
8230 * sysdeps/ia64/bits/byteswap.h: Likewise.
8231 * sysdeps/s390/bits/byteswap.h: Likewise.
8232 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8233
15db4de1
LD
82342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8235
8236 [BZ #13540]
bbe315ea
LD
8237 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8238 destination buffer.
15db4de1
LD
8239 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8240
2b2596b1
MP
82412011-12-23 Marek Polacek <polacek@redhat.com>
8242
8243 * elf/dl-addr.c (determine_info): Add inline keyword.
8244 * elf/tst-auditmod4b.c (check_avx): Likewise.
8245 * elf/tst-auditmod6b.c (check_avx): Likewise.
8246 * elf/tst-auditmod6c.c (check_avx): Likewise.
8247 * elf/tst-auditmod7b.c (check_avx): Likewise.
8248
70c6c246
UD
82492011-12-23 Ulrich Drepper <drepper@gmail.com>
8250
8251 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8252 !__SSE_MATH__.
8253
c044cf14
LD
82542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8255
15db4de1 8256 [BZ #13540]
c044cf14
LD
8257 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8258 processing for last bytes.
8259
6b13d9d9
BH
82602011-08-06 Bruno Haible <bruno@clisp.org>
8261
d455f537
BH
8262 [BZ #13061]
8263 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8264 U+0385, not to U+1FEE.
8265
6b13d9d9
BH
8266 [BZ #13062]
8267 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8268 entry for U+00A5 U+0301.
8269
db910efd
UD
82702011-12-22 Ulrich Drepper <drepper@gmail.com>
8271
27deeafc
UD
8272 [BZ #13166]
8273 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8274 buffer for the output is too small.
8275
aed9d171
UD
8276 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8277 optimization.
8278
db910efd
UD
8279 [BZ #13185]
8280 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8281 SSE flags if possible.
8282
2bd779ae
LD
82832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8284
e7f9dac3 8285 [BZ #13540]
2bd779ae
LD
8286 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8287 processing for last bytes.
8288
154bfc16
JM
82892011-12-22 Joseph Myers <joseph@codesourcery.com>
8290
8291 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8292 (syscall-list-default-options, syscall-list-default-condition)
8293 (syscall-list-includes): Define.
8294 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8295 list of ABIs and options and #if conditions for each ABI. Do not
8296 handle common syscalls between ABIs specially.
8297 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8298 Remove.
8299 (syscall-list-variants, syscall-list-32bit-options)
8300 (syscall-list-32bit-condition, syscall-list-64bit-options)
8301 (syscall-list-64bit-condition): Define.
8302 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8303 (syscall-list-variants, syscall-list-32bit-options)
8304 (syscall-list-32bit-condition, syscall-list-64bit-options)
8305 (syscall-list-64bit-condition): Define.
8306 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8307 Remove.
8308 (syscall-list-variants, syscall-list-32bit-options)
8309 (syscall-list-32bit-condition, syscall-list-64bit-options)
8310 (syscall-list-64bit-condition): Define.
8311 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8312 Remove.
8313 (syscall-list-variants, syscall-list-32bit-options)
8314 (syscall-list-32bit-condition, syscall-list-64bit-options)
8315 (syscall-list-64bit-condition): Define.
8316
21eaf3a5
UD
83172011-12-22 Ulrich Drepper <drepper@gmail.com>
8318
16c6f992
UD
8319 * locale/iso-639.def: Add brx entry.
8320
41043168
UD
8321 [BZ #13328]
8322 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8323 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8324
21eaf3a5
UD
8325 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8326 __feraiseexcept_renamed.
8327
e3a851a2
UD
83282011-12-21 Ulrich Drepper <drepper@gmail.com>
8329
4920765e
UD
8330 [BZ #13538]
8331 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8332 EPOLLET with unsigned values.
8333 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8334 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8335
e3a851a2
UD
8336 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8337 to large cancellation.
8338 * math/s_cacoshf.c: Likewise.
8339 * math/s_cacoshl.c: Likewise.
8340
b27e24b8
RK
83412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8342
8343 [BZ #13305]
aebefeee 8344 [BZ #12786]
b27e24b8
RK
8345 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8346 * math/s_cacoshf.c: Likewise.
8347 * math/s_cacoshl.c: Likewise.
8348
ee190f67
UD
83492011-12-21 Ulrich Drepper <drepper@gmail.com>
8350
8351 [BZ #13439]
8352 * iconv/gconv.h: Define __GCONV_SWAP.
8353 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8354 * iconvdata/utf-16.c: Likewise.
8355 * iconvdata/utf-32.c: Likewise.
8356
707f25df
AS
83572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8358
8359 [BZ #13524]
8360 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8361 numerator after shifting it by one limb.
8362
d2daaa1e
RÁE
83632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8364
8365 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8366 under [__USE_EXTERN_INLINES].
8367
a4647e72
UD
83682011-12-17 Ulrich Drepper <drepper@gmail.com>
8369
8370 [BZ #13446]
8371 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8372
f0b264f1
AZ
83732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8374
8375 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8376 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8377 optimized code.
8378 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8379 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8380 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8381 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8382 for strncasecmp/strncasecmp_l compilation.
8383 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8384 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8385
8ef4f244
MP
83862011-12-08 Marek Polacek <mpolacek@redhat.com>
8387
8388 [BZ #13484]
8389 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8390 of __asm__.
8391
97ac2654
UD
83922011-12-17 Ulrich Drepper <drepper@gmail.com>
8393
8394 [BZ #13506]
8395 * time/tzfile.c (__tzfile_read): Check values from file header.
8396
91d2a845
WS
83972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8398
8399 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8400 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8401 * powerpc/powerpc32/dl-start.S: Likewise.
8402 * powerpc/powerpc32/elf/start.S: Likewise.
8403 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8404 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8405 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8406 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8407 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8408 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8409 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8410 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8411 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8412 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8413 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8414 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8415 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8416 * powerpc/powerpc32/memset.S: Likewise.
8417 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8418 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8419 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8420 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8421 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8422 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8423 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8424 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8425 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8426 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8427 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8428 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8429 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8430
a1267ba1
AZ
84312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8432
8433 * math/libm-test.inc: Added more nearbyint tests.
8434 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8435 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8436 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8438
ad8ac1bd
RL
84392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8440
8441 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8442 FD_CLOEXEC.
8443
1d3e4b61
UD
84442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8445
8446 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8447 Add wcscpy-ssse3 wcscpy-c.
8448 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8449 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8450 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8451 * sysdeps/x86_64/wcschr.S: New file.
8452 * sysdeps/x86_64/wcsrchr.S: New file.
8453 * string/test-strcmp.c: Remove checking of wcscmp function for
8454 wrong alignments.
8455 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8456 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8457 wcsrchr-sse2 wcsrchr-c.
8458 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8459 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8460 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8461 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8462 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8463 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8464 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8465 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8466 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8467 * wcsmbc/wcschr.c (WCSCHR): New macro.
8468
5b330a2d
UD
84692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8470
8471 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8472 * wcsmbs/test-wcsrchr.c: New file.
8473 * string/test-strrchr.c: Add wcsrchr support.
8474 (WIDE): New macro.
8475 * wcsmbs/test-wcscpy.c: New file.
8476 * string/test-strcpy.c: Add wcscpy support.
8477 (WIDE): New macro.
26428b7c 8478
f039c043
UD
84792011-12-10 Ulrich Drepper <drepper@gmail.com>
8480
8481 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8482 the inner loop.
8483
850fb039
AS
84842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8485
8486 [BZ #13472]
8487 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8488
4efbd5cb
UD
84892011-12-04 Ulrich Drepper <drepper@gmail.com>
8490
52ff5dd0 8491 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8492 Minor optimizations.
52ff5dd0 8493
4efbd5cb
UD
8494 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8495 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8496 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8497
8a426e12
UD
84982011-12-03 Ulrich Drepper <drepper@gmail.com>
8499
aff2453d
UD
8500 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8501 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8502 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8503 for gcc to avoid warnings.
8504 * inet/Makefile (tests): Add tst-checks.
8505 * inet/tst-checks.c: New file.
8506
8507 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8508 warning.
8509
8510 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8511 __wmemcmp_sse2.
8512
8513 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8514 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8515
8a426e12
UD
8516 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8517
9bea3473
UD
85182011-12-02 Ulrich Drepper <drepper@gmail.com>
8519
3a965496
UD
8520 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8521 problem.
8522
9bea3473
UD
8523 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8524
f101631b
UD
85252011-11-29 Joseph Myers <joseph@codesourcery.com>
8526
8527 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8528 conditional on GCC version.
8529 (__arch_compare_and_exchange_val_8_acq)
8530 (__arch_compare_and_exchange_val_16_acq)
8531 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8532 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8533 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8534
a98275aa
UD
85352011-12-02 Joseph Myers <joseph@codesourcery.com>
8536
8537 * sysdeps/sh/backtrace.c: New file.
8538
d4cc29a2
AS
85392011-12-02 Andreas Schwab <schwab@redhat.com>
8540
8541 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8542 parenthesis.
8543
6257af2d
AS
85442011-12-01 Andreas Schwab <schwab@redhat.com>
8545
8546 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8547 falling back to utime.
8548
b5f44c1a
AS
85492011-11-30 Andreas Schwab <schwab@redhat.com>
8550
8551 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8552 expectations for float.
8553
f3a6cc0a
AS
85542011-11-29 Andreas Schwab <schwab@redhat.com>
8555
8556 * locale/weight.h (findidx): Add parameter len.
8557 * locale/weightwc.h (findidx): Likewise.
8558 * posix/fnmatch_loop.c (FCT): Adjust caller.
8559 * posix/regcomp.c (build_equiv_class): Likewise.
8560 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8561 * posix/regexec.c (check_node_accept_bytes): Likewise.
8562 * string/strcoll_l.c (STRCOLL): Likewise.
8563 * string/strxfrm_l.c (STRXFRM): Likewise.
8564
9d65ea3a
UD
85652011-11-17 Ulrich Drepper <drepper@gmail.com>
8566
8567 * Makefile.in: Remove CVSOPT handling.
8568 * configure.in: Remove use of AC_REVISION.
8569 * iconvdata/Makefile (distribute): No need to filter out CVS.
8570 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8571 handling.
8572
5583a086
AS
85732011-11-16 Andreas Schwab <schwab@redhat.com>
8574
8575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8576 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8577 [USE_AS_STRNCASECMP_L]: Likewise.
8578 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8579 NO_TLS_DIRECT_SEG_REFS.
8580 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8581 Fix argument offsets for non-PIC.
8582 [USE_AS_STRNCASECMP_L]: Likewise.
8583 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8584 NO_TLS_DIRECT_SEG_REFS.
8585
d62a8200
UD
85862011-11-15 Ulrich Drepper <drepper@gmail.com>
8587
9d65ea3a 8588 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8589 O_CLOEXEC.
8590 * locale/loadlocale.c (_nl_load_locale): Likewise.
8591
09f93bd3
AS
85922011-11-15 Andreas Schwab <schwab@redhat.com>
8593
446514f9
AS
8594 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8595 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8596 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8597 (SYSCALL_GETTIME): Set errno on error.
8598
09f93bd3
AS
8599 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8600 count references to noai6ai_cached.
8601
312be3f9
UD
86022011-11-15 Ulrich Drepper <drepper@gmail.com>
8603
8604 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8605
8606 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8607 FD_CLOEXEC for /proc/self/maps.
8608
8609 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8610 FD_CLOEXEC for /proc/meminfo.
8611
8612 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8613 gai.conf.
8614
8615 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8616 FD_CLOEXEC for given file.
8617
8618 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8619
8620 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8621 FD_CLOEXEC for /etc/hosts.
8622 (_gethtent): Likewise.
8623
8624 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8625
8626 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8627 cancellation and set FD_CLOEXEC for /etc/netgroup.
8628
8629 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8630 reading /etc/publickey.
8631
8632 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8633 allow cancellation when reading /etc/group.
8634
8635 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8636 cancellation.
8637 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8638
8639 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8640 when using data file.
8641
8642 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8643
8644 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8645 (write_nis_obj): Use "c" and "e" in fopen.
8646
8647 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8648
8649 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8650
8651 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8652
8653 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8654
8655 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8656 locale.alias.
8657
8658 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8659
8660 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8661
8662 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8663
8664 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8665 file parsing and set FD_CLOEXEC.
8666
82af0fa8
UD
86672011-11-14 Ulrich Drepper <drepper@gmail.com>
8668
8669 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8670
a5fb313c
AS
86712011-11-14 Andreas Schwab <schwab@redhat.com>
8672
8673 * malloc/arena.c (arena_get2): Don't call reused_arena when
8674 _int_new_arena failed.
8675
6abf3465
UD
86762011-11-14 Ulrich Drepper <drepper@gmail.com>
8677
8678 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8679 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8680 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8681 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8682 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8683 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8684 to compile strcasecmp and strncasecmp.
8685 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8686 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8687
8688 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8689
76e3966e
UD
86902011-11-13 Ulrich Drepper <drepper@gmail.com>
8691
8692 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8693 locale-defines.sym to gen-as-const-headers.
8694 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8695 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8696 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8697 to compile strcasecmp and strncasecmp.
8698 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8699 strcasecmp_l and strncasecmp_l.
8700 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8701 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8702 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8703 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8704 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8705 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8706 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8707 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8708 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8709 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8710 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8711
ab26144e
UD
87122011-11-12 Ulrich Drepper <drepper@gmail.com>
8713
7edb22ef
UD
8714 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8715 result of SYSDEP_GETTIME_CPU to retval.
8716 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8717 parameter list to macro. Remove trailing semicolon. Adjust users.
8718
9694fc44
UD
8719 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8720 variable.
8721
8ad89ef8
UD
8722 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8723 mantissa words.
8724 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8725
0c822ef9
UD
8726 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8727 from unused variable.
8728
874e0564
UD
8729 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8730 DWARF definitions.
8731 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8732 for assembling.
8733
3a2edc79
UD
8734 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8735 over namespaces.
8736
f3c2577f
UD
8737 * sunrpc/rpc_prot.c (rejected): Fix case value.
8738
294ce126
UD
8739 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8740 unsigned long long int to avoid warnings in shift.
8741
5e2b63c6
UD
8742 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8743 of use of trans.
8744 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8745 variable tmp.
8746
e7f4b08e
UD
8747 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8748 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8749 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8750
ab26144e
UD
8751 * nis/nis_table.c (nis_list): Use variable of correct type for
8752 result of __follow_path call.
8753
8a6d5255
AZ
87542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8755
8756 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8757 of math functions ceil, trunc, floor, round, and sqrt, when
8758 avaliable on the platform.
8759 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8760 name clash.
8761 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8762 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8763 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8764
aaddc98c
MP
87652011-10-30 Marek Polacek <mpolacek@redhat.com>
8766
8767 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8768 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8769
95b7042b
RM
87702011-11-11 Roland McGrath <roland@hack.frob.com>
8771
8772 * include/unistd.h: Fix __readlink return type.
8773 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8774
57769839
UD
87752011-11-11 Ulrich Drepper <drepper@gmail.com>
8776
8777 * stdlib/ucontext.h: Undo last change for makecontext.
8778
edc5984d
AS
87792011-11-11 Andreas Schwab <schwab@redhat.com>
8780
98591e58
AS
8781 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8782
edc5984d
AS
8783 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8784 * setjmp/setjmp.h: Mark functions as non-leaf.
8785 * setjmp/bits/setjmp2.h: Likewise.
8786 * stdlib/ucontext.h: Likewise.
8787
77cdc054
AS
87882011-11-10 Andreas Schwab <schwab@redhat.com>
8789
8790 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8791 (reused_arena): Don't check arena limit.
8792 (arena_get2): Atomically check arena limit.
8793
fe72eebd
UD
87942011-11-08 Ulrich Drepper <drepper@gmail.com>
8795
5f078c32
UD
8796 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8797 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8798
fe72eebd
UD
8799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8800 instructions.
8801
ae1bc2fa
AS
88022011-11-07 Andreas Schwab <schwab@redhat.com>
8803
7583a88d
AS
8804 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8805 handler when locking.
8806
ae1bc2fa
AS
8807 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8808 Fix size of allocated buffer.
8809
10fb0bfa
AS
88102011-11-04 Andreas Schwab <schwab@redhat.com>
8811
998832a4
AS
8812 [BZ #10103]
8813 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8814 declarations for long double functions.
8815 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8816
10fb0bfa
AS
8817 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8818
3d7ba52b
AS
88192011-11-03 Andreas Schwab <schwab@redhat.com>
8820
a9ae54a1
AS
8821 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8822 installed.
8823
3d7ba52b
AS
8824 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8825 is disabled.
8826
bc8db248
ST
88272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8828
8829 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8830
45b96dd6
AS
88312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8832
647776f6
AS
8833 * include/alloca.h (stackinfo_alloca_round): Define.
8834 (extend_alloca): Use it.
8835 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8836 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8837 here.
8838
d91a8b93
AS
8839 * scripts/check-local-headers.sh: Ignore libaudit.h.
8840
45b96dd6
AS
8841 * nscd/Makefile (extra-objs): Make recursively expanded.
8842
432d41ce
UD
88432011-11-01 Ulrich Drepper <drepper@gmail.com>
8844
34372fc6
UD
8845 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8846 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8847
fadb59f8
UD
8848 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8849 * posix/tst-rfc3484-2.c: Likewise.
8850 * posix/tst-rfc3484-3.c: Likewise.
8851
78239589
UD
8852 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8853 process_vm_writev.
8854 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8855 process_vm_writev.
8856 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8857 process_vm_writev from libc using GLIBC_2.15 version.
8858
432d41ce
UD
8859 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8860
02f9c6cf
PP
88612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8862
8863 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8864 stack usage.
8865
3a2c0242
UD
88662011-10-31 Ulrich Drepper <drepper@gmail.com>
8867
f4ec4833
UD
8868 [BZ #13367]
8869 * nss/getent.c (initgroups_keys): Show error message in case no group
8870 names are given.
8871
3a2c0242
UD
8872 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8873 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8874 __bump_nl_timestamp.
8875 * nscd/connections (nscd_init): When host database is served open
8876 netlink socket and request notification about configuration changes.
8877 (main_loop_poll): Track netlink file descriptor and bump timestamp
8878 in case data becomes available.
8879 (main_loop_epoll): Likewise.
8880 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8881 (database_pers_head): Add extra_data fileds.
8882 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8883 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8884 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8885 Adjust caller.
8886 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8887 in6ai data, call __free_in6ai.
8888 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8889 Add -DHAVE_NETLINK.
8890 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8891 interface information. Reuse previous data if netlink timestamp
8892 is not changed.
8893 (__bump_nl_timestamp): New function.
8894 (__free_in6ai): New function.
8895
636064eb
UD
88962011-10-30 Ulrich Drepper <drepper@gmail.com>
8897
8898 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8899 close_not_cancel_no_status here.
8900 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8901
9beb2334
UD
89022011-10-29 Ulrich Drepper <drepper@gmail.com>
8903
6ef76f3b
UD
8904 [BZ #13276]
8905 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8906 return value.
8907
0ffc4f3e 8908 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8909 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8910 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8911
cb95113e
UD
89122011-07-03 Andreas Jaeger <aj@suse.de>
8913
8914 [BZ #10709]
8915 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8916 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8917 * math/libm-test.inc (sin_test): Add test case.
8918
a1b560ff
UD
89192011-10-29 Ulrich Drepper <drepper@gmail.com>
8920
c9aaface
UD
8921 [BZ #13337]
8922 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8923 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8924
d272e7f1
UD
8925 * elf/chroot_canon.c (chroot_canon): Cleanups.
8926
1bc33071
UD
8927 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8928
1760874d
TJ
8929 [BZ #13335]
8930 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8931 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8932
51d91b18
UD
8933 * string/test-strchr.c: Make usable for strchrnul testing.
8934 * string/test-strchrnul.c: New file.
8935 * string/Makefile (strop-tests): Add strchrnul.
8936
a1b560ff 8937 * po/it.po: Update from translation team.
b611fb81 8938 * po/es.po: Likewise.
a1b560ff 8939
a5b81e1f
UD
89402011-10-28 Ulrich Drepper <drepper@gmail.com>
8941
fd52bc6d
UD
8942 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8943 the three constants needed as parameters. Drop the others.
8944 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8945 __m128i_strloadu_tolower.
52e4b9eb
UD
8946 Create and initialize variable zero and use it in all the places
8947 where _mm_setzero_si128 was used.
fd52bc6d 8948
a5b81e1f
UD
8949 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8950 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8951 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8952 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8953 anymore.
8954 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8955 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8956 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8957 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8958 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8959 __mpranred, __mptan.
8960 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8961 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8962 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8963 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8964 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8965 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8966 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8967 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8968 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8969
b4343346
AS
89702011-10-28 Andreas Schwab <schwab@redhat.com>
8971
0c92d8a8
AS
8972 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8973 redefine if SHARED.
8974 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8975
b4343346
AS
8976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8977 wide char related routines to wcsmbs subdir.
8978
3871f58f
AS
89792011-10-27 Andreas Schwab <schwab@redhat.com>
8980
8981 [BZ #13344]
8982 * misc/sys/cdefs.h (__THROWNL): Define.
8983 * posix/unistd.h: Use __THREADNL instead of __THREAD
8984 for memory synchronization functions.
8985
94d44d9f
RM
89862011-10-26 Roland McGrath <roland@hack.frob.com>
8987
21b64b15 8988 [BZ #13349]
94d44d9f
RM
8989 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8990 doesn't exist.
8991 * manual/stdio.texi (Obstack Streams): Node removed.
8992
f6ce9294
AS
89932011-10-26 Andreas Schwab <schwab@redhat.com>
8994
80479147
AS
8995 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8996 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8997 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8998
f6ce9294
AS
8999 * math/math_private.h (math_force_eval): Allow non-addressable
9000 arguments.
9001 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9002
618280a1
UD
90032011-10-25 Ulrich Drepper <drepper@gmail.com>
9004
e0016b11
UD
9005 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9006 file is not needed.
9007
9008 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9009 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9010 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9011 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9012 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9013 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9014 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9015 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9016 Add AVX variants.
9017 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9018 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9019 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9020 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9021 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9022 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9023 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9024 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9025 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9026 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9027 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9028 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9029 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9030 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9031 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9032 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9033 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9034 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9035 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9036
9037 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9038 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9039
618280a1
UD
9040 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9041 place. Use VEX encoding when compiling for AVX.
9042
37822576
AS
90432011-10-25 Andreas Schwab <schwab@redhat.com>
9044
1f1e1947
AS
9045 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9046 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9047
37822576
AS
9048 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9049
31ea014d
UD
90502011-10-25 Ulrich Drepper <drepper@gmail.com>
9051
d7826aa1 9052 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9053 useless if() expression.
d7826aa1
UD
9054 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9063 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9064 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9065 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9066 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9067 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9068 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9069 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9070 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9072 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9073
31ea014d
UD
9074 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9075
16437fec
AS
90762011-10-25 Andreas Schwab <schwab@redhat.com>
9077
9078 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9079 condition.
9080 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9081
31d3cc00
UD
90822011-10-25 Ulrich Drepper <drepper@gmail.com>
9083
9084 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9085 .text section. Avoid duplicate constants.
9086 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9091 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9094 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9095 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9096 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9097 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9098 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9099 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9100 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9101 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9102 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9103 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9104 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9105 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9106 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9107 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9108 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9109 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9110 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9111 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9112 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9113 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9114 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9115 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9116 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9117 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9118 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9119 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9120 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9121 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9122 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9123 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9124 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9125 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9126 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9127 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9128 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9129 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9130 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9131
58985aa9
UD
91322011-10-24 Ulrich Drepper <drepper@gmail.com>
9133
202c9deb
UD
9134 * sysdeps/x86_64/dla.h: Move to ...
9135 * sysdeps/x86_64/fpu/dla.h: ...here.
9136 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9137 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9138
af968f62
UD
9139 * config.make.in: Add have-mfma4 entry.
9140 * configure.in: Substitute libc_cv_cc_fma4.
9141 * math/Makefile (dbl-only-routines): Add sincostab.
9142 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9143 Use __sincostab not sincos.
9144 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9145 name is a macro.
9146 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9150 using __copysign.
9151 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9152 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9153 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9154 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9155 and __inv.
9156 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9157 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9158 __copysign.
9159 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9160 define aliases when function name is a macro.
9161 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9162 sysdeps/ieee754/dbl-64/sincos.tbl.
9163 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9164 fma4-enabled routines.
9165 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9166 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9167 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9168 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9169 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9170 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9171 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9172 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9173 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9174 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9175 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9176 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9177 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9178 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9179 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9180 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9181 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9182 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9183 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9184 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9185 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9186 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9187 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9188 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9190 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9191 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9192 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9193 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9194 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9195
58985aa9
UD
9196 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9197 rename.
9198 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9204 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9206
a201fbcf
AS
92072011-10-24 Andreas Schwab <schwab@redhat.com>
9208
9209 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9210
fc2ee42a
LD
92112011-10-23 Ulrich Drepper <drepper@gmail.com>
9212
bb3129bd
UD
9213 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9214
0275fff8
UD
9215 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9216 prediction.
9217 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9218
2fa2ae85
UD
9219 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9220 Remove unused variable magic_bits.
9221 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9222
fc2ee42a
LD
9223 * string/strnlen.c: Define and use STRNLEN macro.
9224 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9225 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9226 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9227 * wcsmbs/wcslen.c: Define and use WCSLEN.
9228 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9229 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9230 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9231 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9232 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9233 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9234 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9235
ce7dd29f
LD
92362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9237
9238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9239 strnlen-sse2-no-bsf.
9240 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9241 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9242 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9243 Add strnlen support.
9244 (USE_AS_STRNLEN): New macro.
9245 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9246 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9247 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9248 * sysdeps/x86_64/wcslen.S: New file.
9249
979c70a3
MZ
92502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9251
9252 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9253 XMM-moves are used for copying on small sizes.
9254
2d09f82f
LD
92552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9256
9257 * wcsmbs/Makefile (strop-tests): Add wcschr.
9258 * wcsmbs/test-wcschr.c: New file.
9259 * string/test-strchr.c: Update.
9260 Add wcschr support.
9261 (WIDE): New macro.
9262
619fccca
LD
92632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9264
2d09f82f 9265 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9266 * wcsmbs/test-wcslen.c: New file.
9267 * string/test-strlen.c: Update.
9268 Add wcslen support.
9269 (WIDE): New macro.
9270
09f699ea
UD
92712011-10-23 Ulrich Drepper <drepper@gmail.com>
9272
9273 * po/it.po: Update from translation team.
9274
95584d3b
LD
92752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9276
9277 * sysdeps/x86_64/wcscmp.S: Update.
9278 Fix wrong comparison semantics.
9279 wcscmp shall use signed comparison not unsigned.
9280 Don't use substraction to avoid overflow bug.
9281 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9282 * wcsmbc/wcscmp.c: Likewise.
9283 * string/test-strcmp.c: Likewise.
9284 Add new tests to check cases with negative values.
9285
c8b3296b
UD
92862011-10-23 Ulrich Drepper <drepper@gmail.com>
9287
9288 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9289 * sysdeps/x86_64/dla.h: ...here. New file.
9290 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9291 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9292 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9294 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9295 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9297 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9298 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9299
246ad57a
AS
93002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9301
9302 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9303 __ynl_finite aliases.
9304
a1a87169
UD
93052011-10-22 Ulrich Drepper <drepper@gmail.com>
9306
0d355eb7
UD
9307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9308
a1a87169
UD
9309 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9310 define DLA_FMA.
9311 [DLA_FMA] (EMULV): Use DLA_FMA.
9312 [DLA_FMA] (MUL12): Use EMULV.
9313 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9314 that are not needed.
9315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9322
ee2aafe0
AS
93232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9324
9325 * math/s_nan.c: Undef __nan.
9326 * math/s_nanf.c: Undef __nanf.
9327 * math/s_nanl.c: Undef __nanl.
9328 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9329 "math_private.h".
9330
bc62c2fb
UD
93312011-10-22 Ulrich Drepper <drepper@gmail.com>
9332
77425c63
UD
9333 * math/s_catan.c: Add branch predictions.
9334 * math/s_catanf.c: Likewise.
9335 * math/s_catanh.c: Likewise.
9336 * math/s_catanhf.c: Likewise.
9337 * math/s_catanhl.c: Likewise.
9338 * math/s_catanl.c: Likewise.
9339 * math/s_cexp.c: Likewise.
9340 * math/s_cexpf.c: Likewise.
9341 * math/s_cexpl.c: Likewise.
9342 * math/s_clog.c: Likewise.
9343 * math/s_clog10.c: Likewise.
9344 * math/s_clog10f.c: Likewise.
9345 * math/s_clog10l.c: Likewise.
9346 * math/s_clogf.c: Likewise.
9347 * math/s_clogl.c: Likewise.
9348 * math/s_csqrt.c: Likewise.
9349 * math/s_csqrtf.c: Likewise.
9350 * math/s_csqrtl.c: Likewise.
9351 * math/s_ctanf.c: Likewise.
9352 * math/s_ctanh.c: Likewise.
9353 * math/s_ctanhf.c: Likewise.
9354 * math/s_ctanhl.c: Likewise.
9355 * math/s_ctanl.c: Likewise.
9356
bc62c2fb
UD
9357 * math/math_private.h: Define __nan, __nanf, __nanl.
9358 * math/s_cacosh.c: Include <math_private.h>.
9359 * math/s_cacoshl.c: Likewise.
9360 * math/s_casinh.c: Likewise.
9361 * math/s_casinhf.c: Likewise.
9362 * math/s_casinhl.c: Likewise.
9363 * math/s_ccos.c: Rely entire on ccosh.
9364 * math/s_ccosf.c: Rely entire on ccoshf.
9365 * math/s_ccosl.c: Rely entirely on ccoshl.
9366 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9367 Remove tests for FE_INVALID.
9368 * math/s_ccoshf.c: Likewise.
9369 * math/s_ccoshl.c: Likewise.
9370 * math/s_csin.c: Likewise.
9371 * math/s_csinf.c: Likewise.
9372 * math/s_csinh.c Likewise.
9373 * math/s_csinhf.c: Likewise.
9374 * math/s_csinhl.c: Likewise.
9375 * math/s_csinl.c: Likewise.
9376 * math/s_ctan.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9378 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9379 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9380
8ec250a4
UD
93812011-10-21 Ulrich Drepper <drepper@gmail.com>
9382
c196fed8
UD
9383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9384 compilation problems.
9385
8ec250a4
UD
9386 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9387 __builtin_expect.
9388
8d4f46c6
UD
93892011-10-20 Ulrich Drepper <drepper@gmail.com>
9390
ed72b654
UD
9391 * sysdeps/i386/configure.in: Test for -mfma4 option.
9392 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9393 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9394 COMMON_CPUID_INDEX_80000001.
9395 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9396 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9397 use it if FMA3 is not supported.
9398 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9399
8d4f46c6
UD
9400 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9401 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9402
d45c60c2
AS
94032011-10-20 Andreas Schwab <schwab@redhat.com>
9404
9405 [BZ #12892]
9406 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9407 it would create a cycle with a link time dependency.
9408
d9a4d2ab
UD
94092011-10-19 Ulrich Drepper <drepper@gmail.com>
9410
855d1560
UD
9411 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9412 instruction.
9413 * string/Makefile (strop-tests): Add rawmemchr.
9414 * string/test-rawmemchr.c: New file.
9415
d9a4d2ab
UD
9416 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9417 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9418 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9419 when compiling str{,n}casecmp and when AVX is available. Hook up
9420 new optimized code in initializers.
9421
8f3b1ffe
AS
94222011-10-19 Andreas Schwab <schwab@redhat.com>
9423
9424 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9425 __feraiseexcept instead of feraiseexcept.
9426
d38f1dba
UD
94272011-10-18 Ulrich Drepper <drepper@gmail.com>
9428
d9a8d0ab
UD
9429 * math/math_private.h: Define defaults for libc_fetestexcept and
9430 libc_feupdateenv.
9431 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9432 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9433 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9434 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9435 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9436 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9437 libc_fetestexcept and libc_feupdateenv.
9438
4855e3dd
UD
9439 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9440 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9441 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9442 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9443 libc_feholdexcept_setround.
9444
581d30e3
UD
9445 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9446 Add s_nearbyint-c and s_nearbyintf-c.
9447 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9448 nearbyintf inlines.
9449 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9450 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9451 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9452 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9453
d38f1dba
UD
9454 * math/math_private.h: Define defaults for libc_fegetround,
9455 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9456 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9457 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9458 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9459 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9460 standard functions.
9461 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9462 Remove comments and hacks for old compiler versions.
9463 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9464 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9465 libc_feholdexceptl.
9466
caa6c9d8
AS
94672011-10-18 Andreas Schwab <schwab@redhat.com>
9468
9469 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9470 (__feraiseexcept_renamed): Add __NTH.
9471 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9472 namespace violations.
9473
97c066e6
UD
94742011-10-17 Ulrich Drepper <drepper@gmail.com>
9475
99ce7b04
UD
9476 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9477
1004d182
UD
9478 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9479
228a984d
UD
9480 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9481 recently added interfaces.
9482 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9483
c8553a6a
UD
9484 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9485 about macro parameter expansion.
9486
ed22dcf6
UD
9487 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9488 __NO_MATH_INLINES is defined. Cleanups.
9489
9490 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9491 and __floorf is target has SSE4.1.
9492 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9493 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9494 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9495 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9496
b171c137
UD
9497 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9498 name.
9499 (floorf): Likewise.
9500
97c066e6
UD
9501 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9502
629f62ef
AS
95032011-10-17 Andreas Schwab <schwab@redhat.com>
9504
49a43d80
AS
9505 * misc/sys/cdefs.h: Fix last change.
9506
629f62ef
AS
9507 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9508 database lookup.
9509
e453f6cd
UD
95102011-10-16 Ulrich Drepper <drepper@gmail.com>
9511
aa78043a
UD
9512 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9513
ad0f5cad
UD
9514 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9517 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9520 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9521 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9522 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9523 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9524 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9525 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9526 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9527 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9528 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9529 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9530 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9531 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9532 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9533 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9534 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9535 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9536
9537 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9538 ceil, ceilf, floor, floorf.
9539
9540 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9541 Perform IRELATIVE relocations last.
9542
e453f6cd
UD
9543 * elf/do-rel.h: Add another parameter nrelative, replacing the
9544 local variable with the same name. Change name of the function
9545 to end in Rel or Rela (uppercase).
9546 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9547 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9548 elf_dynamic_do_##reloc function.
9549
fd5bdc09
UD
95502011-10-15 Ulrich Drepper <drepper@gmail.com>
9551
79b195b5
UD
9552 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9553 is sufficient, at least on modern CPUs.
9554
d4a28569
UD
9555 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9556
b61099b5
UD
9557 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9558 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9559
bcf01e6d
UD
9560 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9561 __expl_finite.
9562 * math/bits/math-finite.h: Add entries for exp.
9563 * math/e_expl.c: Add __*_finite alias.
9564 * sysdeps/i386/fpu/e_exp.S: Likewise.
9565 * sysdeps/i386/fpu/e_expf.S: Likewise.
9566 * sysdeps/i386/fpu/e_expl.c: Likewise.
9567 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9568 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9569 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9571 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9572 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9573 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9574
ba1a0d59
UD
9575 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9576 is sufficient, at least on modern CPUs.
9577
fd5bdc09
UD
9578 * ctype/ctype-info.c (__ctype_init): Define.
9579 * include/ctype.h (__ctype_init): Declare.
9580 (__ctype_b_loc): The variable is always initialized.
9581 (__ctype_toupper_loc): Likewise.
9582 (__ctype_tolower_loc): Likewise.
9583 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9584 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9585
7872cfb0
AS
95862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9587
b468825a
AS
9588 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9589
7872cfb0
AS
9590 * configure.in: Also look in $cxxmachine/include for C++ system
9591 headers.
9592
be13f7bf
LD
95932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9594
9595 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9596 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9597 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9598 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9599 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9600 (USE_AS_WMEMCMP): New macro.
9601 Fixing indents.
9602 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9603 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9604 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9605 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9607 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9608 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9609 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9610 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9611 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9612 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9613 (USE_AS_WMEMCMP): New macro.
9614 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9615 * sysdeps/string/test-memcmp.c: Update.
9616 Fix simple_wmemcmp.
9617 Add new tests.
9618 * wcsmbs/wmemcmp.c: Update.
9619 (WMEMCMP): New macro.
9620 Fix overflow bug.
9621
556a2007
AJ
96222011-10-12 Andreas Jaeger <aj@suse.de>
9623
9624 [BZ #13268]
9625 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9626
538faaa7
UD
96272011-10-15 Ulrich Drepper <drepper@gmail.com>
9628
ab6737ff
UD
9629 * libio/iofwide.c (do_length): Avoid warning.
9630
538faaa7
UD
9631 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9632
396a21b1
UD
96332011-10-14 Ulrich Drepper <drepper@gmail.com>
9634
cdf2901f
UD
9635 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9636
38ad40ce
UD
9637 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9638 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9639 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9640 * sysdeps/i386/i686/fpu/e_log.S: New file.
9641 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9642 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9643
396a21b1
UD
9644 * ctype/ctype.h: Add support for inlined isXXX functions when
9645 compiling C++ code.
9646
6b1f68c9
AS
96472011-10-14 Andreas Schwab <schwab@redhat.com>
9648
349290c0
AS
9649 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9650
6b1f68c9
AS
9651 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9652
f2282d42
RM
96532011-10-13 Roland McGrath <roland@hack.frob.com>
9654
9655 [BZ #13291]
9656 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9657
5298ffa8
AS
96582011-10-13 Andreas Schwab <schwab@redhat.com>
9659
714fad23
AS
9660 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9661 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9662 feraiseexcept.
9663
81dcc7fb
AS
9664 * sysdeps/x86_64/memrchr.S: Check for zero size.
9665
5298ffa8
AS
9666 * string/stratcliff.c: Add memrchr tests.
9667
951fbcec
LD
96682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9669
9670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9671 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9672 rawmemchr-sse2 rawmemchr-sse2-bsf.
9673 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9674 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9675 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9676 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9677 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9678 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9679 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9680 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9681 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9682 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9683 * string/memrchr.c (MEMRCHR): New macro.
9684
0ac5ae23
UD
96852011-10-12 Ulrich Drepper <drepper@gmail.com>
9686
9687 Add integration with gcc's -ffinite-math-only and optimize wrapper
9688 functions in libm.
9689 * Versions.def: Define GLIBC_2.15 version for libm.
9690 * math/Makefile (headers): Add bits/math-finite.h.
9691 * math/bits/math-finite.h: New file.
9692 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9693 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9694 * math/e_acoshl.c: Add __*_finite alias.
9695 * math/e_acosl.c: Likewise.
9696 * math/e_asinl.c: Likewise.
9697 * math/e_atan2l.c: Likewise.
9698 * math/e_atanhl.c: Likewise.
9699 * math/e_coshl.c: Likewise.
9700 * math/e_exp10.c: Likewise.
9701 * math/e_exp10f.c: Likewise.
9702 * math/e_exp10l.c: Likewise.
9703 * math/e_exp2l.c: Likewise.
9704 * math/e_fmodl.c: Likewise.
9705 * math/e_gammal_r.c: Likewise.
9706 * math/e_hypotl.c: Likewise.
9707 * math/e_j0l.c: Likewise.
9708 * math/e_j1l.c: Likewise.
9709 * math/e_jnl.c: Likewise.
9710 * math/e_lgammal_r.c: Likewise.
9711 * math/e_log10l.c: Likewise.
9712 * math/e_log2l.c: Likewise.
9713 * math/e_logl.c: Likewise.
9714 * math/e_powl.c: Likewise.
9715 * math/e_sinhl.c: Likewise.
9716 * math/e_sqrtl.c: Likewise.
9717 * math/e_scalb.c: Completely rewritten and optimized.
9718 * math/e_scalbf.c: Likewise.
9719 * math/e_scalbl.c: Likewise.
9720 * math/w_acos.c: Likewise.
9721 * math/w_acosf.c: Likewise.
9722 * math/w_acosl.c: Likewise.
9723 * math/w_acosh.c: Likewise.
9724 * math/w_acoshf.c: Likewise.
9725 * math/w_acoshl.c: Likewise.
9726 * math/w_asin.c: Likewise.
9727 * math/w_asinf.c: Likewise.
9728 * math/w_asinl.c: Likewise.
9729 * math/w_atan2.c: Likewise.
9730 * math/w_atan2f.c: Likewise.
9731 * math/w_atan2l.c: Likewise.
9732 * math/w_atanh.c: Likewise.
9733 * math/w_atanhf.c: Likewise.
9734 * math/w_atanhl.c: Likewise.
9735 * math/w_exp10.c: Likewise.
9736 * math/w_exp10f.c: Likewise.
9737 * math/w_exp10l.c: Likewise.
9738 * math/w_fmod.c: Likewise.
9739 * math/w_fmodf.c: Likewise.
9740 * math/w_fmodl.c: Likewise.
9741 * math/w_j0.c: Likewise.
9742 * math/w_j0f.c: Likewise.
9743 * math/w_j0l.c: Likewise.
9744 * math/w_j1.c: Likewise.
9745 * math/w_j1f.c: Likewise.
9746 * math/w_j1l.c: Likewise.
9747 * math/w_jn.c: Likewise.
9748 * math/w_jnf.c: Likewise.
9749 * math/w_log.c: Likewise.
9750 * math/w_logf.c: Likewise.
9751 * math/w_logl.c: Likewise.
9752 * math/w_log10.c: Likewise.
9753 * math/w_log10f.c: Likewise.
9754 * math/w_log10l.c: Likewise.
9755 * math/w_log2.c: Likewise.
9756 * math/w_log2f.c: Likewise.
9757 * math/w_log2l.c: Likewise.
9758 * math/w_pow.c: Likewise.
9759 * math/w_powf.c: Likewise.
9760 * math/w_powl.c: Likewise.
9761 * math/w_remainder.c: Likewise.
9762 * math/w_remainderf.c: Likewise.
9763 * math/w_remainderl.c: Likewise.
9764 * math/w_scalb.c: Likewise.
9765 * math/w_scalbf.c: Likewise.
9766 * math/w_scalbl.c: Likewise.
9767 * math/w_sqrt.c: Likewise.
9768 * math/w_sqrtf.c: Likewise.
9769 * math/w_sqrtl.c: Likewise.
9770 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9771 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9772 used.
9773 * math/math_private.h: Declare __kernel_standard_f.
9774 * math/w_cosh.c: Remove cruft and optimize a bit.
9775 * math/w_coshf.c: Likewise.
9776 * math/w_coshl.c: Likewise.
9777 * math/w_exp2.c: Likewise.
9778 * math/w_exp2f.c: Likewise.
9779 * math/w_exp2l.c: Likewise.
9780 * math/w_hypot.c: Likewise.
9781 * math/w_hypotf.c: Likewise.
9782 * math/w_hypotl.c: Likewise.
9783 * math/w_lgamma.c: Likewise.
9784 * math/w_lgamma_r.c: Likewise.
9785 * math/w_lgammaf.c: Likewise.
9786 * math/w_lgammaf_r.c: Likewise.
9787 * math/w_lgammal.c: Likewise.
9788 * math/w_lgammal_r.c: Likewise.
9789 * math/w_sinh.c: Likewise.
9790 * math/w_sinhf.c: Likewise.
9791 * math/w_sinhl.c: Likewise.
9792 * math/w_tgamma.c: Likewise.
9793 * math/w_tgammaf.c: Likewise.
9794 * math/w_tgammal.c: Likewise.
9795 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9796 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9797 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9798 Minor optimizations. Pretty printing. Remove cruft.
9799 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9800 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9801 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9802 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9803 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9804 * sysdeps/i386/fpu/e_asin.S: Likewise.
9805 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9806 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9807 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9808 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9809 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9810 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9811 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9812 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9813 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9814 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9815 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9816 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9817 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9818 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9819 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9820 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9821 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9822 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9823 * sysdeps/i386/fpu/e_log.S: Likewise.
9824 * sysdeps/i386/fpu/e_log10.S: Likewise.
9825 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9826 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9827 * sysdeps/i386/fpu/e_log2.S: Likewise.
9828 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9829 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9830 * sysdeps/i386/fpu/e_logf.S: Likewise.
9831 * sysdeps/i386/fpu/e_logl.S: Likewise.
9832 * sysdeps/i386/fpu/e_pow.S: Likewise.
9833 * sysdeps/i386/fpu/e_powf.S: Likewise.
9834 * sysdeps/i386/fpu/e_powl.S: Likewise.
9835 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9836 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9837 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9838 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9839 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9840 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9841 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9842 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9843 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9844 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9845 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9847 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9848 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9849 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9850 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9851 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9852 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9853 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9854 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9855 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9857 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9858 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9860 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9861 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9862 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9864 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9865 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9866 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9867 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9868 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9869 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9870 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9871 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9872 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9873 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9874 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9875 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9876 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9877 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9878 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9879 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9880 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9881 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9882 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9883 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9884 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9885 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9904 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9908 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9912 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9913 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9924 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9925 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9926 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9927 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9928 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9929 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9930 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9931 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9932 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9933 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9934 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9935 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9936 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9937 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9938 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9939 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9940 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9941 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9942 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9943 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9944 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9945 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9946 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9947 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9948 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9949 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9950 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9951 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9952 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9953 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9954 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9955 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9956 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9957 (__isnanf): Likewise.
9958 (__isinf_ns): Likewise.
9959 (__isinf_nsf): Likewise.
9960 (__finite): Likewise.
9961 (__finitef): Likewise.
9962 (__ieee754_sqrt): Define as macro.
9963 (__ieee754_sqrtf): Define as macro.
9964 (__ieee754_sqrtl): Define as macro.
9965 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9966 inlined copy.
9967 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9968 __FINITE_MATH_ONLY__ consistent.
9969 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9970
12cc2fcd
AS
99712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9972
a843a204
AS
9973 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9974 of rawmemchr.
9975
12cc2fcd
AS
9976 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9977
c853acd5
UD
99782011-10-09 Ulrich Drepper <drepper@gmail.com>
9979
9980 * po/ja.po: Update from translation team.
9981
c658d255
RM
99822011-10-08 Roland McGrath <roland@hack.frob.com>
9983
110946e4
RM
9984 * locale/programs/locarchive.c (prepare_address_space): New function.
9985 (create_archive, enlarge_archive, open_archive): Use it.
9986
50604220
RM
9987 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9988 inside [SHARED], where it is used.
9989
c658d255
RM
9990 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9991
9992 * nss/getent.c (netgroup_keys): Remove unused variable.
9993 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9994
6a621eb7
UD
99952011-10-08 Ulrich Drepper <drepper@gmail.com>
9996
7edb55ce
UD
9997 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9998 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10000 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10001 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10002 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10003 * math/Makefile (libm-calls): Add s_isinf_ns.
10004 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10005 * math/multc3.c: Likewise.
10006 * math/s_casin.c: Likewise.
10007 * math/s_casinf.c: Likewise.
10008 * math/s_casinl.c: Likewise.
10009 * math/s_ccos.c: Likewise.
10010 * math/s_ccosf.c: Likewise.
10011 * math/s_ccosl.c: Likewise.
10012 * math/s_ctan.c: Likewise.
10013 * math/s_ctanf.c: Likewise.
10014 * math/s_ctanh.c: Likewise.
10015 * math/s_ctanhf.c: Likewise.
10016 * math/s_ctanhl.c: Likewise.
10017 * math/s_ctanl.c: Likewise.
10018 * math/w_fmod.c: Likewise.
10019 * math/w_fmodf.c: Likewise.
10020 * math/w_fmodl.c: Likewise.
10021 * math/w_remainder.c: Likewise.
10022 * math/w_remainderf.c: Likewise.
10023 * math/w_remainderl.c: Likewise.
10024 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10025 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10026 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10027 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10028 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10029 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10030 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10031 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10032
187da0ae
UD
10033 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10034 of the number.
10035 * stdio-common/printf_fphex.c: Likewise.
10036 * stdio-common/printf_size.c: Likewise.
10037
9277c064
UD
10038 * math/e_exp10.c: Include math_private.h using <...> not "...".
10039 * math/e_exp10f.c: Likewise.
10040 * math/e_exp10l.c: Likewise.
10041 * math/e_exp2l.c: Likewise.
10042 * math/e_j0l.c: Likewise.
10043 * math/e_j1l.c: Likewise.
10044 * math/e_jnl.c: Likewise.
10045 * math/e_lgammal_r.c: Likewise.
10046 * math/e_rem_pio2l.c: Likewise.
10047 * math/e_scalb.c: Likewise.
10048 * math/e_scalbf.c: Likewise.
10049 * math/e_scalbl.c: Likewise.
10050 * math/k_cosl.c: Likewise.
10051 * math/k_sinl.c: Likewise.
10052 * math/k_tanl.c: Likewise.
10053 * math/s_cacoshf.c: Likewise.
10054 * math/s_catan.c: Likewise.
10055 * math/s_catanf.c: Likewise.
10056 * math/s_catanh.c: Likewise.
10057 * math/s_catanhf.c: Likewise.
10058 * math/s_catanhl.c: Likewise.
10059 * math/s_catanl.c: Likewise.
10060 * math/s_ccosh.c: Likewise.
10061 * math/s_ccoshf.c: Likewise.
10062 * math/s_ccoshl.c: Likewise.
10063 * math/s_cexp.c: Likewise.
10064 * math/s_cexpf.c: Likewise.
10065 * math/s_cexpl.c: Likewise.
10066 * math/s_clog.c: Likewise.
10067 * math/s_clog10.c: Likewise.
10068 * math/s_clog10f.c: Likewise.
10069 * math/s_clog10l.c: Likewise.
10070 * math/s_clogf.c: Likewise.
10071 * math/s_clogl.c: Likewise.
10072 * math/s_csin.c: Likewise.
10073 * math/s_csinf.c: Likewise.
10074 * math/s_csinh.c: Likewise.
10075 * math/s_csinhf.c: Likewise.
10076 * math/s_csinhl.c: Likewise.
10077 * math/s_csinl.c: Likewise.
10078 * math/s_csqrt.c: Likewise.
10079 * math/s_csqrtf.c: Likewise.
10080 * math/s_csqrtl.c: Likewise.
10081 * math/s_ctan.c: Likewise.
10082 * math/s_ctanf.c: Likewise.
10083 * math/s_ctanh.c: Likewise.
10084 * math/s_ctanhf.c: Likewise.
10085 * math/s_ctanhl.c: Likewise.
10086 * math/s_ctanl.c: Likewise.
10087 * math/s_ldexp.c: Likewise.
10088 * math/s_ldexpf.c: Likewise.
10089 * math/s_ldexpl.c: Likewise.
10090 * math/s_significand.c: Likewise.
10091 * math/s_significandf.c: Likewise.
10092 * math/s_significandl.c: Likewise.
10093 * math/w_acos.c: Likewise.
10094 * math/w_acosf.c: Likewise.
10095 * math/w_acosh.c: Likewise.
10096 * math/w_acoshf.c: Likewise.
10097 * math/w_acoshl.c: Likewise.
10098 * math/w_acosl.c: Likewise.
10099 * math/w_asin.c: Likewise.
10100 * math/w_asinf.c: Likewise.
10101 * math/w_asinl.c: Likewise.
10102 * math/w_atan2.c: Likewise.
10103 * math/w_atan2f.c: Likewise.
10104 * math/w_atan2l.c: Likewise.
10105 * math/w_atanh.c: Likewise.
10106 * math/w_atanhf.c: Likewise.
10107 * math/w_atanhl.c: Likewise.
10108 * math/w_cosh.c: Likewise.
10109 * math/w_coshf.c: Likewise.
10110 * math/w_coshl.c: Likewise.
10111 * math/w_dremf.c: Likewise.
10112 * math/w_exp10.c: Likewise.
10113 * math/w_exp10f.c: Likewise.
10114 * math/w_exp10l.c: Likewise.
10115 * math/w_exp2.c: Likewise.
10116 * math/w_exp2f.c: Likewise.
10117 * math/w_fmod.c: Likewise.
10118 * math/w_fmodf.c: Likewise.
10119 * math/w_fmodl.c: Likewise.
10120 * math/w_hypot.c: Likewise.
10121 * math/w_hypotf.c: Likewise.
10122 * math/w_hypotl.c: Likewise.
10123 * math/w_j0.c: Likewise.
10124 * math/w_j0f.c: Likewise.
10125 * math/w_j0l.c: Likewise.
10126 * math/w_j1.c: Likewise.
10127 * math/w_j1f.c: Likewise.
10128 * math/w_j1l.c: Likewise.
10129 * math/w_jn.c: Likewise.
10130 * math/w_jnf.c: Likewise.
10131 * math/w_jnl.c: Likewise.
10132 * math/w_lgamma.c: Likewise.
10133 * math/w_lgamma_r.c: Likewise.
10134 * math/w_lgammaf.c: Likewise.
10135 * math/w_lgammaf_r.c: Likewise.
10136 * math/w_lgammal.c: Likewise.
10137 * math/w_lgammal_r.c: Likewise.
10138 * math/w_log.c: Likewise.
10139 * math/w_log10.c: Likewise.
10140 * math/w_log10f.c: Likewise.
10141 * math/w_log10l.c: Likewise.
10142 * math/w_log2.c: Likewise.
10143 * math/w_log2f.c: Likewise.
10144 * math/w_log2l.c: Likewise.
10145 * math/w_logf.c: Likewise.
10146 * math/w_logl.c: Likewise.
10147 * math/w_pow.c: Likewise.
10148 * math/w_powf.c: Likewise.
10149 * math/w_powl.c: Likewise.
10150 * math/w_remainder.c: Likewise.
10151 * math/w_remainderf.c: Likewise.
10152 * math/w_remainderl.c: Likewise.
10153 * math/w_scalb.c: Likewise.
10154 * math/w_scalbf.c: Likewise.
10155 * math/w_scalbl.c: Likewise.
10156 * math/w_sinh.c: Likewise.
10157 * math/w_sinhf.c: Likewise.
10158 * math/w_sinhl.c: Likewise.
10159 * math/w_sqrt.c: Likewise.
10160 * math/w_sqrtf.c: Likewise.
10161 * math/w_sqrtl.c: Likewise.
10162 * math/w_tgamma.c: Likewise.
10163 * math/w_tgammaf.c: Likewise.
10164 * math/w_tgammal.c: Likewise.
10165
6a621eb7
UD
10166 * po/ja.po: Update from translation team.
10167
bf582445
AJ
101682011-09-29 Andreas Jaeger <aj@suse.de>
10169
f9efbf3a
AJ
10170 [BZ #13179]
10171 * sunrpc/netname.c (netname2host): Fix logic.
10172
bf582445
AJ
10173 [BZ #6779]
10174 [BZ #6783]
10175 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10176 correctly.
10177 * math/w_remainder.c (__remainder): Likewise.
10178 * math/w_remainderf.c (__remainderf): Likewise.
10179 * math/libm-test.inc (remainder_test): Add test cases.
10180
48693bea
AK
101812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10182
10183 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10184 sdiv_qrnnd.
10185
42622229
LD
101862011-10-07 Ulrich Drepper <drepper@gmail.com>
10187
10188 * string/test-memcmp.c: Avoid unncessary #defines.
10189 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10190
093ecf92
LD
101912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10192
10193 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10194 Use new sse2 version for core i3 - i7 as it's faster
10195 than sse42 version.
10196 (bit_Prefer_PMINUB_for_stringop): New.
10197 * sysdeps/x86_64/rawmemchr.S: Update.
10198 Replace with faster SSE2 version.
10199 * sysdeps/x86_64/memrchr.S: New file.
10200 * sysdeps/x86_64/memchr.S: Update.
10201 Replace with faster SSE2 version.
10202
fde56e5c
MP
102032011-09-12 Marek Polacek <mpolacek@redhat.com>
10204
10205 * elf/dl-load.c (lose): Add cast to avoid warning.
10206
21fd49a9
UD
102072011-10-07 Ulrich Drepper <drepper@gmail.com>
10208
5a06e643
UD
10209 * po/ca.po: Update from translation team.
10210
684ae515
UD
10211 * inet/getnetgrent_r.c: Hook up nscd.
10212 * nscd/Makefile (routines): Add nscd_netgroup.
10213 (nscd-modules): Add netgroupcache.
10214 (CFLAGS-netgroupcache.c): Define.
10215 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10216 (cache_search): Add const to second parameter.
10217 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10218 INNETGR.
10219 (dbs): Add netgrdb entry.
10220 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10221 (verify_persistent_db): Handle netgrdb.
10222 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10223 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10224 GETFDNETGR.
10225 (netgroup_response_header): Define.
10226 (innetgroup_response_header): Define.
10227 (datahead): Add netgroup_response_header and innetgroup_response_header
10228 elements.
10229 * nscd/nscd.conf: Add entries for netgroup cache.
10230 * nscd/nscd.h (dbtype): Add netgrdb.
10231 (_PATH_NSCD_NETGROUP_DB): Define.
10232 (netgroup_iov_disabled): Declare.
10233 (xmalloc, xcalloc, xrealloc): Move declarations here.
10234 (cache_search): Adjust prototype.
10235 Add netgroup-related prototypes.
10236 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10237 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10238 (__nscd_innetgr): Declare.
10239 * nscd/selinux.c (perms): Use access_vector_t as element type and
10240 add netgroup-related initializers.
10241 * nscd/netgroupcache.c: New file.
10242 * nscd/nscd_netgroup.c: New file.
10243 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10244 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10245 For four parameters use innetgr.
10246 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10247 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10248 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10249 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10250
21fd49a9
UD
10251 * nscd/connections.c (register_traced_file): Don't register file
10252 for disabled databases.
10253
054c0457
UD
102542011-10-06 Ulrich Drepper <drepper@gmail.com>
10255
32b63198
UD
10256 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10257
054c0457
UD
10258 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10259 from tree and freeing node.
10260
64031225
JO
102612011-09-25 Jiri Olsa <jolsa@redhat.com>
10262
10263 * nss/nsswitch.c (__nss_database_lookup): Handle
10264 nss_parse_service_list out of memory case.
10265
0490345c
JO
102662011-09-15 Jiri Olsa <jolsa@redhat.com>
10267
10268 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10269 out of memory case.
10270
3a62d00d
AS
102712011-10-04 Andreas Schwab <schwab@redhat.com>
10272
10273 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10274 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10275 pass it down.
10276 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10277 elf_machine_rela, elf_machine_lazy_rel.
10278 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10279 (ELF_DYNAMIC_DO_REL): Likewise.
10280 (ELF_DYNAMIC_DO_RELA): Likewise.
10281 (ELF_DYNAMIC_RELOCATE): Likewise.
10282 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10283 to ELF_DYNAMIC_DO_REL.
10284 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10285 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10286 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10287 elf_machine_rela.
10288 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10289 skip_ifunc, don't call ifunc function if non-zero.
10290 (elf_machine_rela): Likewise.
10291 (elf_machine_lazy_rel): Likewise.
10292 (elf_machine_lazy_rela): Likewise.
10293 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10294 (elf_machine_lazy_rel): Likewise.
10295 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10296 Likewise.
10297 (elf_machine_lazy_rel): Likewise.
10298 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10299 Likewise.
10300 (elf_machine_lazy_rel): Likewise.
10301 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10302 (elf_machine_lazy_rel): Likewise.
10303 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10304 (elf_machine_lazy_rel): Likewise.
10305 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10306 (elf_machine_lazy_rel): Likewise.
10307 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10308 (elf_machine_lazy_rel): Likewise.
10309 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10310 (elf_machine_lazy_rel): Likewise.
10311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10312 (elf_machine_lazy_rel): Likewise.
10313
68577918
UD
103142011-09-28 Ulrich Drepper <drepper@gmail.com>
10315
10316 * nss/nss_files/files-init.c (_nss_files_init): Use static
10317 initialization for all the *_traced_file variables.
10318
68822d74
AS
103192011-09-28 Andreas Schwab <schwab@redhat.com>
10320
10321 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10322
2056100b
RM
103232011-09-27 Roland McGrath <roland@hack.frob.com>
10324
10325 [BZ #13226]
10326 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10327
32c76b63
AS
103282011-09-27 Andreas Schwab <schwab@redhat.com>
10329
10330 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10331 Reread the line before reparsing it.
10332
bf972c9d
AS
103332011-09-26 Andreas Schwab <schwab@redhat.com>
10334
10335 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10336
e057a1b5
JM
103372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10338 Maxim Kuvyrkov <maxim@codesourcery.com>
10339 Joseph Myers <joseph@codesourcery.com>
10340
10341 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10342 if needed for __stack_chk_guard.
10343
bc7e1c36
RM
103442011-09-19 Roland McGrath <roland@hack.frob.com>
10345
ecb1482f
RM
10346 * sysdeps/posix/spawni.c (script_execute): Always define it.
10347 It will be optimized away if unused.
10348 (maybe_script_execute): New function.
10349 (__spawni): Call it.
10350
bc7e1c36
RM
10351 * Makerules: Don't include tls.make.
10352 (config-tls): Always set to thread.
10353 * tls.make.c: File removed.
10354
1c3b002b
MF
103552011-09-19 Mike Frysinger <vapier@gentoo.org>
10356
10357 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10358 * config.make.in (CPPFLAGS-config): New substituted variable.
10359
2840865d
UD
103602011-09-15 Ulrich Drepper <drepper@gmail.com>
10361
88738eb6
UD
10362 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10363
cbf645a6 10364 [BZ #13192]
2840865d
UD
10365 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10366 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10367
b402e91a
RM
103682011-09-15 Roland McGrath <roland@hack.frob.com>
10369
10370 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10371 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10372 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10373 (CALL_FAIL): Likewise.
10374 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10375 (CALL_FAIL): Macro removed.
10376 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10377
4c1a1f71
UD
103782011-09-15 Ulrich Drepper <drepper@gmail.com>
10379
10380 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10381 for __FINITE_MATH_ONLY__ == 1.
10382
edc121be
AS
103832011-09-15 Andreas Schwab <schwab@redhat.com>
10384
10385 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10386 __ieee754_sqrt instead of sqrt.
10387 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10388 __ieee754_sqrtf instead of sqrtf.
10389 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10390 __floorf instead of floorf.
10391 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10392 __floorf, __truncf instead of floorf, truncf.
10393
cd205654
UD
103942011-09-14 Ulrich Drepper <drepper@gmail.com>
10395
ee4d0315
UD
10396 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10397
cd205654
UD
10398 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10399 __extern_always_inline.
10400 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10401 32-bit.
10402
48b67d71
AS
104032011-09-14 Andreas Schwab <schwab@redhat.com>
10404
10405 * elf/rtld.c (dl_main): Also relocate in dependency order when
10406 doing symbol dependency testing.
10407
1ae12c75
AS
104082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10409
10410 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10411 Always define `refsym'.
10412
995a80df
AS
104132011-09-13 Andreas Schwab <schwab@redhat.com>
10414
e529793b
AS
10415 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10416 (__FD_ELT): Renamed from __FDELT.
10417 * misc/bits/select2.h (__FD_ELT): Likewise.
10418 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10419 __FD_MASK instead of __FDELT, __FDMASK.
10420 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10421 Likewise.
10422 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10423 Likewise.
10424
52d4fef8
AS
10425 * elf/Makefile (gen-ldd): Fix pattern.
10426
995a80df
AS
10427 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10428 (init_tls): Likewise.
10429
8682f8b0
UD
104302011-09-12 Ulrich Drepper <drepper@gmail.com>
10431
10432 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10433
de82006d
AS
104342011-09-12 Andreas Schwab <schwab@redhat.com>
10435
a7c8e6a1
AS
10436 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10437 `struct cmsghdr *' instead of `void *'.
10438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10439 Likewise.
10440
0f31fe77
AS
104412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10442
10443 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10444 if non-absolute.
10445 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10446 ldd_rewrite_script.
0f31fe77 10447
32b4c839
UD
104482011-09-11 Ulrich Drepper <drepper@gmail.com>
10449
83cd1420
UD
10450 * configure.in: Remove --with-tls option.
10451 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10452 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10453 out in case it is missing.
10454 * sysdeps/ia64/elf/configure.in: Likewise.
10455 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10456 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10457 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10458 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10459 * sysdeps/sh/elf/configure.in: Likewise.
10460 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10461 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10462 * sysdeps/x86_64/elf/configure.in: Likewise.
10463 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10464 * sysdeps/mach/hurd/tls.h: Likewise.
10465
633f745d
UD
10466 [BZ #13067]
10467 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10468
f318beb8
UD
10469 [BZ #13090]
10470 * configure.in: Fix use of AC_INIT.
10471
32b4c839
UD
10472 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10473
3ce1f295
UD
104742011-09-10 Ulrich Drepper <drepper@gmail.com>
10475
bb016596
UD
10476 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10477 __set_errno.
8e58439c
UD
10478 * malloc/hooks.c: Likewise.
10479
aebae053 10480 [BZ #11929]
02d46fc4
UD
10481 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10482 variables statically.
10483 (narenas): Initialize.
10484 (list_lock): Initialize.
bb016596
UD
10485 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10486 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10487 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10488 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10489 Add initializers to main_arena and mp_.
10490 (malloc_state): Remove pagesize member. Change all users to use
10491 GLRO(dl_pagesize).
10492
10493 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10494 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10495 is always initialized.
10496
22a89187
UD
10497 * malloc/malloc.c: Removed unused configurations and dead code.
10498 * malloc/arena.c: Likewise.
10499 * malloc/hooks.c: Likewise.
02d46fc4 10500 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10501
d063d164
UD
10502 * include/tls.h: Removed. USE___THREAD must always be defined.
10503 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10504 * elf/dl-libc.c: Likewise.
10505 * elf/dl-tsd.c: Likewise.
10506 * include/errno.h: Likewise.
10507 * include/netdb.h: Likewise.
10508 * include/resolv.h: Likewise.
10509 * inet/herrno-loc.c: Likewise.
10510 * inet/herrno.c: Likewise.
10511 * malloc/arena.c: Likewise.
10512 * malloc/hooks.c: Likewise.
10513 * malloc/malloc.c: Likewise.
10514 * resolv/res-state.c: Likewise.
10515 * resolv/res_libc.c: Likewise.
10516 * sysdeps/i386/dl-machine.h: Likewise.
10517 * sysdeps/ia64/dl-machine.h: Likewise.
10518 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10519 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10520 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10521 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10522 * sysdeps/sh/dl-machine.h: Likewise.
10523 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10524 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10525 * sysdeps/unix/i386/sysdep.S: Likewise.
10526 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10527 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10528 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10529 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10530 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10531 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10532 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10536 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10537 * sysdeps/x86_64/dl-machine.h: Likewise.
10538 * tls.make.c: Likewise.
10539
3ce1f295
UD
10540 * configure.in: Remove --with-__thread option. Make tests for
10541 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10542 tls_model attribute fail if no support is available. Remove
10543 USE_IN_LIBIO.
10544 * Makeconfig: Adjust for dropped configure option. All features are
10545 now mandatory.
10546 * Makerules: Likewise.
10547 * Versions.def: Likewise.
10548 * argp/argp-fmtstream.c: Likewise.
10549 * argp/argp-fmtstream.h: Likewise.
10550 * argp/argp-help.c: Likewise.
10551 * assert/assert.c: Likewise.
10552 * config.h.in: Likewise.
10553 * config.make.in: Likewise.
10554 * configure: Likewise.
10555 * configure.in: Likewise.
10556 * csu/Versions: Likewise.
10557 * csu/init.c: Likewise.
10558 * elf/tst-audit2.c: Likewise.
10559 * elf/tst-tls10.c: Likewise.
10560 * elf/tst-tls10.h: Likewise.
10561 * elf/tst-tls11.c: Likewise.
10562 * elf/tst-tls12.c: Likewise.
10563 * elf/tst-tls14.c: Likewise.
10564 * elf/tst-tlsmod11.c: Likewise.
10565 * elf/tst-tlsmod12.c: Likewise.
10566 * elf/tst-tlsmod13.c: Likewise.
10567 * elf/tst-tlsmod13a.c: Likewise.
10568 * elf/tst-tlsmod14a.c: Likewise.
10569 * elf/tst-tlsmod15b.c: Likewise.
10570 * elf/tst-tlsmod16a.c: Likewise.
10571 * elf/tst-tlsmod16b.c: Likewise.
10572 * elf/tst-tlsmod7.c: Likewise.
10573 * elf/tst-tlsmod8.c: Likewise.
10574 * elf/tst-tlsmod9.c: Likewise.
10575 * gmon/gmon.c: Likewise.
10576 * grp/fgetgrent_r.c: Likewise.
10577 * grp/putgrent.c: Likewise.
10578 * hurd/fopenport.c: Likewise.
10579 * include/libc-symbols.h: Likewise.
10580 * include/tls.h: Likewise.
10581 * intl/gettextP.h: Likewise.
10582 * intl/loadinfo.h: Likewise.
10583 * locale/global-locale.c: Likewise.
10584 * locale/localeinfo.h: Likewise.
10585 * mach/devstream.c: Likewise.
10586 * malloc/arena.c: Likewise.
10587 * malloc/set-freeres.c: Likewise.
10588 * misc/err.c: Likewise.
10589 * misc/getttyent.c: Likewise.
10590 * misc/mntent_r.c: Likewise.
10591 * posix/getopt.c: Likewise.
10592 * posix/wordexp.c: Likewise.
10593 * pwd/fgetpwent_r.c: Likewise.
10594 * resolv/Versions: Likewise.
10595 * resolv/res_hconf.c: Likewise.
10596 * shadow/fgetspent_r.c: Likewise.
10597 * shadow/putspent.c: Likewise.
10598 * stdio-common/printf_fphex.c: Likewise.
10599 * stdio-common/tmpfile.c: Likewise.
10600 * stdlib/abort.c: Likewise.
10601 * stdlib/fmtmsg.c: Likewise.
10602 * sunrpc/auth_unix.c: Likewise.
10603 * sunrpc/clnt_perr.c: Likewise.
10604 * sunrpc/clnt_tcp.c: Likewise.
10605 * sunrpc/clnt_udp.c: Likewise.
10606 * sunrpc/clnt_unix.c: Likewise.
10607 * sunrpc/openchild.c: Likewise.
10608 * sunrpc/svc_simple.c: Likewise.
10609 * sunrpc/svc_tcp.c: Likewise.
10610 * sunrpc/svc_udp.c: Likewise.
10611 * sunrpc/svc_unix.c: Likewise.
10612 * sunrpc/xdr.c: Likewise.
10613 * sunrpc/xdr_array.c: Likewise.
10614 * sunrpc/xdr_rec.c: Likewise.
10615 * sunrpc/xdr_ref.c: Likewise.
10616 * sunrpc/xdr_stdio.c: Likewise.
10617
1248c1c4
PB
106182011-09-09 Ulrich Drepper <drepper@gmail.com>
10619
10620 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10621
106222011-07-03 Andreas Jaeger <aj@suse.de>
10623
10624 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10625 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10626 regenerate with gen-libm-tests.pl.
10627
106282010-05-12 Petr Baudis <pasky@suse.cz>
10629
10630 [BZ #11589]
10631 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10632 around j0() zero points by switching to j1().
10633 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10634 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10636 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10637
f22e1074
UD
106382011-09-09 Ulrich Drepper <drepper@gmail.com>
10639
f19009c1
UD
10640 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10641 instead of 0.
10642 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10643 instead of 0. .
10644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10645 Patch in part by Pavel Roskin <proski@gnu.org>.
10646
3f8cc204
UD
10647 [BZ #13138]
10648 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10649 realloc.
10650 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10651 Free memory block if necessary.
10652
f22e1074
UD
10653 [BZ #12847]
10654 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10655 be NULL. Don't lock in this case.
10656
0a2349f9
RM
106572011-09-09 Roland McGrath <roland@hack.frob.com>
10658
10659 * elf/elf.h (ELFOSABI_GNU): New macro.
10660 (ELFOSABI_LINUX): Define to that.
10661
f3cdd467
DZ
106622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10663
10664 * string/strncat.c (strncat): Undef the symbol in case it has been
10665 defined in bits/string.h.
10666
74718d13
UD
106672011-09-09 Ulrich Drepper <drepper@gmail.com>
10668
633e9e0f
UD
10669 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10670
0a2349f9 10671 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10672 link map.
10673
f9924780
AJ
106742011-08-17 Andreas Jaeger <aj@suse.de>
10675
10676 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10677
7f5517aa
PP
106782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10679 Ian Lance Taylor <iant@google.com>
10680
10681 * math/libm-test.inc (lround_test): New testcase.
10682 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10683
762011fe
UD
106842011-09-08 Ulrich Drepper <drepper@gmail.com>
10685
92963737
UD
10686 * Makefile: Remove support for automatic cvs check-ins.
10687 * Makerules: Likewise.
10688 * config.make.in: Likewise.
10689 * configure.in: Likewise.
10690 * intl/Makefile: Likewise.
10691 * locale/Makefile: Likewise.
10692 * po/Makefile: Likewise.
10693 * posix/Makefile: Likewise.
10694 * sysdeps/gnu/Makefile: Likewise.
10695 * sysdeps/mach/hurd/Makefile: Likewise.
10696 * sysdeps/sparc/sparc32/Makefile: Likewise.
10697
b0727fd8
JS
10698 [BZ #13118]
10699 * posix/Makefile (bug-regex32-ENV): Define.
10700 Patch by John Stanley <jpsinthemix@verizon.net>.
10701
a0f33f99
UD
10702 * misc/Makefile (headers): Add bits/select2.h.
10703 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10704 * misc/bits/select2.h: New file.
10705 * include/bits/select2.h: New file.
10706 * debug/Makefile (routines): Add fdelt_chk.
10707 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10708 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10709 FD_ISSET.
10710 * debug/fdelt_chk.c: New file.
10711
762011fe
UD
10712 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10713 * wcsmbs/test-wmemcmp.c: Likewise.
10714 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10715 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10716
107172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10718
10719 * string/Makefile (strop-tests): Add memcmp.
10720 * string/test-wmemcmp.c: New file.
10721 * string/test-memcmp.c: Add wmemcmp support.
10722
7f513ec8
RM
107232011-09-08 Roland McGrath <roland@hack.frob.com>
10724
0442afb4
RM
10725 [BZ #13153]
10726 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10727 2011-07-19 change.
10728
7f513ec8
RM
10729 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10730 garbage value in a __mach_port_mod_refs call in the cases of the
10731 task-self and thread-self ports.
10732
a12b2239
ST
107332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10734
10735 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10736
610f9ab4
AS
107372011-09-08 Andreas Schwab <schwab@redhat.com>
10738
7f513ec8 10739 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10740
48882a1a
LD
107412011-09-07 Ulrich Drepper <drepper@gmail.com>
10742
b49865be
UD
10743 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10744
fdc86bc9
UD
10745 * elf/dl-libc.c (dlerror_run): Pass back error code from
10746 dl_catch_error.
10747
c966526a
UD
10748 [BZ #13123]
10749 * elf/dl-load.c (lose): Free l_origin if it is valid.
10750
48882a1a
LD
10751 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10752 names.
10753 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10754 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10755 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10756 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10757 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10758 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10759
77a2a8b4
AZ
107602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10761
10762 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10763 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10764 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10765 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10766 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10767 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10768 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10769 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10770 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10771 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10772
24f579d8
AM
107732011-08-15 Alan Modra <amodra@gmail.com>
10774
10775 [BZ #13092]
10776 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10777 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10778 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10779 ppc_mcount to static-only-routines.
10780 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10781 __mcount_internal.
10782 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10783 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10784
3d4837df
UD
107852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10786
10787 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10788 for finite and infinity parameters.
10789
22700377
WS
107902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10791
10792 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10793 and add nop instructions for throughput optimization.
10794 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10795
5025581e
WS
107962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10797
10798 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10799 aligned copy for power7 with vector-scalar instructions.
10800 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10801
08a300c9
L
108022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10803
10804 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10805 AVX check.
10806
59178ef9
AS
108072011-09-07 Andreas Schwab <schwab@redhat.com>
10808
10809 [BZ #13144]
10810 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10811 last change.
10812
e38ba7ab
UD
108132011-09-07 Ulrich Drepper <drepper@gmail.com>
10814
10815 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10816 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10817 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10818 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10819 clock_gettime.
10820
d53a73ac
UD
108212011-09-06 Ulrich Drepper <drepper@gmail.com>
10822
fc8bffcc
UD
10823 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10824 Forgot to demangle the pointer.
10825
ceaa0c5d
UD
10826 * sysdeps/i386/sysdep.h: Define atom_text_section.
10827 * sysdeps/x86_64/sysdep.h: Likewise.
10828 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10829 section with atom_text_section.
10830 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10831 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10832 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10834 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10835
a77d3c17
UD
10836 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10837 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10838 already be defined. Change to take two parameters and don't assign
10839 result to variable. Adjust all users.
10840 Define INTERNAL_GETTIME if not already defined.
10841 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10842 call.
10843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10844 HAVE_CLOCK_GETTIME_VSYSCALL.
10845 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10846
d53a73ac
UD
10847 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10848 gettimeofday vsyscall, just use time.
10849
a8f84144
AS
108502011-09-06 Andreas Schwab <schwab@redhat.com>
10851
10852 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10853 <errno.h>.
10854
ef606249
UD
108552011-09-06 Ulrich Drepper <drepper@gmail.com>
10856
10857 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10858 syscall on x86-64.
10859 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10860 syscall.
10861 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10863 syscall if possible.
10864
6585cb60
UD
108652011-09-05 Ulrich Drepper <drepper@gmail.com>
10866
10867 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10868 e_ident. Don't pass to find_mapsXX.
10869 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10870
a5f524e4
LD
108712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10872
10873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10874 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10875 * sysdeps/x86_64/multiarch/strchr.S: Update.
10876 Check bit_slow_BSF bit.
10877 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10878 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10879 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10880
554881ef
UD
108812011-09-05 Ulrich Drepper <drepper@gmail.com>
10882
d96de963
UD
10883 [BZ #13134]
10884 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10885 before glibc 2.15.
10886 (tryshell): Define.
10887 (__spawni): Change last parameter to be flag. Test
10888 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10889 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10890 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10891 * posix/spawni.c: Likewise.
10892 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10893 * posix/spawnp.c: Likewise. Change normal version to use
10894 SPAWN_XFLAGS_USE_PATH.
10895 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10896 SPAWN_XFLAGS_TRY_SHELL.
10897
d48e5868
UD
10898 [BZ #13150]
10899 * posix/glob.h: Remove gcc 1.x support.
10900
554881ef
UD
10901 [BZ #13068]
10902 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10903
693fb948
LD
109042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10905
10906 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10907 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10908 strrchr-sse2-bsf
10909 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10910 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10911 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10912 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10913 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10914 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10915
1b48c537
UD
109162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10917
49d42c37
UD
10918 * sysdeps/x86_64/wcscmp.S: New file.
10919
1b48c537
UD
10920 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10921 wcscmp-c wcscmp-sse2
10922 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10923 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10924 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10925 * wcsmbs/wcscmp.c: Allow renaming.
10926
15c95c5d
DM
109272011-09-05 David S. Miller <davem@davemloft.net>
10928
10929 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10930 stack slot, rather than the struct return pointer slot.
10931 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10932 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10934 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10935
2f0ad8f3
UD
109362011-09-05 Ulrich Drepper <drepper@gmail.com>
10937
d88ae418
UD
10938 * po/ja.po: Update from translation team.
10939
2f0ad8f3
UD
10940 [BZ #13144]
10941 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10942 kernel in 64-bit binaries.
10943
5f4318d1
DM
109442011-09-01 David S. Miller <davem@davemloft.net>
10945
10946 * elf/elf.h (HWCAP_SPARC_*): Move to..
10947 * sysdeps/sparc/sysdep.h: this new file and add new values.
10948 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10949 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10950 _DL_HWCAP_COUNT to 24.
10951 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10952 entries.
10953 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10954 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10955 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10957 instead of magic constants.
10958 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10959
3ba57516
DM
109602011-08-31 David S. Miller <davem@davemloft.net>
10961
10962 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10963 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10964 Reimplement to do errno handling inline.
10965 (SYSCALL_ERROR_HANDLER): New macro.
10966 (__SYSCALL_STRING): Do not do errno handling in asm.
10967 (__CLONE_SYSCALL_STRING): Delete.
10968 (__INTERNAL_SYSCALL_STRING): Delete.
10969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10970 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10971 (PSEUDO): Reimplement to do errno handling inline.
10972 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10973 (SYSCALL_ERROR_HANDLER): New macro.
10974 (__SYSCALL_STRING): Do not do errno handling in asm.
10975 (__CLONE_SYSCALL_STRING): Delete.
10976 (__INTERNAL_SYSCALL_STRING): Delete.
10977 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10978 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10979 i386.
10980 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10981 (inline_syscall*): Add 'err' argument.
10982 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10983 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10984 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10985 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10986
10987 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10988 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10989
2bc17433
AS
109902011-08-30 Andreas Schwab <schwab@redhat.com>
10991
10992 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10993
fbeb5f4d
JO
109942011-08-29 Jiri Olsa <jolsa@redhat.com>
10995
10996 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10997 directive.
10998
ad69cc26
DM
109992011-08-24 David S. Miller <davem@davemloft.net>
11000
11001 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11002
39dd69df
AS
110032011-08-24 Andreas Schwab <schwab@redhat.com>
11004
11005 * elf/Makefile: Add rules to build and run unload8 test.
11006 * elf/unload8.c: New file.
11007 * elf/unload8mod1.c: New file.
11008 * elf/unload8mod1x.c: New file.
11009 * elf/unload8mod2.c: New file.
11010 * elf/unload8mod3.c: New file.
11011
11012 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11013 it wasn't used.
11014
2c0b250a
DM
110152011-08-23 David S. Miller <davem@davemloft.net>
11016
11017 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11018 subtract stack bias.
11019 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11020 %sp not %fp in calculations.
11021 (_JMPBUF_UNWINDS_ADJ): Likewise.
11022
22044b48
DM
11023 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11024 (aio_suspend): Call it to force an exception region around the
11025 AIO_MISC_WAIT() invocation.
11026
2cae4995
AS
110272011-08-23 Andreas Schwab <schwab@redhat.com>
11028
11029 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11030 backslash.
11031
873a772e
AJ
110322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11033
11034 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11035 protection macro.
11036 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11037 and <dl-machine.h>.
11038 (Elf64_FuncDesc): Remove.
11039
25ad0df1
DM
110402011-08-22 David S. Miller <davem@davemloft.net>
11041
11042 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11043 sigaltstack check, add missing cfi directives.
11044 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11045 missing cfi directives, and sigaltstack handling.
11046
e888bcbe
AS
110472011-08-16 Andreas Schwab <schwab@redhat.com>
11048
11049 [BZ #11724]
11050 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11051 object is seen twice.
11052 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11053
11054 * elf/Makefile (distribute): Add tst-initorder2.c.
11055 (tests): Add tst-initorder2.
11056 (modules-names): Add tst-initorder2a tst-initorder2b
11057 tst-initorder2c tst-initorder2d. Add rules to build them.
11058 ($(objpfx)tst-initorder2.out): New rule.
11059 * elf/tst-initorder2.c: New file.
11060 * elf/tst-initorder2.exp: New file.
11061
87162f46
AS
110622011-08-22 Andreas Schwab <schwab@redhat.com>
11063
70538b7f
AS
11064 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11065
f55ffe58
AS
11066 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11067 dependencies back to end of function.
11068
87162f46
AS
11069 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11070 $(elfobjdir)/ld.so.
11071
91b392a4
UD
110722011-08-21 Ulrich Drepper <drepper@gmail.com>
11073
11074 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11075 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11077 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11078 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11079 of __vdso_gettimeofday.
11080 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11081 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11082 attribute_hidden.
11083 (_libc_vdso_platform_setup): Remove initialization of
11084 __vdso_gettimeofday and __vdso_time.
11085
5c43483f
UD
110862011-08-20 Ulrich Drepper <drepper@gmail.com>
11087
775a77e7
UD
11088 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11089 and fgetc_unlocked.
11090 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11091 getc_unlocked.
89f447ed 11092
49c74ba9
UD
11093 * elf/dl-open.c (add_to_global): Report additions to the global scope
11094 for LD_DEBUG=scopes.
11095 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11096 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11097
5c43483f
UD
11098 [BZ #13114]
11099 * stdio-common/Makefile (tests): Add bug24.
11100 * stdio-common/bug24.c: New file.
11101
a101b025
AJ
111022011-08-19 Andreas Jaeger <aj@suse.de>
11103
11104 [BZ #13114]
11105 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11106 non-existant file when using close-on-exec mode.
11107
c88f1766
UD
111082011-08-20 Ulrich Drepper <drepper@gmail.com>
11109
0276a718
UD
11110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11111 the very first instruction.
11112
c88f1766
UD
11113 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11114 the CFI state in the end.
11115 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11116 inclusion of dl-trampoline.h.
11117 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11118
51ccffa0
AS
111192011-08-19 Andreas Schwab <schwab@redhat.com>
11120
94d7165f
AS
11121 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11122 expectations for long double.
11123
51ccffa0
AS
11124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11125 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11126
fd708658 111272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11128
11129 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11130 artificual limit depends upon the system page size.
11131
44f0a71e
UD
111322011-08-17 Ulrich Drepper <drepper@gmail.com>
11133
11134 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11135 * resolv/Makefile: Define CFLAGS-libresolv.
11136
8de79a24
AS
111372011-08-17 Andreas Schwab <schwab@redhat.com>
11138
11139 * nss/makedb.c (compute_tables): Make variables used in nested
11140 function static.
11141
27724598
UD
111422011-08-17 Ulrich Drepper <drepper@gmail.com>
11143
c5305d88
UD
11144 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11145 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11146 if buffer was too small.
11147
27724598
UD
11148 * elf/pldd.c (main): Attach to all threads in the process.
11149 Rewrite /proc handling to use *at functions.
11150
076fe015
UD
111512011-08-16 Ulrich Drepper <drepper@gmail.com>
11152
174baab3
UD
11153 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11154 specifies first scope to show.
11155 (dl_open_worker): Update callers. Move printing scope of new
11156 object to before the relocation.
44f0a71e 11157 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11158 * sysdeps/generic/ldsodefs.h: Update declaration.
11159
076fe015
UD
11160 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11161 string for the scope number.
11162
a60df2c3
UD
111632011-08-14 Ulrich Drepper <drepper@gmail.com>
11164
11165 * nscd/servicescache.c (cache_addserv): Make sure written is always
11166 initialized.
11167
5e4287d1
RM
111682011-08-14 Roland McGrath <roland@hack.frob.com>
11169
85ae0589
RM
11170 * sysdeps/i386/i486/bits/atomic.h
11171 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11172 statement expression, so as to suppress "set but not used" warning.
11173 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11174
69f63097
RM
11175 * string/strncat.c (STRNCAT): Use prototype definition.
11176
675456ef
RM
11177 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11178 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11179 -Iprograms here.
11180 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11181 (localedef-modules): Add localedef.
11182 (locale-modules): Add locale.
11183
5e4287d1
RM
11184 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11185 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11186 to avoid a warning.
11187
9c96ff23
DM
111882011-08-14 David S. Miller <davem@davemloft.net>
11189
11190 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11191 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11192
f9ddf089
UD
111932011-08-13 Ulrich Drepper <drepper@gmail.com>
11194
44f0a71e 11195 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11196 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11197 * elf/rtld.c (dl_main): Set l_name of vDSO.
11198 Call _dl_show_scope when DL_DEBUG_SCOPES.
11199 (process_dl_debug): Recognize scopes flag and also set it for all.
11200 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11201 Declare _dl_show_scope.
11202
1dc27704
UD
11203 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11204 (do_dlopen): Pass caller_dlopen to dl_open.
11205 (__libc_dlopen_mode): Initialize caller_dlopen.
11206
f9ddf089
UD
11207 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11208 of libc. Make tolower call locale-independent. Optimize a bit by
11209 using isdigit instead of isalnum.
11210 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11211
9ac533d3
UD
112122011-08-12 Ulrich Drepper <drepper@gmail.com>
11213
11214 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11215 was a dependency or dynamically loaded.
11216
89edf2e9
UD
112172011-08-11 Ulrich Drepper <drepper@gmail.com>
11218
8e999d29
UD
11219 * intl/l10nflist.c: Allow architecture-specific pop function.
11220 * sysdeps/x86_64/l10nflist.c: New file.
11221
89edf2e9
UD
11222 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11223 classification.
11224
14d96785
AS
112252011-08-10 Andreas Schwab <schwab@redhat.com>
11226
11227 * include/dirent.h: Add libc_hidden_proto for scandirat and
11228 scandirat64. Don't declare __scandirat64.
11229 * dirent/scandirat.c: Add libc_hidden_def.
11230 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11231 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11232
6761ac04
DM
112332011-08-10 David S. Miller <davem@davemloft.net>
11234
11235 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11236 enum.
11237 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11238 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11239 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11240
c55fbd1e
UD
112412011-08-09 Ulrich Drepper <drepper@gmail.com>
11242
11243 * Versions.def [libc]: Add GLIBC_2.15.
11244 * dirent/Makefile (routines): Add scandirat and scandirat64.
11245 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11246 GLIBC_2.15.
11247 * dirent/dirent.h: Declare scandirat and scandirat64.
11248 * dirent/scandirat.c: New file.
11249 * dirent/scandirat64.c: New file.
11250 * sysdeps/wordsize-64/scandirat.c: New file.
11251 * sysdeps/wordsize-64/scandirat64.c: New file.
11252 * dirent/opendir.c: Define opendirat.
11253 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11254 using scandirat.
11255 * dirent/scandir64.c: Adjust for scandir.c change.
11256 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11257 __scandirat64, and __scandir_cancel_handler.
11258 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11259 additional parameter and use openat instead of open (outside of ld.so).
11260 Add new __opendir as wrapper around __opendirat.
11261 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11262 here without requiring old scandirat implementation.
11263
879165f2
UD
112642011-08-08 Ulrich Drepper <drepper@gmail.com>
11265
11266 * dirent/scandir.c (cancel_handler): Renamed to
11267 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11268 defined. Adjust users.
11269 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11270 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11271
cb7e923b
UD
112722011-08-04 Ulrich Drepper <drepper@gmail.com>
11273
16292edd
UD
11274 * string/test-string.h (IMPL): Use __STRING to expand name and then
11275 stringify it.
11276
cb7e923b
UD
11277 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11278 of cleanups.
11279
cff82933
LD
112802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11281
11282 * string/Makefile: Update.
11283 (strop-tests): Append strncat.
11284 * string/test-wcscmp.c: New file.
11285 New comprehensive test for wcscmp.
11286 * string/test-strcmp.c: Update.
11287 (WIDE): New define.
11288
9be9bfcc
AS
112892011-07-22 Andreas Schwab <schwab@redhat.com>
11290
11291 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11292 line.
11293
2e96f1c7
AS
112942011-07-26 Andreas Schwab <schwab@redhat.com>
11295
11296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11297 encoding to ACE if AI_IDN.
11298
85188888
JJ
112992011-08-01 Jakub Jelinek <jakub@redhat.com>
11300
11301 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11302 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11303
5fa16e9b
LD
113042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11305
11306 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11307 Fix overflow bug in strncat.
11308 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11309
11310 * string/test-strncat.c: Update.
11311 Add new tests for checking overflow bugs.
11312
113132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11314
11315 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11316 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11317 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11318 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11319 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11320 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11321 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11322 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11323 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11324
11325 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11326 (USE_AS_STRCAT): Define.
11327 Add strcat and strncat support.
11328 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11329
8c1a459f
AS
113302011-07-25 Andreas Schwab <schwab@redhat.com>
11331
11332 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11333 __n bigger than INT_MAX+1.
11334 (__strncmp_g): Likewise.
11335
bba33c28
UD
113362011-07-23 Ulrich Drepper <drepper@gmail.com>
11337
798be72d
UD
11338 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11339 * libio/stido.h: Likewise.
11340
8accd4dc
UD
11341 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11342 (AF_NFC): Define.
11343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11344 (AF_NFC): Define.
11345
cbff0d96
UD
11346 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11347 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11348 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11349 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11350 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11351
9191c04a
UD
11352 [BZ #13021]
11353 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11354 installed.
11355
bba33c28
UD
11356 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11357 typo.
11358 (_dl_x86_64_save_sse): Likewise.
11359
90f139dd
UD
113602011-07-22 Ulrich Drepper <drepper@gmail.com>
11361
1aae088a
UD
11362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11363 OSXSAVE.
11364 (_dl_x86_64_save_sse): Likewise.
11365
8e2045f5
UD
11366 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11367
90f139dd
UD
11368 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11369
1d002f25
AS
113702011-07-21 Andreas Schwab <schwab@redhat.com>
11371
11372 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11373 change.
11374 (_dl_x86_64_save_sse): Use correct AVX check.
11375
21137f89
UD
113762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11377
11378 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11379 bug in strncpy/strncat.
11380 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11381
a65c0b7a
UD
113822011-07-21 Ulrich Drepper <drepper@gmail.com>
11383
11384 * string/tester.c (test_strcat): Add tests for different alignments
11385 of source and destination.
11386 (test_strncat): Likewise.
11387
6986b98a
UD
113882011-07-20 Ulrich Drepper <drepper@gmail.com>
11389
90bb2039
UD
11390 [BZ #12852]
11391 * posix/glob.c (glob): Check passed in values before using them in
11392 expressions to avoid some overflows.
11393 (glob_in_dir): Likewise.
11394
5644ef54
UD
11395 [BZ #13007]
11396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11397 check for AVX enablement so that we don't crash with old kernels and
11398 new hardware.
11399 * elf/tst-audit4.c: Add same checks here.
11400 * elf/tst-audit6.c: Likewise.
11401
11402 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11403
bfc9dc9b
AS
114042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11405
11406 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11407
702e64bb
UD
114082011-07-20 Ulrich Drepper <drepper@gmail.com>
11409
11410 * po/cs.po: Update from translation team.
11411 * po/bg.po: Likewise.
11412
295e904f
MP
114132011-07-12 Marek Polacek <mpolacek@redhat.com>
11414
11415 * misc/sys/cdefs.h: Add support for const attribute.
11416 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11417 to gnu_dev_{major,minor,makedev} functions.
11418
3ff94596
MP
114192011-07-20 Marek Polacek <mpolacek@redhat.com>
11420
11421 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11422
28b59fca
AS
114232011-07-20 Andreas Schwab <schwab@redhat.com>
11424
11425 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11426 strlen results.
11427
19df733e
AK
114282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11429
11430 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11431 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11432 register in order to avoid conflicts with the soft frame pointer
11433 being held in r11 when necessary.
11434 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11435 (INTERNAL_VSYSCALL_NCS): Likewise.
11436
c8835729
MP
114372011-07-14 Marek Polacek <mpolacek@redhat.com>
11438
11439 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11440 * elf/dl-fini.c (_dl_fini): Adjust caller.
11441 * elf/dl-close.c (_dl_close_worker): Likewise.
11442 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11443
b902330c
MP
114442011-07-15 Marek Polacek <mpolacek@redhat.com>
11445
8991e135
MP
11446 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11447 "aux_cache->nlibs < 0".
11448
b902330c
MP
11449 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11450 in the reload-count case.
11451
99710781
LD
114522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11453
11454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11455 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11456 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11457 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11458 * sysdeps/x86_64/multiarch/strcat.S: New file.
11459 * sysdeps/x86_64/multiarch/strncat.S: New file.
11460 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11461 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11462 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11463 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11464 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11465 (USE_AS_STRCAT): Define.
11466 Add strcat and strncat support.
11467 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11468 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11469 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11470 * string/strncat.c: Update.
11471 (USE_AS_STRNCAT): Define.
11472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11473 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11474 and i7.
11475 * sysdeps/x86_64/multiarch/init-arch.h
11476 (bit_Prefer_PMINUB_for_stringop): New.
11477 (index_Prefer_PMINUB_for_stringop): Likewise.
11478 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11479 bit_Prefer_PMINUB_for_stringop.
11480
7dc6bd90
UD
114812011-07-19 Ulrich Drepper <drepper@gmail.com>
11482
11483 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11484 buffer64.
11485 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11486 of casting of buffer.
11487 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11488 buffer32 and buffer64.
11489 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11490 writes instead of casting of buffer.
11491 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11492 buffer32.
11493 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11494 casting of buffer.
11495
e0e72284
AS
114962011-07-19 Andreas Schwab <schwab@redhat.com>
11497
11498 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11499
feb1eb0b
UD
115002011-07-19 Ulrich Drepper <drepper@gmail.com>
11501
11502 * nscd/nscd.c (termination_handler): Don't do anything for a database
11503 if it has not yet been initialized.
11504
298711ff
UD
115052011-07-18 Ulrich Drepper <drepper@gmail.com>
11506
11507 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11508
115092011-07-15 Marek Polacek <mpolacek@redhat.com>
11510
11511 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11512
f9d68389
UD
115132011-07-18 Ulrich Drepper <drepper@gmail.com>
11514
11515 * po/nl.po: Update from translation team.
11516 * po/sv.po: Likewise.
11517
db290cf5
RM
115182011-07-16 Roland McGrath <roland@hack.frob.com>
11519
11520 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11521 now disallowed by GCC.
5c550700 11522
fd5e21c7
RM
11523 * configure.in (use-default-link): Default to yes if a test -shared
11524 link meets our qualifications.
11525 * configure: Regenerated.
11526
5c550700
RM
11527 * config.make.in (output-format): New variable.
11528 * configure.in: Check for ld --print-output-format support.
11529 * configure: Regenerated.
11530 * Makerules ($(common-objpfx)format.lds)
11531 [$(output-format) != unknown]: Just use $(output-format),
11532 instead of the linker-script munging.
11533
9fa2c032
RM
115342011-07-14 Roland McGrath <roland@hack.frob.com>
11535
a6928d51
RM
11536 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11537 of $(common-objpfx)shlib.lds.
11538 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11539
661607b3
RM
11540 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11541 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11542
9fa2c032
RM
11543 * configure.in (-z relro check): Adjust test code to add a large
11544 writable data section after it.
11545 * configure: Regenerated.
11546
defe9061
RM
115472011-07-11 Roland McGrath <roland@hack.frob.com>
11548
11549 * configure.in (-z relro check): Fix test code to make the variable
11550 truly const.
11551 * configure: Regenerated.
11552
319b9ad4
UD
115532011-07-11 Ulrich Drepper <drepper@gmail.com>
11554
11555 * nscd/nscd.h (struct traced_file): Define.
11556 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11557 elements. Add traced_files.
11558 (inotify_fd): Declare.
11559 (register_traced_file): Declare.
11560 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11561 (inotify_fd): Export.
11562 (resolv_conf_descr): Remove.
11563 (nscd_init): Move inotify descriptor creation to main.
11564 Don't register files for notification here.
11565 (register_traced_file): New function.
11566 (invalidate_cache): Don't use reset_res to determine whether to call
11567 res_init, go through the list of registered files.
11568 (main_loop_poll): The inotify descriptors are now stored in the
11569 structures for the traced files.
11570 (main_loop_epoll): Likewise
11571 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11572 to __nss_disable_nscd.
11573 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11574 for a database anymore. Check the records for all the registered
11575 files instead.
11576 * nss/Makefile (libnss_files-routines): Add files-init.
11577 (libnss_db-routines): Add db-init.
11578 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11579 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11580 * nss/nss_db/db-init.c: New file.
11581 * nss/nss_files/files-init.c: New file.
11582 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11583 __nss_lookup_function.
11584 (__nss_lookup_function): Call nss_load_library.
11585 (nss_load_all_libraries): New function.
11586 (__nss_disable_nscd): Take parameter with callback function for files
11587 to register. Set is_nscd. Load all the DSOs for the NSS modules
11588 used for the cached services.
11589 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11590 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11591 options for features to all the files in nscd.
11592
11593 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11594
23bee3e8
RM
115952011-07-10 Roland McGrath <roland@hack.frob.com>
11596
11597 * csu/elf-init.c (__libc_csu_init): Comment typo.
11598
46a5b7f0
UD
115992011-07-09 Ulrich Drepper <drepper@gmail.com>
11600
11601 * po/pl.po: Update from translation team.
11602 * po/ja.po: Likewise.
11603 * po/ru.po: Likewise.
11604 * po/ko.po: Likewise.
11605 * po/fr.po: Likewise.
11606
d30cf5bb
RM
116072011-07-09 Roland McGrath <roland@hack.frob.com>
11608
113ddea4
RM
11609 * configure.in (.ctors/.dtors header and trailer check):
11610 Use an empirical test on a built program.
11611 * configure: Regenerated.
11612
574920b4
RM
11613 * configure.in (-z relro check): Use an empirical test on a built DSO.
11614 Detect, but do not require, on ia64.
11615 * configure: Regenerated.
11616
d30cf5bb
RM
11617 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11618 Update tests that use readelf to use $READELF instead.
11619 * configure: Regenerated.
11620
8538fdb3
UD
116212011-07-08 Ulrich Drepper <drepper@gmail.com>
11622
11623 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11624 if the result is not used.
11625
04d08991
AJ
116262011-07-05 Andreas Jaeger <aj@suse.de>
11627
11628 [BZ#9696]
11629 * stdlib/tst-strtod.c: Add testcase.
11630
de283087
AD
116312011-07-07 Ulrich Drepper <drepper@gmail.com>
11632
4e5f31c8 11633 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11634 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11635 The latter has a higher limit. Take additional parameter to pass to
11636 the new function.
11637 (__pathconf): Pass file to __statfs_link_max.
11638 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11639 __statfs_link_max.
11640 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11641 __statfs_link_max.
11642
de283087
AD
11643 [BZ #12868]
11644 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11645 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11646 Handle Lustre.
11647 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11648 (__statfs_filesize_max): Likewise.
11649 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11650
c75fa153
AJ
116512011-07-05 Andreas Jaeger <aj@suse.de>
11652
11653 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11654
1a544854
UD
116552011-07-06 Marek Polacek <mpolacek@redhat.com>
11656
11657 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11658 `status' variable.
11659 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11660 Likewise.
11661
6f0eec67
UD
116622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11663
11664 * Makefile (strop-tests): Add strncat.
11665 * string/test-strncat.c: New file.
11666
aae30307
UD
116672011-06-30 Marek Polacek <mpolacek@redhat.com>
11668
11669 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11670
c0cfb5eb
UD
116712011-06-21 Andreas Jaeger <aj@suse.de>
11672
11673 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11674 Copy rule from iconvdata/Makefile.
11675
01636b21
UD
116762011-07-06 Ulrich Drepper <drepper@gmail.com>
11677
11678 [BZ #12922]
11679 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11680 but no long options are defined, just return 'W'.
11681
9895c8bc
UD
116822011-06-22 Marek Polacek <mpolacek@redhat.com>
11683
11684 [BZ #9696]
11685 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11686
5d4cf042
UD
116872011-07-06 Ulrich Drepper <drepper@gmail.com>
11688
11689 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11690 netgroups to read.
960e5535 11691 (innetgr): Likewise.
5d4cf042 11692
751eb97e
RM
116932011-07-05 Roland McGrath <roland@hack.frob.com>
11694
11695 * config.make.in (install_root): Default to $(DESTDIR).
11696
f15f1e45
UD
116972011-07-05 Ulrich Drepper <drepper@gmail.com>
11698
11699 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11700
4e34ac6a
RM
117012011-07-02 Roland McGrath <roland@hack.frob.com>
11702
5e9b6af4
RM
11703 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11704
84f9ea0f
RM
11705 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11706 containing directory rather than embedding absolute directory names.
11707
ea5ee9f7
RM
11708 * scripts/check-local-headers.sh: Rewritten using awk.
11709 Match by word, not by line. Print error messages for matches.
11710 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11711
1b74661a
RM
11712 * Makerules [shlib-lds-flags empty]:
11713 ($(common-objpfx)libc_pic.opts): New target.
11714 ($(common-objpfx)libc_pic.os.clean): New target.
11715 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11716
11717 * config.make.in (OBJCOPY): New variable.
11718 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11719 * configure: Regenerated.
11720
f781ef40
RM
11721 * config.make.in (use-default-link): New variable.
11722 * configure.in (use_default_link): Grok --with-default-link to set it.
11723 * configure: Regenerated.
11724 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11725 (shlib-lds, shlib-lds-flags): Define to empty.
11726
2d4fa81e
RM
11727 * Makerules (shlib-lds): New variable.
11728 (shlib-lds-flags): New variable.
11729 (build-shlib, build-moduile, build-module-asneeded): Use it.
11730 ($(common-objpfx)libc.so): Use $(shlib-lds).
11731 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11732 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11733
31fffa6b
RM
11734 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11735 DT_FLAGS/DT_FLAGS_1 with zero flags.
11736
4e34ac6a
RM
11737 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11738 linker script munging.
11739
fcfc776b
UD
117402011-07-02 Ulrich Drepper <drepper@gmail.com>
11741
11742 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11743 as 128-bit value.
11744 * crypt/sha512.c (sha512_process_block): Perform total addition using
11745 128-bit if possible.
11746 (__sha512_finish_ctx): Likewise.
11747 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11748 as 64-bit value.
11749 * crypt/sha256.c (SWAP64): Define.
11750 (sha256_process_block): Perform total addition using 64-bit if
11751 possible.
11752 (__sha256_finish_ctx): Likewise.
11753
99231d9a
UD
117542011-07-01 Ulrich Drepper <drepper@gmail.com>
11755
11756 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11757 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11758 * nscd/hstcache.c (cache_addhst): Likewise.
11759 * nscd/grpcache.c (cache_addgr): Likewise.
11760 * nscd/aicache.c (addhstaiX): Likewise
11761 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11762
445b4a53
TK
117632011-07-01 Thorsten Kukuk <kukuk@suse.de>
11764
11765 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11766 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11767 * nscd/hstcache.c (cache_addhst): Likewise.
11768 * nscd/grpcache.c (cache_addgr): Likewise.
11769 * nscd/aicache.c (addhstaiX): Likewise
11770
6d4d8e8e
AS
117712011-07-01 Andreas Schwab <schwab@redhat.com>
11772
11773 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11774 domain only when needed.
11775
89f654c5
AS
117762011-06-30 Andreas Schwab <schwab@redhat.com>
11777
11778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11779 is always restored.
11780
cf3b23ff
UD
117812011-06-29 Ulrich Drepper <drepper@gmail.com>
11782
11783 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11784 are re-adding the entry.
11785 * nscd/servicescache.c (cache_addserv): Likewise.
11786
751626f9
AJ
117872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11788
11789 * sysdeps/generic/dl-irel.h: fix protection against multiple
11790 inclusions.
11791 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11792
9113ea1f
UD
117932011-06-28 Ulrich Drepper <drepper@gmail.com>
11794
5c0b8d90
UD
11795 [BZ #12935]
11796 * malloc/memusage.sh: Fix quoting in message.
11797 * debug/xtrace.sh: Likewise.
11798
9113ea1f
UD
11799 * configure.in: Remove support for --experimental-malloc option, make
11800 it the default.
11801 * config.make.in: Likewise.
11802 * malloc/Makefile: Likewise.
11803
a4172181
AS
118042011-06-27 Andreas Schwab <schwab@redhat.com>
11805
11806 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11807 two-byte characters.
11808
78a7eee7
RM
118092011-06-27 Roland McGrath <roland@hack.frob.com>
11810
62bede13
RM
11811 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11812 AC_CACHE_CHECK invocation.
11813 * configure: Regenerated.
11814
78a7eee7
RM
11815 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11816
5ce33a62
UD
118172011-06-27 Ulrich Drepper <drepper@gmail.com>
11818
034807a9
UD
11819 [BZ #12350]
11820 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11821 bit from old_res_options.
11822
4902da17
UD
11823 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11824
5ce33a62
UD
11825 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11826 value type for setfct.
11827
c2344f56
L
118282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11829
11830 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11831 __gettimeofday instead of gettimeofday.
11832
68468076
UD
118332011-06-26 Ulrich Drepper <drepper@gmail.com>
11834
11835 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11836
acb0d739
L
118372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11838
11839 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11840
11841 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11842 info.
11843
8912479f
L
118442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11845
11846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11847 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11848 strcpy-sse2-unaligned strncpy-sse2-unaligned
11849 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11850 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11851 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11852 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11853 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11854 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11855 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11856 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11857 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11858 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11859 (STRCPY): Support SSE2 and SSSE3 versions.
11860
d5495a11
UD
118612011-06-24 Ulrich Drepper <drepper@gmail.com>
11862
11863 [BZ #12874]
11864 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11865 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11866 kernels which artificially limit size of requests.
11867
0b1cbaae
L
118682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11869
11870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11871 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11872 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11873 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11874 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11875 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11876 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11877 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11878 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11879 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11880 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11881 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11882 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11883 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11884 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11886 Enable unaligned load optimization for Intel Core i3, i5 and i7
11887 processors.
11888 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11889 Define.
11890 (index_Fast_Unaligned_Load): Define.
11891 (HAS_FAST_UNALIGNED_LOAD): Define.
11892
07f494a0
MP
118932011-06-23 Marek Polacek <mpolacek@redhat.com>
11894
11895 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11896
fa3fc0fe
UD
118972011-06-22 Ulrich Drepper <drepper@gmail.com>
11898
11899 [BZ #12907]
11900 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11901 until it is clear that the information is realy needed.
11902 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11903
e12df166
AS
119042011-06-22 Andreas Schwab <schwab@redhat.com>
11905
11906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11907
852eb34d
UD
119082011-06-22 Ulrich Drepper <drepper@gmail.com>
11909
84e2a551
UD
11910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11911 /sys/devices/system/cpu/online if it is usable.
11912
852eb34d
UD
11913 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11914 reading the information from the /proc filesystem to once a second.
11915
6e502e19
UD
119162011-06-21 Andreas Jaeger <aj@suse.de>
11917
11918 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11919 NULL after inclusion of kernel headers.
11920
75d39ff2
UD
119212011-06-21 Ulrich Drepper <drepper@gmail.com>
11922
51f9aa6a
UD
11923 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11924 calls to internal_setent.
11925
c0244a9d
UD
11926 [BZ #12885]
11927 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11928 addresses using gethostbyname4_r ignore IPv4 addresses.
11929
c5e3c2ae
UD
11930 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11931 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11932
75d39ff2
UD
11933 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11934
42675c6f
DM
119352011-06-20 David S. Miller <davem@davemloft.net>
11936
11937 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11938 inclusions.
11939 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11940
11941 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11942 (elf_irel): Use it.
11943 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11944 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11945 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11946 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11947 * sysdeps/x86_64/dl-irel.h: Likewise.
11948
11949 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11950 * elf/dl-sym.c: Likewise.
11951
57912a71
UD
119522011-06-15 Ulrich Drepper <drepper@gmail.com>
11953
11954 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11955 need to dereference resplen2.
11956
ee22793d
AS
119572011-06-14 Andreas Schwab <schwab@redhat.com>
11958
11959 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11960
a9e836b0
UD
119612011-06-15 Ulrich Drepper <drepper@gmail.com>
11962
77fb9117
UD
11963 * Makeconfig: Define vardbdir and inst_vardbdir.
11964 * nss/Makefile: Add rules to install db-Makefile.
11965
40c1b22c
UD
11966 * nss/nss_db/db-XXX.c: Cleanup.
11967
9f2da732
UD
11968 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11969 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11970 GLIBC_PRIVATE.
11971 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11972 * nss/makedb.c: Implement -g option to specify that value strings
11973 are generated and should not be added to table iterated over for
11974 get*ent calls.
11975 * nss/nss_db/db-initgroups.c: New file.
11976
82e9a1f7
UD
11977 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11978 interface.
11979
c41af17e
UD
11980 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11981 (internal_getgrouplist): Adjust to name change.
11982 Update use_initgroups_entry if this is not the first call.
11983 * nss/databases.def: Add initgroups entry.
11984
a9e836b0
UD
11985 * nss/makedb.c (compute_tables): Check result of multiple hash table
11986 sizes to minimize maximum chain length.
11987
2666d441
UD
119882011-06-14 Ulrich Drepper <drepper@gmail.com>
11989
11990 * Versions.def: Add entry for libnss_db.
11991 * shlib-versions: Likewise.
11992 * nss/Makefile: Add rules to build libnss_db.
11993 * nss/Versions: Add libnss_db information. Organize libnss_files
11994 entries better.
11995 * nss/db-Makefile: Add gshadow support. Change rules for the new
11996 makedb progra. Some minor improvements to generate smaller files.
11997 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11998 here from...
11999 * nss/makedb.c: ...here.
12000 Improve database format to be smaller and require less memory at
12001 runtime.
12002 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12003 db anymore.
12004 * nss/nss_db/db-netgrp.c: Likewise.
12005 * nss/nss_db/db-open.c: Likewise.
12006 * nss/nss_files/flies-XXX.x: Adjust comments.
12007 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12008 * nss/nss_files/files-grp.c: Likewise.
12009 * nss/nss_files/files-hosts.c: Likewise.
12010 * nss/nss_files/files-network.c: Likewise.
12011 * nss/nss_files/files-proto.c: Likewise.
12012 * nss/nss_files/files-pwd.c: Likewise.
12013 * nss/nss_files/files-rpc.c: Likewise.
12014 * nss/nss_files/files-service.c: Likewise.
12015 * nss/nss_files/files-sgrp.c: Likewise.
12016 * nss/nss_files/files-spwd.c: Likewise.
12017 * nss/nss_db/db-alias.c: Removed.
12018 * nss/nss_db/dummy-db.h: Removed.
12019
9ee76b5a
UD
120202011-06-02 Ulrich Drepper <drepper@gmail.com>
12021
12022 * nss/makedb.c: Rewritten to not use database library.
12023 * nss/Makefile: Update to build new makedb program.
12024
c71ca1f8
AJ
120252011-06-14 Andreas Jaeger <aj@suse.de>
12026
12027 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12028 memset declaration.
12029
3154bfb8
UD
120302011-06-10 Andreas Schwab <schwab@redhat.com>
12031
12032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12033 tmpbuf.
12034
b350afab
RM
120352011-06-10 Roland McGrath <roland@hack.frob.com>
12036
decd4e50
RM
12037 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12038 * elf/Makefile ($(objpfx)ld.so): Likewise.
12039
5615eaf2
RM
12040 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12041 Don't list ld.so twice in dependencies.
12042
12043 * posix/bug-regex31.c: Include <stdlib.h>.
12044
12045 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12046
12047 * nis/nss_compat/compat-spwd.c
12048 (getspent_next_nss_netgr): Remove unused variable.
12049 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12050
12051 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12052 nonmembers" output to use the right array.
12053
12054 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12055
12056 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12057
12058 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12059 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12060 * catgets/gencat.c (read_input_file): Likewise.
12061 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12062
12063 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12064 variable definition inside #if's controlling its use.
12065
12066 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12067
12068 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12069
12070 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12071
12072 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12073 unreachable code.
12074
12075 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12076
b68e08db
RM
12077 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12078 * configure: Regenerated.
12079
b350afab
RM
12080 * Makerules: Revert last change.
12081 * elf/Makefile: Likewise.
12082
28368601
RM
120832011-06-09 Roland McGrath <roland@hack.frob.com>
12084
12085 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12086 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12087 (reloc-link): Likewise.
12088
11988f8f
UD
120892011-06-09 Ulrich Drepper <drepper@gmail.com>
12090
12091 * elf/Makefile: Add rules to build pldd.
12092 * elf/pldd.c: New file.
12093 * elf/pldd-xx.c: New file.
12094
e80fab37
UD
120952011-06-07 Ulrich Drepper <drepper@gmail.com>
12096
12097 * version.h: Update for 2.15 development version.
12098
9b849836
DM
120992011-06-07 David S. Miller <davem@davemloft.net>
12100
12101 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12102 ifuncs.
12103 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12104 elf_machine_lazy_rel): Likewise.
12105 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12106 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12107 elf_machine_lazy_rel): Likewise.
12108 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12109 dl_hwcap via passed in argument.
12110 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12111 Likewise.
12112
5a31b283
AK
121132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12114
12115 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12116
069e52f8
RM
121172011-06-06 Roland McGrath <roland@hack.frob.com>
12118
12119 [BZ #12849]
12120 * manual/fdl-1.1.texi: New file, verbatim from:
12121 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12122 * manual/lgpl-2.1.texi: New file, verbatim from:
12123 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12124 * manual/Makefile (licenses): New variable, list those new file names.
12125 (texis): Use it.
12126 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12127
12128 * manual/fdl.texi: File removed.
12129 * manual/lesser.texi: File removed.
12130 * manual/libc.texinfo (Copying, Documentation License):
12131 Use new @include file names, put @appendix directive before @include.
12132
f16846a5
JJ
121332011-06-04 Jakub Jelinek <jakub@redhat.com>
12134
12135 [BZ #12841]
12136 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12137 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12138 (mq_open): Add __NTH.
12139
3d29045b
L
121402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12141
12142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12143 Assume Intel Core i3/i5/i7 processor if AVX is available.
12144
8c297311
UD
121452011-05-31 Ulrich Drepper <drepper@gmail.com>
12146
12147 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12148 typo.
12149
c8fc0c91
UD
121502011-05-31 Andreas Schwab <schwab@redhat.com>
12151
12152 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12153 memory. Use alloca_account. Fix memory leak when retrying.
12154
5b27a807
UD
121552011-05-31 Ulrich Drepper <drepper@gmail.com>
12156
356f8bc6
UD
12157 * version.h (RELEASE): Bump for 2.14 release.
12158 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12159
5b27a807
UD
12160 * config.make.in (RANLIB): Remove entry.
12161
01f16ab0
UD
121622011-05-30 Ulrich Drepper <drepper@gmail.com>
12163
41fce8bd
UD
12164 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12165 (libc.pot): Work around missing support for .ksh extension in xgettext.
12166
4769ae77
UD
12167 [BZ #12684]
12168 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12169 if both request failed.
12170 (send_dg): In case of server errors clear resplen or *resplen2.
12171
6b1e7d19
UD
12172 [BZ #12454]
12173 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12174 when there are multiple maps.
12175 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12176 (_dl_fini): Remove test here.
12177
01f16ab0
UD
12178 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12179
b1ebd700
UD
121802011-05-29 Ulrich Drepper <drepper@gmail.com>
12181
7ae22829
UD
12182 [BZ #12350]
12183 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12184 bit from old_res_options.
12185 (gaih_inet): Likewise.
12186
553149f6 12187 [BZ #11099]
18a84741 12188 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12189 as signed.
12190
652ffab1
UD
12191 * resolv/res_init.c (res_setoptions): Make the code more compact.
12192
16985fd0
UD
12193 [BZ #11558]
12194 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12195 set RES_USEVC.
12196
0464f746
UD
12197 [BZ #11634]
12198 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12199
7d17596c
UD
12200 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12201
cf6bbbd7
UD
12202 [BZ #11781]
12203 * malloc/malloc.h: Declare malloc hook variables as volatile.
12204
13f1ab36
UD
12205 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12206 in last patch.
12207
b1ebd700
UD
12208 [BZ #11799]
12209 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12210 raise in the comment.
80e2212d
UD
12211 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12212 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12213 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12214
ce67228d
UD
122152011-05-28 Ulrich Drepper <drepper@gmail.com>
12216
8887a920
UD
12217 [BZ #12811]
12218 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12219 grow the buffers more if it already has to be sufficient.
12220 (build_wcs_upper_buffer): Likewise.
12221 * posix/regexec.c (check_matching): Likewise.
12222 (clean_state_log_if_needed): Likewise.
12223 (extend_buffers): Don't enlarge buffers beyond size of the input
12224 buffer.
12225 Patches mostly by Emil Wojak <emil@wojak.eu>.
12226 * posix/bug-regex32.c: New file.
12227 * posix/Makefile (tests): Add bug-regex32.
12228
4f031072
UD
12229 * locale/findlocale.c (_nl_find_locale): Return right away if
12230 _nl_explode_name failed.
12231 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12232
d0478f0c
UD
12233 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12234
de81b246
UD
12235 * debug/xtrace.sh: Unify messages.
12236 * malloc/memusage.sh: Likewise.
12237
c738465a
UD
12238 [BZ #12813]
12239 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12240 time symbol from vDSO. Substitute with vsyscall if not available.
12241 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12242 __vdso_time.
12243
f1f929d7
UD
12244 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12245 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12246 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12247 Add sendmmsg and internal_sendmmsg.
12248 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12249 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12250 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12251
ce67228d
UD
12252 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12253 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12254 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12255
e57420c6
UD
122562011-05-27 Ulrich Drepper <drepper@gmail.com>
12257
a8509ca5
UD
12258 [BZ #12813]
12259 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12260 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12261 available.
12262 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12263 __vdso_getcpu.
12264
e57420c6
UD
12265 [BZ #12814]
12266 * iconvdata/Makefile (tests): Add bug-iconv9.
12267 * iconvdata/bug-iconv9.c: New file.
12268
4d07db15
AS
122692011-05-27 Andreas Schwab <schwab@redhat.com>
12270
12271 [BZ #12814]
12272 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12273
ea486f69
JJ
122742011-05-25 Jakub Jelinek <jakub@redhat.com>
12275
12276 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12277 (struct user_regs_struct): Change intcs field back to cs.
12278
6f038433
UD
122792011-05-25 Ulrich Drepper <drepper@gmail.com>
12280
12281 * po/ja.po: Update from translation team.
12282
67f86a25
UD
122832011-05-23 Ulrich Drepper <drepper@gmail.com>
12284
12285 [BZ #12795]
12286 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12287 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12288
def7fbd6
AS
122892011-05-20 Andreas Schwab <schwab@redhat.com>
12290
12291 * stdlib/longlong.h: Update from GCC.
12292
f50ef8f1
AS
122932011-05-23 Andreas Schwab <schwab@redhat.com>
12294
12295 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12296 parameter name.
12297 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12298 Add parameter name.
12299 (__sysconf): Pass it down.
12300
de7ce8f1
UD
123012011-05-22 Ulrich Drepper <drepper@gmail.com>
12302
f2962a71
UD
12303 [BZ #12671]
12304 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12305 some situations.
12306 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12307 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12308 add in in __libc_use_alloca calls. Adjust callers.
12309 (glob): Use malloc in some situations.
12310
de7ce8f1
UD
12311 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12312 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12313 pltexit.
12314
aec84f53
UD
123152011-05-21 Ulrich Drepper <drepper@gmail.com>
12316
05bb4a68
UD
12317 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12318 and CLOCK_BOOTTIME_ALARM.
12319
7ea72f99
UD
12320 [BZ #12782]
12321 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12322 is returned.
12323
7e4afad5
UD
12324 * string/_strerror.c (__strerror_r): Print negative errors as signed
12325 numbers.
12326
8e211fec
UD
12327 [BZ #12777]
12328 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12329 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12330 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12331
f7d82dc9
UD
12332 * configure.in: Fix typo in redirection and correct removal of test
12333 files in two cases.
12334
cc9e536d
UD
12335 [BZ #12788]
12336 * locale/setlocale.c (new_composite_name): Fix test to check for
12337 identical name of all categories.
12338
aec84f53
UD
12339 [BZ #12792]
12340 * libio/filedoalloc.c (local_isatty): New function.
12341 (_IO_file_doallocate): Use local_isatty.
12342 * stdio-common/perror.c (perror): In case a new stream is used
12343 forward the stream error.
12344 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12345 error flag.
12346
78e64fdc
RT
123472011-05-20 Ulrich Drepper <drepper@gmail.com>
12348
34a9094f
UD
12349 [BZ #11869]
12350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12351 alloca.
12352 * include/alloca.h (extend_alloca_account): Define.
12353
78e64fdc
RT
12354 [BZ #11857]
12355 * posix/regex.h: Fix comments with documentation of user-accessible
12356 fields after compilation and describe correct free'ing of pattern
12357 after re_compile_pattern.
12358 Patch by Reuben Thomas <rrt@sc3d.org>.
12359
457bddfc
RA
123602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12361
12362 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12363 and -mno-altivec to prevent the compiler from using Altivec and/or
12364 VSX instructions when the corresponding registers are not available.
12365
a4527b51
AS
123662011-05-19 Andreas Schwab <schwab@redhat.com>
12367
12368 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12369
ed690b2f
UD
123702011-05-19 Ulrich Drepper <drepper@gmail.com>
12371
12372 * libio/freopen.c (freopen): Use __dup2, not dup2.
12373 * libio/freopen64.c (freopen64): Likewise.
12374
8db73634
L
123752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12376
12377 [BZ #12775]
12378 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12379 * math/Makefile (tests): Add test-powl.
12380 (CFLAGS-test-powl.c): Define.
12381 * math/test-powl.c: New file.
12382
0a197a9d
L
123832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12384
12385 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12386
ee30c380
UD
123872011-05-17 Ulrich Drepper <drepper@gmail.com>
12388
12389 [BZ #11837]
12390 * iconvdata/gb18030.c: Update to GB18020-2005.
12391
6ce75379
UD
123922011-05-16 Ulrich Drepper <drepper@gmail.com>
12393
a4b89fd8
AR
12394 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12395 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12396 Patch by Aharon Robbins <arnold@skeeve.com>.
12397
ea389b12
UD
12398 [BZ #11892]
12399 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12400 on the stack.
12401
68a3f91f
UD
12402 [BZ #11895]
12403 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12404 through underflows.
12405
15cc7dd1
UD
12406 [BZ #12766]
12407 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12408 point to strings before performing equality test for error_one_per_line
12409 mode.
12410
f3799213
UD
12411 [BZ #11697]
12412 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12413
d79a9c94
UD
12414 [BZ #11820]
12415 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12416 (struct user_fpregs_struct): Avoid __uint*_t types.
12417
56e5eb46
UD
12418 [BZ #6420]
12419 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12420 symbol info. Use it instead of calling _dl_addr locally.
12421 (lock_and_info): New function.
12422 (tr_freehook): Call lock_and_info and pass symbol info as additional
12423 parameter to tr_where.
12424 (tr_mallochook): Likewise.
12425 (tr_reallochook): Likewise.
12426 (tr_memalignhook): Likewise.
12427
6ce75379
UD
12428 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12429 used and couldn't be at all thread-safe.
12430
f8a3b5bf
UD
124312011-05-15 Ulrich Drepper <drepper@gmail.com>
12432
94b7cc37
UD
12433 * libio/freopen.c (freopen): Don't close old file descriptor
12434 before the new one is opened. Instead dup the new file descriptor
12435 to the old one after the new stream is created.
12436 * libio/freopen64.c (freopen64): Likewise.
12437 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12438 * libio/fileops.c (_IO_new_file_close_it): Handle new
12439 _IO_FLAGS2_NOCLOSE flag.
12440 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12441 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12442 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12443 _IO_FLAGS2_NOCLOSE flag.
12444 * include/unistd.h: Add hidden_proto for dup3.
12445 Define __have_dup3.
12446 * io/dup3.c: Define hidden symbol.
12447 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12448
bd25564e
UD
12449 [BZ #7101]
12450 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12451 when an incomplete long option is used.
12452 * posix/tst-getopt_long1.c: New file.
12453 * posix/Makefile (tests): Add tst-getopt_long1.
12454
c84cfef4
UD
12455 [BZ #10138]
12456 * scripts/config.guess: Update from autoconf-2.68.
12457 * scripts/config.sub: Likewise.
12458
3b85df27
UD
12459 [BZ #10157]
12460 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12461 tests into ...
12462 (has_cpuclock): ...this. New function.
12463 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12464 macro here based on has_cpuclock code.
12465
15a856b1
UD
12466 [BZ #10149]
12467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12468 First byte (not low byte) is now always NUL.
12469 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12470
05f399e6
UD
12471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12472 Use non-cancelable interfaces.
12473
10a52685 12474 [BZ #9809]
94ecc67d
UD
12475 * locale/iso-639.def: Add entry for Sorani.
12476
f8a3b5bf
UD
12477 [BZ #11901]
12478 * include/stdlib.h: Move include protection to the right place.
12479 Define abort_msg_s. Declare __abort_msg with it.
12480 * stdlib/abort.c (__abort_msg): Adjust type.
12481 * assert/assert.c (__assert_fail_base): New function. Majority
12482 of code from __assert_fail. Allocate memory for __abort_msg with
12483 mmap.
12484 (__assert_fail): Now call __assert_fail_base.
12485 * assert/assert-perr.c: Remove bulk of implementation. Use
12486 __assert_fail_base.
12487 * include/assert.hL Declare __assert_fail_base.
12488 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12489 mmap.
12490 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12491
1af4e298
UD
124922011-05-14 Ulrich Drepper <drepper@gmail.com>
12493
f8a3b5bf 12494 [BZ #11952]
d26dfc60
MG
12495 [BZ #12453]
12496 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12497 until all modules are registered in the DTV.
12498 * elf/Makefile: Add rules to build and run tst-tls19.
12499 * elf/tst-tls19.c: New file.
12500 * elf/tst-tls19mod1.c: New file.
12501 * elf/tst-tls19mod2.c: New file.
12502 * elf/tst-tls19mod3.c: New file.
12503 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12504
2fc54d6f
UD
12505 [BZ #12083]
12506 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12507 correctly.
12508
98d76b46
UD
12509 [BZ #12601]
12510 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12511 two-byte sequence errors.
12512 * iconvdata/Makefile (tests): Add bug-iconv8.
12513 * iconvdata/bug-iconv8.c: New file.
12514
da3c19ef
UD
12515 [BZ #12626]
12516 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12517 buf2 definition.
12518
ca408c15
UD
12519 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12520
d6f67f7d
UD
12521 [BZ #12432]
12522 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12523 (dummy_getcfa): New function.
12524 (init): Get _Unwind_GetCFA address, use dummy if not found.
12525 (backtrace_helper): In recursion check, also check whether CFA changes.
12526 (__backtrace): Completely initialize arg.
12527
1af4e298 12528 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12529 storing incomplete byte sequence in state object. Avoid testing for
12530 guaranteed too small input if we know there is enough data available.
1af4e298 12531
da62f81b
AS
125322011-05-11 Andreas Schwab <schwab@redhat.com>
12533
12534 * Makeconfig (+link-pie): Indent.
12535 * Rules (binaries-pie): Define if $(have-fpie) and
12536 $(build-shared).
12537 (binaries-shared): Also filter out $(binaries-pie).
12538 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12539 * nscd/Makefile (others-pie): Add nscd.
12540 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12541 ($(objpfx)nscd): Remove command override.
12542 * login/Makefile (others-pie): Add pt_chown.
12543 ($(objpfx)pt_chown): Remove command override.
12544 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12545 remove command overrides.
12546
fcabc0f8
UD
125472011-05-13 Ulrich Drepper <drepper@gmail.com>
12548
20030ae6
UD
12549 * libio/tst_putwc.c: Fix error messages.
12550
fcabc0f8
UD
12551 [BZ #12724]
12552 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12553 currently writing and seek to current position when not.
12554 * libio/Makefile (tests): Add bug-fclose1.
12555 * libio/bug-fclose1.c: New file.
12556
320a5dc0
PB
125572011-05-12 Ulrich Drepper <drepper@gmail.com>
12558
12559 [BZ #12511]
12560 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12561 don't set DF_1_NODELETE here.
12562 (do_lookup_x): When entering new entry test for copy relocation
12563 and if necessary set DF_1_NODELETE flag.
12564 * elf/tst-unique4.cc: New file.
12565 * elf/tst-unique4.h: New file.
12566 * elf/tst-unique4lib.cc: New file.
12567 * elf/Makefile: Add rules to build and run tst-unique4.
12568 Patch by Piotr Bury <pbury@goahead.com>.
12569
22836f52
UD
125702011-05-11 Ulrich Drepper <drepper@gmail.com>
12571
f574184a
UD
12572 [BZ #12052]
12573 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12574
e1fb097f
UD
12575 [BZ #12625]
12576 * misc/mntent_r.c (addmntent): Flush the stream after the output
12577
22836f52
UD
12578 [BZ #12393]
12579 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12580 (is_trusted_path_normalize): Skip initial colon. Append slash
12581 to empty buffer. Duplicate is_trusted_path code but allow
12582 constructed patch to be prefix.
12583 (is_dst): Allow $ORIGIN followed by /.
12584 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12585 Correct testing of result of is_trusted_path_normalize
12586 (decompose_rpath): Fix warning.
12587
7b3b0b2a
UD
125882011-05-10 Ulrich Drepper <drepper@gmail.com>
12589
12590 [BZ #11257]
12591 * grp/initgroups.c (internal_getgrouplist): When we found the service
12592 list through the initgroups entry in nsswitch.conf do not always
12593 continue on a successful lookup. Don't always use the
eac80ce2 12594 __nss_group_database value if it is set.
7b3b0b2a
UD
12595 * nss/nsswitch.conf (initgroups): Change action for successful db
12596 lookup to continue for compatibility.
12597
2a81eaa5
UD
125982011-05-09 Ulrich Drepper <drepper@gmail.com>
12599
be97a69e
UD
12600 [BZ #11532]
12601 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12602 and CP774 modules.
12603 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12604 and CP774 modules.
12605 * iconvdata/tst-tables.sh: Likewise.
12606 * iconvdata/cp770.c: New file.
12607 * iconvdata/cp771.c: New file.
12608 * iconvdata/cp772.c: New file.
12609 * iconvdata/cp773.c: New file.
12610 * iconvdata/cp774.c: New file.
12611 * iconvdata/testdata/CP770: New file.
12612 * iconvdata/testdata/CP770..UTF8: New file.
12613 * iconvdata/testdata/CP771: New file.
12614 * iconvdata/testdata/CP771..UTF8: New file.
12615 * iconvdata/testdata/CP772: New file.
12616 * iconvdata/testdata/CP772..UTF8: New file.
12617 * iconvdata/testdata/CP773: New file.
12618 * iconvdata/testdata/CP773..UTF8: New file.
12619 * iconvdata/testdata/CP774: New file.
12620 * iconvdata/testdata/CP774..UTF8: New file.
12621
12622 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12623 END CHARMAP line.
12624 * iconvdata/gen-8bit-gap.sh: Likewise.
12625 * iconvdata/gen-8bit.sh: Likewise.
12626
c1e9e399
UD
12627 * locale/iso-639.def: Add ary entry.
12628
24c55fb3 12629 [BZ #11258]
96b4b1b0
UD
12630 * locale/C-translit.h.in: Add U20A1 transliteration.
12631
bdc2f971
KB
12632 [BZ #12178]
12633 * locale/iso-639.def: Add wae entry.
12634 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12635
2952b117
UD
12636 [BZ #12545]
12637 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12638 for n.
12639
2a81eaa5
UD
12640 [BZ #12711]
12641 * locale/C-translit.h.in: Add entry for U20B9.
12642 Patch by pravin.d.s@gmail.com.
12643
28377d1b
UD
126442011-05-08 Ulrich Drepper <drepper@gmail.com>
12645
7fb90fb8
UD
12646 [BZ #12713]
12647 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12648 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12649 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12650 in rtld. Use *stat64.
7fb90fb8 12651 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12652 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12653 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12654 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12655 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12656 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12657 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12658 __fstatat64 macros.
7fb90fb8
UD
12659 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12660 * dirent/rewinddir.c: Add libc_hidden_def.
12661 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12662 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12663
28377d1b
UD
12664 * include/dirent.h (__alloc_dir): Add flags parameter.
12665 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12666 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12667 __alloc_dir.
12668 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12669 from fdopendir if O_CLOEXEC is already set.
12670
66bdbaa4
AM
126712011-03-15 Alan Modra <amodra@gmail.com>
12672
12673 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12674 l_tls_firstbyte_offset non-zero. Save padding offset in
12675 l_tls_firstbyte_offset for later use.
12676 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12677 freeing static tls block.
12678
95721191
JN
126792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12680
12681 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12682 where #ifdef was intended. The intent is to prevent ARG_MAX from
12683 being defined by the kernel headers.
12684
f87dfb1f
UD
126852011-05-07 Ulrich Drepper <drepper@gmail.com>
12686
12687 [BZ #12734]
12688 * resolv/resolv.h: Define RES_NOTLDQUERY.
12689 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12690 no-tld-query and set RES_NOTLDQUERY.
12691 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12692 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12693 modern BIND to search name as TLD unless forbidden.
12694
47c3cd7a
UD
126952011-05-07 Petr Baudis <pasky@suse.cz>
12696 Ulrich Drepper <drepper@gmail.com>
12697
12698 [BZ #12393]
12699 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12700 (is_trusted_path): ...to here.
c1e9ea35 12701 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12702 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12703 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12704
8a35c912
PP
127052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12706
12707 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12708 __BEGIN/__END_DECLS.
12709
acd41f47
UD
127102011-05-06 Ulrich Drepper <drepper@gmail.com>
12711
12712 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12713 NSS_STATUS_NOTFOUND if no record was found.
12714
597df647
AS
127152011-05-05 Andreas Schwab <schwab@redhat.com>
12716
12717 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12718 (headers-not-in-tirpc): Remove rpc/netdb.h
12719 * resolv/netdb.h: Revert last change.
12720
b9af1301
PP
127212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12722
12723 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12724 circular dependency between libgcc.a and libc.a.
12725
4e34d5f5
AS
127262011-05-05 Andreas Schwab <schwab@redhat.com>
12727
12728 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12729 * nis/Makefile: Don't install rpcsvc/*.
12730 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12731 instead of <rpc/types.h>.
12732 (MAXHOSTNAMELEN): Define.
12733
00ee369c
AS
127342011-05-03 Andreas Schwab <schwab@redhat.com>
12735
12736 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12737
0b592a30
MB
127382011-04-28 Maciej Babinski <mbabinski@google.com>
12739
12740 [BZ #12714]
12741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12742 gethostbyname4_r when IPv6 results are possible.
12743
6e04cbbe
UD
127442011-05-02 Ulrich Drepper <drepper@gmail.com>
12745
12746 [BZ #12723]
12747 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12748 _PC_PIPE_BUF handling.
12749
e4ecafe0
BH
127502011-04-30 Bruno Haible <bruno@clisp.org>
12751
12752 [BZ #12717]
12753 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12754 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12755 to 'int'.
12756 * inet/getnameinfo.c (getnameinfo): Likewise.
12757
125ee683
UD
127582011-04-29 Ulrich Drepper <drepper@gmail.com>
12759
12760 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12761 to groups setting in database lookup.
12762 * nss/nsswitch.conf: Add initgroups entry.
12763
b722481a
EB
127642011-04-22 Ulrich Drepper <drepper@gmail.com>
12765
12766 [BZ #12685]
12767 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12768 mode string.
12769 Patch by Eric Blake <eblake@redhat.com>.
12770
4df46dbd
L
127712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12772
12773 * sunrpc/Makefile (need-export-routines): Add svc_run.
12774 (routines): Remove svc_run.
12775 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12776 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12777 * sunrpc/svc_run.c (svc_run): Likewise.
12778 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12779
e84142d2
UD
127802011-04-21 Ulrich Drepper <drepper@gmail.com>
12781
12782 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12783 problem in reallocation in last patch.
12784
877175d8
UD
127852011-04-20 Ulrich Drepper <drepper@gmail.com>
12786
12787 * sunrpc/Makefile: Move inclusion of Rules.
12788
ab8eed78
UD
127892011-04-19 Ulrich Drepper <drepper@gmail.com>
12790
12791 * nss/nss_files/files-initgroups.c: New file.
12792 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12793 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12794 _nss_files_initgroups_dyn.
12795
e3d8f584
RS
127962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12797
12798 * elf/elf.h (R_ARM_IRELATIVE): Define.
12799
af190f45
UD
128002011-04-19 Ulrich Drepper <drepper@gmail.com>
12801
12802 * po/ru.po: Update from translation team.
12803
53cf59ef
UD
128042011-04-17 Ulrich Drepper <drepper@gmail.com>
12805
12806 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12807 dependencies.
12808
4c559bcd
MF
128092011-02-06 Mike Frysinger <vapier@gentoo.org>
12810
12811 [BZ #12653]
12812 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12813 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12814 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12815 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12816 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12817
4420675c
AS
128182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12819
12820 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12821 differing bytes.
12822 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12823 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12824 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12825
75ea32ab
UD
128262011-04-17 Ulrich Drepper <drepper@gmail.com>
12827
12828 [BZ #12420]
12829 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12830 storing it.
12831 * stdlib/bug-getcontext.c: New file.
12832 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12833
27390476
AK
128342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12835
12836 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12837 instructions into .machine "z9-109".
12838 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12839 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12840
10442705
AK
128412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12842
12843 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12844 between environment variables and auxiliary vector.
12845
7b57bfe5
UD
128462011-04-16 Ulrich Drepper <drepper@gmail.com>
12847
12848 * Makefile: Add rules to build linkobj/libc.so.
12849 * include/libc-symbols.h: Define libc_hidden_nolink.
12850 * include/rpc/auth.h: Mark functions which are to be hidden.
12851 * include/rpc/auth_des.h: Likewise.
12852 * include/rpc/auth_unix.h: Likewise.
12853 * include/rpc/clnt.h: Likewise.
12854 * include/rpc/des_crypt.h: Likewise.
12855 * include/rpc/key_prot.h: Likewise.
12856 * include/rpc/pmap_clnt.h: Likewise.
12857 * include/rpc/pmap_prot.h: Likewise.
12858 * include/rpc/pmap_rmt.h: Likewise.
12859 * include/rpc/rpc_msg.h: Likewise.
12860 * include/rpc/svc.h: Likewise.
12861 * include/rpc/svc_auth.h: Likewise.
12862 * include/rpc/xdr.h: Likewise.
12863 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12864 * nss/Makefile: Likewise.
12865 * sunrpc/Makefile: Don't install headers. Build library with normal
12866 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12867 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12868 for the compat linking library. Remove use of INTDEF/INTUSE.
12869 * sunrpc/auth_none.c: Likewise.
12870 * sunrpc/auth_unix.c: Likewise.
12871 * sunrpc/authdes_prot.c: Likewise.
12872 * sunrpc/authuxprot.c: Likewise.
12873 * sunrpc/clnt_gen.c: Likewise.
12874 * sunrpc/clnt_perr.c: Likewise.
12875 * sunrpc/clnt_raw.c: Likewise.
12876 * sunrpc/clnt_simp.c: Likewise.
12877 * sunrpc/clnt_tcp.c: Likewise.
12878 * sunrpc/clnt_udp.c: Likewise.
12879 * sunrpc/clnt_unix.c: Likewise.
12880 * sunrpc/des_crypt.c: Likewise.
12881 * sunrpc/des_soft.c: Likewise.
12882 * sunrpc/get_myaddr.c: Likewise.
12883 * sunrpc/key_call.c: Likewise.
12884 * sunrpc/key_prot.c: Likewise.
12885 * sunrpc/netname.c: Likewise.
12886 * sunrpc/pm_getmaps.c: Likewise.
12887 * sunrpc/pm_getport.c: Likewise.
12888 * sunrpc/pmap_clnt.c: Likewise.
12889 * sunrpc/pmap_prot.c: Likewise.
12890 * sunrpc/pmap_prot2.c: Likewise.
12891 * sunrpc/pmap_rmt.c: Likewise.
12892 * sunrpc/publickey.c: Likewise.
12893 * sunrpc/rpc_cmsg.c: Likewise.
12894 * sunrpc/rpc_common.c: Likewise.
12895 * sunrpc/rpc_dtable.c: Likewise.
12896 * sunrpc/rpc_prot.c: Likewise.
12897 * sunrpc/rpc_thread.c: Likewise.
12898 * sunrpc/rtime.c: Likewise.
12899 * sunrpc/svc.c: Likewise.
12900 * sunrpc/svc_auth.c: Likewise.
12901 * sunrpc/svc_authux.c: Likewise.
12902 * sunrpc/svc_raw.c: Likewise.
12903 * sunrpc/svc_run.c: Likewise.
12904 * sunrpc/svc_simple.c: Likewise.
12905 * sunrpc/svc_tcp.c: Likewise.
12906 * sunrpc/svc_udp.c: Likewise.
12907 * sunrpc/svc_unix.c: Likewise.
12908 * sunrpc/svcauth_des.c: Likewise.
12909 * sunrpc/xcrypt.c: Likewise.
12910 * sunrpc/xdr.c: Likewise.
12911 * sunrpc/xdr_array.c: Likewise.
12912 * sunrpc/xdr_float.c: Likewise.
12913 * sunrpc/xdr_intXX_t.c: Likewise.
12914 * sunrpc/xdr_mem.c: Likewise.
12915 * sunrpc/xdr_rec.c: Likewise.
12916 * sunrpc/xdr_ref.c: Likewise.
12917 * sunrpc/xdr_sizeof.c: Likewise.
12918 * sunrpc/xdr_stdio.c: Likewise.
12919
e6c61494
UD
129202011-04-10 Ulrich Drepper <drepper@gmail.com>
12921
12922 [BZ #12650]
12923 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12924 * sysdeps/ia64/dl-tls.h: Likewise.
12925 * sysdeps/powerpc/dl-tls.h: Likewise.
12926 * sysdeps/s390/dl-tls.h: Likewise.
12927 * sysdeps/sh/dl-tls.h: Likewise.
12928 * sysdeps/sparc/dl-tls.h: Likewise.
12929 * sysdeps/x86_64/dl-tls.h: Likewise.
12930 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12931
34fe483e
AS
129322011-03-14 Andreas Schwab <schwab@redhat.com>
12933
12934 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12935 rpath element also skip the following colon.
12936 (expand_dynamic_string_token): Add is_path parameter and pass
12937 down to DL_DST_REQUIRED and _dl_dst_substitute.
12938 (decompose_rpath): Call expand_dynamic_string_token with
12939 non-zero is_path. Ignore empty rpaths.
12940 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12941 with zero is_path.
12942
f12a32e6
AS
129432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12944
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12946 Make cancelable.
12947
38a7d692
UD
129482011-04-09 Ulrich Drepper <drepper@gmail.com>
12949
12950 [BZ #12655]
12951 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12952 Patch by Filipe David Manana <fdmanana@apache.org>.
12953
e451d22b
AS
129542011-04-07 Andreas Schwab <schwab@redhat.com>
12955
12956 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12957 Maintain aligned stack.
12958 (CHECK_RSP): Remove unused macro.
12959
dedc7c7b
UD
129602011-04-03 Ulrich Drepper <drepper@gmail.com>
12961
12962 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12963 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12964
94521213
UD
129652011-04-02 Ulrich Drepper <drepper@gmail.com>
12966
12967 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12968
8cb700c0 12969 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12970
0354e355
L
129712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12972
12973 [BZ #12518]
12974 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12975 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12976 * sysdeps/x86_64/memmove.c: New file.
12977 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12978 (memcpy): Renamed to ...
12979 (__new_memcpy): This.
12980 (memcpy): Provide GLIBC_2_14 memcpy.
12981 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12982 (memcpy): Provide GLIBC_2_2_5 memcpy.
12983
8593482f
UD
129842011-04-01 Ulrich Drepper <drepper@gmail.com>
12985
12986 [BZ #12631]
12987 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12988
81a5726b
AS
129892011-03-30 Andreas Schwab <schwab@redhat.com>
12990
12991 * misc/syncfs.c: New file.
12992 * misc/Makefile (routines): Add syncfs.
12993 * posix/unistd.h: Declare syncfs.
12994 * sysdeps/unix/syscalls.list: Add syncfs.
12995
00e5419f
AS
129962011-04-01 Andreas Schwab <schwab@redhat.com>
12997
12998 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12999 open_by_handle_at.
13000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13001 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13003 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13005 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13006 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13007
748876bf
UD
130082011-04-01 Ulrich Drepper <drepper@gmail.com>
13009
658e451d
UD
13010 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13011 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13012 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13013 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13014 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13016 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13017
748876bf
UD
13018 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13019 sync_file_range.c with -fexceptions.
13020 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13021 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13022 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13023 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13024 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13025 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13026 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13027 sync_file_range as cancellation point
13028 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13029 now a wrapper around __call_sync_file_range with cancellation handling.
13030 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13031 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13032 function name to __call_sync_file_range.
13033 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13034 Add call_sync_file_range.
748876bf 13035
6e63d5e1
AS
130362011-04-01 Andreas Schwab <schwab@redhat.com>
13037
13038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13039 bits/timex.h.
6e63d5e1 13040
46998f74
UD
130412011-04-01 Ulrich Drepper <drepper@gmail.com>
13042
4c1423ed
UD
13043 * iconv/iconv.h: Fix typo in comment.
13044 * io/fcntl.h: Likewise.
13045 * libio/stdio.h: Likewise.
13046 * posix/spawn.h: Likewise.
13047 * posix/unistd.h: Likewise.
13048 * stdlib/stdlib.h: Likewise.
13049 * time/time.h: Likewise.
13050 * wcsmbs/wchar.h: Likewise.
13051
158648c0
UD
13052 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13053 open_by_handle): Add.
13054 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13055 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13056 Augment a few comments.
13057 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13059 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13061 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13062 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13063 open_by_handle.
13064
46998f74
UD
13065 * io/fcntl.h (AT_EMPTY_PATH): Define.
13066
83fe108b
UD
130672011-03-30 Ulrich Drepper <drepper@gmail.com>
13068
13069 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13070 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13071 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13072 to...
13073 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13074 * Versions.def: Add GLIBC_2.14.
13075 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13076 Export.
83fe108b 13077
bb242059
UD
130782011-03-22 Ulrich Drepper <drepper@gmail.com>
13079
13080 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13081 round counter.
13082 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13083
c97a1282
L
130842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13085
13086 [BZ #12597]
13087 * string/test-strncmp.c (do_page_test): New function.
13088 (check2): Likewise.
13089 (test_main): Call check2.
13090 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13091
2a115601
UD
130922011-03-20 Ulrich Drepper <drepper@gmail.com>
13093
13094 [BZ #12587]
13095 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13096 Handle cache information in CPU leaf 4.
13097 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13098
8126d904
UD
130992011-03-18 Ulrich Drepper <drepper@gmail.com>
13100
042c49c6 13101 [BZ #12583]
8126d904
UD
13102 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13103 character representation.
13104 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13105
ccfe366e
RA
131062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13107
13108 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13109 END(__isnan) to END(__isnanf) to match function entry point/label
13110 EALIGN(__isnanf,...).
13111
c6e13027
JJ
131122011-03-10 Jakub Jelinek <jakub@redhat.com>
13113
13114 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13115
33f85a3f
UD
131162011-03-10 Ulrich Drepper <drepper@gmail.com>
13117
028478fa
UD
13118 [BZ #12510]
13119 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13120 copy from the symbol referenced in the relocation to initialize the
13121 used variable.
13122 Patch by Piotr Bury <pbury@goahead.com>.
13123 * elf/Makefile: Add rules to build and tst-unique3.
13124 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13125 * elf/tst-unique3.cc: New file.
13126 * elf/tst-unique3.h: New file.
13127 * elf/tst-unique3lib.cc: New file.
13128 * elf/tst-unique3lib2.cc: New file.
13129
33f85a3f
UD
13130 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13131
03592fc7
MF
131322011-03-10 Mike Frysinger <vapier@gentoo.org>
13133
13134 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13135 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13136 to _start.
03592fc7 13137
6a5ee102
UD
131382011-03-06 Ulrich Drepper <drepper@gmail.com>
13139
13140 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13141 to-be-loaded object along a path to loader is ld.so.
13142
7e4ba49c
HJ
131432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13144 Ulrich Drepper <drepper@gmail.com>
13145
13146 * sysdeps/x86_64/memset.S: After aligning destination, code
13147 branches to different locations depending on the value of
13148 misalignment, when multiarch is enabled. Fix this.
13149
131502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13151
13152 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13153 Set _x86_64_preferred_memory_instruction for AMD processsors.
13154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13155 Set bit_Prefer_SSE_for_memop for AMD processors.
13156
13a804de
UD
131572011-03-04 Ulrich Drepper <drepper@gmail.com>
13158
13159 * libio/fmemopen.c (fmemopen): Optimize a bit.
13160
9d25c392
AS
131612011-03-03 Andreas Schwab <schwab@redhat.com>
13162
13163 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13164
a5543c6a
RM
131652011-03-03 Roland McGrath <roland@redhat.com>
13166
13167 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13168
012d35f7
DM
131692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13170
7e4ba49c 13171 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13172 __bzero_ultra1 instead of __memset_ultra1.
13173
4bff6e01
AS
131742011-02-23 Andreas Schwab <schwab@redhat.com>
13175 Ulrich Drepper <drepper@gmail.com>
13176
13177 [BZ #12509]
13178 * include/link.h (struct link_map): Add l_orig_initfini.
13179 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13180 returning unsuccessfully.
13181 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13182 close of a file loaded at startup, restore the original l_initfini
13183 list.
13184 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13185 list, store the pointer.
13186 * elf/Makefile ($(objpfx)noload-mem): New rule.
13187 (noload-ENV): Define.
13188 (tests): Add $(objpfx)noload-mem.
13189 * elf/noload.c: Include <memcheck.h>.
13190 (main): Call mtrace. Close all opened handles.
13191
f2092faf
AS
131922011-02-17 Andreas Schwab <schwab@redhat.com>
13193
13194 [BZ #12454]
13195 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13196 dependencies are missing.
13197
6c8a2e88
ST
131982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13199
f2092faf 13200 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13201 Hurd needs munmap.
13202 * sysdeps/mach/hurd/ifreq.h: New file.
13203
84a42118
PB
132042011-01-27 Petr Baudis <pasky@suse.cz>
13205 Ulrich Drepper <drepper@gmail.com>
13206
071f805e 13207 [BZ 12445]#
84a42118
PB
13208 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13209 to extend_alloca().
13210 * stdio-common/bug23.c: New file.
13211 * stdio-common/Makefile (tests): Add bug23.
13212
e23fe25b
AS
132132010-09-28 Andreas Schwab <schwab@redhat.com>
13214 Ulrich Drepper <drepper@gmail.com>
13215
13216 [BZ #12489]
13217 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13218 before performing relro protection. At old place add assertion
13219 to make sure nothing changed.
13220
d3f02e10
NS
132212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13222 Glauber de Oliveira Costa <glommer@gmail.com>
13223
13224 * elf/elf.h: Add new ARM TLS relocs.
13225
d55fd7a5
RA
132262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13227
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13229 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13230 cast from r3.
13231 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13232 'tests' variable.
13233 * sysdeps/wordsize-64/tst-writev.c: New file.
13234
2206397e
RA
132352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13236
13237 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13238 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13239 insns in _dl_start to prevent a TOC reference before relocs are
13240 resolved.
13241
e9433893
UD
132422011-02-15 Ulrich Drepper <drepper@gmail.com>
13243
13244 [BZ #12469]
13245 * Makeconfig: Remove RANLIB definition.
13246 * Makerules: Don't use RANLIB.
13247 * aclocal.m4: Remove ranlib test.
13248 * configure.in: No need to check for ranlib.
13249 * elf/rtld-Rules: Don't use RANLIB.
13250
f75286c6
ST
132512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13252
8e31c82d
ST
13253 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13254 protection macro.
13255 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13256 inclusion protection macro.
13257
f75286c6
ST
13258 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13259 SIGRTMIN and SIGRTMAX and print information in that case only when
13260 SIGRTMIN is defined.
13261
c1d0e639
JJ
132622011-02-11 Jakub Jelinek <jakub@redhat.com>
13263
13264 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13265 arginfo fn returning -1.
13266
13267 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13268 and thousands string is zero terminated.
13269
edf9294e
AS
132702011-02-03 Andreas Schwab <schwab@redhat.com>
13271
13272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13273 sysdeps/unix/sysv/linux/bits/socket.h.
13274
2b7e92df
ST
132752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13276
edf9294e
AS
13277 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13278 (__CPU_COUNT): Remove old macros.
13279 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13280 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13281 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13282 (__sched_cpualloc, __sched_cpufree): Add declarations.
13283
a4c7ea7b
UD
132842011-02-05 Ulrich Drepper <drepper@gmail.com>
13285
13286 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13287 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13288 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13289 (readdhstai): Return value of addhstaiX call.
13290 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13291 (addgrbyX): Return value returned by cache_addgr.
13292 (readdgrbyname): Return value returned by addgrbyX.
13293 (readdgrbygid): Likewise.
13294 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13295 (addpwbyX): Return value returned by cache_addpw.
13296 (readdpwbyname): Return value returned by addhstbyX.
13297 (readdpwbyuid): Likewise.
13298 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13299 (addservbyX): Return value returned by cache_addserv.
13300 (readdservbyname): Return value returned by addservbyX:
13301 (readdservbyport): Likewise.
13302 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13303 (addhstbyX): Return value returned by cache_addhst.
13304 (readdhstbyname): Return value returned by addhstbyX.
13305 (readdhstbyaddr): Likewise.
13306 (readdhstbynamev6): Likewise.
13307 (readdhstbyaddrv6): Likewise.
13308 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13309 (readdinitgroups): Return value returned by addinitgroupsX.
13310 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13311 (prune_cache): Keep track of timeout value of re-added entries.
13312 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13313 * nscd/nscd.h: Adjust prototypes of readd* functions.
13314
a0bf67cc
RM
133152011-02-04 Roland McGrath <roland@redhat.com>
13316
13317 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13318 (nis_stats): Likewise.
13319 * nis/nis_modify.c (nis_modify): Likewise.
13320 * nis/nis_remove.c (nis_remove): Likewise.
13321 * nis/nis_add.c (nis_add): Likewise.
13322
13323 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13324
13325 * posix/fnmatch_loop.c: Add some consts.
13326
13327 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13328
435b95eb
L
133292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13330
13331 [BZ #12460]
13332 * config.make.in (config-cflags-novzeroupper): Define.
13333 * configure.in: Substitute libc_cv_cc_novzeroupper.
13334 * elf/Makefile (AVX-CFLAGS): Define.
13335 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13336 (CFLAGS-tst-auditmod4a.c): Likewise.
13337 (CFLAGS-tst-auditmod4b.c): Likewise.
13338 (CFLAGS-tst-auditmod6b.c): Likewise.
13339 (CFLAGS-tst-auditmod6c.c): Likewise.
13340 (CFLAGS-tst-auditmod7b.c): Likewise.
13341 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13342
8517b15e
UD
133432011-02-02 Ulrich Drepper <drepper@gmail.com>
13344
13345 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13346 function to the callback.
13347 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13348
10a656fe
AS
133492011-02-02 Andreas Schwab <schwab@redhat.com>
13350
13351 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13352 of errno.
13353
968dad0a
UD
133542011-01-19 Ulrich Drepper <drepper@gmail.com>
13355
9f94d2ea 13356 [BZ #11724]
968dad0a
UD
13357 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13358 of constructors.
13359 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13360 of destructors.
13361 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13362
13363 [BZ #11724]
13364 * elf/Makefile: Add rules to build and run new test.
13365 * elf/tst-initorder.c: New file.
13366 * elf/tst-initorder.exp: New file.
13367 * elf/tst-initordera1.c: New file.
13368 * elf/tst-initordera2.c: New file.
13369 * elf/tst-initordera3.c: New file.
13370 * elf/tst-initordera4.c: New file.
13371 * elf/tst-initorderb1.c: New file.
13372 * elf/tst-initorderb2.c: New file.
13373 * elf/tst-order-a1.c: New file.
13374 * elf/tst-order-a2.c: New file.
13375 * elf/tst-order-a3.c: New file.
13376 * elf/tst-order-a4.c: New file.
13377 * elf/tst-order-b1.c: New file.
13378 * elf/tst-order-b2.c: New file.
13379 * elf/tst-order-main.c: New file.
13380 New test case by George Gensure <werkt0@gmail.com>.
13381
86e92359
UD
133822010-10-01 Andreas Schwab <schwab@redhat.com>
13383
13384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13385 decoding ACE if AI_CANONIDN.
13386
5d5732b0
UD
133872011-01-18 Ulrich Drepper <drepper@gmail.com>
13388
13389 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13390
a77e8cbc
UD
133912011-01-17 Ulrich Drepper <drepper@gmail.com>
13392
6392473f
UD
13393 * version.h (RELEASE): Bump for 2.13 release.
13394 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13395
620a0529
UD
13396 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13397
18ba70a5
UD
13398 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13399 MADV_NOHUGEPAGE.
32465c3e
UD
13400 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13401 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13402 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13403 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13404 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13405 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13406
c0dafcf1
UD
13407 * posix/getconf.c: Update copyright year.
13408 * catgets/gencat.c: Likewise.
13409 * csu/version.c: Likewise.
13410 * debug/catchsegv.sh: Likewise.
13411 * debug/xtrace.sh: Likewise.
13412 * elf/ldconfig.c: Likewise.
13413 * elf/ldd.bash.in: Likewise.
13414 * elf/sprof.c (print_version): Likewise.
13415 * iconv/iconv_prog.c: Likewise.
13416 * iconv/iconvconfig.c: Likewise.
13417 * locale/programs/locale.c: Likewise.
13418 * locale/programs/localedef.c: Likewise.
13419 * malloc/memusage.sh: Likewise.
13420 * malloc/mtrace.pl: Likewise.
13421 * nscd/nscd.c (print_version): Likewise.
13422 * nss/getent.c: Likewise.
13423
a77e8cbc
UD
13424 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13425 PF_CAIF, and PF_ALG.
13426 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13427
77e8bddf
AS
134282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13429
1f20b93a
AS
13430 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13431 (modules-names): Use them.
13432 (ifunc-test-modules, ifunc-pie-tests): Define.
13433 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13434 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13435 (test-extras): Likewise.
13436 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13437 $(compile-command.c).
13438 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13439 (all-built-dso): Define.
13440 (check-textrel.out, check-execstack.out): Depend on it.
13441
77e8bddf
AS
13442 * configure.in: Don't override --enable-multi-arch.
13443
bc425b33
UD
134442011-01-15 Ulrich Drepper <drepper@gmail.com>
13445
13446 [BZ #6812]
13447 * nscd/hstcache.c (tryagain): Define.
13448 (cache_addhst): Return tryagain not notfound for temporary errors.
13449 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13450 failed.
13451
794c3ad3
UD
134522011-01-14 Ulrich Drepper <drepper@gmail.com>
13453
70181fdd
UD
13454 [BZ #10563]
13455 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13456 to make the syscall.
13457 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13458
794c3ad3
UD
13459 [BZ #12378]
13460 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13461 and fall back to matching as normal character if the string ends before
13462 the matching ']' is found. This is what POSIX requires.
13463 * posix/testfnm.c: Adjust test result.
13464 * posix/globtest.sh: Adjust test result. Add new test.
13465 * posix/tst-fnmatch.input: Likewise.
13466 * posix/tst-fnmatch2.c: Add new test.
13467
68dc9497
AS
134682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13469
13470 * elf/Makefile (check-execstack): Revert last change. Depend on
13471 check-execstack.h.
13472 (check-execstack.h): New target.
13473 (generated): Add check-execstack.h.
13474 * elf/check-execstack.c: Include "check-execstack.h".
13475 (main): Revert last change.
13476 (handle_file): Return zero if GNU_STACK is absent and
13477 DEFAULT_STACK_PERMS doesn't include PF_X.
13478
451f001b
UD
134792011-01-13 Ulrich Drepper <drepper@gmail.com>
13480
cfa28e56
UD
13481 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13482 in child fails because the descriptor is already closed.
8cf8ce17
UD
13483 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13484 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13485 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13486
1086d70d
UD
13487 [BZ #12397]
13488 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13489 syscall.
13490
451f001b
UD
13491 [BZ #10484]
13492 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13493 temporary buffer used to handle multi lookups locally.
a85b5cb4 13494 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13495
08769175
UD
134962011-01-12 Ulrich Drepper <drepper@gmail.com>
13497
13498 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13499 loader is ld.so.
13500
5e49c52e
UD
135012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13502
13503 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13504 alignment for SSE2.
13505
60522a5f
UD
135062011-01-12 Ulrich Drepper <drepper@gmail.com>
13507
13508 [BZ #12394]
13509 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13510 characters. When rounding increased number of integer digits recompute
13511 number of groups.
13512 * stdio-common/tst-grouping.c: New file.
13513 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13514
f257bbd7
UD
135152011-01-09 Ulrich Drepper <drepper@gmail.com>
13516
13517 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13518 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13519
13520 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13521 void.
13522 * bits/select.h: Likewise.
13523
fa9c15cb
UD
135242011-01-08 Ulrich Drepper <drepper@gmail.com>
13525
13526 * po/ja.po: Update from translation team.
13527
16c2895f
DM
135282011-01-04 David S. Miller <davem@sunset.davemloft.net>
13529
13530 [BZ #11155]
13531 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13532 implementation just like for lxstat, fxstatat, et al.
13533
2543fef2
JM
135342010-12-27 Jim Meyering <meyering@redhat.com>
13535
13536 [BZ #12348]
13537 * posix/regexec.c (build_trtable): Return failure indication upon
13538 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13539
98727dbe
UD
135402010-12-25 Ulrich Drepper <drepper@gmail.com>
13541
5bd6dc5c
UD
13542 [BZ #12201]
13543 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13544 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13545 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13546 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13547
97983464
UD
13548 [BZ #12207]
13549 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13550
98727dbe
UD
13551 [BZ #12204]
13552 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13553 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13554
4a531bb0
L
135552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13556
13557 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13558 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13559 script has SORT_BY_INIT_PRIORITY.
13560 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13561 NO_CTORS_DTORS_SECTIONS is defined.
13562 * elf/soinit.c: Likewise.
13563 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13564 NO_CTORS_DTORS_SECTIONS is defined.
13565 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13566 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13567 * sysdeps/sh/init-first.c: Likewise.
13568 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13569
07eb4b71
UD
135702010-12-24 Ulrich Drepper <drepper@gmail.com>
13571
13572 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13573 always use the slow path.
13574
30950a5f
RA
135752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13576
13577 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13578 similar rule which adds the sysdep directories to the header search in
13579 order to pick up the correct platform stackinfo.h.
13580 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13581 perform test if it is, otherwise return successfully without testing.
13582 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13583 DEFAULT_STACK_PERMS define in stackinfo.h.
13584 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13585 defined in stackinfo.h.
13586 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13587 DEFAULT_STACK_PERMS defined in stackinfo.h.
13588 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13589 * sysdeps/ia64/stackinfo.h: Likewise.
13590 * sysdeps/s390/stackinfo.h: Likewise.
13591 * sysdeps/sh/stackinfo.h: Likewise.
13592 * sysdeps/sparc/stackinfo.h: Likewise.
13593 * sysdeps/x86_64/stackinfo.h: Likewise.
13594 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13595 PF_X for powerpc64. Retain PF_X for powerpc32.
13596
db753e2c
UD
135972010-12-19 Ulrich Drepper <drepper@gmail.com>
13598
14b697f7
UD
13599 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13600 accurately.
db753e2c
UD
13601 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13602 GETDENTS_64BIT_ALIGNED.
13603
28300719
UD
136042010-12-14 Ulrich Drepper <dreper@gmail.com>
13605
14b697f7 13606 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13607
4f197237
AS
136082010-12-10 Andreas Schwab <schwab@redhat.com>
13609
dbb0472f
AS
13610 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13611 _GNU_SOURCE.
13612
4f197237
AS
13613 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13614 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13615 Remove __restrict.
13616 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13617 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13618
fb88ac72
UD
136192010-12-09 Ulrich Drepper <drepper@gmail.com>
13620
13621 [BZ #11655]
13622 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13623 are initialized.
13624
42acbb92
JJ
136252010-12-09 Jakub Jelinek <jakub@redhat.com>
13626
13627 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13628
c038d98d
UD
136292010-12-03 Ulrich Drepper <drepper@gmail.com>
13630
13631 * po/it.po: Update from translation team.
13632
3a4a2499
L
136332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13634
13635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13636 unused codes.
13637
1e24cf6e
UD
136382010-11-30 Ulrich Drepper <drepper@gmail.com>
13639
13640 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13641
a7690819
AS
136422010-11-24 Andreas Schwab <schwab@redhat.com>
13643
13644 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13645 specially.
13646 (gaih_getanswer_slice): Likewise.
13647
3bf8d1b1
JJ
136482010-10-20 Jakub Jelinek <jakub@redhat.com>
13649
13650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13651
6db52fbb
PB
136522010-05-31 Petr Baudis <pasky@suse.cz>
13653
13654 [BZ #11149]
13655 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13656 silently even in the chroot mode.
13657
eaca7569
UD
136582010-11-22 Ulrich Drepper <drepper@gmail.com>
13659
13660 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13661 last patch a bit. Pretty printing
13662
3056dcdb
UD
136632010-05-31 Petr Baudis <pasky@suse.cz>
13664
13665 [BZ #10085]
13666 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13667 initialization of skip_initgroups_dyn.
13668
cf7c9078
UD
136692010-11-19 Ulrich Drepper <drepper@gmail.com>
13670
13671 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13672 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13673
a1fb5e3e
UD
136742010-11-16 Ulrich Drepper <drepper@gmail.com>
13675
13676 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13677
3540d66b
AS
136782010-11-11 Andreas Schwab <schwab@redhat.com>
13679
13680 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13681 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13682 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13683 ($(objpfx)tst-fnmatch-mem): New rule.
13684 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13685 * posix/tst-fnmatch.c (main): Call mtrace.
13686
13b69574
L
136872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13688
13689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13690 Support Intel processor model 6 and model 0x2c.
13691
da93d214
LM
136922010-11-10 Luis Machado <luisgpm@br.ibm.com>
13693
13694 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13695 signed comparison.
13696
8ca52c6e
L
136972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13698
13699 [BZ #12205]
13700 * string/test-strncasecmp.c (check_result): New function.
13701 (do_one_test): Use it.
13702 (check1): New function.
13703 (test_main): Use it.
13704 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13705 Support strcasecmp and strncasecmp.
13706
69da074d
UD
137072010-11-08 Ulrich Drepper <drepper@gmail.com>
13708
13709 [BZ #12194]
13710 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13711 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13712
ff02d528
L
137132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13714
13715 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13716 IFUNC support.
13717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13718 memset-x86-64.
13719 * sysdeps/x86_64/multiarch/bzero.S: New file.
13720 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13721 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13722 * sysdeps/x86_64/multiarch/memset.S: New file.
13723 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13725 Set bit_Prefer_SSE_for_memop for Intel processors.
13726 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13727 Define.
13728 (index_Prefer_SSE_for_memop): Define.
13729 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13730
344d0b54
LM
137312010-11-04 Luis Machado <luisgpm@br.ibm.com>
13732
13733 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13734 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13735
c0dde15b
UD
137362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13737
13738 [BZ #12191]
13739 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13740 (__x86_64_raw_data_cache_size_half): Likewise.
13741 (__x86_64_raw_shared_cache_size): Likewise.
13742 (__x86_64_raw_shared_cache_size_half): Likewise.
13743
13744 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13745 (__x86_64_raw_data_cache_size_half): Likewise.
13746 (__x86_64_raw_shared_cache_size): Likewise.
13747 (__x86_64_raw_shared_cache_size_half): Likewise.
13748 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13749 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13750 and __x86_64_raw_shared_cache_size_half. Round
13751 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13752 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13753 to multiple of 256 bytes.
13754
0e516e0e
MS
137552010-11-03 Ulrich Drepper <drepper@gmail.com>
13756
13757 [BZ #12167]
13758 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13759 of inacessible symlinks. Verify result of symlink before returning it.
13760 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13761 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13762
0e012e87
ER
137632010-10-28 Erich Ritz <erichritz@gmail.com>
13764
13765 * math/math.h (isinf): Fix typo in comment.
13766
de0ff7bc
UD
137672010-11-01 Ulrich Drepper <drepper@gmail.com>
13768
13769 * po/da.po: Update from translation team.
13770
fa41c84d
UD
137712010-10-26 Ulrich Drepper <drepper@gmail.com>
13772
13773 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13774 is added to the list.
13775
f0967738
AK
137762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13777 Ulrich Drepper <drepper@gmail.com>
13778
13779 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13780 the global list here. Move code to...
13781 (_dl_add_to_namespace_list): ...here. New function.
13782 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13783 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13784 * elf/dl-load.c (lose): Don't remove the element from the list.
13785 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13786 (_dl_map_object): Likewise.
13787
137882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13789
13790 [BZ #12159]
13791 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13792 into all bytes of SSE register.
13793 Patch by Richard Li <richardpku@gmail.com>.
13794
f0967738 137952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13796
13797 [BZ #12140]
13798 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13799 perturbing.
13800
d0b9e94f
MB
138012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13802
13803 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13804 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13805 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13806 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13808 submachine.
13809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13810
8e9f92e9
AS
138112010-10-22 Andreas Schwab <schwab@redhat.com>
13812
13813 * include/dlfcn.h (__RTLD_SECURE): Define.
13814 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13815 mode & __RTLD_SECURE instead.
13816 (open_path): Rename preloaded parameter to secure.
13817 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13818 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13819 * elf/dl-deps.c (openaux): Likewise.
13820 * elf/rtld.c (struct map_args): Remove is_preloaded.
13821 (map_doit): Don't use it.
13822 (dl_main): Likewise.
13823 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13824 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13825
bc96fbda
AS
138262010-09-09 Andreas Schwab <schwab@redhat.com>
13827
13828 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13829 (sysd-rules-targets): Remove duplicates.
13830 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13831 rtld-%.$o dependency.
13832
22cd1c9b
AS
138332010-10-18 Andreas Schwab <schwab@redhat.com>
13834
13835 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13836 _dl_map_object do it.
13837
18edac48
UD
138382010-10-19 Ulrich Drepper <drepper@gmail.com>
13839
13840 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13841 fast fma builtins, define the macros in the C99 standard.
13842 (FP_FAST_FMAF): Likewise.
13843 (FP_FAST_FMAL): Likewise.
13844 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13845
13846 * bits/mathdef.h: Update copyright year.
13847 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13848
d2050124
MM
138492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13850
13851 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13852 builtins, define the macros in the C99 standard.
13853 (FP_FAST_FMAF): Likewise.
13854 (FP_FAST_FMAL): Likewise.
13855 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13856 multiply/add.
13857 (FP_FAST_FMAF): Likewise.
13858
475facd1
JJ
138592010-10-15 Jakub Jelinek <jakub@redhat.com>
13860
13861 [BZ #3268]
13862 * math/libm-test.inc (fma_test): Some new testcases.
13863 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13864 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13865 y and infinite z. Do multiplication by C already in long double.
13866 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13868 y and infinite z. Do bitwise or of inexact bit into u.d.
13869 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13870 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13871 * sysdeps/i386/fpu/s_fma.S: Removed.
13872 * sysdeps/i386/fpu/s_fmal.S: Removed.
13873
7c08a05c
JJ
138742010-10-16 Jakub Jelinek <jakub@redhat.com>
13875
13876 [BZ #3268]
13877 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13878 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13879 computation is not scheduled after fetestexcept. Fix value
13880 of minimum denormal long double.
13881
f3f7372d
JJ
138822010-10-14 Jakub Jelinek <jakub@redhat.com>
13883
13884 [BZ #3268]
13885 * math/libm-test.inc (fma_test): Add some more tests.
13886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13887 correctly.
13888
14d43591
AS
138892010-10-15 Andreas Schwab <schwab@redhat.com>
13890
13891 * scripts/data/localplt-s390-linux-gnu.data: New file.
13892 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13893
5e908464
JJ
138942010-10-13 Jakub Jelinek <jakub@redhat.com>
13895
13896 [BZ #3268]
13897 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13898 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13899 instead of dbl-64.
13900 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13901 inlines.
13902 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13903 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13904 if one of x and y is very large and the other is subnormal.
13905 * sysdeps/s390/fpu/s_fmaf.c: New file.
13906 * sysdeps/s390/fpu/s_fma.c: New file.
13907 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13908 * sysdeps/powerpc/fpu/s_fma.S: New file.
13909 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13910 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13911 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13912
139132010-10-12 Jakub Jelinek <jakub@redhat.com>
13914
13915 [BZ #3268]
13916 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13917 fma tests.
13918 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13919 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13920 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13921 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13922 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13923 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13924 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13925
b833d51f
UD
139262010-10-12 Ulrich Drepper <drepper@redhat.com>
13927
13928 [BZ #12078]
13929 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13930 * posix/bug-regex31.input: Add test case.
13931
1751705d
UD
139322010-10-11 Ulrich Drepper <drepper@gmail.com>
13933
e9b9cbf5
UD
13934 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13935 * posix/bug-regex31.input: New file.
13936
13937 [BZ #12078]
13938 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13939 (parse_sub_exp): Fix last change, use postorder.
13940
ef06edbe
UD
13941 * posix/bug-regex31.c: New file.
13942 * posix/Makefile: Add rules to build and run bug-regex31.
13943
a129c80d
UD
13944 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13945
13946 [BZ #12078]
13947 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13948
b76b818e
UD
13949 [BZ #12108]
13950 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13951 to have entries in sys_siglist.
13952
1751705d
UD
13953 [BZ #12093]
13954 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13955 be NULL.
13956
9ff8d36f
JJ
139572010-10-07 Jakub Jelinek <jakub@redhat.com>
13958
13959 [BZ #3268]
13960 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13961 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13962 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13963 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13964 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13965 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13966 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13967 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13968 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13969 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13970 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13971 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13972 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13973 * math/ftestexcept.c (fetestexcept): Likewise.
13974 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13975 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13976 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13977 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13978 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13979 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13980 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13981
af325969
UD
139822010-10-11 Ulrich Drepper <drepper@gmail.com>
13983
c579b202 13984 [BZ #12107]
af325969
UD
13985 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13986 newline.
13987
67a67b95
UD
139882010-10-06 Ulrich Drepper <drepper@gmail.com>
13989
13990 * string/bug-strstr1.c: New file.
13991 * string/Makefile: Add rules to build and run bug-strstr1.
13992
5fb308bc
EB
139932010-10-05 Eric Blake <eblake@redhat.com>
13994
13995 [BZ #12092]
13996 * string/str-two-way.h (two_way_long_needle): Always clear memory
13997 when skipping input due to the shift table.
13998
45db99c7
UD
139992010-10-03 Ulrich Drepper <drepper@gmail.com>
14000
3b111893
UD
14001 [BZ #12005]
14002 * malloc/mcheck.c: Handle large requests.
14003
45db99c7
UD
14004 [BZ #12077]
14005 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14006 for strncmp and strncasecmp.
14007 * string/stratcliff.c: Add tests for strcmp and strncmp.
14008 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14009
cf7a1eb8
NI
140102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14011
14012 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14013 __set_fpscr.
14014
6484ba5e
AJ
140152010-09-30 Andreas Jaeger <aj@suse.de>
14016
14017 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14018 (CGROUP_SUPER_MAGIC): Define.
14019 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14020 Handle btrfs and cgroup file systems.
14021 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14022 Likewise.
14023
91c42559
LM
140242010-09-27 Luis Machado <luisgpm@br.ibm.com>
14025
14026 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14027 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14028
87a97932
AK
140292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14030
14031 [BZ #12067]
14032 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14033 trying to locate the ELF header.
14034
c21cc9bc
AS
140352010-09-27 Andreas Schwab <schwab@redhat.com>
14036
14037 [BZ #11611]
14038 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14039 Mask out sign-bit copies when constructing f_fsid.
14040
315970f6
PB
140412010-09-24 Petr Baudis <pasky@suse.cz>
14042
14043 * debug/stack_chk_fail_local.c: Add missing licence exception.
14044 * debug/warning-nop.c: Likewise.
14045
1ac7a2c7
JM
140462010-09-15 Joseph Myers <joseph@codesourcery.com>
14047
14048 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14049 implementing getdents64 using getdents syscall, set d_type if
14050 __ASSUME_GETDENTS32_D_TYPE.
14051
56801c50
AS
140522010-09-16 Andreas Schwab <schwab@redhat.com>
14053
14054 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14055 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14056
dda51327
UD
140572010-09-21 Ulrich Drepper <drepper@redhat.com>
14058
14059 [BZ #12037]
14060 * posix/unistd.h: Undo change of feature selection for ftruncate from
14061 2010-01-11.
14062
8ffcee4a
UD
140632010-09-20 Ulrich Drepper <drepper@redhat.com>
14064
a545ecd9 14065 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14066 detection.
14067
e24f0a8b
AS
140682010-09-20 Andreas Schwab <schwab@redhat.com>
14069
14070 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14071 fanotify_mark.
14072 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14073
7291c56f
AS
140742010-09-14 Andreas Schwab <schwab@redhat.com>
14075
14076 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14077 variables after CHECK_SP call.
14078 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14079
bc5fb037
AS
140802010-09-13 Andreas Schwab <schwab@redhat.com>
14081 Ulrich Drepper <drepper@redhat.com>
14082
14083 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14084 re-relocationg ld.so.
14085 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14086 _dl_init_paths call.
14087 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14088 here anymore.
14089
e66e7419
UD
140902010-09-14 Ulrich Drepper <drepper@redhat.com>
14091
14092 * resolv/res_init.c (__res_vinit): Count the default server we added.
14093
c044aa75
CLT
140942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14095 Ulrich Drepper <drepper@redhat.com>
14096
14097 [BZ #11968]
14098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14099 (____longjmp_chk): Use %ebx for saving value across system call.
14100 Add unwind info.
14101
32cf4069
AS
141022010-09-06 Andreas Schwab <schwab@redhat.com>
14103
14104 * manual/Makefile: Don't mix pattern rules with normal rules.
14105
817328ee
AS
141062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14107
14108 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14109 operation.
14110 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14111 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14112 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14113 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14114 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14115 Likewise.
14116
29fddf61
UD
141172010-09-04 Ulrich Drepper <drepper@redhat.com>
14118
14119 [BZ #11979]
14120 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14121 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14122
0959ffc9
UD
141232010-09-02 Ulrich Drepper <drepper@redhat.com>
14124
14125 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14126 * sysdeps/x86_64/addmul_1.S: Likewise.
14127 * sysdeps/x86_64/lshift.S: Likewise.
14128 * sysdeps/x86_64/mul_1.S: Likewise.
14129 * sysdeps/x86_64/rshift.S: Likewise.
14130 * sysdeps/x86_64/sub_n.S: Likewise.
14131 * sysdeps/x86_64/submul_1.S: Likewise.
14132
ece29840
ST
141332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14134
0959ffc9
UD
14135 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14136 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14137 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14138 * bits/sched.h [__need_schedparam]
ece29840 14139 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14140 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14141 (__defined_schedparam): Define to 1.
ece29840
ST
14142 (__sched_param): New structure, identical to sched_param.
14143 (__need_schedparam): Undefine.
14144
e53a31fe
MF
141452010-08-31 Mike Frysinger <vapier@gentoo.org>
14146
fdc0c10d
MF
14147 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14148 (epoll_create1): Declare.
14149
e53a31fe
MF
14150 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14151
a726d796
AS
141522010-08-31 Andreas Schwab <schwab@redhat.com>
14153
14154 [BZ #7066]
14155 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14156 shifting retval into place.
14157
2f3e3dc7
UD
141582010-09-01 Ulrich Drepper <drepper@redhat.com>
14159
f2933da9
UD
14160 * nis/rpcsvc/nis.h: Update copyright notice.
14161 * nis/rpcsvc/nis.x: Likewise.
14162 * nis/rpcsvc/nis_callback.h: Likewise.
14163 * nis/rpcsvc/nis_callback.x: Likewise.
14164 * nis/rpcsvc/nis_object.x: Likewise.
14165 * nis/rpcsvc/nis_tags.h: Likewise.
14166 * nis/rpcsvc/yp.h: Likewise.
14167 * nis/rpcsvc/yp.x: Likewise.
14168 * nis/rpcsvc/ypupd.h: Likewise.
14169 * nis/yp_xdr.c: Likewise.
14170 * nis/ypupdate_xdr.c: Likewise.
14171
2f3e3dc7
UD
14172 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14173 mainly the body of pmap_getport. Add parameters to specify timeouts.
14174 (pmap_getport): Use __libc_rpc_getport.
14175 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14176 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14177 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14178
f3dcc2f9
AS
141792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14180
14181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14182 fanotify_mark.
14183
6d34eb5b
RM
141842010-08-27 Roland McGrath <roland@redhat.com>
14185
14186 * sysdeps/i386/i686/multiarch/Makefile
14187 (CFLAGS-varshift.c): New variable.
14188
9ea3de11
UD
141892010-08-27 Ulrich Drepper <drepper@redhat.com>
14190
c96d23fc
UD
14191 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14192 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14193
9ea3de11
UD
14194 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14195
14196 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14197
623aac7f
L
141982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14199
14200 * sysdeps/x86_64/strlen.S: Unroll the loop.
14201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14202 strlen-sse2 strlen-sse2-bsf.
14203 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14204 __strlen_no_bsf if bit_Slow_BSF is set.
14205 (__strlen_sse42): Removed.
14206 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14207 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14208
8b2b7715
RM
142092010-08-25 Roland McGrath <roland@redhat.com>
14210
14211 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14212 * sysdeps/x86_64/multiarch/varshift.c: New file.
14213 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14214 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14215 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14216 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14217
e73015f2
L
142182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14219
14220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14221 strlen-sse2 strlen-sse2-bsf.
14222 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14223 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14224 (__strlen_sse2): Removed.
14225 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14226 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14228 bit_Slow_BSF for Atom.
14229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14230 (index_Slow_BSF): Define.
14231 (HAS_SLOW_BSF): Define.
14232
df24a73e
UD
142332010-08-25 Ulrich Drepper <drepper@redhat.com>
14234
14235 [BZ #10851]
14236 * resolv/res_init.c (__res_vinit): When no server address at all
14237 is given default to loopback.
14238
f2ac4868
RM
142392010-08-24 Roland McGrath <roland@redhat.com>
14240
09055553
RM
14241 * configure.in: Remove config-name.h generation.
14242 * configure: Regenerated.
14243 * config-name.in: File removed.
14244 * scripts/config-uname.sh: New file.
14245 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14246 ($(objdir)config-name.h): New target.
14247
f2ac4868
RM
14248 * sunrpc/rpc_parse.h: Avoid nested comment.
14249
73f27d5e
RH
142502010-08-24 Richard Henderson <rth@redhat.com>
14251 Ulrich Drepper <drepper@redhat.com>
14252 H.J. Lu <hongjiu.lu@intel.com>
14253
14254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14256 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14257 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14258 _mm_alignr_epi8 with _mm_loadu_si128.
14259 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14260 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14261 (__m128i_shift_right): Removed.
14262 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14263 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14264 * sysdeps/x86_64/multiarch/varshift.h: New file.
14265 * sysdeps/x86_64/multiarch/varshift.S: New file.
14266
84b9230c
MF
142672010-08-21 Mike Frysinger <vapier@gentoo.org>
14268
14269 * configure.in: Move assembler checks to before sysdep dir checking.
14270
9bbd0ddc
PB
142712010-08-20 Petr Baudis <pasky@suse.cz>
14272
14273 * LICENSES: Sync the sunrpc license.
14274
9da4bb31
UD
142752010-08-19 Ulrich Drepper <drepper@redhat.com>
14276
a7ab6ec8
UD
14277 * sunrpc/auth_des.c: Update copyright notice once again.
14278 * sunrpc/auth_none.c: Likewise.
14279 * sunrpc/auth_unix.c: Likewise.
14280 * sunrpc/authdes_prot.c: Likewise.
14281 * sunrpc/authuxprot.c: Likewise.
14282 * sunrpc/bindrsvprt.c: Likewise.
14283 * sunrpc/clnt_gen.c: Likewise.
14284 * sunrpc/clnt_perr.c: Likewise.
14285 * sunrpc/clnt_raw.c: Likewise.
14286 * sunrpc/clnt_simp.c: Likewise.
14287 * sunrpc/clnt_tcp.c: Likewise.
14288 * sunrpc/clnt_udp.c: Likewise.
14289 * sunrpc/clnt_unix.c: Likewise.
14290 * sunrpc/des_crypt.c: Likewise.
14291 * sunrpc/des_soft.c: Likewise.
14292 * sunrpc/get_myaddr.c: Likewise.
14293 * sunrpc/getrpcport.c: Likewise.
14294 * sunrpc/key_call.c: Likewise.
14295 * sunrpc/key_prot.c: Likewise.
14296 * sunrpc/openchild.c: Likewise.
14297 * sunrpc/pm_getmaps.c: Likewise.
14298 * sunrpc/pm_getport.c: Likewise.
14299 * sunrpc/pmap_clnt.c: Likewise.
14300 * sunrpc/pmap_prot.c: Likewise.
14301 * sunrpc/pmap_prot2.c: Likewise.
14302 * sunrpc/pmap_rmt.c: Likewise.
14303 * sunrpc/rpc/auth.h: Likewise.
14304 * sunrpc/rpc/auth_unix.h: Likewise.
14305 * sunrpc/rpc/clnt.h: Likewise.
14306 * sunrpc/rpc/des_crypt.h: Likewise.
14307 * sunrpc/rpc/key_prot.h: Likewise.
14308 * sunrpc/rpc/netdb.h: Likewise.
14309 * sunrpc/rpc/pmap_clnt.h: Likewise.
14310 * sunrpc/rpc/pmap_prot.h: Likewise.
14311 * sunrpc/rpc/pmap_rmt.h: Likewise.
14312 * sunrpc/rpc/rpc.h: Likewise.
14313 * sunrpc/rpc/rpc_des.h: Likewise.
14314 * sunrpc/rpc/rpc_msg.h: Likewise.
14315 * sunrpc/rpc/svc.h: Likewise.
14316 * sunrpc/rpc/svc_auth.h: Likewise.
14317 * sunrpc/rpc/types.h: Likewise.
14318 * sunrpc/rpc/xdr.h: Likewise.
14319 * sunrpc/rpc_clntout.c: Likewise.
14320 * sunrpc/rpc_cmsg.c: Likewise.
14321 * sunrpc/rpc_common.c: Likewise.
14322 * sunrpc/rpc_cout.c: Likewise.
14323 * sunrpc/rpc_dtable.c: Likewise.
14324 * sunrpc/rpc_hout.c: Likewise.
14325 * sunrpc/rpc_main.c: Likewise.
14326 * sunrpc/rpc_parse.c: Likewise.
14327 * sunrpc/rpc_parse.h: Likewise.
14328 * sunrpc/rpc_prot.c: Likewise.
14329 * sunrpc/rpc_sample.c: Likewise.
14330 * sunrpc/rpc_scan.c: Likewise.
14331 * sunrpc/rpc_scan.h: Likewise.
14332 * sunrpc/rpc_svcout.c: Likewise.
14333 * sunrpc/rpc_tblout.c: Likewise.
14334 * sunrpc/rpc_util.c: Likewise.
14335 * sunrpc/rpc_util.h: Likewise.
14336 * sunrpc/rpcinfo.c: Likewise.
14337 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14338 * sunrpc/rpcsvc/key_prot.x: Likewise.
14339 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14340 * sunrpc/rpcsvc/mount.x: Likewise.
14341 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14342 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14343 * sunrpc/rpcsvc/rex.x: Likewise.
14344 * sunrpc/rpcsvc/rstat.x: Likewise.
14345 * sunrpc/rpcsvc/rusers.x: Likewise.
14346 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14347 * sunrpc/rpcsvc/spray.x: Likewise.
14348 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14349 * sunrpc/rtime.c: Likewise.
14350 * sunrpc/svc.c: Likewise.
14351 * sunrpc/svc_auth.c: Likewise.
14352 * sunrpc/svc_authux.c: Likewise.
14353 * sunrpc/svc_raw.c: Likewise.
14354 * sunrpc/svc_run.c: Likewise.
14355 * sunrpc/svc_simple.c: Likewise.
14356 * sunrpc/svc_tcp.c: Likewise.
14357 * sunrpc/svc_udp.c: Likewise.
14358 * sunrpc/svc_unix.c: Likewise.
14359 * sunrpc/svcauth_des.c: Likewise.
14360 * sunrpc/xcrypt.c: Likewise.
14361 * sunrpc/xdr.c: Likewise.
14362 * sunrpc/xdr_array.c: Likewise.
14363 * sunrpc/xdr_float.c: Likewise.
14364 * sunrpc/xdr_mem.c: Likewise.
14365 * sunrpc/xdr_rec.c: Likewise.
14366 * sunrpc/xdr_ref.c: Likewise.
14367 * sunrpc/xdr_sizeof.c: Likewise.
14368 * sunrpc/xdr_stdio.c: Likewise.
14369
9da4bb31
UD
14370 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14371 handling.
14372
bdaa77bc
AS
143732010-08-19 Andreas Schwab <schwab@redhat.com>
14374
14375 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14376
fe2f79db
LM
143772010-08-19 Luis Machado <luisgpm@br.ibm.com>
14378
14379 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14380 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14381 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14382 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14383 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14384 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14385 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14386 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14387 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14388 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14389 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14390 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14391 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14392 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14393
b9b42ee0
AB
143942010-07-26 Anton Blanchard <anton@samba.org>
14395
14396 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14397 * malloc/arena.c (heap_trim): Likewise.
14398
1c06ba31
UD
143992010-08-16 Ulrich Drepper <drepper@redhat.com>
14400
14401 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14402 here. Not...
14403 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14404 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14405
f8392f40
L
144062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14407
14408 * sysdeps/i386/elf/Makefile: New file.
14409
3162f12e
AS
144102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14411
14412 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14413 from fanotify_init.
14414 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14415 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14416
28c90b2c
UD
144172010-08-15 Ulrich Drepper <drepper@redhat.com>
14418
14419 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14420 of strncasecmp_l.
1feccb6c 14421 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14422
ca6bb004
UD
144232010-08-14 Ulrich Drepper <drepper@redhat.com>
14424
e9f82e0d
UD
14425 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14426 strncase_l-nonascii.
14427 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14428 Add strncase_l-ssse3.
14429 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14430 * sysdeps/x86_64/strcmp.S: Likewise.
14431 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14432 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14433 * sysdeps/x86_64/strncase.S: New file.
14434 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14435 * sysdeps/x86_64/strncase_l.S: New file.
14436 * string/Makefile (strop-tests): Add strncasecmp.
14437 * string/test-strncasecmp.c: New file.
14438
14439 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14440 warning.
14441
ca6bb004
UD
14442 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14443 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14444
052fa7b3
AS
144452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14446
14447 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14448
962dba78
UD
144492010-08-12 Ulrich Drepper <drepper@redhat.com>
14450
14451 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14452 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14453 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14454
bebff237
AM
144552010-05-01 Alan Modra <amodra@gmail.com>
14456
14457 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14458 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14459 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14460 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14461 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14462 tidying. Don't tail-call __sigjmp_save for static lib.
14463 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14464 save location.
14465 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14466 (CALL_MCOUNT): Add eh info, and nop after bl.
14467 (TAIL_CALL_SYSCALL_ERROR): New macro.
14468 (PSEUDO_RET): Use it.
14469 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14470 Correct save location of integer regs and cr.
14471 (_dl_profile_resolve): Correct cr save location. Delete nops
14472 after bl when SHARED. Reduce cfi size a little by better
14473 placement of cfi directives.
14474 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14475 make a stack frame. Instead use parm save area as a temp.
14476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14477 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14479 Don't make a stack frame for parent, use parm save area.
14480 Increase child stack frame to 112 bytes. Don't save unused reg,
14481 and adjust reg usage. Set up cfi on error recovery and
14482 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14484 (__makecontext): Add dummy nop after jump to exit.
14485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14486 Use correct parm save area and cr save, reduce stack frame.
14487 Correct cfi for possible PSEUDO_RET frame setup.
14488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14489 Branch to local label emitted by PSEUDO_RET rather than
14490 __syscall_error.
14491
02637374
AS
144922010-08-12 Andreas Schwab <schwab@redhat.com>
14493
14494 [BZ #11904]
14495 * locale/programs/locale.c (print_assignment): New function.
14496 (show_locale_vars): Use it.
14497
c3e2f19b
UD
144982010-08-11 Ulrich Drepper <drepper@redhat.com>
14499
3cdaa6ad
UD
14500 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14501 field.
14502 (struct statfs64): Likewise.
14503 (_STATFS_F_FLAGS): Define.
14504 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14505 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14506 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14507 (ST_VALID): Define locally.
14508 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14509 __statvfs_getflags, use the provided value.
14510 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14511 __ASSUME_STATFS_F_FLAGS.
14512
754f7da3
UD
14513 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14514
10b3bedc
UD
14515 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14516 Add sys/fanotify.h.
14517 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14518 fanotify_mask for GLIBC_2.13.
14519 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14520 fanotify_init and fanotify_mark.
14521 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14522 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14523
c08fb0d7
UD
14524 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14525 Add prlimit.
14526 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14527 prlimit64 for GLIBC_2.13.
14528 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14529 prlimit64.
14530 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14531 syscall.
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14533 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14534 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14535 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14536 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14537 add prlimit alias.
14538 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14539
15bac72b
UD
14540 [BZ #11903]
14541 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14542 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14543
c3e2f19b
UD
14544 * nss/Makefile: Add rules to build and run tst-nss-test1.
14545 * shlib-versions: Add entry for libnss_test1.
14546 * nss/nss_test1.c: New file.
14547 * nss/tst-nss-test1.c: New file.
14548
14549 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14550 (__nss_configure_lookup): Set appropriate entry in
14551 __nss_configure_lookup to true.
14552 * nss/nsswitch.h: Define enum with indeces of databases in
14553 databases and __nss_database_custom arrays. Declare
14554 __nss_database_custom.
14555 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14556 to avoid using nscd when custom rules are installed.
14557 * nss/getXXbyYY_r.c: Likewise.
14558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14559
14560 * nss/nss_files/files-parse.c: Whitespace fixes.
14561
f15ce4d8
UD
145622010-08-09 Ulrich Drepper <drepper@redhat.com>
14563
14564 [BZ #11883]
14565 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14566 * posix/fnmatch_loop.c: Likewise.
14567
d22e4cc9
AK
145682010-07-17 Andi Kleen <ak@linux.intel.com>
14569
14570 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14571 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14572 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14573 * Versions.def [GLIBC_2.13]: Add.
14574
805bc17d
UD
145752010-08-06 Ulrich Drepper <drepper@redhat.com>
14576
14577 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14578 Also fail if tpwd after pwuid call is NULL.
14579
5a42321d
ST
145802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14581
14582 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14583 when converting to ms.
14584
fd3ebeda
ST
145852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14586
14587 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14588 EOPNOTSUPP errors with ENOTTY.
14589 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14590 EOPNOTSUPP errors with ENOTTY.
14591
73507d3a
UD
145922010-07-31 Ulrich Drepper <drepper@redhat.com>
14593
14594 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14595 Add strcasecmp_l-ssse3.
14596 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14597 strcasecmp.
14598 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14599 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14600 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14601
fe36dd02
UD
146022010-07-30 Ulrich Drepper <drepper@redhat.com>
14603
66f6765a
UD
14604 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14605
42e08a54
UD
14606 * string/Makefile (strop-tests): Add strcasecmp.
14607 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14608 strcasecmp_l-nonascii.
14609 (gen-as-const-headers): Add locale-defines.sym.
14610 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14611 * sysdeps/x86_64/strcasecmp.S: New file.
14612 * sysdeps/x86_64/strcasecmp_l.S: New file.
14613 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14614 * sysdeps/x86_64/locale-defines.sym: New file.
14615 * string/test-strcasecmp.c: New file.
14616
fe36dd02
UD
14617 * string/test-strcasestr.c: Test both ends of the range of characters.
14618 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14619
48cbc0d6
RM
146202010-07-29 Roland McGrath <roland@redhat.com>
14621
76e6d6bc 14622 [BZ #11856]
48cbc0d6
RM
14623 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14624
880113d9
UD
146252010-07-27 Ulrich Drepper <drepper@redhat.com>
14626
14627 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14628 for ld.so.
14629
deb9cabb
AS
146302010-07-27 Andreas Schwab <schwab@redhat.com>
14631
14632 * manual/memory.texi (Malloc Tunable Parameters): Document
14633 M_PERTURB.
14634
1c7570ff
RM
146352010-07-26 Roland McGrath <roland@redhat.com>
14636
14637 [BZ #11840]
14638 * configure.in (-fgnu89-inline check): Set and substitute
14639 gnu89_inline, not libc_cv_gnu89_inline.
14640 * configure: Regenerated.
14641 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14642
24fb0f88
UD
146432010-07-26 Ulrich Drepper <drepper@redhat.com>
14644
14645 * string/test-strnlen.c: New file.
14646 * string/Makefile (strop-tests): Add strnlen.
14647 * string/tester.c (test_strnlen): Add a few more test cases.
14648 * string/tst-strlen.c: Better error reporting.
14649
14650 * sysdeps/x86_64/strnlen.S: New file.
14651
8e96b93a
UD
146522010-07-24 Ulrich Drepper <drepper@redhat.com>
14653
14654 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14655 lower-latency instructions.
14656
dbc676d4
UD
146572010-07-23 Ulrich Drepper <drepper@redhat.com>
14658
14659 * string/test-strcasestr.c: New file.
14660 * string/test-strstr.c: New file.
14661 * string/Makefile (strop-tests): Add strstr and strcasestr.
14662 * string/str-two-way.h: Don't undefine MAX.
14663 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14664
f6a31e0e
AS
146652010-07-21 Andreas Schwab <schwab@redhat.com>
14666
14667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14668 strcasestr-nonascii.
14669 (CFLAGS-strcasestr-nonascii.c): Define.
14670 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14671 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14672 Remove unused attribute.
14673
5dbc3b6c
RM
146742010-07-20 Roland McGrath <roland@redhat.com>
14675
14676 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14677 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14678 ld.so.cache was broken. With it, there is no way to disable dsocaps
14679 like LD_HWCAP_MASK can disable hwcaps.
14680
23d101d8
EPM
146812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14682
14683 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14684
cc9f2e47
UD
146852010-07-16 Ulrich Drepper <drepper@redhat.com>
14686
14687 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14688 call in strcasestr.
14689 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14690 __strcasestr_sse42_nonascii.
14691 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14692 strcasestr-nonascii.c.
14693 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14694
77c1b069
LM
146952010-06-15 Luis Machado <luisgpm@br.ibm.com>
14696
14697 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14698 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14699 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14700 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14701
440566c3
UD
147022010-07-09 Ulrich Drepper <drepper@redhat.com>
14703
14704 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14705 fcntl.
14706
5be9d05d
AS
147072010-07-06 Andreas Schwab <schwab@redhat.com>
14708
c30b7ee2 14709 [BZ #11577]
5be9d05d
AS
14710 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14711 dl_signal_cerror.
14712
8a492a67
UD
147132010-07-06 Ulrich Drepper <drepper@redhat.com>
14714
14715 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14716 _PC_PIPE_BUF using F_GETPIPE_SZ.
14717
713df3d5
RM
147182010-07-05 Roland McGrath <roland@redhat.com>
14719
14720 * manual/arith.texi (Rounding Functions): Fix rint description
14721 implicit in round description.
14722
702e8f14
UD
147232010-07-02 Ulrich Drepper <drepper@redhat.com>
14724
14725 * elf/Makefile: Fix linking for a few tests to make recent linker
14726 happy.
14727
52ed8be9
AS
147282010-06-30 Andreas Schwab <schwab@redhat.com>
14729
14730 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14731 $(common-objpfx)libc_nonshared.a.
14732
f47c9a11
LM
147332010-06-21 Luis Machado <luisgpm@br.ibm.com>
14734
14735 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14736 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14737 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14738 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14739 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14740 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14741 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14742 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14757 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14758 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14759 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14760 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14761 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14762 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14763 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14764 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14765 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14766 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14767 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14768 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14783
6fb8cbcb
L
147842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14785
14786 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14787 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14788 * string/memmove.c (memmove): Renamed to ...
14789 (MEMMOVE): ...this. Default to memmove.
14790 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14791 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14792 (END_CHK): Define.
14793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14794 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14795 mempcpy-ssse3-back memmove-ssse3-back.
14796 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14797 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14798 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14799 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14800 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14801 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14802 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14803 * sysdeps/x86_64/multiarch/memmove.c: New file.
14804 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14805 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14806 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14807 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14808 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14809 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14810 Define.
14811 (index_Fast_Copy_Backward): Define.
14812 (HAS_ARCH_FEATURE): Define.
14813 (HAS_FAST_REP_STRING): Define.
14814 (HAS_FAST_COPY_BACKWARD): Define.
14815
4e733bac 148162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14817
14818 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14819 Restore proper fallback handling.
14820
63c4ed22
UD
148212010-06-19 Ulrich Drepper <drepper@redhat.com>
14822
ac2b484c
UD
14823 [BZ #11701]
14824 * posix/group_member.c (__group_member): Correct checking loop.
14825
63c4ed22
UD
14826 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14827 OOM in getpwuid_r correctly. Return error number when the caller
14828 should return, otherwise -1.
14829 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14830 call returning > 0 value.
14831 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14832
765ade4b
AS
148332010-06-07 Andreas Schwab <schwab@redhat.com>
14834
14835 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14836 libc_nonshared.a from targets in modules-names.
14837
80da2e09
KS
148382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14839
14840 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14841 requires it.
14842
158db122
LM
148432010-06-10 Luis Machado <luisgpm@br.ibm.com>
14844
14845 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14846 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14847 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14848 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14849
caa78cf8
AS
148502010-06-02 Andreas Schwab <schwab@redhat.com>
14851
14852 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14853
b2ef2c01
UD
148542010-06-14 Ulrich Drepper <drepper@redhat.com>
14855
14856 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14857 and F_GETPIPE_SZ.
14858 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14859 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14862 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14863 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14864
fbd643b6
RM
148652010-06-14 Roland McGrath <roland@redhat.com>
14866
14867 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14868
f32f2869
JJ
148692010-06-07 Jakub Jelinek <jakub@redhat.com>
14870
14871 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14872 __REDIRECT followed by __THROW.
14873 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14874 * posix/getopt.h (getopt): Likewise.
14875
2a50c078
EPM
148762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14877
14878 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14879 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14880 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14881 in AT_FLAGS.
14882 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14883 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14884
eb5ad2eb
LM
148852010-05-28 Luis Machado <luisgpm@br.ibm.com>
14886
14887 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14888
3c88fe1e
L
148892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14890
14891 [BZ #11640]
14892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14893 Properly check family and model.
14894
d2f73151
TY
148952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14896
14897 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14898
ebd2e13d
LM
148992010-05-24 Luis Machado <luisgpm@br.ibm.com>
14900
14901 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14902
b32b8b45
UD
149032010-05-21 Ulrich Drepper <drepper@redhat.com>
14904
14905 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14906 symbol reference.
14907
9acbe24d
AS
149082010-05-19 Andreas Schwab <schwab@redhat.com>
14909
14910 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14911 symbol reference.
14912
f0ccf6ea
AS
149132010-05-21 Andreas Schwab <schwab@redhat.com>
14914
3d04ff3a
AS
14915 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14916 and internal_recvmmsg.
14917 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14918 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14919 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14920 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14921
f0ccf6ea
AS
14922 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14923 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14924 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14925
5b08ac57
AS
149262010-05-20 Andreas Schwab <schwab@redhat.com>
14927
14928 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14929
4828935d
LM
149302010-05-17 Luis Machado <luisgpm@br.ibm.com>
14931
14932 POWER7 optimizations.
14933 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14934 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14935
373d545e
UD
149362010-05-19 Ulrich Drepper <drepper@redhat.com>
14937
14938 * version.h: Update for 2.13 development version.
14939
21a2b1ae
AS
149402010-05-12 Andrew Stubbs <ams@codesourcery.com>
14941
14942 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14943 exceptions. Return 0.
14944
3f7dcb2b
RM
149452010-05-07 Roland McGrath <roland@redhat.com>
14946
14947 * elf/ldconfig.c (main): Add a const.
14948
5f24d53a 149492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14950
a160f8d8
UD
14951 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14952 (args_options): Add no-idn option.
14953 (ahosts_keys_int): Add idn_flags to ai_flags.
14954 (parse_option): Handle 'i' option to clear idn_flags.
14955
5f24d53a
UD
14956 * malloc/malloc.c (_int_free): Possible race in the most recently
14957 added check. Only act on the data if no current modification
14958 happened.
265bb1ce
UD
14959
14960See ChangeLog.17 for earlier changes.