]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
* misc/getauxval.c (__getauxval): Use unsigned long int.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4a56a162
RH
12012-05-21 Richard Henderson <rth@twiddle.net>
2
3 * misc/getauxval.c (__getauxval): Use unsigned long int.
4 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5 (getauxval): Use unsigned long int.
6
cbc00a03
RM
72012-05-21 Roland McGrath <roland@hack.frob.com>
8
9 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11 __alignof__ (long double).
12
478143fa
AZ
132012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14
15 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16
c7683a6d
RH
172012-05-20 Richard Henderson <rth@twiddle.net>
18
19 * misc/getauxval.c: New file.
20 * misc/sys/auxv.h: New file.
21 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22 (routines): Add getauxval.
23 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25 * elf/dl-sysdep.c (_dl_auxv): Remove.
26 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27 * elf/dl-support.c (_dl_auxv): New variable.
28 (_dl_aux_init): Initialize it.
29 * manual/startup.texi (Auxiliary Vector): New node.
30 * sysdeps/generic/bits/hwcap.h: New file.
31 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34 * sysdeps/sparc/sysdep.h: ... here. Include it.
35 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38 Update.
c7683a6d
RH
39 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47
a6f1845d
AZ
482012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49
50 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51
cbcbe830
DM
522012-05-19 David S. Miller <davem@davemloft.net>
53
54 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55
e0b16cc2
JM
562012-05-19 Joseph Myers <joseph@codesourcery.com>
57
58 [BZ #14123]
59 * math/s_ccosh.c: Include <float.h>
60 (__ccosh): Avoid internal overflow calculating sinh and cosh
61 values before multiplying by sin and cos values.
62 * math/s_ccoshf.c: Likewise.
63 * math/s_ccoshl.c: Likewise.
64 * math/s_csin.c: Likewise.
65 * math/s_csinf.c: Likewise.
66 * math/s_csinl.c: Likewise.
67 * math/s_csinh.c: Likewise.
68 * math/s_csinhf.c: Likewise.
69 * math/s_csinhl.c: Likewise.
70 * math/libm-test.inc (ccos_test): Add more tests.
71 (ccosh_test): Likewise.
72 (csin_test): Likewise.
73 (csinh_test): Likewise.
74 * sysdeps/i386/fpu/libm-test-ulps: Update.
75 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76
6ad13e08
L
772012-05-19 H.J. Lu <hongjiu.lu@intel.com>
78
f66f0ce8
L
79 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
80 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81
6ad13e08
L
82 * sysdeps/x86_64/x32/_itoa.h: Add comment.
83
b1d072a7
JM
842012-05-19 Joseph Myers <joseph@codesourcery.com>
85
86 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
87 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
88 * sysdeps/powerpc/soft-fp/Versions: Likewise.
89 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
90 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
91 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
92 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
93 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
94 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
95 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
96 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
97 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
98 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
99 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
100 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
101 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
102 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
103 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
104 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
105 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
106 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
107 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
108 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
109 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
110 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
111 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
112 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
113 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
114 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
115 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
116 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
117
9eae47cb
AJ
1182012-05-18 Andreas Jaeger <aj@suse.de>
119
120 * csu/.gitignore: Delete.
121
bb07f69f
L
1222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
123
124 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
125 (timex): Use __syscall_slong_t.
126
e6bdb741
AJ
1272012-05-18 Andreas Jaeger <aj@suse.de>
128 Carlos O'Donell <carlos_odonell@mentor.com>
129
130 * manual/install.texi (Configuring and compiling): Update
131 description about files modified in the source directory.
132 * INSTALL: Regenerated.
133
1b74487e
L
1342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
135
136 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
137 value. Use "or" to set return value to -1.
138 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
139 negate return value.
140
a88b64b9
TMQMF
1412012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
142
143 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
144 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
145 failure if the compiler has Graphite support disabled.
146 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
147 Likewise.
148 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
149 CFLAGS-memmove.c): Likewise.
150 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
151 Likewise.
152
3707636e
L
1532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
154
610b8622
L
155 * sysdeps/x86_64/x32/_itoa.h: New file.
156
7cd195df
L
157 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
158 getdents system call only if kernel and user dirents have the
159 same d_ino and d_off.
160
94b07d20
L
161 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
162 LLONG_MAX != LONG_MAX.
163 (_itoa_word): Use _ITOA_WORD_TYPE on value.
164 (_fitoa_word): Likewise.
165
18298070
L
166 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
167 years.
168 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
169 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
170 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
171
553c7ea4
L
172 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
173 include <bits/wordsize.h>. Check __x86_64__ instead of
174 __WORDSIZE.
175 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
176 if __x86_64__ is defined. Use anonymous union on fpstate.
177
3707636e
L
178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
179 anonymous union.
180
b53ef01a
AS
1812012-05-18 Andreas Schwab <schwab@linux-m68k.org>
182
37fb1dc0
AS
183 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
184 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
185 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
186 Refer to _rtld_local_ro instead of _rtld_global_ro.
187 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
188 Likewise.
189 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
190 Likewise.
191 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
192 Likewise.
193 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
194 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
195 of _rtld_global, and rtld_progname instead of _dl_argv[0].
196
b53ef01a
AS
197 * sysdeps/powerpc/powerpc32/dl-machine.c
198 (__elf_machine_runtime_setup) [PROF]: Don't reference
199 _dl_prof_resolve.
200
7a185db2
AJ
2012012-05-18 Andreas Jaeger <aj@suse.de>
202
203 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
204 function only available for GCCs before 3.4 since GCC 3.4
205 introduced a builtin.
206 (lrint): Likewise.
207 (llrintf): Likewise.
208 (llrint): Likewise.
209 (fmaxf): Likewise.
210 (fmax): Likewise.
211 (fminf): Likewise.
212 (fmin): Likewise.
213 (rint): Likewise.
214 (rintf): Likewise.
215 (nearbyint): Likewise.
216 (nearbyintf): Likewise.
217 (ceil): Likewise.
218 (ceilf): Likewise.
219 (floor): Likewise.
220 (floorf): Likewise.
221
3e5aef87
L
2222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
223
428bd707
L
224 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
225 on both fields and cast pointer to __syscall_ulong_t.
226
3e5aef87
L
227 * bits/types.h (__fsword_t): New type.
228 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
229 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
231 (__FSWORD_T_TYPE): Likewise.
232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
233 (__FSWORD_T_TYPE): Likewise.
234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
235 (__FSWORD_T_TYPE): Likewise.
236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
237 (__FSWORD_T_TYPE): Likewise.
238 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
239 __SWORD_TYPE with __fsword_t.
240 (statfs64): Likewise.
241
1ba7c3dc
DM
2422012-05-17 David S. Miller <davem@davemloft.net>
243
244 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
245
59910343
AJ
2462012-05-17 Andreas Jaeger <aj@suse.de>
247
248 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
249 warning.
250
2e4c1e9e
L
2512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
252
253 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
254
de7f5ce7
AJ
2552012-05-17 Andreas Jaeger <aj@suse.de>
256
257 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
258 when it is used.
259
286abc3d
CM
2602012-05-17 Chris Metcalf <cmetcalf@tilera.com>
261
262 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
263
477cc68e
L
2642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
265
266 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
267 * sysdeps/x86_64/tst-mallocalign1.c: New file.
268
1a0994f5
CD
2692012-05-17 Andreas Jaeger <aj@suse.de>
270 Carlos O'Donell <carlos_odonell@mentor.com>
271
272 [BZ #14059]
273 * sysdeps/x86_64/multiarch/init-arch.h
274 (bit_YMM_Usable): Rename to...
275 (bit_AVX_Usable): ... this.
276 (bit_FMA4_Usable): New macro.
277 (bit_XMM_state): New macro.
278 (bit_YMM_state): New macro.
279 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
280 [__ASSEMBLER__] (index_AVX_Usable): ... this.
281 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
282 (CPUID_OSXSAVE): New macro.
283 (CPUID_AVX): New macro.
284 (CPUID_FMA4): New macro.
285 (index_YMM_Usable): Rename to...
286 (index_AVX_Usable): ... this.
287 (HAS_AVX): Use HAS_ARCH_FEATURE.
288 (HAS_FMA4): Likewise.
289 (HAS_YMM_USABLE): Remove.
290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
291 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
292 are present.
293 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
294 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
295 * sysdeps/x86_64/multiarch/Makefile: Likewise.
296 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
297 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
298
0af797de
CM
2992012-05-17 Chris Metcalf <cmetcalf@tilera.com>
300
301 * math/libm-test.c: Support platforms without multiple rounding modes.
302 * math/bug-nextafter.c: Support platforms without FP exceptions.
303 * math/bug-nexttoward.c: Likewise.
304 * math/test-fenv.c: Likewise.
305 * math/test-misc.c: Likewise.
306 * stdlib/bug-getcontext.c: Likewise.
307
e39745ff
AJ
3082012-05-17 Andreas Jaeger <aj@suse.de>
309
310 * manual/examples/search.c (critter_cmp): Change signature to
311 avoid warnings.
312 * manual/string.texi (Collation Functions): Likewise.
313
48970aba
L
3142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
315
316 * bits/types.h: Fold copyright years.
317 * bits/typesizes.h: Likewise.
318 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
320 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
322 * time/time.h: Likewise.
323
bedee953
PP
3242012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
325
326 [BZ #208]
327 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
328 in instead of returning them. Return void.
329 (__libc_mallinfo): Accumulate over all arenas.
330 (__malloc_stats): Adjust for change in int_mallinfo interface.
331
61653dfb
RM
3322012-05-16 Roland McGrath <roland@hack.frob.com>
333
30b99d79
RM
334 [BZ #10375]
335 * configure.in (NM): Add AC_CHECK_TOOL for it.
336 (libc_extra_cflags): New substituted variable.
337 Check for -fstack-protector being used implicitly.
338 * configure: Regenerated.
339 * config.make.in (config-extra-cflags): New variable,
340 gets @libc_extra_cflags@.
341 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
342
61653dfb
RM
343 [BZ #10375]
344 * configure.in: Check for _FORTIFY_SOURCE being predefined.
345 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
346 * configure: Regenerated.
347 * config.make.in (CPPUNDEFS): New substituted variable.
348 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
349 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
350 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
351
661768bb
L
3522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
353
354 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
355 (mq_attr): Use __syscall_slong_t.
356
d4261567
L
3572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
358
359 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
360 Check __x86_64__ instead of __WORDSIZE.
361 (_STAT_VER_LINUX): Likewise.
362 (stat): Check __x86_64__ instead of __WORDSIZE. Use
363 __syscall_ulong_t and __syscall_slong_t.
364 (stat64): Likewise.
365
cf3ff365
L
3662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
367
368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
369
76cf3e4d
L
3702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
371
372 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
373
a637753a
L
3742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
375
376 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
377 __syscall_ulong_t.
378
d5e05119
L
379 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
380 include <bits/wordsize.h>. Check __x86_64__ instead of
381 __WORDSIZE.
382 (greg_t): Use "__extension__ long long int" if __x86_64__ is
383 defined.
384 (mcontext_t): Replace "unsigned long" with "unsigned long long".
385
f62ee380
L
386 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
387 include <bits/wordsize.h>. Check __x86_64__ instead of
388 __WORDSIZE.
389 (user_regs_struct): Use "__extension__ unsigned long long"
390 instead of "unsigned long" if __x86_64__ is defined.
391 (user): Likewise. Pad after pointer field if __ILP32__ is
392 defined.
393
4e124ced
JM
3942012-05-16 Joseph Myers <joseph@codesourcery.com>
395
6a3951a0
JM
396 * configure.in (makeinfo): Require version 4.5 or later. Allow
397 versions 5 to 9.
398 * configure: Regenerated.
399 * manual/install.texi (texinfo): Increase version requirement to
400 4.5 or later.
401 * INSTALL: Regenerated.
402
4e124ced
JM
403 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
404
953ca31a
L
4052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
406
407 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
408
617aca05
L
409 * sysdeps/x86_64/x32/ffs.c: New file.
410
5762f7ae
L
411 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
412 __syscall_ulong_t.
413 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
414 defined. Use __syscall_ulong_t.
415 (shminfo): Use __syscall_ulong_t.
416 (shm_info): Likewise.
417
a26b6856
L
418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
419 __syscall_ulong_t.
420
cb2b9ef7
L
421 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
422 <bits/wordsize.h>.
423 (msgqnum_t): Use __syscall_ulong_t.
424 (msglen_t): Likewise.
425 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
426 __syscall_ulong_t.
427
34683bb0
L
428 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
429 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
430
84a68786
L
431 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
432
48baa5f1
L
433 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
434 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
435
180be88b
L
436 * sysvipc/sys/msg.h (msgbuf): Replace long int with
437 __syscall_slong_t.
438
5e90c8ad
L
439 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
440 include <bits/wordsize.h>. Check __x86_64__ instead of
441 __WORDSIZE.
442
23dfb58b
L
443 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
444 "unsigned long long int" if __x86_64__ is defined.
445 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
446
ce5d54b0
L
447 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
448 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
449 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
450
13dc9eac
L
451 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
452 <stdint.h>.
453 (GET_PC): Cast to uintptr_t first.
454 (GET_FRAME): Likewise.
455 (GET_STACK): Likewise.
456
a7895d15
L
457 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
458 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
459 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
460 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
461 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
462 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
463 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
464 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
465 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
466 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
467 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
468 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
469 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
470 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
471 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
472 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
473 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
474 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
475 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
476 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
477 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
478 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
479 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
480 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
481 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
482 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
483 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
484 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
485 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
486
656416c9
AS
4872012-05-16 Andreas Schwab <schwab@linux-m68k.org>
488
5bd66283
AS
489 * Makerules (+depfiles): Also collect depfiles from .oS in
490 $(extra-objs).
491 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
492 .oS, $(libnldbl-routines)).
493
656416c9
AS
494 * Makerules (native-compile-mkdep-flags): Define.
495 * sunrpc/Makefile (extra-objs): Add $(addprefix
496 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
497 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
498 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
499 calling $(make-target-directory).
500
a46f2169
L
5012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
502
503 * bits/types.h (__snseconds_t): Removed.
504 * time/time.h (struct timespec): Replace __snseconds_t with
505 __syscall_slong_t.
506 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
507 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
508 Likewise.
509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
510 (__SNSECONDS_T_TYPE): Likewise.
511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
512 (__SNSECONDS_T_TYPE): Likewise.
513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
514 (__SNSECONDS_T_TYPE): Likewise.
515
6af6528b
L
5162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
517
518 * sysdeps/mach/hurd/bits/typesizes.h
519 (__SYSCALL_SLONG_TYPE): New macro.
520 (__SYSCALL_ULONG_TYPE): Likewise.
521
de986b56
L
5222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
523
524 * bits/types.h (__syscall_slong_t): New type.
525 (__syscall_ulong_t): Likewise.
526
527 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
528 (__SYSCALL_ULONG_TYPE): Likewise.
529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
530 (__SYSCALL_SLONG_TYPE): Likewise.
531 (__SYSCALL_ULONG_TYPE): Likewise.
532 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
533 (__SYSCALL_SLONG_TYPE): Likewise.
534 (__SYSCALL_ULONG_TYPE): Likewise.
535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
536 (__SYSCALL_SLONG_TYPE): Likewise.
537 (__SYSCALL_ULONG_TYPE): Likewise.
538
85736dc7
L
5392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
540
541 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
542 Add sigaltstack-offsets.sym.
543 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
544 <sigaltstack-offsets.h>.
545 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
546 longjmp_msg pointer.
547 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
548 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
549 signal stack.
550 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
551
cc03b296
JM
5522012-05-15 Joseph Myers <joseph@codesourcery.com>
553
a9538892
JM
554 * elf/stackguard-macros.h: Remove file.
555 * sysdeps/generic/stackguard-macros.h: New file.
556 * sysdeps/i386/stackguard-macros.h: Likewise.
557 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
558 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
559 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
560 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
561 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
562 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
563 * sysdeps/x86_64/stackguard-macros.h: Likewise.
564 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
565 <elf/stackguard-macros.h>.
566
cc03b296
JM
567 [BZ #14109]
568 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
569 __aligned__ in attribute.
570 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
571 (gregset_t): Likewise.
572
93171016
L
5732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
574
575 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
576 * sysdeps/x86_64/64/Implies-after: Here. New file.
577 * sysdeps/x86_64/x32/Implies-after: New file.
578
d86813a0
L
5792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
580
581 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
582 and access return value for _dl_profile_fixup. Use R10_LP to
583 load frame size.
584
2953ec75
L
5852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
586
587 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
588
3b550e9e
L
5892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
590
591 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
592 * sysdeps/x86_64/x32/sysdep.h: New file.
593
eda41706
L
5942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
595
596 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
597 * sysdeps/x86_64/setjmp.S: Likewise.
598
9ea01d93
AZ
5992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
600
601 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
602 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
603 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
604 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
605 remove unused global constant.
606
02a91938
CM
6072012-05-15 Chris Metcalf <cmetcalf@tilera.com>
608
609 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
610 include of <not-cancel.h>.
611
6540185f
RM
6122012-05-15 Roland McGrath <roland@hack.frob.com>
613
614 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
615
509072a0
AJ
6162012-05-15 Jeff Law <law@redhat.com>
617 Andreas Jaeger <aj@suse.de>
618
619 [BZ #13594]
620 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
621 out from...
622 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
623 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
624 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
625 code changing __hst_map_handle.map.
626
ba75122d
RM
6272012-05-15 Roland McGrath <roland@hack.frob.com>
628
629 * configure.in (sysnames): Look for Implies-before and Implies-after
630 files.
631 * configure: Regenerated.
632
890d8bd8
L
6332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
634
635 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
636 8-byte data alignment with LP_SIZE alignment.
637
f6ee6623
L
6382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
639
640 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
641 into R10_LP.
642
ea2626f6
L
6432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
644
645 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
646
085f715e
L
6472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
648
649 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
650 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
651 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
652 Likewise.
653 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
654
be8498fc
L
6552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
656
657 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
658 (stackinfo_sub_sp): Likewise.
659
70bc83b9
L
6602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
661
662 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
663 RAX_LP.
664
9bc0b730
L
6652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
666
667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
668 into R*_LP.
669
6d2850e7
L
6702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
671
672 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
673 sizes into R*_LP.
674
3cb84561
L
6752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
676
677 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
678
54e2ed81
L
6792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
680
681 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
682 into R11_LP and load __x86_64_shared_cache_size_half into
683 R8_LP.
684
8a17f349
L
6852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
686
687 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
688 R8_LP.
689
777b1eea
AZ
6902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
691
692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
693 logb for POWER7.
694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
695 logbf for POWER7.
696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
697 logbl for POWER7.
698 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
699 powerpc32/power7/fpu/s_logb.c via #include.
700 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
701 powerpc32/power7/fpu/s_logbf.c via #include.
702 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
703 powerpc32/power7/fpu/s_logbl.c via #include.
704
d20d4ac2
JM
7052012-05-15 Joseph Myers <joseph@codesourcery.com>
706
707 * README.libm: Remove file.
708
6cdef1ab
L
7092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
710
711 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
712 count for x32. Use R*_LP and omit operand-size suffix.
713
0b254d8f
L
7142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
715
716 * shlib-versions: Move x86_64-.*-linux.* entries to ...
717 * sysdeps/x86_64/64/shlib-versions: Here. New file.
718 * sysdeps/x86_64/x32/shlib-versions: New file.
719
ceb809dc
RM
7202012-05-14 Roland McGrath <roland@hack.frob.com>
721
722 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
723 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
724 Use _dl_fatal_printf instead.
725
37f1abd4
JM
7262012-05-14 Joseph Myers <joseph@codesourcery.com>
727
728 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
729 set if not set by the user. Do not allow for being unset.
730 * sysdeps/unix/sysv/linux/configure: Regenerated.
731
11de3a33
L
7322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
733
734 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
735 the `q' suffix from lea and replace .quad with ASM_ADDR.
736
e02f153a
L
7372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
738
739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
740 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
741 instead of $17.
742 (PTR_DEMANGLE): Likewise.
743
520ae0fd
L
7442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
745
746 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
747 (LP_OP): Likewise.
748 (ASM_ADDR): Likewise.
749 (RAX_LP): Likewise.
750 (RBP_LP): Likewise.
751 (RBX_LP): Likewise.
752 (RCX_LP): Likewise.
753 (RDI_LP): Likewise.
754 (RSI_LP): Likewise.
755 (RSP_LP): Likewise.
756 (R8_LP): Likewise.
757 (R9_LP): Likewise.
758 (R10_LP): Likewise.
759 (R10_LP): Likewise.
760 (R11_LP): Likewise.
761 (R12_LP): Likewise.
762 (R13_LP): Likewise.
763 (R14_LP): Likewise.
764 (R15_LP): Likewise.
765
b985be81
L
7662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
767
768 * sysdeps/x86_64/x32/dl-machine.h: New file.
769
6a4888ff
AJ
7702012-05-14 Andreas Jaeger <aj@suse.de>
771
772 * manual/Makefile (subdir): Remove export of subdir.
773 (all): Remove target.
774 (.PHONY): Remove all from list.
775 (mkinstalldirs): Remove.
776 (.PHONY): Remove installdirs from list.
777 ($(inst_infodir)/libc.info): Use make-target-directory.
778 (installdirs): Remove.
779 (subdir_%): Remove.
780 (glibc-targets): Remove.
781 (lib): Remove.
782 (stubs): Remove.
783 ($(objpfx)stubs ../po/manual.pot): Remove.
784 ($(objpfx)stamp%): Remove.
785 (make-target-directory): Remove.
786 (subdir_install): Remove.
787 (routines): Remove.
788 (aux): Remove.
789 (sources): Remove.
790 (objects): Remove.
791 (headers): Remove.
792
793 [BZ #13750]
794 * manual/.gitignore: Remove, it's not needed anymore.
795 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
796 all files in it.
797 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
798 directory.
799 (texis): Renamed to $(objpfx)texis.
800 (texis-path): New, contains path to generated files.
801 (chapters.%): Use texis-path for complete path, add extra argument
802 libc-texinfo.sh.
803 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
804 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
805 (summary,texi, stamp-summary): Use complete path of
806 files. Generate files in build dir.
807 (dir-add.texi): Build in build dir.
808 (libm-err.texi,stamp-libm-err): Likewise.
809 (version.texi, stamp-version): Likewise.
810 (.%c.texi): Likewise.
811 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
812 (mostlyclean): Remove target.
813 (realclean): Remove target.
814 (generated): Add new variable with contents from mostlyclean and
815 realclean, remove entries duplicated in common-mostlyclean, add
816 stamp-libm-err and stamp-version.
817 (generated-dirs): Add libc directory.
818 ($(inst_infodir)/libc.info): Install files from build dir.
819
820 * manual/install.texi (Configuring and compiling): Adjust since
821 the info files are not part of the tar ball anymore.
822
7ac77294
AJ
8232012-05-14 Andreas Jaeger <aj@suse.de>
824
825 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
826 variable.
827
ffb7875d
JM
8282012-05-14 Joseph Myers <joseph@codesourcery.com>
829
830 [BZ #13717]
831 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
832 to 2.2.0 where earlier.
833 * sysdeps/unix/sysv/linux/configure: Regenerated.
834 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
835 Remove conditional code.
836 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
837 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
838 Remove conditional code.
839 [!__NR_lchown]: Likewise.
840 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
841 [__NR_lchown]: Likewise.
842 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
843 comment referencing __ASSUME_LCHOWN_SYSCALL.
844 * sysdeps/unix/sysv/linux/i386/sigaction.c
845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
847 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
848 Remove conditional code.
849 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
850 (__protocol_available): Remove #if 0 code.
851 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
852 conditional code.
853 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
854 * sysdeps/unix/sysv/linux/kernel-features.h
855 (__ASSUME_GETCWD_SYSCALL): Don't define.
856 (__ASSUME_REALTIME_SIGNALS): Likewise.
857 (__ASSUME_PREAD_SYSCALL): Likewise.
858 (__ASSUME_PWRITE_SYSCALL): Likewise.
859 (__ASSUME_POLL_SYSCALL): Likewise.
860 (__ASSUME_LCHOWN_SYSCALL): Likewise.
861 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
862 non-SPARC.
863 (__ASSUME_SIOCGIFNAME): Don't define.
864 (__ASSUME_MSG_NOSIGNAL): Likewise.
865 (__ASSUME_SENDFILE): Define unconditionally.
866 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
867 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
868 conditional code.
869 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
870 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
871 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
872 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
873 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
874 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
875 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
877 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
880 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
881 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
883 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
886 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
889 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
892 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
895 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
898 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
900 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
901 Remove conditional code.
902 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
903 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
904 Remove conditional code.
905 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
906 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
907 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
908 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
909 Remove conditional code.
910 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
911 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
912 Remove conditional code.
913 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
914 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
915 Remove conditional code.
916 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
917 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
918 Remove conditional code.
919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
920 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
921 Remove conditional code.
922 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
923 * sysdeps/unix/sysv/linux/sh/pwrite64.c
924 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
926 * sysdeps/unix/sysv/linux/sigaction.c
927 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
928 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
929 * sysdeps/unix/sysv/linux/sigpending.c
930 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
931 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
932 * sysdeps/unix/sysv/linux/sigprocmask.c
933 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
934 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
935 * sysdeps/unix/sysv/linux/sigsuspend.c
936 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
937 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
938 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
939 (__libc_missing_rt_sigs): Remove.
940 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
941 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
942 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
943 Remove conditional code.
944 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
945 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
946 return 1.
947 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
948 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
949 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
950 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
951
1bfb7291
AJ
9522012-05-14 Andreas Jaeger <aj@suse.de>
953
caae5a81
AJ
954 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
955 it's not used in glibc.
956 (__coshm1): Likewise.
957 (__acosh1p): Likewise.
958 (__sgn): Likewise.
959
1bfb7291
AJ
960 * manual/string.texi (Copying and Concatenation): Add missing
961 variable in concat example.
962 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
963
c044d724
L
9642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
965
144c5467 966 [BZ #14103]
c044d724
L
967 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
968 __builtin_clzl with __builtin_clzll.
969
2523c62b
L
9702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
971
972 [BZ #14104]
973 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
974 libc_freeres_ptr.
975
d7bb4c42
LD
9762012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
977
978 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
979 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
980 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
981 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
982
9dc4e1fb
MF
9832012-05-14 Mike Frysinger <vapier@gentoo.org>
984
985 * NEWS: Update ia64 info.
986
c7df0112
AS
9872012-05-12 Andreas Schwab <schwab@linux-m68k.org>
988
989 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
990 used as bcopy.
991
dc70356c
TS
9922012-05-12 Thomas Schwinge <thomas@codesourcery.com>
993
994 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
995 * sysdeps/unix/syscalls.list (dup3): Likewise.
996 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
997 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
998
9fb1a21f
L
9992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1000
1001 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1002 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1003
4822a2a5
L
10042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1005
1006 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1007 thread pointer.
1008 (TLS_IE): Use mov/add instead of movq/addq to load thread
1009 pointer.
1010 (TLS_GD_PREFIX): New.
1011 (TLS_GD): Use it.
1012
842b81d6
DM
10132012-05-11 David S. Miller <davem@davemloft.net>
1014
1015 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1016 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1017 (_FPU_SETCW): Likewise.
1018
1cf463cd
L
10192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1022 is 32-byte aligned.
1023
60cc4a18
AS
10242012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1025
1026 [BZ #11837]
1027 * iconvdata/gb18030.c: Update tables.
1028 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1029 characters specially.
1030 (BODY for TO_LOOP): Add encoding of missing ranges.
1031
febb44a4
TS
10322012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1033
1034 [BZ #13673]
1035 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1036 * sysdeps/mach/hurd/dup3.c: Likewise.
1037 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1038 * sysdeps/powerpc/memmove.c:: Likewise.
1039
0a10fb9e
L
10402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1043 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1044
df8a552f
L
10452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 * elf/elf.h (R_X86_64_RELATIVE64): New.
1048 (R_X86_64_NUM): Updated.
1049 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1050 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1051 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1052 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1053 tst-quad1pie tst-quad2pie
1054 (modules-names): Add tst-quadmod1 tst-quadmod2.
1055 ($(objpfx)tst-quad1): New dependency.
1056 ($(objpfx)tst-quad2): Likewise.
1057 ($(objpfx)tst-quad1pie): Likewise.
1058 ($(objpfx)tst-quad2pie): Likewise.
1059 * sysdeps/x86_64/tst-quad1.c: New file.
1060 * sysdeps/x86_64/tst-quad1pie.c: New file.
1061 * sysdeps/x86_64/tst-quad2.c: Likewise.
1062 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1063 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1064 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1065 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1066 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1067
f34d6f84
ST
10682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1069
f42d41d1
ST
1070 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1071 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1072 * streams/stropts.h (t_scalar_t): Define type.
1073
3c3571fc
ST
1074 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1075 (_PATH_PRESERVE): Set to "/var/lib".
1076 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1077
61f06bd3
ST
1078 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1079 instead of int.
1080
918d4d71
ST
1081 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1082 if __dir_mkfile succeeded.
1083
f34d6f84
ST
1084 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1085 checking for _hurd_dtablesize. Unlock it right after having
1086 finished _hurd_dtable allocation.
1087
10589b4a
TS
10882012-05-10 Thomas Schwinge <thomas@schwinge.name>
1089
674cdbc7
TS
1090 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1091 * sysdeps/mach/hurd/configure: Regenerated.
1092 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1093 special-casing to...
1094 * sysdeps/gnu/configure.in: ... this new file.
1095 * sysdeps/unix/sysv/linux/configure: Regenerated.
1096 * sysdeps/gnu/configure: New generated file.
1097
8e41b99f
TS
1098 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1099 for Linux: use nsec instead of usec, as well as:
1100 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1101 members of type struct timespec.
1102 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1103 New macros.
1104 (struct stat64): Likewise.
1105 (_STATBUF_ST_NSEC): New macro.
1106 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1107
10589b4a
TS
1108 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1109 __strtoul_internal rather than strtoul.
1110
63643c85
PT
11112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1112
1113 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1114 and reject them.
1115
3faebe6a
ST
11162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1117
1118 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1119 which preserves existing values.
1120 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1121
c6474b07
PT
11222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1123
1124 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1125 TIMEOUT values. Return EINVAL for NFDS values either negative or
1126 greater than FD_SETSIZE.
1127
1043890b
ST
11282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1129
1130 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1131 allocated, call __vm_protect to finish enabling the existing space, and
1132 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1133 allocate the remainder.
1134
37ed8b9b
PT
11352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1136
1137 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1138 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1139
db653660
ST
11402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1141
37ed8b9b
PT
1142 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1143 sysdeps/mach/hurd/readlink.c.
b29d4053 1144
db653660
ST
1145 * posix/tst-sysconf.c (posix_options): Only use
1146 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1147 _POSIX_SYNCHRONIZED_IO when they are defined
1148 * sysdeps/mach/hurd/bits/posix_opt.h:
1149 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1150 (_XOPEN_REALTIME): Undefine macro.
1151 (_XOPEN_REALTIME_THREADS): Undefine macro.
1152 (_XOPEN_SHM): Undefine macro.
1153 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1154 macro to -1.
1155 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1156 macro to -1.
1157 (_POSIX_ASYNC_IO): Undefine macro.
1158 (_POSIX_PRIORITIZED_IO): Undefine macro.
1159 (_POSIX_SPIN_LOCKS): Define macro to -1.
1160
ee16e894
ST
1161 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1162 SA_NODEFER, SA_RESETHAND.
1163 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1164 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1165 F_DUPFD_CLOEXEC.
1166
6103ae3b
TS
11672012-05-10 Thomas Schwinge <thomas@schwinge.name>
1168
1169 * elf/Makefile (pldd-modules): Define unconditionally.
1170
80b4e5f3
TS
11712012-05-10 Thomas Schwinge <thomas@schwinge.name>
1172
1173 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1174
edadcbd6
ST
11752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1176
1177 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1178 Return ENOENT when name is empty.
1179 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1180
80694780
TS
11812012-05-10 Thomas Schwinge <thomas@schwinge.name>
1182
1792c087
TS
1183 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1184
80694780
TS
1185 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1186
6b645f0d
ST
11872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1188
80694780
TS
1189 Fix mlock in all cases except non-readable pages.
1190 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1191 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1192
6b645f0d
ST
1193 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1194 (__mkdir): When path is `/', just fail with EEXIST.
1195 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1196
e468f8a3
TS
11972012-05-10 Thomas Schwinge <thomas@schwinge.name>
1198
1199 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1200 <sys/uio.h> (for writev).
1201 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1202 and <sys/param.h> (for MIN).
1203
a4186cff
PT
12042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1205
1206 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1207 REQUESTED_TIME. Properly set the remaining time and return EINTR
1208 if interrupted.
1209
510bbf14
TS
12102012-05-10 Thomas Schwinge <thomas@schwinge.name>
1211
1212 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1213 Depend on against $(link-rpcuserlibs).
1214
5d5722e8
ST
12152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1216
a4186cff
PT
1217 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1218 (__libc_stack_end): Do not use attribute_relro.
1219 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1220 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1221 to libthread-provided value.
a4186cff
PT
1222 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1223 attribute_relro.
5d5722e8 1224
37233df9
TS
12252012-05-10 Thomas Schwinge <thomas@schwinge.name>
1226
be971a2b
TS
1227 [BZ #3748]
1228 * bits/libc-lock.h (__libc_once_get): New macro.
1229 * sysdeps/mach/bits/libc-lock.h: Likewise.
1230 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1231 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1232 instead of using implementation details.
1233
37233df9
TS
1234 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1235 * libio/freopen.c: Likewise.
1236 * libio/freopen64.c: Likewise.
1237 * misc/syslog.c: Likewise.
1238 * nscd/connections.c: Likewise.
1239 * nscd/netgroupcache.c: Likewise.
1240 * sysdeps/posix/getcwd.c: Likewise.
1241
38de94a5
RM
12422012-05-10 Roland McGrath <roland@hack.frob.com>
1243
1244 * math/w_ilogbf.c: Add #include <limits.h>.
1245
67530489
ST
12462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1247
a4186cff 1248 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1249 path instead of returning without unlocking.
1250
67530489
ST
1251 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1252 immediate-write ioctls.
1253 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1254
5aa3a74a
TS
12552012-05-10 Thomas Schwinge <thomas@schwinge.name>
1256
18bad2ae
TS
1257 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1258 __builtin_frame_address instead of making assumptions about the
1259 location of the return address relative to DATA. Force early load of
1260 the return address.
1261 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1262 __builtin_frame_address.
1263
5aa3a74a
TS
1264 dup3 for GNU Hurd.
1265 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1266 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1267 implement dup3 and do some further code clean-ups.
1268 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1269 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1270
ecd0de9a
ST
12712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1272
cd9fa985
ST
1273 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1274
a4186cff
PT
1275 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1276 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1277 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1278 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1279 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1280 d->port.lock.
802ca5a5 1281
a4186cff
PT
1282 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1283 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1284 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1285
bcf55240
TS
12862012-05-10 Thomas Schwinge <thomas@schwinge.name>
1287
6960eb42
TS
1288 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1289 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1290 definitions.
1291
eb43375f
TS
1292 accept4 for GNU Hurd.
1293 * include/sys/socket.h (__libc_accept4): New prototype.
1294 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1295 to implement __libc_accept4.
1296 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1297 __libc_accept4.
1298 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1299
bcf55240
TS
1300 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1301 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1302 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1303 signal-defines.sym.
1304
6178c55b
ST
13052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1306
a4186cff 1307 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1308
6f080c2f
TS
13092012-05-10 Thomas Schwinge <thomas@schwinge.name>
1310
1311 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1312 assertion on O_CLOEXEC flag.
1313 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1314 * hurd/intern-fd.c: Likewise.
1315 * hurd/port2fd.c: Likewise.
1316
bcfe3a54
ST
13172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1318
1319 [BZ #3906]
1320 * bits/in.h (IPV6_PKTINFO): Define new macro.
1321 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1322
89c9aa49
AZ
13232012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1324
1325 [BZ #13954]
1326 [BZ #13955]
1327 [BZ #13956]
1328 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1329 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1330 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1331 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1332 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1333 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1334 * math/libm-test.inc (logb_test) : Additional logb tests.
1335
021db4be
AJ
13362012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1337 Andreas Jaeger <aj@suse.de>
1338
1339 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1340 * configure: Regenerated.
1341 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1342 * config.make.in (link-obsolete-rpc): New substituted variable.
1343 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1344 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1345 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1346 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1347 so that libc.a contains the symbols.
1348 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1349 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1350 * sunrpc/auth_none.c: Likewise.
1351 * sunrpc/auth_unix.c: Likewise.
1352 * sunrpc/authdes_prot.c: Likewise.
1353 * sunrpc/authuxprot.c: Likewise.
1354 * sunrpc/clnt_gen.c: Likewise.
1355 * sunrpc/clnt_perr.c: Likewise.
1356 * sunrpc/clnt_raw.c: Likewise.
1357 * sunrpc/clnt_simp.c: Likewise.
1358 * sunrpc/clnt_tcp.c: Likewise.
1359 * sunrpc/clnt_udp.c: Likewise.
1360 * sunrpc/clnt_unix.c: Likewise.
1361 * sunrpc/des_crypt.c: Likewise.
1362 * sunrpc/des_soft.c: Likewise.
1363 * sunrpc/get_myaddr.c: Likewise.
1364 * sunrpc/key_call.c: Likewise.
1365 * sunrpc/key_prot.c: Likewise.
1366 * sunrpc/netname.c: Likewise.
1367 * sunrpc/pm_getmaps.c: Likewise.
1368 * sunrpc/pm_getport.c: Likewise.
1369 * sunrpc/pmap_clnt.c: Likewise.
1370 * sunrpc/pmap_prot.c: Likewise.
1371 * sunrpc/pmap_prot2.c: Likewise.
1372 * sunrpc/pmap_rmt.c: Likewise.
1373 * sunrpc/publickey.c: Likewise.
1374 * sunrpc/rpc_cmsg.c: Likewise.
1375 * sunrpc/rpc_common.c: Likewise.
1376 * sunrpc/rpc_dtable.c: Likewise.
1377 * sunrpc/rpc_prot.c: Likewise.
1378 * sunrpc/rpc_thread.c: Likewise.
1379 * sunrpc/rtime.c: Likewise.
1380 * sunrpc/svc.c: Likewise.
1381 * sunrpc/svc_auth.c: Likewise.
1382 * sunrpc/svc_raw.c: Likewise.
1383 * sunrpc/svc_run.c: Likewise.
1384 * sunrpc/svc_tcp.c: Likewise.
1385 * sunrpc/svc_udp.c: Likewise.
1386 * sunrpc/svc_unix.c: Likewise.
1387 * sunrpc/svcauth_des.c: Likewise.
1388 * sunrpc/xcrypt.c: Likewise.
1389 * sunrpc/xdr.c: Likewise.
1390 * sunrpc/xdr_array.c: Likewise.
1391 * sunrpc/xdr_float.c: Likewise.
1392 * sunrpc/xdr_intXX_t.c: Likewise.
1393 * sunrpc/xdr_mem.c: Likewise.
1394 * sunrpc/xdr_rec.c: Likewise.
1395 * sunrpc/xdr_ref.c: Likewise.
1396 * sunrpc/xdr_sizeof.c: Likewise.
1397 * sunrpc/xdr_stdio.c: Likewise.
1398
b5c086a2
RM
13992012-05-10 Roland McGrath <roland@hack.frob.com>
1400
1401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1402 change. Update copyright years.
1403
6d74dd09
JM
14042012-05-10 Joseph Myers <joseph@codesourcery.com>
1405
1406 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1407
28e72501
MK
14082012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1409 Joseph Myers <joseph@codesourcery.com>
1410 Paul Pluzhnikov <ppluzhnikov@google.com>
1411
1412 [BZ #14012]
1413 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1414 requiring rpcgen.
1415 [cross-compiling] (extra-libs): Likewise.
1416 [cross-compiling] (extra-libs-others): Likewise.
1417 [cross-compiling] (librpcsvc-routines): Likewise.
1418 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1419 [cross-compiling] (omit-deps): Likewise.
1420 (sunrpc-CPPFLAGS): New variable.
1421 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1422 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1423 (cross-rpcgen-objs): New variable.
1424 (extra-objs): Append $(cross-rpcgen-objs).
1425 ($(cross-rpcgen-objs)): New rule.
1426 ($(objpfx)cross-rpcgen): Likewise.
1427 (rpcgen-cmd): Define to use $(built-program-file). Expand
1428 comment.
1429 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1430 ($(objpfx)x%.stmp): Likewise.
1431 * sunrpc/proto.h [IS_IN_build] (_): Define.
1432 [IS_IN_build] (_libc_intl_domainname): Likewise.
1433
c8c59454
L
14342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1435
1436 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1437 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1438 and R_X86_64_TPOFF64.
1439
6f27cd16
JM
14402012-05-10 Joseph Myers <joseph@codesourcery.com>
1441
1442 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1443 sysdeps/unix/sysv/syscalls.list.
1444 (stime): Likewise.
1445 (utime): Likewise.
1446 * sysdeps/unix/sysv/syscalls.list: Remove file.
1447
02467e1c
PE
14482012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1449
1450 [BZ #3440]
1451 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1452 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1453 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1454 (__LC_IDENTIFICATION): Make these macros useful in #if
1455 expressions, as required by C99.
1456
da392631
AS
14572012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1458
1459 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1460 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1461 after this.
1462
8115f29b
L
14632012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1464
1465 * stdlib/longlong.h: Updated from GCC.
1466
bdd74070
AJ
14672012-05-09 Andreas Jaeger <aj@suse.de>
1468
edfe0dbe
AJ
1469 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1470 default is first entry.
1471 (run_mode): Set type.
1472 (main): Remove informal message about syslog.
1473 (options): Fix typo.
1474
bcfe3a54
ST
1475 [BZ #14053]
1476 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1477 to asm.
bcfe3a54
ST
1478 (lrint): Likewise.
1479 (llrintf): Likewise.
1480 (llrint): Likewise.
1481 (rint): Likewise.
1482 (rintf): Likewise.
1483 (nearbyint): Likewise.
1484 (nearbyintf): Likewise.
bdd74070 1485
91d8d69e
AJ
14862012-05-09 Andreas Jaeger <aj@suse.de>
1487 Pedro Alves <palves@redhat.com>
1488
1489 * nscd/nscd.c (run_mode): Use enum.
1490 (main): Cleanup coding style issue.
1491
bb90b80b
AJ
14922012-05-09 Alexandre Oliva <aoliva@redhat.com>
1493 Andreas Jaeger <aj@suse.de>
1494
bcfe3a54
ST
1495 * nscd/nscd.c (go_background): Replaced with...
1496 (run_mode): ... this.
bb90b80b 1497 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1498 (options): Add -F --foreground.
1499 (main): Implement it.
1500 (parse_opt): Parse it.
bb90b80b 1501
1a4b75a1
AJ
15022012-05-09 Andreas Jaeger <aj@suse.de>
1503
1504 [BZ #14083]
1505 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1506 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1507 -Wconversion warning.
1508 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1509 Likewise.
1510
b1cc2472
JM
15112012-05-09 Joseph Myers <joseph@codesourcery.com>
1512
1513 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1514 == 0.
1515 (LC_ALL): Use macro-int-constant.
1516 (LC_COLLATE): Likewise.
1517 (LC_CTYPE): Likewise.
1518 (LC_MESSAGES): Likewise.
1519 (LC_MONETARY): Likewise.
1520 (LC_NUMERIC): Likewise.
1521 (LC_TIME): Likewise.
1522 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1523 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1525 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1526 Specify type.
1527 [C99-based standards] (float_t): Expect type.
1528 [C99-based standards] (double_t): Expect type.
1529 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1530 type.
1531 [C99-based standards] (HUGE_VALL): Likewise.
1532 [C99-based standards] (INFINITY): Likewise.
1533 [C99-based standards] (NAN): Likewise.
1534 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1535 [C99-based standards] (FP_NAN): Likewise.
1536 [C99-based standards] (FP_NORMAL): Likewise.
1537 [C99-based standards] (FP_SUBNORMAL): Likewise.
1538 [C99-based standards] (FP_ZERO): Likewise.
1539 [C99-based standards] (FP_FAST_FMA): Use
1540 optional-macro-int-constant. Specify type. Require == 1.
1541 [C99-based standards] (FP_FAST_FMAF): Likewise.
1542 [C99-based standards] (FP_FAST_FMAL): Likewise.
1543 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1544 [C99-based standards] (FP_ILOGBNAN): Likewise.
1545 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1546 Specify type.
1547 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1548 [C99-based standards] (math_errhandling): Specify type.
1549 [ISO99 || ISO11] (signgam): Do not allow.
1550 [non-C99-based standards] (copysignf): Do not allow.
1551 [non-C99-based standards] (exp2f): Likewise.
1552 [non-C99-based standards] (log2f): Likewise.
1553 [non-C99-based standards] (modff): Allow.
1554 [non-C99-based standards] (erff): Do not allow.
1555 [non-C99-based standards] (erfcf): Likewise.
1556 [non-C99-based standards] (gammaf): Likewise.
1557 [non-C99-based standards] (hypotf): Likewise.
1558 [non-C99-based standards] (j0f): Likewise.
1559 [non-C99-based standards] (j1f): Likewise.
1560 [non-C99-based standards] (jnf): Likewise.
1561 [non-C99-based standards] (lgammaf): Likewise.
1562 [non-C99-based standards] (tgammaf): Likewise.
1563 [non-C99-based standards] (y0f): Likewise.
1564 [non-C99-based standards] (y1f): Likewise.
1565 [non-C99-based standards] (ynf): Likewise.
1566 [non-C99-based standards] (isnanf): Likewise.
1567 [non-C99-based standards] (acoshf): Likewise.
1568 [non-C99-based standards] (asinhf): Likewise.
1569 [non-C99-based standards] (atanhf): Likewise.
1570 [non-C99-based standards] (cbrtf): Likewise.
1571 [non-C99-based standards] (expm1f): Likewise.
1572 [non-C99-based standards] (ilogbf): Likewise.
1573 [non-C99-based standards] (log1pf): Likewise.
1574 [non-C99-based standards] (logbf): Likewise.
1575 [non-C99-based standards] (nextafterf): Likewise.
1576 [non-C99-based standards] (remainderf): Likewise.
1577 [non-C99-based standards] (rintf): Likewise.
1578 [non-C99-based standards] (scalbf): Likewise.
1579 [non-C99-based standards] (copysignl): Likewise.
1580 [non-C99-based standards] (exp2l): Likewise.
1581 [non-C99-based standards] (log2l): Likewise.
1582 [non-C99-based standards] (modfl): Allow.
1583 [non-C99-based standards] (erfl): Do not allow.
1584 [non-C99-based standards] (erfcl): Likewise.
1585 [non-C99-based standards] (gammal): Likewise.
1586 [non-C99-based standards] (hypotl): Likewise.
1587 [non-C99-based standards] (j0l): Likewise.
1588 [non-C99-based standards] (j1l): Likewise.
1589 [non-C99-based standards] (jnl): Likewise.
1590 [non-C99-based standards] (lgammal): Likewise.
1591 [non-C99-based standards] (tgammal): Likewise.
1592 [non-C99-based standards] (y0l): Likewise.
1593 [non-C99-based standards] (y1l): Likewise.
1594 [non-C99-based standards] (ynl): Likewise.
1595 [non-C99-based standards] (isnanl): Likewise.
1596 [non-C99-based standards] (acoshl): Likewise.
1597 [non-C99-based standards] (asinhl): Likewise.
1598 [non-C99-based standards] (atanhl): Likewise.
1599 [non-C99-based standards] (cbrtl): Likewise.
1600 [non-C99-based standards] (expm1l): Likewise.
1601 [non-C99-based standards] (ilogbl): Likewise.
1602 [non-C99-based standards] (log1pl): Likewise.
1603 [non-C99-based standards] (logbl): Likewise.
1604 [non-C99-based standards] (nextafterl): Likewise.
1605 [non-C99-based standards] (remainderl): Likewise.
1606 [non-C99-based standards] (rintl): Likewise.
1607 [non-C99-based standards] (scalbl): Likewise.
1608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1609 [non-C99-based standards] (FP_*): Do not allow.
1610 [C99-based standards] (FP_*): Change to
1611 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1612 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1613 allow.
1614 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1615 (SIG_ERR): Likewise.
1616 [X/Open-based standards] (SIG_HOLD): Likewise.
1617 (SIG_IGN): Likewise.
1618 (SIGABRT): Use macro-int-constant. Specify type. Require
1619 positive value.
1620 (SIGFPE): Likewise.
1621 (SIGILL): Likewise.
1622 (SIGINT): Likewise.
1623 (SIGSEGV): Likewise.
1624 (SIGTER): Likewise.
1625 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1626 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1627 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1628 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1629 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1630 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1631 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1632 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1633 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1634 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1635 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1636 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1637 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1638 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1639 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1640 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1641 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1642 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1643 [X/Open-based standards] (SIGTRAP): Likewise.
1644 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1645 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1646 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1647 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1648 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1649 allow.
1650
b9f1922d
IW
16512012-05-08 Ian Wienand <ianw@vmware.com>
1652
1653 [BZ #14080]
1654 * time/tzset.c (__tzset_parse_tz): Update default rules for
1655 daylight time changes in the Energy Policy Act of 2005.
1656
1db86e88
AJ
16572012-05-09 Andreas Jaeger <aj@suse.de>
1658
1659 [BZ #13983]
1660 * elf/ldconfig.c (parse_conf): Change string to make clear that
1661 ldconfig only issued a warning if ld.so.conf does not exist.
1662
dee4a4e3
DM
16632012-05-08 David S. Miller <davem@davemloft.net>
1664
ee0db190
DM
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1666 movxtod instead of popping the value on the stack.
1667
dee4a4e3
DM
1668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1669
6a43ec98
CD
16702012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1671
1672 * config.h.in: Add HAVE_ARM_PCS_VFP.
1673
05c2c961
RMG
16742012-05-08 Roland Mc Grath <roland@hack.frob.com>
1675
bcfe3a54
ST
1676 [BZ #13979]
1677 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1678 checking but the checks are disabled for any reason.
05c2c961 1679
4b30f61a
L
16802012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1681
1682 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1683 and ELF64_R_TYPE with ELFW(R_TYPE).
1684
eee2bc67
JM
16852012-05-08 Joseph Myers <joseph@codesourcery.com>
1686
7ea5391a
JM
1687 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1688 (ulimit): Likewise.
1689
eee2bc67
JM
1690 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1691 (settimeofday): Likewise.
1692
abb66a67
MF
16932012-05-08 Mike Frysinger <vapier@gentoo.org>
1694
1695 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1696 a struct th_u2 inside the union, and move tu_block/tu_code into
1697 a new th_u3 union of tu_block/tu_code inside of that. Move
1698 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1699 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1700 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1701 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1702 (th_stuff): Change to th_u1.tu_stuff.
1703 (th_data): Define.
1704 (th_msg): Change to th_u1.th_u2.tu_data.
1705
7f18b530
DM
17062012-05-07 David S. Miller <davem@davemloft.net>
1707
05760585
DM
1708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1709
7f18b530
DM
1710 [BZ #14074]
1711 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1712 (SETUP_PIC_REG): Use it.
1713 (SETUP_PIC_REG_LEAF): Use it.
1714
495fd99f
JM
17152012-05-07 Joseph Myers <joseph@codesourcery.com>
1716
1717 [BZ #13885]
1718 [BZ #13923]
1719 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1720 USE_AS_EXPM1L.
1721 (EXPL_FINITE): Likewise.
1722 (FLDLOG): Likewise.
1723 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1724 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1725 e_expl.S.
1726 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1727 USE_AS_EXPM1L.
1728 (EXPL_FINITE): Likewise.
1729 (FLDLOG): Likewise.
1730 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1731 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1732 e_expl.S.
1733 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1734 test of -max_value argument for long double.
1735 * sysdeps/i386/fpu/libm-test-ulps: Update.
1736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1737
6693d694
DM
17382012-05-06 David S. Miller <davem@davemloft.net>
1739
1740 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1741 quad soft-float symbols whose references which are compiler
1742 generated.
1743 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1744
6c23e11c
JM
17452012-05-06 Joseph Myers <joseph@codesourcery.com>
1746
d8b82cad
JM
1747 [BZ #13884]
1748 [BZ #13914]
1749 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1750 USE_AS_EXP10L.
1751 (EXPL_FINITE): Likewise.
1752 (FLDLOG): Likewise.
1753 (c0): Likewise.
1754 (c1): Likewise.
1755 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1756 Adjust comments for base varying.
1757 (__expl_finite): Change alias to EXPL_FINITE.
1758 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1759 e_expl.S.
1760 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1761 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1762 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1763 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1764 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1765 USE_AS_EXP10L.
1766 (EXPL_FINITE): Likewise.
1767 (FLDLOG): Likewise.
1768 (c0): Likewise.
1769 (c1): Likewise.
1770 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1771 Adjust comments for base varying.
1772 (__expl_finite): Change alias to EXPL_FINITE.
1773 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1774 tests for bugs.
1775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1776
6c23e11c
JM
1777 [BZ #14064]
1778 * math/libm-test.inc (check_float_internal): Correct ulp
1779 calculation for subnormal expected results.
1780
29ba805c
AJ
17812012-05-06 Andreas Jaeger <aj@suse.de>
1782
1783 * Makeconfig (+math-flags): New, set to -frounding-math.
1784 (+cflags): Add +math-flags so that all of glibc gets compiled with
1785 it.
1786
1787 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1788
7b17aeda
JM
17892012-05-05 Joseph Myers <joseph@codesourcery.com>
1790
5779f134
JM
1791 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1792 Disable one test.
1793
41498f4d
JM
1794 [BZ #13787]
1795 [BZ #13922]
1796 [BZ #14036]
1797 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1798 (__ieee754_expl): Allow for and saturate large arguments.
1799 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1800 (u_threshold): Likewise.
1801 (__exp): Call __ieee754_exp before checking for overflow and
1802 underflow.
1803 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1804 (u_threshold): Likewise.
1805 (__expf): Call __ieee754_expf before checking for overflow and
1806 underflow.
1807 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1808 (u_threshold): Likewise.
1809 (__expl): Call __ieee754_expl before checking for overflow and
1810 underflow.
1811 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1812 (__ieee754_expl): Allow for and saturate large arguments.
1813 * math/libm-test.inc (exp_test): Add another test. Do not allow
1814 missing overflow exception on overflow.
1815 (expm1_test): Do not allow missing overflow exception on overflow.
1816
6698b8bf
JM
1817 * sysdeps/i386/fpu/e_expl.c: Move to ...
1818 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1819 rather than using inline asm.
1820 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1821 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1822 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1823
7b17aeda
JM
1824 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1825 (nice): Likewise.
1826 (poll): Likewise.
1827 (signal): Likewise.
1828 (time): Likewise.
1829 (times): Likewise.
1830
f7c85819
JM
18312012-05-04 Joseph Myers <joseph@codesourcery.com>
1832
1833 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1834 sysdeps/unix/common/syscalls.list.
1835 (fchmod): Likewise.
1836 (fchown): Likewise.
1837 (ftruncate): Likewise.
1838 (getrusage): Likewise.
1839 (gettimeofday): Likewise.
1840 (setpgid): Likewise.
1841 (setregid): Likewise.
1842 (setreuid): Likewise.
1843 (sigaction): Likewise.
1844 (truncate): Likewise.
1845 (vhangup): Likewise.
1846 * sysdeps/unix/common/syscalls.list: Remove file.
1847 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1848 * sysdeps/unix/sysv/linux/Implies: Likewise.
1849
336270d0
L
18502012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1851
1852 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1854 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1855 Moved to ...
1856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1857 Here.
1858 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1859 to ...
1860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1861 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1862 to ...
1863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1864 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1865 to ...
1866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1867 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1868 to ...
1869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1870 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1871 to ...
1872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1873 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1874 to ...
1875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1876 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1877 to ...
1878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1879 Here.
1880 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1881 to ...
1882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1883 Here.
1884 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1885 to ...
1886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1887 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1888 Moved to ...
1889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1890 Here.
1891 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1892 to ...
1893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1894
d128e450
JM
18952012-05-04 Joseph Myers <joseph@codesourcery.com>
1896
fa8ee516
JM
1897 * sysdeps/unix/common/bits/dirent.h: Remove file.
1898 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1899
d128e450
JM
1900 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1901 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1902 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1903 * sysdeps/unix/bsd/isatty.c: Likewise.
1904 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1905 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1906 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1907
ff8faaf0 19082012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1909
62881be4 1910 [BZ #13563]
31dc8730
AZ
1911 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1912 long double comparison inaccuracies.
1913 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1915
6fef930c
AS
19162012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1917
1918 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1920
8f203e6c
JM
19212012-05-04 Joseph Myers <joseph@codesourcery.com>
1922
1923 [BZ #14049]
1924 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1925 nonzero digits before rounding a hex value.
1926 * stdlib/tst-strtod.c (tests): Add another test.
1927
5197d9c2
AK
19282012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1929
1930 * sysdeps/s390/fpu/libm-test-ulps: Update.
1931
f0c1dedf
AJ
19322012-05-03 Andreas Jaeger <aj@suse.de>
1933
1934 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1935 does not get optimized out.
1936 (malloc_opt_barrier): New.
1937
a65ef2ae 19382012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1939 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1940
2b942cb7 1941 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1942 intermediate file deletion.
2b942cb7 1943 (generated): Add .symlist files.
a65ef2ae 1944
54b71e02
JM
19452012-05-03 Joseph Myers <joseph@codesourcery.com>
1946
1947 [BZ #13775]
1948 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1949 Redirect under this condition.
1950 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1951 [__USE_GNU] (__dprintf_chk): Not under this condition.
1952 [__USE_GNU] (__vdprintf_chk): Likewise.
1953 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1954 under this condition.
1955 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1956 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1957 [__USE_XOPEN2K8] (vdprintf): Likewise.
1958 [__USE_GNU] (__dprintf_chk): Not under this condition.
1959 [__USE_GNU] (__vdprintf_chk): Likewise.
1960 [__USE_GNU] (dprintf): Likewise.
1961 [__USE_GNU] (vdprintf): Likewise.
1962
d3dfcc41
RM
19632012-05-03 Roland McGrath <roland@hack.frob.com>
1964
1965 * elf/Makefile (common-generated): Set this instead of generated for
1966 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1967 $(all-built-dso)-derived lists.
1968
7ac30cc5
AJ
19692012-05-03 Andreas Jaeger <aj@suse.de>
1970
0c51e550
AJ
1971 * sysdeps/i386/fpu/libm-test-ulps: Update.
1972
7ac30cc5
AJ
1973 * FAQ: Removed.
1974 * FAQ.in: Likewise.
1975 * scripts/gen-FAQ.pl: Likewise.
1976 * manual/install.texi (Installation): Point to online location of
1977 FAQ.
1978 * Makefile (files-for-dist): Remove FAQ.
1979 (FAQ): Remove.
1980
d4c2917f
AM
19812012-05-02 Allan McRae <allan@archlinux.org>
1982
1983 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1984 (LDFLAGS-reldepmod5.so): Likewise.
1985 (LDFLAGS-reldep6mod1.so): Likewise.
1986 (LDFLAGS-reldep6mod4.so): Likewise.
1987 (LDFLAGS-reldep8mod3.so): Likewise.
1988 (LDFLAGS-unload4mod1.so): Likewise.
1989 (LDFLAGS-unload4mod2.so): Likewise.
1990 (LDFLAGS-tst-initorder): Likewise.
1991 (LDFLAGS-tst-initordera2.so): Likewise.
1992 (LDFLAGS-tst-initordera3.so): Likewise.
1993 (LDFLAGS-tst-initordera4.so): Likewise.
1994 (LDFLAGS-tst-initorderb2.so): Likewise.
1995 (LDFLAGS-noload): Likewise.
1996 (LDFLAGS-next): Likewise.
1997 (LDFLAGS-order2mod1.so): Likewise.
1998 (LDFLAGS-order2mod2.so): Likewise.
1999 (LDFLAGS-tst-initorder2): Likewise.
2000 (LDFLAGS-tst-initorder2a.so): Likewise.
2001 (LDFLAGS-tst-initorder2b.so): Likewise.
2002 (LDFLAGS-tst-initorder2c.so): Likewise.
2003 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2004
d77f993f
DM
20052012-05-02 David S. Miller <davem@davemloft.net>
2006
2007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2008
171a70b4
PP
20092012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2010
2011 [BZ #14055]
2012 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2013
0be196ad
AJ
20142012-05-02 Andreas Jaeger <aj@suse.de>
2015
2016 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2017 since we manipulate rounding mode.
2018 (CPPFLAGS-test-idouble.c): Likewise.
2019 (CPPFLAGS-test-ifloat.c): Likewise.
2020 (CFLAGS-test-ldouble.c): Likewise.
2021 (CFLAGS-test-double.c): Likewise.
2022 (CFLAGS-test-float.c): Likewise.
2023 (CFLAGS-test-misc.c): Likewise.
2024 (CFLAGS-test-test-fenv.c): Likewise.
2025
4f9d04aa
AZ
20262012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2027
2b942cb7
RM
2028 [BZ #2550]
2029 [BZ #2570]
2030 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2031 comparisons to determine direction to adjust input.
4f9d04aa 2032
82a79e7d
RM
20332012-05-01 Roland McGrath <roland@hack.frob.com>
2034
f5a01ca9
RM
2035 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2036 output to the target.
2037
90fe4186
RM
2038 * scripts/localplt.awk: New file.
2039 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2040 (check-localplt-CFLAGS): Variable removed.
2041 ($(all-built-dso:=.jmprel)): New static pattern rule.
2042 (generated): Add those targets.
2043 (localplt-built-dso): New variable.
2044 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2045
2046 * elf/check-localplt.c: File removed.
2047
82397ed6
RM
2048 * scripts/check-execstack.awk: New file.
2049 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2050 (check-execstack-CFLAGS): Variable removed.
2051 ($(objpfx)check-execstack.h): Target removed.
2052 ($(objpfx)execstack-default): New target.
2053 (generated): Add that instead of check-execstack.h.
2054 ($(all-built-dso:=.phdr)): New static pattern rule.
2055 (generated): Add those targets.
2056 * elf/check-execstack.c: File removed.
2057
82a79e7d
RM
2058 * scripts/check-textrel.awk: New file.
2059 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2060 (check-textrel-CFLAGS): Variable removed.
2061 (all-built-dso): Use := to define.o
2062 ($(all-built-dso:=.dyn)): New static pattern rule.
2063 (generated): Add those targets.
2064 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2065 * config.make.in (READELF): New substituted variable.
2066 * elf/check-textrel.c: File removed.
2067
62fde54f 20682012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2069
615605c9
JM
2070 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2071 allow.
2072 * conform/data/ctype.h-data [C99-based standards] (isblank):
2073 Expect function.
2074 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2075 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2076 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2077 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2078 Specify type. Require positive value.
2079 (EILSEQ): Likewise.
2080 (ERANGE): Likewise.
2081 [ISO || POSIX] (EILSEQ): Do not expect.
2082 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2083 Specify type. Require positive value.
2084 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2085 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2086 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2087 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2088 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2089 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2090 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2091 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2092 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2093 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2094 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2095 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2096 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2097 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2098 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2099 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2100 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2101 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2102 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2103 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2104 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2105 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2106 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2107 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2108 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2109 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2110 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2111 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2112 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2113 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2114 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2115 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2116 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2117 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2118 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2119 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2120 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2121 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2122 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2123 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2124 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2125 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2126 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2127 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2128 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2129 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2130 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2131 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2132 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2133 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2134 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2135 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2136 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2137 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2138 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2139 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2140 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2141 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2142 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2143 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2144 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2145 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2146 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2147 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2148 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2149 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2150 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2151 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2152 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2153 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2154 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2155 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2156 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2157 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2158 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2159 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2160 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2161 Require >= 2.
2162 (FLT_ROUNDS): Expect as macro, not constant.
2163 (FLT_MANT_DIG): Use macro-int-constant.
2164 (DBL_MANT_DIG): Likewise.
2165 (LDBL_MANT_DIG): Likewise.
2166 (FLT_DIG): Likewise.
2167 (DBL_DIG): Likewise.
2168 (LDBL_DIG): Likewise.
2169 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2170 (DBL_MIN_EXP): Likewise.
2171 (LDBL_MIN_EXP): Likewise.
2172 (FLT_MAX_EXP): Use macro-int-constant.
2173 (DBL_MAX_EXP): Likewise.
2174 (LDBL_MAX_EXP): Likewise.
2175 (FLT_MAX_10_EXP): Likewise.
2176 (DBL_MAX_10_EXP): Likewise.
2177 (LDBL_MAX_10_EXP): Likewise.
2178 (FLT_MAX): Use macro-constant.
2179 (DBL_MAX): Likewise.
2180 (LDBL_MAX): Likewise.
2181 (FLT_EPSILON): Use macro-constant. Give upper bound.
2182 (DBL_EPSILON): Likewise.
2183 (LDBL_EPSILON): Likewise.
2184 (FLT_MIN): Likewise.
2185 (DBL_MIN): Likewise.
2186 (LDBL_MIN): Likewise.
2187 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2188 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2189 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2190 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2191 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2192 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2193 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2194 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2195 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2196 [ISO11] (FLT_TRUE_MIN): Likewise.
2197 [ISO11] (LDBL_TRUE_MIN): Likewise.
2198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2199 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2200 (SCHAR_MIN): Use macro-int-constant. Specify type.
2201 (SCHAR_MAX): Likewise.
2202 (UCHAR_MAX): Likewise.
2203 (CHAR_MIN): Likewise.
2204 (CHAR_MAX): Likewise.
2205 (MB_LEN_MAX): Use macro-int-constant.
2206 (SHRT_MIN): Use macro-int-constant. Specify type.
2207 (SHRT_MAX): Likewise.
2208 (USHRT_MAX): Likewise.
2209 (INT_MAX): Likewise.
2210 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2211 bound negative.
2212 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2213 bound with "U".
2214 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2215 bound with "L".
2216 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2217 bound negative. Suffix upper bound with "L".
2218 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2219 bound with "UL".
2220 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2221 Specify type.
2222 [C99-based standards] (LLONG_MAX): Likewise.
2223 [C99-based standards] (ULLONG_MAX): Likewise.
2224 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2225 == 0.
2226 [ISO11] (max_align_t): Require type.
2227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2228
c9140a62
JM
2229 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2230 from $CFLAGS, without defining away __attribute__ calls.
2231 (checknamespace): Use $CFLAGS_namespace.
2232
9af0bf29
JM
2233 * conform/conformtest.pl (@keywords): Only include C99 keywords
2234 for standards based on C99 or C11.
2235
343222a2
JM
2236 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2237 Disable tests.
2238 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2239 UNIX98]: Likewise.
2240
661f8cf0
JM
2241 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2242 usability of symbols in #if.
2243
ee74b9cb
JM
2244 * conform/conformtest.pl: If macro or constant types start
2245 "promoted:", expect the symbol to be of the following type
2246 promoted by the integer promotions.
62fde54f 2247
aafc49b3
JM
2248 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2249 in one place. Also handle "macro-constant".
2250
fefdf574
JM
2251 * conform/conformtest.pl: Only accept expected macro values with
2252 "==". Parse all "macro" lines in one place.
2253 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2254
f2d922fe
JM
2255 * conform/conformtest.pl: Handle braced types on "constant" lines
2256 instead of handling "typed-constant".
2257 * conform/data/signal.h-data: Use "constant" instead of
2258 "typed-constant".
2259
d22956c9
JM
2260 * conform/conformtest.pl: Handle "optional-" at start of lines in
2261 one place rather than duplicating several cases. Handle each
2262 format of "macro" line with initial "optional-".
2263
028e2e38
JM
2264 * conform/conformtest.pl: Only accept expected constant or
2265 optional-constant values with "==". Parse all "constant" lines in
2266 one place. Parse all "optional-constant" lines in one place.
2267 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2268 * conform/data/fmtmsg.h-data: Likewise.
2269 * conform/data/netinet/in.h-data: Likewise.
2270 * conform/data/tar.h-data: Likewise.
2271 * conform/data/limits.h-data: Use "==" form on "constant" and
2272 "optional-constant" lines.
2273
1b8f2850
JM
2274 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2275 Use -std=c99 for XOPEN2K.
2276 (@knownproblems): Remove.
2277 (newtoken): Don't check %isknown.
2278
a05a144b
JM
2279 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2280 Do not expect macro.
2281 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2282 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2283 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2284 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2285 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2286 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2287 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2288 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2289 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2290 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2291 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2292 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2293 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2294 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2295 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2296 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2297 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2298 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2299 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2300 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2301 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2302 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2303 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2304 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2305 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2306 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2307 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2308 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2309 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2310 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2311 [XPG3] (acosh): Likewise.
2312 [XPG3] (asinh): Likewise.
2313 [XPG3] (atanh): Likewise.
2314 [XPG3] (cbrt): Likewise.
2315 [XPG3] (expm1): Likewise.
2316 [XPG3] (ilogb): Likewise.
2317 [XPG3] (log1p): Likewise.
2318 [XPG3] (logb): Likewise.
2319 [XPG3] (nextafter): Likewise.
2320 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2321 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2322 [XPG3] (remainder): Likewise.
2323 [XPG3] (rint): Likewise.
2324 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2325 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2326 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2327 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2328 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2329 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2330 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2331 [UNIX98 || XOPEN2K] (scalb): Expect.
2332 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2333 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2334 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2335 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2336 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2337 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2338 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2339 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2340 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2341 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2342 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2343 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2344 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2345 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2346 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2347 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2348 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2349 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2350 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2351 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2352 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2353 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2354 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2355 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2356 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2357 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2358 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2359 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2360 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2361 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2362 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2363 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2364 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2365 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2366 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2367 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2368 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2369 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2370 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2371 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2372 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2373 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2374 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2375 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2376 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2377 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2378 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2379 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2380 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2381 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2382 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2383 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2384 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2385 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2386 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2387 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2388 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2389 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2390 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2391 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2392 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2393 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2394 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2396 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2397 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2398 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2399 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2400 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2401 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2402 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2403 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2404 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2405 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2406 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2407 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2408 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2419 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2420 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2422 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2423 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2424 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2425 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2426 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2427 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2428 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2429 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2430 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2433 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2437 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2438 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2439 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2440 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2441 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2442 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2443 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2444 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2445 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2446 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2447 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2448 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2449 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2453 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2457 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2461 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2462 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2463 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2469
73c5ebe3
JM
2470 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2471 _XOPEN_SOURCE_EXTENDED for XPG4.
2472
39c33b6c
JM
2473 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2474
62fde54f
JM
2475 * Makeconfig (localtime): Remove variable.
2476 (inst_localtime-file): Likewise.
2477
0741d64c
AS
24782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2479
2480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2481 Update.
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2483 Update.
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2485 Update.
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2487 Update.
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2489 Update.
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2491 Update.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2493 Update.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2495 Update.
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2497 Update.
2498
7cb029ee
JM
24992012-05-01 Joseph Myers <joseph@codesourcery.com>
2500
2501 [BZ #2550]
2502 [BZ #2570]
2503 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2504 comparisons to determine direction to adjust input.
2505 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2506 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2507 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2508 Likewise.
2509 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2510 Likewise.
2511 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2512 Likewise.
2513 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2514 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2515 Likewise.
2516 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2517 Likewise.
2518 * math/libm-test.inc (nexttoward_test): Add more tests.
2519
412bd966
AS
25202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2521
2522 [BZ #14040]
2523 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2524 in version GLIBC_2.1, not GLIBC_2.0.
2525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2526 Likewise.
2527
9568c0c2
JM
25282012-04-30 Joseph Myers <joseph@codesourcery.com>
2529
adfbc8ac
JM
2530 [BZ #13942]
2531 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2532 (1 - x) * (1 + x).
2533 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2534 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2535 * math/libm-test.inc (acos_test): Add more tests.
2536 (asin_test): Likewise.
2537 * sysdeps/i386/fpu/libm-test-ulps: Update.
2538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2539
5ba3cc69
JM
2540 [BZ #14034]
2541 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2542 of square root.
2543 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2544 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2545 * math/libm-test.inc (acos_test_tonearest): New function.
2546 (acos_test_towardzero): Likewise.
2547 (acos_test_downward): Likewise.
2548 (acos_test_upward): Likewise.
2549 (asin_test_tonearest): Likewise.
2550 (asin_test_towardzero): Likewise.
2551 (asin_test_downward): Likewise.
2552 (asin_test_upward): Likewise.
2553 (main): Call the new functions.
2554 * sysdeps/i386/fpu/libm-test-ulps: Update.
2555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2556
9568c0c2
JM
2557 [BZ #13884]
2558 [BZ #13924]
2559 * math/e_exp10.c: Include <float.h>.
2560 (__ieee754_exp10): Handle underflow here rather than multiplying
2561 large negative argument by M_LN10.
2562 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2563 of __ieee754_expf.
2564 * math/e_exp10l.c: Include <float.h>.
2565 (__ieee754_exp10l): Handle underflow here rather than multiplying
2566 large negative argument by M_LN10l.
2567 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2568 spurious overflow exception on underflow.
2569
5ac3ea17
MP
25702012-04-29 Marek Polacek <polacek@redhat.com>
2571
2572 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2573 (__fortify_function): New macro.
2574 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2575 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2576 __extern_always_inline.
2577 * libio/bits/stdio2.h: Likewise.
2578 * libio/bits/stdio.h: Likewise.
2579 * string/string.h: Likewise.
2580 * string/bits/string3.h: Likewise.
2581 * include/stdio.h: Likewise.
2582 * stdlib/bits/stdlib.h: Likewise.
2583 * stdlib/stdlib.h: Likewise.
2584 * rt/bits/mqueue2.h: Likewise.
2585 * rt/mqueue.h: Likewise.
2586 * posix/bits/unistd.h: Likewise.
2587 * posix/unistd.h: Likewise.
2588 * io/bits/poll2.h: Likewise.
2589 * io/bits/fcntl2.h: Likewise.
2590 * io/fcntl.h: Likewise.
2591 * io/sys/poll.h: Likewise.
2592 * misc/bits/syslog.h: Likewise.
2593 * misc/bits/syslog-ldbl.h: Likewise.
2594 * misc/sys/syslog.h: Likewise.
2595 * socket/bits/socket2.h: Likewise.
2596 * socket/sys/socket.h: Likewise.
2597 * debug/tst-chk1.c: Likewise.
2598 * wcsmbs/bits/wchar2.h: Likewise.
2599 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2600 * wcsmbs/wchar.h: Likewise.
2601
ecf0ebfb
AJ
26022012-04-29 Andreas Jaeger <aj@suse.de>
2603
2604 * Makerules (tests): Remove enable-check-abi protection.
2605 (check-abi-warn): Remove.
2606 (check-abi-%): Remove check-abi-warn usage.
2607
2608 * configure.in: Remove check-abi configure option.
2609 * configure: Regenerated.
2610 * config.make.in (enable-check-abi): Remove.
2611
6d5c57fa
AS
26122012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2613
24c5d07e 2614 [BZ #14033]
ded5180a
AS
2615 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2616 double functions to double *_finite functions.
2617
7e0d315d
AS
2618 [BZ #13941]
2619 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2620 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2621 LDBL_MIN_EXP.
2622 * stdio-common/Makefile (tests): Add tst-sprintf3.
2623 * stdio-common/tst-sprintf3.c: New file.
2624
6d5c57fa
AS
2625 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2626 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2627
0749ff8b
JM
26282012-04-28 Joseph Myers <joseph@codesourcery.com>
2629
2630 * conform/conformtest.pl: Remove duplicate typed-constant
2631 handling.
2632
8dbd5d7b
DM
26332012-04-28 David S. Miller <davem@davemloft.net>
2634
2635 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2636 (check-abi-%): Remove AWK script prerequisite and explicit
2637 abilist directory.
2638 (check-abi): Rewrite to just diff the symlist with the abilist.
2639 (config-tls, config-abi-config): Delete, no longer used.
2640 (update-abi-%): Remove AWK script and explicit abilist directory.
2641 (update-abi): Rewrite to simply compare and conditionally copy the
2642 symlist and the sysdep abilist file. Remove update-abi-config
2643 checks.
2644 * abilist/ld.abilist: Remove.
2645 * abilist/libBrokenLocale.abilist: Remove.
2646 * abilist/libanl.abilist: Remove.
2647 * abilist/libcrypt.abilist: Remove.
2648 * abilist/libdl.abilist: Remove.
2649 * abilist/librt.abilist: Remove.
2650 * abilist/libthread_db.abilist: Remove.
2651 * abilist/libutil.abilist: Remove.
2652 * scripts/extract-abilist.awk: Remove.
2653 * scripts/merge-abilist.awk: Remove.
2654 * sysdeps/generic/libcidn.abilist: New file.
2655 * sysdeps/generic/libnss_compat.abilist: New file.
2656 * sysdeps/generic/libnss_db.abilist: New file.
2657 * sysdeps/generic/libnss_dns.abilist: New file.
2658 * sysdeps/generic/libnss_files.abilist: New file.
2659 * sysdeps/generic/libnss_hesiod.abilist: New file.
2660 * sysdeps/generic/libnss_nis.abilist: New file.
2661 * sysdeps/generic/libnss_nisplus.abilist: New file.
2662 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2663 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2664 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2665 file.
2666 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2667 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2668 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2669 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2670 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2671 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2672 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2673 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2674 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2675 file.
2676 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2677 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2678 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2679 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2680 file.
2681 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2682 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2683 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2684 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2685 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2686 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2687 file.
2688 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2689 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2690 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2691 file.
2692 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2694 New file.
2695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2696 New file.
2697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2698 New file.
2699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2700 New file.
2701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2702 New file.
2703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2704 New file.
2705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2706 New file.
2707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2708 New file.
2709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2710 New file.
2711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2712 New file.
2713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2714 New file.
2715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2716 New file.
2717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2718 New file.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2720 file.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2722 New file.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2724 New file.
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2726 file.
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2728 New file.
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2730 New file.
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2732 file.
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2734 New file.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2736 New file.
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2738 New file.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2740 New file.
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2742 New file.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2744 New file.
2745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2747 file.
2748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2749 New file.
2750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2751 file.
2752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2753 file.
2754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2755 file.
2756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2757 file.
2758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2759 file.
2760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2761 New file.
2762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2763 file.
2764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2765 file.
2766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2767 New file.
2768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2769 file.
2770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2772 file.
2773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2774 New file.
2775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2776 file.
2777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2778 file.
2779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2780 file.
2781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2782 file.
2783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2784 file.
2785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2786 New file.
2787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2788 file.
2789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2790 file.
2791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2792 New file.
2793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2794 file.
2795 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2796 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2797 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2798 file.
2799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2800 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2801 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2802 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2803 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2804 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2805 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2806 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2807 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2808 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2811 file.
2812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2813 New file.
2814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2815 file.
2816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2817 file.
2818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2819 file.
2820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2821 file.
2822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2823 file.
2824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2825 New file.
2826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2827 New file.
2828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2829 file.
2830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2831 New file.
2832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2833 file.
2834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2836 file.
2837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2838 New file.
2839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2840 file.
2841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2842 file.
2843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2844 file.
2845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2846 file.
2847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2848 file.
2849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2850 New file.
2851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2852 New file.
2853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2854 file.
2855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2856 New file.
2857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2858 file.
2859
41d73a1b
JM
28602012-04-28 Joseph Myers <joseph@codesourcery.com>
2861
2862 * conform/conformtest.pl: Fix typo in handling typed-constant from
2863 allow-header.
2864
28aeeda4
JM
28652012-04-27 Joseph Myers <joseph@codesourcery.com>
2866
adae8f5e
JM
2867 * README: Cut down references to pre-2.6 Linux kernels and
2868 Linuxthreads. Update lists of configurations in libc and ports
2869 and sort alphabetically. Say "or newer" with Linux kernel version
2870 requirements.
2871
28aeeda4
JM
2872 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2873
a462cb63
RA
28742012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2875
2876 [BZ #887]
2877 * math/libm-test.inc (logb_test_downward): New test to expose
2878 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2879 rounding mode.
2880
6ad3493e
JM
28812012-04-27 Joseph Myers <joseph@codesourcery.com>
2882
2883 [BZ #14027]
2884 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2885 to be done.
2886 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2887 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2888
2ce4f015
JM
28892012-04-26 Joseph Myers <joseph@codesourcery.com>
2890
5aeb141a
JM
2891 * sysdeps/unix/i386/brk.S: Remove file.
2892 * sysdeps/unix/i386/dl-brk.S: Likewise.
2893 * sysdeps/unix/i386/pipe.S: Likewise.
2894 * sysdeps/unix/i386/sigreturn.S: Likewise.
2895 * sysdeps/unix/i386/syscall.S: Likewise.
2896 * sysdeps/unix/i386/vfork.S: Likewise.
2897 * sysdeps/unix/i386/wait.S: Likewise.
2898
7143acae
JM
2899 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2900 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2901
2ce4f015
JM
2902 * configure.in (arm*-none*): Do not allow without
2903 --enable-hacker-mode.
2904 (netbsd*): Remove case setting base_os.
2905 (386bsd*): Likewise.
2906 (freebsd*): Likewise.
2907 (bsdi*): Likewise.
2908 (osf*): Likewise.
2909 (sunos*): Likewise.
2910 (ultrix*): Likewise.
2911 (newsos*): Likewise.
2912 (dynix*): Likewise.
2913 (*bsd*): Likewise.
2914 (sysv*): Likewise.
2915 (isc*): Likewise.
2916 (esix*): Likewise.
2917 (sco*): Likewise.
2918 (minix*): Likewise.
2919 (irix4*): Likewise.
2920 (irix6*): Likewise.
2921 (solaris[2-9]*): Likewise.
2922 (none): Likewise.
2923 * configure: Regenerated.
2924
0ac229c8
AZ
29252012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2926
2927 [BZ #11521]
2928 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2929 overflow or cancellation in calculating denominator.
2930 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2932 down expression to avoid unexpected rounding in newer GCCs.
2933 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2934
33f244f4
DM
29352012-04-26 David S. Miller <davem@davemloft.net>
2936
2937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2938 long-double compat symbols.
2939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2952
cfa1f3e8
DM
29532012-04-25 David S. Miller <davem@davemloft.net>
2954
2955 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2956 HWCAP_* values only after the memory barriers have been defined.
2957 (atomic_full_barrier): Define.
2958 (atomic_read_barrier): Define.
2959 (atomic_write_barrier): Define.
2960
6e236b92
SP
29612012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2962
2963 * shlib-versions: Add libgcc_s version information.
2964 * sysdeps/generic/libgcc_s.h: Remove.
2965 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2966 libgcc_s.h.
2967 * sysdeps/gnu/unwind-resume.c: Likewise.
2968 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2969
aab39a09
DM
29702012-04-25 David S. Miller <davem@davemloft.net>
2971
2972 * sysdeps/unix/sparc/brk.S: Delete.
2973 * sysdeps/unix/sparc/dl-brk.S: Delete.
2974 * sysdeps/unix/sparc/pipe.S: Delete.
2975 * sysdeps/unix/sparc/sysdep.S: Delete.
2976 * sysdeps/unix/sparc/sysdep.h: Delete.
2977 * sysdeps/unix/sparc/vfork.S: Delete.
2978 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2979 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2980 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2981 ret_ERRVAL, r0, r1, MOVE): Define.
2982 (JUMPTARGET): Remove.
2983 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2984 sysdeps/unix/sparc/sysdep.h
2985 (ENTRY, END): Remove.
2986 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2987
a3cc4f48
JM
29882012-04-25 Joseph Myers <joseph@codesourcery.com>
2989
2ed8cda2
JM
2990 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2991 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2992 -DIS_IN_build.
2993
35d76d59
JM
2994 * timezone/README: Update upstream location and email address for
2995 tzcode and tzdata.
2996 * timezone/zdump.c: Update from tzcode 2012b.
2997 * timezone/zic.c: Likewise.
2998
a3cc4f48
JM
2999 * configure.in (libc_cv_as_needed): Remove test.
3000 * configure: Regenerated.
3001 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3002 conditional definition.
3003 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3004 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3005 * config.make.in (have-as-needed): Remove variable.
3006
ceab42c3
SP
30072012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3008 Paul Pluzhnikov <ppluzhnikov@google.com>
3009
3010 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3011 strings correctly.
3012
3ce2865f
CLT
30132012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3014
3015 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3016 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3017 * sysdeps/sh/strlen.S: Likewise.
3018
f37e0d68
JM
30192012-04-24 Joseph Myers <joseph@codesourcery.com>
3020
ae186e9a
JM
3021 * sysdeps/unix/fork.S: Remove file.
3022 * sysdeps/unix/i386/fork.S: Likewise.
3023 * sysdeps/unix/sparc/fork.S: Likewise.
3024
b96914af
JM
3025 * sysdeps/unix/system.c: Remove file.
3026 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3027
f37e0d68
JM
3028 * sysdeps/unix/getegid.S: Remove file.
3029 * sysdeps/unix/geteuid.S: Likewise.
3030
87ef29ca
RM
30312012-04-24 Roland McGrath <roland@hack.frob.com>
3032
83bcd236
RM
3033 * scripts/check-localplt.awk: New file.
3034 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3035 of diff.
3036 * scripts/data/localplt-generic.data: Add a comment.
3037
87ef29ca
RM
3038 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3039 NODE when __dir_mkfile failed.
3040 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3041 Reported by Ludovic Courtès <ludo@gnu.org>.
3042
e5a6e567
AJ
30432012-04-24 Andreas Jaeger <aj@suse.de>
3044
3045 * Makerules (common-clean): Also remove gen-as-const-headers
3046 files.
3047
c1820385
JM
30482012-04-24 Joseph Myers <joseph@codesourcery.com>
3049
3050 * Makerules (native-compile): Do not change working directory for
3051 build. Use $(OUTPUT_OPTION) in command.
3052 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3053
94e02fc4
AZ
30542012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3055
3056 [BZ #13886]
3057 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3058 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3059 * math/libm-test.inc (floor_test): Add more tests.
3060 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3061
3a533ca3
JM
30622012-04-24 Joseph Myers <joseph@codesourcery.com>
3063
940ab4b3
JM
3064 * sysdeps/unix/getdents.c: Remove file.
3065 * sysdeps/unix/sysv/getdents.c: Likewise.
3066 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3067
90e037bd
JM
3068 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3069 sysdeps/unix/mman/syscalls.list.
3070 (mmap): Likewise.
3071 (mprotect): Likewise.
3072 (msync): Likewise.
3073 (munmap): Likewise.
3074 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3075 * sysdeps/unix/mman/syscalls.list: Remove.
3076 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3077
3a533ca3
JM
3078 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3079 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3080 * configure: Regenerated.
3081 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3082 $(libgcc_s_suffix).
3083 * config.make.in (libgcc_s_suffix): Remove variable.
3084
1ad743de
JM
30852012-04-23 Joseph Myers <joseph@codesourcery.com>
3086
4ad451e2
JM
3087 * sysdeps/unix/sysv/gethostname.c: Move to ...
3088 * sysdeps/posix/gethostname.c: ... here.
3089
5e37ce39
JM
3090 * sysdeps/unix/execve.S: Remove file.
3091
1ad743de
JM
3092 * sysdeps/unix/_exit.S: Remove file.
3093
4e681b5b
AJ
30942012-04-23 Andreas Jaeger <aj@suse.de>
3095
3096 [BZ #13739]
3097 * manual/Makefile: Remove make dist support, there's no
3098 need for a stand-alone documentation tar ball.
3099 (TEXI2DVI): Define always, it's not in Makeconfig.
3100 (dist): Removed.
3101 (tar-it): Removed.
3102 (edition): Removed.
3103 (glibc-doc-$(edition).tar): Removed
3104 (%.Z): Removed.
3105 (%.gz): Removed.
3106 (%.uu): Removed.
3107 (ETAGS): Remove, it's in Makeconfig.
3108 (move-if-change): Remove, it's in Makeconfig.
3109
c0baea34
PE
31102013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3111
3112 [BZ #13970]
3113 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3114 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3115 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3116 (strtod_l, strtof_l, strtold_l): Remove __wur.
3117 It is not necessarily an error to ignore strtol's return value.
3118 One can reliably look at the stored endptr to decide whether
3119 the number had valid syntax.
3120
7c0616fa
AJ
31212012-04-21 Andreas Jaeger <aj@suse.de>
3122
803cb6b7 3123 [BZ #13739]
7c0616fa
AJ
3124 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3125
b0fe253f
JM
31262012-04-21 Joseph Myers <joseph@codesourcery.com>
3127
3128 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3129 * sysdeps/unix/sysv/Versions: Remove file.
3130
8280f22d
MT
31312012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3132
3133 [BZ #13927]
3134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3135
75ce411f 31362012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3137
3138 [BZ #7064]
3139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3140 version from __vm86.
3141
097d59fa
JM
31422012-04-20 Joseph Myers <joseph@codesourcery.com>
3143
a90f3bcb
JM
3144 * sysdeps/unix/common/lxstat.c: Remove file.
3145 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3146
edc7ea78
JM
3147 * sysdeps/unix/sysv/Makefile: Remove file.
3148
cb78c221
JM
3149 * sysdeps/unix/sysv/direct.h: Remove file.
3150
efa6a45f
JM
3151 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3152 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3153 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3154 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3155 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3156 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3157 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3158
9c9f2d0c
JM
3159 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3160
4541c83b
JM
3161 * sysdeps/unix/xmknod.c: Remove file.
3162 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3163
f5d153a0
JM
3164 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3165
aa746595
JM
3166 * sysdeps/unix/sysv/i386/time.S: Remove file.
3167
cce5905e
JM
3168 * sysdeps/unix/fxstat.c: Remove file.
3169 * sysdeps/unix/xstat.c: Likewise.
3170 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3171
37fa3841
JM
3172 * sysdeps/unix/sysv/sigaction.c: Remove file.
3173
ff1962a3
JM
3174 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3175 (sysdep_headers): Remove variable.
3176 [termio.h not in sysdep_headers] (generated): Likewise.
3177 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3178 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3179 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3180 * sysdeps/unix/sysv/tcflow.c: Likewise.
3181 * sysdeps/unix/sysv/tcflush.c: Likewise.
3182 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3183 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3184 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3185 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3186 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3187
e7740d31
JM
3188 * sysdeps/unix/siglist.c: Remove file.
3189
ee06f18b
JM
3190 * sysdeps/unix/getppid.S: Remove file.
3191
097d59fa
JM
3192 * sysdeps/unix/mkdir.c: Remove file.
3193 * sysdeps/unix/rmdir.c: Likewise.
3194
ff3d51ec
AS
31952012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3196
3197 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3198 ERR_MAX value.
3199 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3200 errlist-compat value.
3201
50f81fd7
DM
32022012-04-18 David S. Miller <davem@davemloft.net>
3203
3204 * sysdeps/generic/memcopy.h (reg_char): Delete.
3205 * debug/strcat_chk.c: Use char, not reg_char.
3206 * debug/strcpy_chk.c: Likewise.
3207 * debug/strncat_chk.c: Likewise.
3208 * debug/strncpy_chk.c: Likewise.
3209 * string/memchr.c: Likewise.
3210 * string/memrchr.c: Likewise.
3211 * string/rawmemchr.c: Likewise.
3212 * string/strcat.c: Likewise.
3213 * string/strchr.c: Likewise.
3214 * string/strchrnul.c: Likewise.
3215 * string/strcmp.c: Likewise.
3216 * string/strcpy.c: Likewise.
3217 * string/strncat.c: Likewise.
3218 * string/strncmp.c: Likewise.
3219 * string/strncpy.c: Likewise.
3220
8ff41c46
WS
32212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3222
3223 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3224 __builtin_memcopy is called when src and dest ranges are known to not
3225 overlap.
3226
6b652f46
WS
32272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3228
3229 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3230 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3231 fwd_align_merge macro call.
3232 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3233 bwd_align_merge macro call.
3234 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3235
b282631e
WS
32362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3237
3238 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3239 bwd_align_merge macros.
3240 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3241 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3242 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3243
95aa737c
DM
32442012-04-18 David S. Miller <davem@davemloft.net>
3245
3246 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3247
7a99a614
AJ
32482012-04-18 Andreas Jaeger <aj@suse.de>
3249
3250 [BZ# 6794]
3251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3252 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3253 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3254
3255 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3256 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3257 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3258
3259 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3260 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3261 Adjust for changed ldbl-128 files.
3262
3263 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3264 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3265 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3266
e5270c23
DM
32672012-04-17 David S. Miller <davem@davemloft.net>
3268
3269 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3270
fb5e92c9
AS
32712012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3272
3273 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3274 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3275 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3276 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3277 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3278 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3279
76da7265
AZ
32802012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3281
3282 [BZ #6794]
3283 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3284 * math/libm-test.inc: Add ilogb errno and exception tests.
3285 * math/w_ilogb.c: New file: ilogb wrapper.
3286 * math/w_ilogbf.c: New file: ilogbf wrapper.
3287 * math/w_ilogbl.c: New file: ilogbl wrapper.
3288 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3289 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3290 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3291 exception being thrown with 0.0 as argument.
3292 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3293 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3294 exception being thrown with 0.0 as argument.
3295 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3296 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3297 exception being thrown with 0.0 as argument.
3298 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3299 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3300 exception being thrown with 0.0 as argument.
3301 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3302 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3303 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3304 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3305 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3306 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3307 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3308 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3309 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3310
0396e69d
PB
33112012-04-17 Petr Baudis <pasky@ucw.cz>
3312
3313 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3314 with altivec.
3315
750b5926
MP
33162012-04-16 Marek Polacek <polacek@redhat.com>
3317
3318 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3319
751728a1
MP
33202012-04-16 Marek Polacek <polacek@redhat.com>
3321
3322 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3323 operands of fdivp instruction.
3324
34a27407
L
33252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3326
3327 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3328 * elf/tst-auditmod3b.c: Likewise.
3329 * elf/tst-auditmod4b.c: Likewise.
3330 * elf/tst-auditmod5b.c: Likewise.
3331 * elf/tst-auditmod6b.c: Likewise.
3332 * elf/tst-auditmod6c.c: Likewise.
3333 * elf/tst-auditmod7b.c: Likewise.
3334 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3335 * sysdeps/x86_64/preconfigure.in: Likewise.
3336 * sysdeps/x86_64/preconfigure: Regenerated.
3337
7e73e17d
L
33382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3339
3340 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3341 __ILP32__.
3342
c7a6ab72
AB
33432012-04-13 Antoine Balestrat <merkil33@gmail.com>
3344
3345 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3346 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3347
a9e8e0e0
CL
33482012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3349
3350 [BZ #13973]
3351 * locale/iso-639.def: Fix gl language name. Spotted by
3352 Yaron Shahrabani.
3353
ec98af7d
RM
33542012-04-12 Roland McGrath <roland@hack.frob.com>
3355
3356 [BZ #2074]
3357 * libio/libio.h (__io_write_fn): Update comment.
3358
247c3ede
PB
33592012-04-12 Petr Baudis <pasky@ucw.cz>
3360
3361 [BZ #2074]
3362 * stdio.texi (Hook Functions): The user provided writer function
3363 is not allowed to return -1.
3364
55939d6d
DM
33652012-04-11 David S. Miller <davem@davemloft.net>
3366
3367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3368
90020f5a
MF
33692012-04-11 Mike Frysinger <vapier@gentoo.org>
3370
3371 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3372 Add a leading slash to rtkaio.
3373
288f9098
JM
33742012-04-11 Jim Meyering <meyering@redhat.com>
3375
90020f5a
MF
3376 [BZ #11959]
3377 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3378 It is not necessarily an error to ignore fwrite's return
3379 value. One can reliably use ferror to test for errors after
3380 the fact.
288f9098 3381
4be2b570
L
33822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3383
3384 * bits/types.h (__snseconds_t): New type.
3385 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3386
3387 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3389 (__SNSECONDS_T_TYPE): Likewise.
3390 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3391 (__SNSECONDS_T_TYPE): Likewise.
3392 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3393 (__SNSECONDS_T_TYPE): Likewise.
3394
288f9098 33952012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3396
3397 [BZ #2636]
3398 * manual/time.texi (Processor Time): Return type of times is
3399 elapsed real time since an arbitrary point in the past.
3400 (CPU Time): Move CLK_TCK from here...
3401 (Processor Time): ...to here. Correct description.
3402 * manual/conf.texi (Constants for Sysconf): Correct description of
3403 _SC_CLK_TCK.
3404
d7dd4413
DM
34052012-04-10 David S. Miller <davem@davemloft.net>
3406
3407 [BZ #13967]
3408 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3409 where the is a gap between DT_REL(A) and DT_JMPREL.
3410
b46068fc
L
34112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3412
3413 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3414 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3415 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3416
73d65cc3
SP
34172012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3418
3419 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3420 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3421 (dl_main): Handle --inhibit-cache.
3422 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3423 _dl_inhibit_cache.
3424 * elf/dl-load.c (_dl_map_object): Use it.
3425 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3426
bcc8d661
JM
34272012-04-09 Joseph Myers <joseph@codesourcery.com>
3428
8f9a2fae
JM
3429 [BZ #13872]
3430 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3431 (__ieee754_powl): Saturate large exponents rather than testing for
3432 overflow of y*log2(x).
3433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3434 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3435 exceptions.
3436
bcc8d661
JM
3437 [BZ #11521]
3438 * math/s_ctan.c: Include <float.h>.
3439 (__ctan): Avoid internal overflow or cancellation in calculating
3440 denominator.
3441 * math/s_ctanf.c: Likewise.
3442 * math/s_ctanl.c: Likewise.
3443 * math/s_ctanh.c: Likewise.
3444 * math/s_ctanhf.c: Likewise.
3445 * math/s_ctanhl.c: Likewise.
3446 * math/libm-test.inc (ctan_test): Add more tests.
3447 (ctanh_test): Likewise.
3448 * sysdeps/i386/fpu/libm-test-ulps: Update.
3449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3450
823fbbb4
AJ
34512012-04-09 Andreas Jaeger <aj@suse.de>
3452
03879793
AJ
3453 [BZ #6894]
3454 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3455 is an optional BSD extension.
3456
823fbbb4
AJ
3457 [BZ #10254]
3458 * manual/stdio.texi (Opening Streams): Document additional fopen
3459 parameters.
3460
8de131cb
RM
34612012-04-09 Roland McGrath <roland@hack.frob.com>
3462
3463 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3464 %eax without telling the compiler.
3465
c0ed9d7d
CD
34662012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3467
3468 [BZ # 13963]
3469 * manual/install.texi: Use sourceware.org.
3470
c483f6b4
JM
34712012-04-09 Joseph Myers <joseph@codesourcery.com>
3472
d7dd9453
JM
3473 [BZ #13873]
3474 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3475 (__ieee754_pow): Generate overflow and underflow using huge*huge
3476 and tiny*tiny rather than just returning constant infinity or zero
3477 for large exponents.
3478 * math/libm-test.inc (pow_test): Require overflow exceptions for
3479 applicable cases of large exponents.
3480
c483f6b4
JM
3481 [BZ #706]
3482 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3483 (__ieee754_pow): Use iterative multiplication algorithm only for
3484 integer exponents with absolute value below 1024. Check for odd
3485 integer exponents when using algorithm for real exponents.
3486 * math/libm-test.inc (pow_test): Add more tests.
3487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3488
d2de7579
JM
34892012-04-08 Joseph Myers <joseph@codesourcery.com>
3490
3491 [BZ #13705]
3492 * math/libm-test.inc (exp_test): Do not allow overflow exception
3493 on underflow test.
3494
f77f1232
AJ
34952012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3496
3497 [BZ #13705]
3498 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3499 instead of __kernel_standard_f.
3500
3884932b
MF
35012012-04-08 Mike Frysinger <vapier@gentoo.org>
3502
3503 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3504 * sysdeps/x86_64/memset_chk.S: Likewise.
3505
54472e9c
AJ
35062012-04-08 Andreas Jaeger <aj@suse.de>
3507
6ab0fbfc
AJ
3508 [BZ #10153]
3509 * manual/startup.texi (Environment Access): Describe return value
3510 for putenv and setenv.
3511
61efba8c
AJ
3512 [BZ #6895]
3513 * manual/filesys.texi (Directory Entries): Add description for
3514 DT_LNK.
3515
95c3f29a
AJ
3516 [BZ #6890]
3517 * manual/filesys.texi (Directory Entries): Clarify that it's file
3518 system not operating system in the description of DT_UNKNOWN.
3519
54472e9c
AJ
3520 [BZ #6578]
3521 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3522
624254b1
SC
35232012-04-08 Stephen Compall <s11@member.fsf.org>
3524
3525 [BZ #6649]
3526 * manual/llio.texi (Opening and Closing Files): Add cross
3527 reference to explain mode argument.
3528
1e4920e0
MF
35292012-04-07 Mike Frysinger <vapier@gentoo.org>
3530
3531 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3532 * sysdeps/x86_64/memset_chk.S: Likewise.
3533
5ed848f3
DM
35342012-04-07 David S. Miller <davem@davemloft.net>
3535
3536 * elf/elf.h (R_SPARC_WDISP10): Define.
3537 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3538 R_SPARC_SIZE32.
3539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3540 R_SPARC_SIZE64 and R_SPARC_H34.
3541
96154cd8
CD
35422012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3543
3544 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3545 conditions and remove no longer applicable assertion.
3546
9904dc47
L
35472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3548
3549 * bits/byteswap.h: Include <features.h>.
3550 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3551 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3552
f8887d0a
L
35532012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3554
3555 * bits/byteswap.h (__bswap_16): Removed.
3556 Include <bits/byteswap-16.h> to get __bswap_16.
3557 * sysdeps/i386/bits/byteswap.h: Likewise.
3558 * sysdeps/s390/bits/byteswap.h: Likewise.
3559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3560 * bits/byteswap-16.h: New file.
3561 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3562 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3563 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3564 * string/Makefile (headers): Add bits/byteswap-16.h.
3565
62470f60
PP
35662012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3567
3568 [BZ #13895]
3569 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3570 extra indirection.
3571 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3572 * nss/tst-nss-static.c: New.
3573
4dad7bab
RM
35742012-04-06 Robert Millan <rmh@gnu.org>
3575
3576 [BZ #6486]
3577 * manual/llio.texi (File Position Primitive): lseek
3578 refers to WHENCE when it really means OFFSET.
3579
e9142a17
AJ
35802012-04-06 Andreas Jaeger <aj@suse.de>
3581
2c040eff
AJ
3582 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3583 strncmp declarations.
3584
e9142a17
AJ
3585 * abilist/libc.abilist: Add __poll and __ppoll.
3586
ff9f1c5f
DM
35872012-04-05 David S. Miller <davem@davemloft.net>
3588
dcd2ae90
DM
3589 * scripts/check-local-headers.sh: Accept a host triplet in the
3590 path matched by the exclude regexp.
3591
993eb054
DM
3592 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3593 definition.
3594 * sysdeps/powerpc/powerpc32/dl-machine.h
3595 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3596 * sysdeps/s390/s390-32/dl-machine.h
3597 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3598 * sysdeps/sparc/sparc32/dl-machine.h
3599 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3600 * sysdeps/sparc/sparc64/dl-machine.h
3601 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3602
ff9f1c5f
DM
3603 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3604 lazy binding.
48e2e132 3605 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3606 undefined symbol errors.
3607
48e2e132 3608 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3609 DT_NEEDED entries.
3610
e80d6f94
MM
36112012-04-05 Michael Matz <matz@suse.de>
3612
3613 [BZ #13592]
3614 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3615
349fa79f
AJ
36162012-04-05 Andreas Jaeger <aj@suse.de>
3617
3618 [BZ #13908]
3619 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3620 comment.
3621
f402708f
KK
36222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3623
3624 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3625 which ROUND is no valid rounding mode.
3626
2ecccfc9
KK
36272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3628
3629 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3630 read again.
3631 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3632
8a53f50f
KK
36332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3634
3635 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3636 an exception using FPU order intentionally.
3637
36382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3639
3640 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3641 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3642 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3643 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3644
d653abb7
SJ
36452012-04-05 Simon Josefsson <simon@josefsson.org>
3646
3647 [BZ #12340]
3648 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3649 EINVAL when BUFLEN is too smal.
3650
c3b1bf7d
TS
36512012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3652
3653 [BZ #13553]
3654 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3655 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3656
b1aa60f3
AJ
36572012-04-03 Andreas Jaeger <aj@suse.de>
3658
c3b1bf7d 3659 [BZ #13938]
67f60a26
AJ
3660 * manual/setjmp.texi (System V contexts): Fix sentence.
3661
b1aa60f3
AJ
3662 [BZ #13926]
3663 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3664 New macro for this case.
3665 [!__GNUC__] (__bswap_64): New inline function for this case.
3666 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3667 * bits/byteswap.h: Likewise.
3668 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3669 ull, guard with __GLIBC_HAVE_LONG_LONG.
3670
3671 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3672 __GLIBC_HAVE_LONG_LONG.
3673
3674 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3675 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3676
39c59c35
TMQMF
36772012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3678
3679 [BZ #13691]
3680 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3681 inptr and inend, rather than using last_ch.
3682
135ffda8
DM
36832012-04-02 David S. Miller <davem@davemloft.net>
3684
3685 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3686 * stdio-common/printf-parse.h (read_int): Change return type to
3687 'int', return -1 on INT_MAX overflow.
3688 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3689 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3690 overflows INT_MAX. Check for overflow of in-format-string precision
3691 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3692 SIZE_MAX not INT_MAX for integer overflow test.
3693 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3694 skip the construct in the format string but do not record anything.
3695 * stdio-common/bug22.c: Adjust to test both width/prevision
3696 INT_MAX overflow as well as total length INT_MAX overflow. Check
3697 explicitly for proper errno values.
3698
228c019e
TS
36992012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3700
302cadd3
TS
3701 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3702 CHAR_MAX.
3703 * string/test-strcmp.c [! WIDE]: Likewise.
3704 * time/tst-mktime2.c: Likewise for INT_MAX.
3705 * string/test-string.h: #include <sys/param.h> for MIN.
3706
228c019e
TS
3707 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3708 * sysdeps/i386/init-first.c (init): Likewise.
3709 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3710 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3711 * sysdeps/sh/init-first.c (init): Likewise.
3712
cfa633f5
UD
37132012-04-01 Ulrich Drepper <drepper@gmail.com>
3714
3715 * po/ru.po: Update from translation team.
d1635ef8 3716 * po/vi.po: Likewise.
cfa633f5 3717
6cd0a5ea
SP
37182012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3719
3720 * resolv/nss_dns/dns-host.c: Merge copyright years.
3721
4b43400f
LD
37222012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3723
3724 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3725 Optimize memcpy with prefetch if
3726 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3727 src, dst pointers have unequal 16 byte alignments.
3728
48c41d04
SP
37292012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3730
3731 [BZ #13928]
3732 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3733 from a CNAME entry and return the minimum ttl for the query.
3734 (gaih_getanswer_slice): Likewise.
3735
b8dc394d
JL
37362012-03-30 Jeff Law <law@redhat.com>
3737
3738 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3739 due to long keys.
3740 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3741 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3742
2f5a5ed0
JL
3743 * resolv/nss_dns/dns-host.c: Update copyright year.
3744
1d39e359
UD
37452012-03-30 Ulrich Drepper <drepper@gmail.com>
3746
c030f70c 3747 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3748 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3749
1d39e359
UD
3750 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3751 comments for sendmmsg.
3752
37532012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3754
3755 [BZ #13691]
3756 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3757 with only 1 character between 0x0041 and 0x01b0.
3758 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3759 * wcsmbs/tst-mbsnrtowcs.c: New file.
3760
20fde227
DM
37612012-03-29 David S. Miller <davem@davemloft.net>
3762
3763 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3764 small copies by hand.
3765
984a4237
JL
37662012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3767
3768 [BZ #13761]
3769 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3770 _nss_compat_initgroups_dyn): Fall back to malloc/free
3771 for large group memberships.
3772
18c9d62b
DM
37732012-03-28 David S. Miller <davem@davemloft.net>
3774
88d85d4f
DM
3775 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3776 that branches into memcpy.
3777 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3778 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3779 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3780 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3782 bits.
3783 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3784 implementation too.
3785 * sysdeps/sparc/mempcpy.S: New file.
3786
e5aa83e1
DM
3787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3788 the IFUNC routine in the libc case.
3789 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3790
88570753
DM
3791 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3792 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3793 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3794 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3795 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3796 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3797 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3798 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3799
249d7567
DM
3800 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3801 loop to 256 bytes instead of 64 bytes and fix test signedness.
3802
18c9d62b
DM
3803 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3804 * sysdeps/sparc/sparc32/Makefile: rather than here...
3805 * sysdeps/sparc/sparc64/Makefile: and here.
3806
05f3d1f6
UD
38072012-03-28 Ulrich Drepper <drepper@gmail.com>
3808
3809 * malloc/mallocbug.c: Avoid warnings about unused variables.
3810
86ae07a8
JL
38112012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3812
3813 [BZ #13760]
3814 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3815 in the right place. Discard and retry query if response is
3816 larger than input buffer size.
3817
41bf21a1
JM
38182012-03-28 Joseph Myers <joseph@codesourcery.com>
3819
d6270972
JM
3820 [BZ #369]
3821 [BZ #2678]
3822 [BZ #3866]
3823 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3824 x for large integer exponent.
3825 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3826 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3827 sign of result as needed afterwards.
3828 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3829 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3830 result for underflowing pow the same as for overflow.
3831 (__kernel_standard_l): Handle powl overflow and underflow here
3832 rather than calling __kernel_standard.
3833 * math/libm-test.inc (pow_test): Add more tests.
3834
414fca03 3835 [BZ #3868]
41bf21a1
JM
3836 [BZ #13879]
3837 [BZ #13910]
3838 [BZ #13911]
3839 [BZ #13912]
3840 [BZ #13913]
3841 [BZ #13915]
3842 [BZ #13916]
3843 [BZ #13917]
3844 [BZ #13918]
3845 [BZ #13919]
3846 [BZ #13920]
3847 [BZ #13921]
3848 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3849 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3850 (__kernel_standard_l): New function.
3851 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3852 __kernel_standard.
3853 * math/w_acosl.c (__acosl): Likewise.
3854 * math/w_asinl.c (__asinl): Likewise.
3855 * math/w_atan2l.c (__atan2l): Likewise.
3856 * math/w_atanhl.c (__atanhl): Likewise.
3857 * math/w_coshl.c (__coshl): Likewise.
3858 * math/w_exp10l.c (__exp10l): Likewise.
3859 * math/w_exp2l.c (__exp2l): Likewise.
3860 * math/w_fmodl.c (__fmodl): Likewise.
3861 * math/w_hypotl.c (__hypotl): Likewise.
3862 * math/w_j0l.c (__j0l, __y0l): Likewise.
3863 * math/w_j1l.c (__j1l, __y1l): Likewise.
3864 * math/w_jnl.c (__jnl, __ynl): Likewise.
3865 * math/w_lgammal.c (__lgammal): Likewise.
3866 * math/w_log10l.c (__log10l): Likewise.
3867 * math/w_log2l.c (__log2l): Likewise.
3868 * math/w_logl.c (__logl): Likewise.
3869 * math/w_powl.c (__powl): Likewise.
3870 * math/w_remainderl.c (__remainderl): Likewise.
3871 * math/w_scalbl.c (sysv_scalbl): Likewise.
3872 * math/w_sinhl.c (__sinhl): Likewise.
3873 * math/w_sqrtl.c (__sqrtl): Likewise.
3874 * math/w_tgammal.c (__tgammal): Likewise.
3875 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3876 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3877 * math/libm-test.inc (acos_test): Add more tests.
3878 (acosh_test): Likewise.
3879 (asin_test): Likewise.
3880 (atanh_test): Likewise.
3881 (exp_test): Likewise.
3882 (exp10_test): Likewise.
3883 (exp2_test): Likewise.
3884 (expm1_test): Likewise.
3885 (lgamma_test): Likewise.
3886 (log_test): Likewise.
3887 (log10_test): Likewise.
3888 (log1p_test): Likewise.
3889 (log2_test): Likewise.
3890 (pow_test): Do not allow some spurious overflow exceptions.
3891 (sqrt_test): Add more tests.
3892 (tgamma_test): Likewise.
3893 (y0_test): Likewise.
3894 (y1_test): Likewise.
3895 (yn_test): Likewise.
3896
dd62fda6
AB
38972012-03-27 Anton Blanchard <anton@samba.org>
3898
3899 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3900 MAP_HUGETLB.
3901 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3902 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3903 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3904
1e3cdfda
AJ
39052012-03-27 David S. Miller <davem@davemloft.net>
3906
b855ab85
DM
3907 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3908
1e3cdfda
AJ
3909 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3910 have-as-vis3 check.
3911
39122012-03-27 Andreas Jaeger <aj@suse.de>
3913
3914 * sysdeps/x86_64/elf/configure.in: Moved to ...
3915 * sysdeps/x86_64/configure.in: ... here.
3916 * sysdeps/x86_64/elf/start.S: Moved to ...
3917 * sysdeps/x86_64/start.S: ... here.
3918 * sysdeps/x86_64/elf/configure: Delete.
3919
3920 * sysdeps/x86_64/configure.in: Merge contents from
3921 sysdeps/i386/configure.in (without i686 check).
3922
3923 * sysdeps/i386/elf/Versions: Merge into ...
3924 * sysdeps/i386/Versions: ... this.
3925 * sysdeps/i386/elf/Versions: Delete file.
3926 * sysdeps/i386/elf/start.S: Moved to ...
3927 * sysdeps/i386/start.S: ...here.
3928 * sysdeps/i386/elf/configure.in: Merge into...
3929 * sysdeps/i386/configure.in: ...here.
3930 * sysdeps/i386/elf/configure.in: Delete file.
3931 * sysdeps/i386/elf/configure: Delete file.
3932
3933 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3934 * debug/backtracesyms.c: ... here.
3935 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3936 * debug/backtracesymsfd.c: ... here.
3937 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3938 * sysdeps/generic/ifunc-sel.h: ... here.
3939
3940 * sysdeps/unix/i386/start.c: Delete file.
3941 * sysdeps/unix/sparc/start.c: Delete file.
3942 * sysdeps/unix/start.c: Delete file.
3943
3944 * sysdeps/sh/elf/configure.in: Moved to ...
3945 * sysdeps/sh/configure.in: ... here.
3946 * sysdeps/sh/elf/start.S: Moved to ...
3947 * sysdeps/sh/start.S: ... here.
3948 * sysdeps/sh/elf/configure: Delete file.
3949
3950 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3951 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3952 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3953 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3954 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3955 * sysdeps/powerpc/powerpc64/start.S: here.
3956 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3957 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3958 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3959 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3960 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3961
3962 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3963 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3964 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3965 * sysdeps/powerpc/powerpc32/start.S: ... here.
3966 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3967 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3968 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3969
3970 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3971 * sysdeps/powerpc/ifunc-sel.h: ... here.
3972 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3973 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3974
3975 * sysdeps/sparc/elf/configure.in: Moved to ...
3976 * sysdeps/sparc/configure.in: ... here.
3977 * sysdeps/sparc/elf/configure: Delete file.
3978 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3979 * sysdeps/sparc/sparc32/start.S: ... here.
3980 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3981 * sysdeps/sparc/sparc64/start.S: ... here.
3982 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3983 * sysdeps/sparc/sparc32/Makefile: ... this.
3984 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3985 * sysdeps/sparc/sparc64/Makefile: ... this.
3986
3987 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3988 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3989 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3990 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3991 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3992 * sysdeps/s390/s390-32/setjmp.S: ... here.
3993 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3994 * sysdeps/s390/s390-32/configure.in: ... here.
3995 * sysdeps/s390/s390-32/elf/configure: Delete file.
3996 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3997 * sysdeps/s390/s390-32/start.S: ... here.
3998
3999 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4000 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4001 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4002 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4003 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4004 * sysdeps/s390/s390-64/setjmp.S: ... here.
4005 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4006 * sysdeps/s390/s390-64/configure.in: ... here
4007 * sysdeps/s390/s390-64/elf/configure: Delete file.
4008 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4009 * sysdeps/s390/s390-64/start.S: ... here.
4010 * sysdeps/s390/s390-64/elf/configure: Delete.
4011
4012 * configure.in: Remove support for elf directories in sysdeps.
4013
4014 * configure: Regenerated.
4015 * sysdeps/i386/configure: Regenerated.
4016 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4017 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4018 * sysdeps/s390/s390-32/configure: Regenerated.
4019 * sysdeps/s390/s390-64/configure: Regenerated.
4020 * sysdeps/sh/configure: Regenerated.
4021 * sysdeps/sparc/configure: Regenerated.
4022 * sysdeps/x86_64/configure: Regenerated.
4023
a3f61311
AS
40242012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4025
c876e002
AS
4026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4027
a3f61311
AS
4028 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4029 denormal result into account.
4030
ac4c54f0
RM
40312012-03-25 Roland McGrath <roland@hack.frob.com>
4032
4033 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4034 Reported by Allan McRae <allan@archlinux.org>.
4035
6a9b9c02
JL
40362012-03-23 Jeff Law <law@redhat.com>
4037
4038 * nss/getnssent.c (__nss_getent): Fix typo.
4039
4c42a0c1
DM
40402012-03-23 David S. Miller <davem@davemloft.net>
4041
4042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4043
1532c7ac
L
40442012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4045
4046 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4047 to pad to uint64_t for each field.
4048 (dl_tls_index): Replace unsigned long with uint64_t.
4049
3ff42526
PP
40502012-03-23 Daniel Jacobowitz <dmj@google.com>
4051 Paul Pluzhnikov <ppluzhnikov@google.com>
4052
4053 [BZ #6528]
4054 * grp/Makefile (otherlibs): Don't set it.
4055 * inet/Makefile (otherlibs): Likewise.
4056 * login/Makefile (otherlibs): Likewise.
4057 * nscd/Makefile (otherlibs): Likewise.
4058 * posix/Makefile (otherlibs): Likewise.
4059 * pwd/Makefile (otherlibs): Likewise.
4060 * rt/Makefile (otherlibs): Likewise.
4061 * sunrpc/Makefile (otherlibs): Likewise.
4062 * nss/Makefile (otherlibs): Likewise.
4063 Add libnss_files to routines and static-only-routines.
4064 ($(objpfx)getent): Remove rule.
4065 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4066 static-only-routines.
4067
7c69cd14
JM
40682012-03-22 Joseph Myers <joseph@codesourcery.com>
4069
4070 [BZ #13892]
4071 * math/s_cexp.c: Include <float.h>.
4072 (__cexp): Handle exp result overflowing not necessarily
4073 overflowing both real and imaginary parts of result.
4074 * math/s_cexpf.c: Likewise.
4075 * math/s_cexpl.c: Likewise.
4076 * math/libm-test.inc (cexp_test): Add more tests.
4077 * sysdeps/i386/fpu/libm-test-ulps: Update.
4078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4079
81b035fe
L
40802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4081
4082 * include/link.h (ELFW): New macro.
4083 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4084 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4085
1da7940c
L
40862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4087
4088 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4089 with uint64_t.
4090
b749dbb9
L
40912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4092
4093 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4094 declaration.
4095 (struct La_x32_retval): Likewise.
4096
2ff87f3f
L
40972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4098
4099 * sysdeps/x86_64/preconfigure.in: New file.
4100 * sysdeps/x86_64/preconfigure: New generated file.
4101
c0df8e69
JM
41022012-03-22 Joseph Myers <joseph@codesourcery.com>
4103
48e44791
JM
4104 [BZ #13824]
4105 * math/e_exp2l.c: Include <float.h>.
4106 (__ieee754_exp2l): Handle overflow and underflow cases
4107 separately. Only pass fractional part of argument to
4108 __ieee754_expl.
4109 * math/libm-test.inc (exp2_test): Add more tests.
4110
c0df8e69
JM
4111 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4112 negating x to take absolute value.
4113 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4114 Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4116 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4117 Likewise.
4118 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4119 computing low part if x was negated.
4120 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4121
c8e43ba7
L
41222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4123
4124 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4125 la_x32_gnu_pltexit.
4126 (pltexit): Cast int_retval to ptrdiff_t.
4127 * elf/tst-auditmod3b.c: Likewise.
4128 * elf/tst-auditmod4b.c: Likewise.
4129 * elf/tst-auditmod5b.c: Likewise.
4130 * elf/tst-auditmod6b.c: Likewise.
4131 * elf/tst-auditmod6c.c: Likewise.
4132 * elf/tst-auditmod7b.c: Likewise.
4133
4134 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4135 and x32_gnu_pltexit.
4136
4137 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4138 __ELF_NATIVE_CLASS.
4139 (La_x32_regs): New macro.
4140 (La_x32_retval): Likewise.
4141 (la_x32_gnu_pltenter): New function prototype.
4142 (la_x32_gnu_pltexit): Likewise.
4143
7998fa78
AS
41442012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4145
dcb33988
AS
4146 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4147 exponent.
4148
233fc563
AS
4149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4150
7998fa78
AS
4151 * configure.in (libc_cv_cc_nofma): Check for option to disable
4152 generation of FMA instructions.
4153 * configure: Regenerate.
4154 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4155 * sysdeps/ieee754/dbl-64/Makefile: New file.
4156 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4157 Remove brandred-fma4.
4158 (CFLAGS-brandred-fma4.c): Remove.
4159 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4160 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4161 define.
4162 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4163 define.
4164
8e95c99a
L
41652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4166
4167 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4168 LLONG_MAX != LONG_MAX.
4169 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4170 (_fitoa_word): Likewise.
4171 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4172 LLONG_MAX != LONG_MAX.
4173 * stdio-common/_itowa.h: Include <_itoa.h>.
4174 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4175 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4176 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4177 only if not defined.
4178 (_ITOA_WORD_TYPE): Likewise.
4179 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4180 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4181
6f4db457
DM
41822012-03-21 David S. Miller <davem@davemloft.net>
4183
4184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4185
7785fe5a
L
41862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4187
4188 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4189 of x86_64 when setting libc_cv_slibdir, libdir and
4190 libc_cv_localedir.
4191 * sysdeps/unix/sysv/linux/configure: Regenerated.
4192
4535cd55
JM
41932012-03-21 Joseph Myers <joseph@codesourcery.com>
4194
4195 * manual/lang.texi (Old Varargs): Remove section.
4196 (How Variadic): Update menu.
4197 (va_start): Do not mention varargs.h.
4198
17228132
TS
41992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4200 Joseph Myers <joseph@codesourcery.com>
4201
4202 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4203 link test.
4204 * configure: Regenerated.
4205
8149f976
TS
42062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4207
05f3d1f6
UD
4208 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4209 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4210 conformtest.pl
8149f976 4211
1a4ac776
JM
42122012-03-21 Joseph Myers <joseph@codesourcery.com>
4213
be22ce65
JM
4214 * NOTES: Remove.
4215 * Makefile (files-for-dist): Remove NOTES.
4216 (NOTES): Remove rule.
4217 * README: Don't refer to NOTES.
4218 * manual/creature.texi: Don't include macros.texi.
4219 * manual/intro.texi (creature.texi): Remove comment referring to
4220 NOTES.
4221
40b601fb
JM
4222 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4223 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4224 * configure: Regenerated.
4225 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4226 LIBC_TRY_CC_OPTION.
4227 (libc_cv_as_i686): Likewise.
4228 (libc_cv_cc_avx): Likewise.
4229 (libc_cv_cc_sse2avx): Likewise.
4230 (libc_cv_cc_fma4): Likewise.
4231 (libc_cv_cc_novzeroupper): Likewise.
4232 * sysdeps/i386/configure: Regenerated.
4233
1a4ac776
JM
4234 [BZ #13883]
4235 * sysdeps/i386/fpu/s_cexp.S: Remove.
4236 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4237 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4238 * math/libm-test.inc (cexp_test): Add more tests.
4239 * sysdeps/i386/fpu/libm-test-ulps: Update.
4240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4241
a458e7fe
AM
42422012-03-21 Allan McRae <allan@archlinux.org>
4243
4244 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4245
0cb7efc5
JM
42462012-03-21 Joseph Myers <joseph@codesourcery.com>
4247
4248 [BZ #13871]
4249 * math/w_exp2.c: Do not include <float.h>.
4250 (o_threshold, u_threshold): Remove.
4251 (__exp2): Calculate result before checking finiteness and calling
4252 __kernel_standard.
4253 * math/w_exp2f.c: Likewise.
4254 * math/w_exp2l.c: Likewise.
4255 * math/libm-test.inc (exp2_test): Require overflow exception for
4256 1e6 input.
2460d3aa
JM
4257
4258 [BZ #3866]
4259 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4260 range of signed 64-bit integers before using fistpll. Remove
4261 checks for whether integers fit in mantissa bits.
4262 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4263 the range of signed 32-bit integers before using fistpl. Remove
4264 checks for whether integers fit in mantissa bits.
4265 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4266 (__ieee754_powl): Test for y outside the range of signed 64-bit
4267 integers before using fistpll. Reduce 64-bit values to 63-bit
4268 ones as needed.
4269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4270 divide-by-zero is raised for zero to large negative powers.
4271 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4272 (__ieee754_powl): Test for y outside the range of signed 64-bit
4273 integers before using fistpll. Reduce 64-bit values to 63-bit
4274 ones as needed.
4275 * math/libm-test.inc (pow_test): Add more tests.
4276
eb96ffb0
L
42772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4278
4279 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4280 <stdio-common/_itoa.h>.
4281 * debug/segfault.c: Likewise.
4282 * elf/dl-cache.c: Likewise.
4283 * elf/dl-minimal.c: Likewise.
4284 * elf/dl-misc.c: Likewise.
4285 * elf/dl-sysdep.c: Likewise.
4286 * elf/dl-version.c: Likewise.
4287 * elf/rtld.c: Likewise.
4288 * hurd/hurdsock.c: Likewise.
4289 * hurd/lookup-retry.c: Likewise.
4290 * malloc/malloc.c: Likewise.
4291 * malloc/mtrace.c: Likewise.
4292 * nscd/nscd_getgr_r.c: Likewise.
4293 * nscd/nscd_getpw_r.c: Likewise.
4294 * nscd/nscd_getserv_r.c: Likewise.
4295 * posix/getopt_init.c: Likewise.
4296 * posix/wordexp.c: Likewise.
4297 * stdio-common/_itoa.c: Likewise.
4298 * stdio-common/printf_fphex.c: Likewise.
4299 * stdio-common/vfprintf.c: Likewise.
4300 * string/_strerror.c: Likewise.
4301 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4302 * sysdeps/i386/i686/hp-timing.h: Likewise.
4303 * sysdeps/mach/_strerror.c: Likewise.
4304 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4305 * sysdeps/mach/hurd/sethostid.c: Likewise.
4306 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4307 * sysdeps/mach/xpg-strerror.c: Likewise.
4308 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4309 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4310 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4311 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4312 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4313 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4314 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4315 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4316 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4317 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4318 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4319 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4320 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4321 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4322 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4323 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4324 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4325 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4326 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4327 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4328 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4329
4330 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4331
4332 * stdio-common/_itoa.h: Moved to ...
4333 * sysdeps/generic/_itoa.h: Here.
4334
4335 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4336
4337 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4338 instead of "_itoa.h" and "_itowa.h".
4339 * stdio-common/vfprintf.: Likewise.
4340
d1af992d
L
43412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4342
4343 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4344 <bits/wordsize.h>.
4345 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4346 (__signbit): Likwise.
4347 (llrintf): Likwise.
4348 (llrint): Likwise.
4349
114883e0
L
43502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4351
4352 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4353 __WORDSIZE != 64.
4354
c135cc1b
JM
43552012-03-20 Joseph Myers <joseph@codesourcery.com>
4356
4357 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4358 OVERFLOW_EXCEPTION_OK.
4359 * math/libm-test.inc ("Philosophy"): Update comment about
4360 exception testing.
4361 (OVERFLOW_EXCEPTION): Define.
4362 (OVERFLOW_EXCEPTION_OK): Likewise.
4363 (INVALID_EXCEPTION_OK): Renumber.
4364 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4365 (IGNORE_ZERO_INF_SIGN): Likewise.
4366 (test_exceptions): Handle FE_OVERFLOW.
4367 (exp10_test): Expect overflow exceptions.
4368 (exp2_test): Likewise.
4369 (expm1_test): Likewise.
4370 (nextafter_test): Likewise.
4371 (pow_test): Likewise.
4372 (scalbn_test): Likewise.
4373 (scalbln_test): Likewise.
4374
95443d88
L
43752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 * sysdeps/x86_64/bits/atomic.h
4378 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4379 64bit integer.
4380 (atomic_exchange_acq): Likewise.
4381 (__arch_exchange_and_add_body): Likewise.
4382 (__arch_add_body): Likewise.
4383 (atomic_add_negative): Likewise.
4384 (atomic_add_zero): Likewise.
4385
490df6c4
L
43862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4387
c2722551 4388 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4389 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4390
5e52b189
L
43912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4392
4393 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4394 Check __x86_64__ instead of __WORDSIZE.
4395
a9879d4c
L
43962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4397
4398 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4399
5df98260
DM
44002012-03-19 David S. Miller <davem@davemloft.net>
4401
e1497744
DM
4402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4403
5df98260
DM
4404 * sysdeps/sparc/fpu/fenv_private.h: New file.
4405 * sysdeps/sparc/fpu/math_private.h: Use it.
4406 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4407 Remove.
4408 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4409 (libc_feholdexcept_setroundl): Remove.
4410 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4411 Remove.
4412 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4413 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4414
b4c35121
L
44152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4416
4417 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4418 int64_t instead of long int.
4419 (INSERT_WORDS64): Likwise.
4420
56965fd7
L
44212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4422
4423 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4424 _Unwind_GetCFA return to _Unwind_Ptr first.
4425
83d1aec8
JM
44262012-03-19 Joseph Myers <joseph@codesourcery.com>
4427
1897ad44
JM
4428 [BZ #13629]
4429 * math/s_clog.c: Include <float.h>.
4430 (__clog): Scale large or subnormal inputs.
4431 * math/s_clogf.c: Likewise.
4432 * math/s_clogl.c: Likewise.
4433 * math/s_clog10.c: Include <float.h>.
4434 (M_LOG10_2): Define.
4435 (__clog10): Scale large or subnormal inputs.
4436 * math/s_clog10f.c: Likewise.
4437 * math/s_clog10l.c: Likewise.
4438 * math/libm-test.inc (clog_test): Add more tests.
4439 (clog10_test): Likewise.
4440 * sysdeps/i386/fpu/libm-test-ulps: Update.
4441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4442
7726d6a9
JM
4443 [BZ #11451]
4444 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4445 x and y.
4446 * math/libm-test.inc (atan2_test): Add another test.
4447
83d1aec8
JM
4448 * Makerules (common-objdir-compile): Remove.
4449 * sysdeps/unix/Makefile (config-generated): Do not add
4450 $(unix-generated) to variable.
4451 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4452 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4453 Remove rule.
4454 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4455 Likewise.
4456 [generic bits/local_lim.h] (before-compile): Do not append to
4457 variable.
4458 [generic bits/local_lim.h] (common-generated): Likewise.
4459 [generic sys/param.h] (before-compile): Do not append to variable.
4460 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4461 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4462 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4463 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4464 include.
4465 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4466 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4467 [generic sys/param.h] ($(addprefix
4468 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4469 [generic sys/param.h] (common-generated): Do not append to
4470 variable.
4471 [generic sys/param.h] (sysdep_headers): Likewise.
4472 [generic bits/errno.h] (before-compile): Do not append to
4473 variable.
4474 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4475 rule.
4476 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4477 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4478 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4479 [generic bits/errno.h] (common-generated): Do not append to
4480 variable.
4481 [generic bits/ioctls.h] (before-compile): Do not append to
4482 variable.
4483 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4484 rule.
4485 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4486 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4487 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4488 rule.
4489 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4490 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4491 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4492 [generic bits/ioctls.h] (common-generated): Do not append to
4493 variable.
4494 [generic sys/syscall.h] (syscall.h): Remove variable.
4495 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4496 rule.
4497 [generic sys/syscall.h] (before-compile): Do not append to
4498 variable.
4499 [generic sys/syscall.h] (common-generated): Likewise.
4500 * sysdeps/unix/errnos-tmpl.c: Remove file.
4501 * sysdeps/unix/errnos.awk: Likewise.
4502 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4503 * sysdeps/unix/ioctls.awk: Likewise.
4504 * sysdeps/unix/mk-local_lim.c: Likewise.
4505 * sysdeps/unix/snarf-ioctls: Likewise.
4506
4851a949
RH
45072012-03-19 Richard Henderson <rth@twiddle.net>
4508
bd37f2ee
RH
4509 * sysdeps/i386/fpu/fenv_private.h: New file.
4510 * sysdeps/i386/fpu/math_private.h: Use it.
4511 (math_opt_barrier, math_force_eval): Remove.
4512 (libc_feholdexcept_setround_53bit): Remove.
4513 (libc_feupdateenv_53bit): Remove.
4514 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4515 (math_opt_barrier, math_force_eval): Remove.
4516 (libc_feholdexcept): Remove.
4517 (libc_feholdexcept_setround): Remove.
4518 (libc_fetestexcept, libc_fesetenv): Remove.
4519 (libc_feupdateenv_test): Remove.
4520 (libc_feupdateenv, libc_feholdsetround): Remove.
4521 (libc_feresetround): Remove.
4522
d0adc922
RH
4523 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4524 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4525
0fe0f1f8
RH
4526 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4527 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4528 (libc_feupdateenv_testl): New.
4529 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4530 (libc_feupdateenv_testf): New.
4531 (libc_feupdateenv): Use libc_feupdateenv_test.
4532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4533 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4534
eb92c487
RH
4535 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4536 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4537 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4538 (libc_feresetround_noex): New.
4539 (libc_feresetround_noexf): New.
4540 (libc_feresetround_noexl): New.
4541 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4542 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4543 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4544 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4545 SET_RESTORE_ROUND.
4546 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4548 (__cos): Likewise.
4549 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4550 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4551 SET_RESTORE_ROUND_NOEX.
4552 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4553 SET_RESTORE_ROUND_NOEXF.
4554 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4555 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4556 (libc_feholdsetroundf): New.
4557 (libc_feresetround, libc_feresetroundf): New.
4558
7d2e8012
RH
4559 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4560 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4561 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4562
b4dabbb4
RH
4563 * sysdeps/generic/math_private.h: Include <fenv.h>.
4564 (default_libc_feholdexcept): New.
4565 (default_libc_feholdexcept_setround): New.
4566 (default_libc_fesetenv, default_libc_feupdateenv): New.
4567 (libc_feholdexcept): Only define if undefined.
4568 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4569 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4570 (libc_feholdexcept_setroundl): Likewise.
4571 (libc_feholdexcept_setround_53bit): Likewise.
4572 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4573 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4574 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4575 (libc_feupdateenv_53bit): Likewise.
4576 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4577 (libc_feholdexcept): Convert from macro to inline function.
4578 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4579 (libc_fesetenv, libc_feupdateenv): Likewise.
4580
4851a949
RH
4581 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4582 not previously defined.
4583 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4584 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4585 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4586 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4587 * sysdeps/ieee754/flt-32/math_private.h: New file.
4588 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4589 math_private.h below SET_FLOAT_WORD.
4590 (__isnan, __isinf_ns, __finite): Remove.
4591 (__isnanf, __isinf_nsf, __finitef): Remove.
4592
e79d442e
AS
45932012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4594
4595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4596
90b80344
DM
45972012-03-17 David S. Miller <davem@davemloft.net>
4598
4599 [BZ #6471]
4600 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4601 for 2.16.
4602
edc21804
DM
46032012-03-16 David S. Miller <davem@davemloft.net>
4604
77e927af
DM
4605 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4606 warnings.
4607
374976dd
DM
4608 [BZ #6471]
4609 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4610 properly.
4611 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4612 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4613 sysdep_routines when subdir is sysvipc.
4614 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4615 __getshmlba helper.
4616
edc21804
DM
4617 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4618
473c3ef3
L
46192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4620
4621 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4622 [__LP64__].
4623
eb0f39b6
L
46242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4625
4626 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4627 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4628 (__lround): Renamed to ...
4629 (__llround): This. Replace long int with long long int.
4630 Define lround functions as aliases of llround functions.
4631 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4632
6b6cd74b
L
46332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4634
4635 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4636 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4637 adresses to uintptr_t. Replace "long int" and "unsigned long
4638 int" with "greg_t" on va_arg.
4639
f1a77b01
L
46402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4641
4642 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4643 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4644
4645 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4646 Move e_machine check before EI_CLASS check. Handle x32
4647 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4648 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4649 SKIP_EM_IA_64 and include
4650 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4651
4652 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4653 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4654 (add_system_dir): New macro.
4655
4656 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4657 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4658
11b90b9f
JM
46592012-03-16 Joseph Myers <joseph@codesourcery.com>
4660
c36e1d23
JM
4661 [BZ #2551]
4662 [BZ #2552]
4663 [BZ #2553]
4664 [BZ #2554]
4665 [BZ #2562]
4666 [BZ #2563]
4667 [BZ #2565]
4668 [BZ #2566]
4669 [BZ #2576]
4670 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4671 (y0): Likewise.
4672 * math/w_j0f.c (j0f): Likewise.
4673 (y0f): Likewise.
4674 * math/w_j0l.c (__j0l): Likewise.
4675 (__y0l): Likewise.
4676 * math/w_j1.c (j1): Likewise.
4677 (y1): Likewise.
4678 * math/w_j1f.c (j1f): Likewise.
4679 (y1f): Likewise.
4680 * math/w_j1l.c (__j1l): Likewise.
4681 (__y1l): Likewise.
4682 * math/w_jn.c (jn): Likewise.
4683 (yn): Likewise.
4684 * math/w_jnf.c (jnf): Likewise.
4685 (ynf): Likewise.
4686 * math/w_jnl.c (__jnl): Likewise.
4687 (__ynl): Likewise.
4688 * math/libm-test.inc (j0_test): Add more tests.
4689 (j1_test): Likewise.
4690 (jn_test): Likewise. Add trailing semicolon to existing test.
4691 (y0_test): Likewise.
4692 (y1_test): Likewise.
4693 * sysdeps/i386/fpu/libm-test-ulps: Update.
4694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4695
11b90b9f
JM
4696 [BZ #13851]
4697 [BZ #13854]
4698 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4699 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4700 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4701 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4702 (__tanl): Set errno for infinite argument.
4703 * sysdeps/i386/fpu/mptan.c: Remove.
4704 * sysdeps/i386/fpu/s_tan.S: Likewise.
4705 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4706 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4707 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4708 * math/libm-test.inc (tan_test): Add more tests and enable more
4709 tests for double and long double.
4710 * sysdeps/i386/fpu/libm-test-ulps: Update.
4711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4712
6a1bd2a1
JK
47132012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4714
4715 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4716 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4717
10a803e0
RM
47182012-03-16 Roland McGrath <roland@hack.frob.com>
4719
4720 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4721 * configure.in: Use it for both main tree and add-ons.
4722 * configure: Regenerated.
4723
f196c7f7
L
47242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4725
4726 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4727
8848d99d
JM
47282012-03-16 Joseph Myers <joseph@codesourcery.com>
4729
96cbe7f4
JM
4730 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4731 in comment.
4732
8848d99d
JM
4733 [BZ #13851]
4734 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4735 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4739 infinite argument.
4740 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4741 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4742 != 0 for prec == 2.
4743 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4744 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4745 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4746 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4747 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4748 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4749 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4750 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4751 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4752 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4753 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4754 * math/libm-test.inc (cos_test): Add more tests and enable more
4755 tests for long double.
4756 (sin_test): Likewise.
4757 (sincos_test): Likewise.
4758 * sysdeps/i386/fpu/libm-test-ulps: Update.
4759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4760
dd7f4703
DM
47612012-03-16 David S. Miller <davem@davemloft.net>
4762
4763 * sysdeps/sparc/fpu/math_private.h: New file.
4764
006f1daa
DM
47652012-03-15 David S. Miller <davem@davemloft.net>
4766
c0c83bc8
DM
4767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4768 file.
e6a62e18 4769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4771 file.
e6a62e18
DM
4772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4778 sysdep routines.
4779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4780
88cb87d9
DM
4781 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4782 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4783
006f1daa 4784 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4786 sparc-ifunc.h
006f1daa 4787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4789 Likewise.
4790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4791 Likewise.
006f1daa
DM
4792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4796 Likewise.
006f1daa
DM
4797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4802 Likewise.
4803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4804 Likewise.
006f1daa
DM
4805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4811 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4813 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4823 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4824 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4825 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4826 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4827 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4828 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4829
11e0098e
AS
48302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4831
4832 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4833 scaling.
4834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4835
e85b09d0
AJ
48362012-03-15 Andreas Jaeger <aj@suse.de>
4837
4838 [BZ #13852]
4839 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4840 ieee754/flt-32 implementation for sin, cos and sincos.
4841 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4842 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4843 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4844 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4845 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4846 ieee754/flt-32 implementation for tan.
4847
4848 * math/libm-test.inc (cos_test): Enable some large input tests for
4849 float as well
4850 (sin_test): Likewise.
4851 (sincos_test): Likewise.
4852 (tan_test): Add tests for large input.
4853
4854 * sysdeps/i386/fpu/libm-test-ulps: Update.
4855
81c64153
AJ
48562012-03-15 Andreas Jaeger <aj@suse.de>
4857
4858 [BZ #13658]
4859 * math/libm-test.inc (cos_test): Add more test cases.
4860 (sin_test): Likewise.
4861 (sincos_test): Likewise.
4862
7bbfa5c6
AJ
48632012-03-15 Andreas Jaeger <aj@suse.de>
4864
4865 [BZ #13837]
4866 * math/libm-test.inc (cos_test): Add a test case for large input
4867 value.
4868 (sin_test): Likewise.
4869 (sincos_test): Likewise.
4870
48712012-03-15 Andreas Jaeger <aj@suse.de>,
4872 Joseph Myers <joseph@codesourcery.com>
4873
4874 [BZ #13658]
0671f479 4875 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4876 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4877 * sysdeps/i386/fpu/branred.c: Likewise.
4878 * sysdeps/i386/fpu/dosincos.c: Likewise.
4879 * sysdeps/i386/fpu/mpa.c: Likewise.
4880 * sysdeps/i386/fpu/s_cos.S: Likewise.
4881 * sysdeps/i386/fpu/s_sin.S: Likewise.
4882 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4883 * sysdeps/i386/fpu/sincos32.c: Likewise.
4884
4885 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4886 Define.
4887 (libc_feupdateenv_53bit): Define.
4888 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4889 Define.
4890 (libc_feupdateenv_53bit): Define.
4891
4892 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4893 53 bit (without extend i386 double precision).
4894
4895 * math/libm-test.inc (sincos_test): Add tests for large input.
4896 (sin): Likewise.
4897 (cos): Likewise.
4898
4899 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4900
9cad04ea
AS
49012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4902
4903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4904
f7062b9a
DM
49052012-03-15 David S. Miller <davem@davemloft.net>
4906
4907 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4908 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4909 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4910 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4923 file.
f7062b9a 4924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4926 file.
f7062b9a 4927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4929 file.
f7062b9a 4930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4932 file.
f7062b9a
DM
4933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4935 fmin/fmax sysdep routines.
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4937
7bd951ff
DM
49382012-03-14 David S. Miller <davem@davemloft.net>
4939
559398ab
DM
4940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4946 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4961 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4962 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4963 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4965 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4967 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4969 routines.
4970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4971 file.
559398ab 4972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4974 file.
559398ab 4975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4977 file.
559398ab 4978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4980 file.
559398ab 4981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4983 file.
559398ab 4984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4986 file.
4987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4988 file.
4989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4990 file.
4991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4992 file.
4993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4994 New file.
4995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4996 file.
4997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4998 file.
559398ab 4999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5001 file.
559398ab 5002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5004 file.
559398ab 5005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5007 file.
559398ab 5008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5010 VIS3 routines.
559398ab
DM
5011
5012 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5013 New file.
5014
5a1c1e32
DM
5015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5016
eae47a36
DM
5017 * sysdeps/sparc/configure.in: New file.
5018 * sysdeps/sparc/configure: Generate.
5019 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5020 * configure: Regenerate.
5021 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5022 * config.make.in (have-as-vis3): New.
5023 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5024 available use -Av9d instead of -Av9a.
5025 * sysdeps/sparc/sparc64/Makefile: Likewise.
5026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5028 New file.
5029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5030 file.
5031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5032 New file.
5033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5034 file.
eae47a36
DM
5035 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5036 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5037 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5038 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5039 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5040
c0c83bc8
DM
5041 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5042 fzeros/fnegs to load 0x80000000 into a float register instead of
5043 using the stack.
7bd951ff
DM
5044 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5045
bd951ccb
JM
50462012-03-14 Joseph Myers <joseph@codesourcery.com>
5047
5048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5049 bits/syscall.h.
5050 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5051 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5052 ($(inst_includedir)/bits/syscall.h): Remove rule.
5053 ($(objpfx)bits/syscall.d): Include instead of
5054 $(objpfx)syscall-list.d.
5055 (generated): Change syscall-list.h and syscall-list.d to
5056 bits/syscall.h and bits/syscall.d.
5057
bb4e6db2
RM
50582012-03-14 Roland McGrath <roland@hack.frob.com>
5059
5060 [BZ #13846]
5061 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5062
aa4a2ae1
JM
50632012-03-14 Joseph Myers <joseph@codesourcery.com>
5064
e456826d
JM
5065 [BZ #13841]
5066 * math/s_csqrt.c: Include <float.h>.
5067 (__csqrt): Scale large or subnormal inputs.
5068 * math/s_csqrtf.c: Likewise.
5069 * math/s_csqrtl.c: Likewise.
5070 * math/libm-test.inc (csqrt_test): Add more tests.
5071 * sysdeps/i386/fpu/libm-test-ulps: Update.
5072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5073
aa4a2ae1
JM
5074 [BZ #13840]
5075 * math/libm-test.inc (hypot_test): Add more tests.
5076
7c10fd35
DM
50772012-03-13 David S. Miller <davem@davemloft.net>
5078
5079 [BZ #13840]
5080 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5081 double-precision for the calculation instead of scaling.
5082
f453b98b
JM
50832012-03-13 Joseph Myers <joseph@codesourcery.com>
5084
5085 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5086 manipulate bits before adding and subtracting TWO52[sx].
5087 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5088 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5089 Likewise.
5090 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5091
09a3453f
DM
50922012-03-13 David S. Miller <davem@davemloft.net>
5093
8e59da90
DM
5094 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5095 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5097 rtld-global-offsets.h
5098 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5099
2a8ab7f2
DM
5100 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5101 large parameters.
5102
10f62770
DM
5103 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5104
5f0bdb18
DM
5105 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5106 'err' in the ifdef scope in which it is actually used.
5107
09a3453f
DM
5108 * nss/nss_db/db-init.c: Include string.h
5109
b4b2eb5e
DM
51102012-03-12 David S. Miller <davem@davemloft.net>
5111
98bb2f1c
DM
5112 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5113 masking out of the most significant byte of random value used.
5114 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5115 Fix coding style in previous change.
5116
b4b2eb5e
DM
5117 * sysdeps/unix/sysv/linux/kernel-features.h
5118 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5119 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5120 expression.
5121 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5122 later.
5123
6e226b09
DM
51242012-03-11 David S. Miller <davem@davemloft.net>
5125
a1bcbd40
DM
5126 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5127 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5128 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5129 for 'resultvar' otherwise things get truncated on 64-bit.
5130
cb9d6174
DM
5131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5132 Fix masking out of the most significant byte of random value used.
5133
6e226b09
DM
5134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5135
058c132d
AS
51362012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5137
5138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5139
2d2cd515
DM
51402012-03-09 David S. Miller <davem@davemloft.net>
5141
5142 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5143 variables with appropriate CPP guards.
5144 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5145 frame pointer, not the stack pointer. Correct layout comments. Fix test
5146 on resulting framesize and the management of the outregs buffer for pltexit.
5147 Preserve floating point return values across _dl_call_pltexit call.
5148 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5149 framesize and the management of the outregs buffer for pltexit.
5150 Preserve floating point return values across _dl_call_pltexit
5151 call.
5152 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5153 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5154 (print_exit): Fix format string for return register value.
5155
9a07f9d0
JM
51562012-03-10 Joseph Myers <joseph@codesourcery.com>
5157
5158 * sunrpc/Makefile (others): Add rpcgen.
5159 ($(objpfx)rpcgen): Remove special build rule and dependency on
5160 libc.
5161 * sunrpc/rpcgen.c: New file.
5162
547b5e30
PE
51632012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5164
c524201a
PE
5165 [BZ #13673]
5166 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5167 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5168 * sysdeps/i386/crti.S: Likewise.
5169 * sysdeps/i386/crtn.S: Likewise.
5170 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5171 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5172 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5173 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5174 * sysdeps/sh/crti.S: Likewise.
5175 * sysdeps/sh/crtn.S: Likewise.
5176 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5177
7b6235f2
PE
5178 [BZ #13673]
5179 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5180 with URL.
5181 * locale/programs/locfile-kw.gperf: Likewise.
5182 * locale/programs/charmap-kw.h: Regenerated.
5183 * locale/programs/locfile-kw.h: Likewise.
5184
547b5e30
PE
5185 [BZ #13673]
5186 * intl/plural.y: Replace FSF snail mail address with URL.
5187 * intl/plural.c: Regenerated.
5188
5f0a5dae
RH
51892012-03-09 Richard Henderson <rth@twiddle.net>
5190
5191 * include/math_private.h: Remove file.
5192 * math/math_private.h: Move file ...
5193 * sysdeps/generic/math_private.h: ... here.
5194
b8c03620
RH
5195 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5196 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5197 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5198
4e234f5d 5199 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5200 and <math_private.h>.
5201 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5202 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5203 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5204 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5205 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5206 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5207 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5208 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5209 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5212 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5213 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5214 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5216 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5217 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5222 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5223 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5225 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5226 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5227 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5228 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5230 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5231 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5232 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5233 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5234 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5235 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5238 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5239 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5240 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5241 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5242 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5244 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5247 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5249 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5250 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5251 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5252 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5258 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5265 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5267 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5277 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5281 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5284 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5289 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5290 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5291 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5292 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5293 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5294 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5295 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5296 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5297 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5298 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5299 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5300 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5301 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5302 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5303 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5304 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5305 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5306 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5307 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5308 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5309 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5310 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5311 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5312 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5313 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5314 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5315 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5316 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5317 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5318 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5319 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5320 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5321 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5322 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5323 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5324 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5325 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5326 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5327 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5328 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5329 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5330 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5331 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5332 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5333 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5334 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5335 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5336 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5337 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5338 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5339 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5340 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5341 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5342 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5343 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5344 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5345 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5346 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5347 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5348 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5349 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5350 * sysdeps/ieee754/k_standard.c: Likewise.
5351 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5354 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5355 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5356 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5357 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5358 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5359 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5360 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5361 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5362 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5363 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5364 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5365 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5366 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5367 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5368 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5369 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5371 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5372 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5373 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5375 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5376 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5378 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5379 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5381 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5382 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5383 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5389 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5390 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5436 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5444 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5455 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5464 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5466 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5470 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5471 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5473 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5475 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5477 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5478 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5479 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5483 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5489 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5490 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5493 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5494 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5495 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5499 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5500 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5501 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5510 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5511 * sysdeps/ieee754/s_lib_version.c: Likewise.
5512 * sysdeps/ieee754/s_matherr.c: Likewise.
5513 * sysdeps/ieee754/s_signgam.c: Likewise.
5514 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5515 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5516 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5517 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5518 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5519 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5520 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5521 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5522 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5523 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5524 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5525 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5526 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5527 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5528 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5529 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5530 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5531 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5532 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5534 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5535
1991fa03
JM
55362012-03-09 Joseph Myers <joseph@codesourcery.com>
5537
5538 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5539 * sunrpc/rpc_main.c: Likewise.
5540 * sunrpc/rpc_svcout.c: Likewise.
5541
60d6f5a6
DM
55422012-03-09 David S. Miller <davem@davemloft.net>
5543
5544 * include/math_private.h: New file.
5545
4962050e
JM
55462012-03-09 Joseph Myers <joseph@codesourcery.com>
5547
02a6f887
JM
5548 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5549 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5550 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5551 from <bits/socket_type.h>.
5552 (enum __socket_type): Don't define here.
5553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5555 bits/socket_type.h.
5556
c6e013c1
JM
5557 [BZ #13566]
5558 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5559 checking __USE_GNU.
5560
4962050e
JM
5561 * Makerules ($(inst_includedir)/%.h): New rule.
5562 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5563 (install-others): Remove variable setting.
5564 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5565
38842f45
RH
55662012-03-08 Richard Henderson <rth@twiddle.net>
5567
67bb6da6
RH
5568 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5569 from macro to inline function; merge with the
5570 !__LIBC_INTERNAL_MATH_INLINES version.
5571 (__ieee754_sqrtf): Likewise.
5572
15194b4b
RH
5573 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5574 to inline function.
5575 (__rintf, __floor, __floorf): Likewise.
5576
64e21ede
RH
5577 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5578 macro to inline function.
5579 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5580
38842f45
RH
5581 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5582 not <math/math_private.h>.
5583
c64bf5fe
DM
55842012-03-08 David S. Miller <davem@davemloft.net>
5585
5586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5587 copyright year.
5588 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5589
82d86f28
TS
55902012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5591
5592 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5593 normalization.
5594 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5595 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5596
aea5d727
UD
55972012-03-08 Ulrich Drepper <drepper@gmail.com>
5598
5599 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5600 be defined individually, they must be defined as a block. Define
5601 S for printing a string instead of hidint the different by using a
5602 macro for adding the 'l'.
5603 * stdio-common/tst-fphex-wide.c: Adjust.
5604
70bca0a3
MP
56052012-03-07 Marek Polacek <polacek@redhat.com>
5606
5607 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5608
65b81130
MP
56092012-03-08 Marek Polacek <polacek@redhat.com>
5610
5611 [BZ #13806]
5612 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5613 * stdio-common/tst-fphex.c: Define a few macros to make the
5614 test reusable. Use them.
5615 * stdio-common/tst-fphex-wide.c: New file.
5616
07037eeb
JM
56172012-03-08 Joseph Myers <joseph@codesourcery.com>
5618
a7a93d50
JM
5619 [BZ #6911]
5620 * manual/macros.texi (gnusystems): New macro.
5621 (nongnusystems): Likewise.
5622 (gnulinuxhurdsystems): Likewise.
5623 (gnuhurdsystems): Likewise..
5624 (gnulinuxsystems): Likewise.
5625 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5626 variants of the GNU system, not "GNU system".
5627 * manual/conf.texi: Likewise.
5628 * manual/errno.texi: Likewise. Update example of errno macro
5629 expansion.
5630 * manual/filesys.texi: Likewise.
5631 (getumask): Document as specific to GNU/Hurd.
5632 * manual/install.texi: Likewise. Reword some references to
5633 GNU/Linux.
5634 * manual/intro.texi: Likewise.
5635 * manual/io.texi: Likewise.
5636 (File Name Portability): Detail which constraints are inapplicable
5637 to all GNU systems and which are only inapplicable to GNU/Hurd.
5638 * manual/job.texi: Likewise.
5639 * manual/llio.texi: Likewise.
5640 (O_NOCTTY): Document as present on GNU/Linux.
5641 * manual/maint.texi: Likewise.
5642 * manual/memory.texi: Likewise.
5643 * manual/pattern.texi: Likewise.
5644 * manual/pipe.texi: Likewise.
5645 * manual/process.texi: Likewise.
5646 * manual/resource.texi: Likewise.
5647 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5648 child on GNU/Hurd.
5649 * manual/setjmp.texi: Likewise.
5650 * manual/signal.texi: Likewise.
5651 * manual/startup.texi: Likewise.
5652 * manual/stdio.texi: Likewise.
5653 * manual/terminal.texi: Likewise.
5654 (ONLCR): Document as POSIX.
5655 (OXTABS): Document availability on GNU/Linux as XTABS.
5656 (ONOEOT): Document availability separately from other bits.
5657 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5658 * manual/time.texi: Likewise.
5659 * manual/users.texi: Likewise.
5660 * INSTALL: Regenerated.
5661 * sysdeps/gnu/errlist.c: Regenerated.
5662
07037eeb
JM
5663 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5664 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5665 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5666 puts.
5667 * configure: Regenerated.
5668
d1d3431a
JM
56692012-03-07 Joseph Myers <joseph@codesourcery.com>
5670
af6a1e37
JM
5671 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5672 default includes instead of AC_HEADER_CHECK.
5673 * sysdeps/i386/configure: Regenerated.
5674
d1d3431a
JM
5675 [BZ #10716]
5676 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5677 * math/s_cacoshf.c (__cacoshf): Likewise.
5678 * math/s_cacoshl.c (__cacoshl): Likewise.
5679 * math/s_casinh.c (__casinh): Set signs of result from argument.
5680 * math/s_casinhf.c (__casinhf): Likewise.
5681 * math/s_casinhl.c (__casinhl): Likewise.
5682 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5683 (casinh_test): Add more tests.
5684 * sysdeps/i386/fpu/libm-test-ulps: Update.
5685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5686
482ff4da
UD
56872012-03-07 Ulrich Drepper <drepper@gmail.com>
5688
872fda05
UD
5689 * po/zh_TW.po: Update from translation team.
5690
a4300c7a
UD
5691 * login/Makefile (distribute): Remove variable.
5692 * catgets/Makefile: Likewise.
5693 * mach/Makefile: Likewise.
5694 * malloc/Makefile: Likewise.
5695 * misc/Makefile: Likewise.
5696 * iconv/Makefile: Likewise.
5697 * nscd/Makefile: Likewise.
5698 * hurd/Makefile: Likewise.
5699 * manual/Makefile: Likewise.
5700 * locale/Makefile: Likewise.
5701 * intl/Makefile: Likewise.
5702 * conform/Makefile: Likewise.
5703 * nss/Makefile: Likewise.
5704 * time/Makefile: Likewise.
5705 * soft-fp/Makefile: Likewise.
5706 * dirent/Makefile: Likewise.
5707 * gmon/Makefile: Likewise.
5708 * po/Makefile: Likewise.
5709 * rt/Makefile: Likewise.
5710 * socket/Makefile: Likewise.
5711 * math/Makefile: Likewise.
5712 * signal/Makefile: Likewise.
5713 * debug/Makefile: Likewise.
5714 * elf/Makefile: Likewise.
5715 * timezone/Makefile: Likewise.
5716 * stdlib/Makefile: Likewise.
5717 * iconvdata/Makefile: Likewise.
5718 * sunrpc/Makefile: Likewise.
5719 * io/Makefile: Likewise.
5720 * argp/Makefile: Likewise.
5721 * inet/Makefile: Likewise.
5722 * hesiod/Makefile: Likewise.
5723 * grp/Makefile: Likewise.
5724 * csu/Makefile: Likewise.
5725 * wctype/Makefile: Likewise.
5726 * crypt/Makefile: Likewise.
5727 * libio/Makefile: Likewise.
5728 * string/Makefile: Likewise.
5729 * nis/Makefile: Likewise.
5730 * resolv/Makefile: Likewise.
5731 * stdio-common/Makefile: Likewise.
5732 * wcsmbs/Makefile: Likewise.
5733 * dlfcn/Makefile: Likewise.
5734 * posix/Makefile: Likewise.
5735
3b7c4e74 5736 [BZ #6959]
482ff4da
UD
5737 * timezone/Makefile: Don't install timezone files, just the programs
5738 and scripts.
5739
f72ed77d
UD
57402012-03-06 Ulrich Drepper <drepper@gmail.com>
5741
a000466f
UD
5742 * nss/databases.def: Add missing gshadow entry.
5743
f72ed77d
UD
5744 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5745
a53b7a4e
MP
57462012-03-06 Marek Polacek <polacek@redhat.com>
5747
5748 [BZ #13726]
5749 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5750 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5751 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5752 * stdio-common/tst-long-dbl-fphex.c: New file.
5753
e9258400
DM
57542012-03-06 David S. Miller <davem@davemloft.net>
5755
5756 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5757 (set_obp_int): New function.
5758 (get_obp_int): New function.
5759 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5760 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5761 Avoid unused variable warnings on 'val' and use builtin_expect.
5762 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5763 __builtin_expect.
e9258400
DM
5764 (INLINE_CLONE_SYSCALL): Likewise.
5765
3bd2c723
DM
57662012-03-05 David S. Miller <davem@davemloft.net>
5767
5768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5769
bbb78d03
AS
57702012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5771
884c5db4
AS
5772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5773
bbb78d03
AS
5774 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5775 only for |x| >= 40.
5776 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5777
1c9f702a 57782012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5779
5780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5781 Replace gettimeofday with __vdso_gettimeofday.
5782
7be16f82
RM
5783 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5784 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5785 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5786
5787 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5788 time with __vdso_time.
5789
ed58a00f
JM
57902012-03-05 Joseph Myers <joseph@codesourcery.com>
5791
5792 * manual/lang.texi (size_t): Note types to which size_t may be
5793 equivalent with the GNU C Library, but do not describe when
5794 differences between them are significant.
5795
30ee4ced
AJ
57962012-03-05 Andreas Jaeger <aj@suse.de>
5797
5798 * sysdeps/i386/fpu/libm-test-ulps: Update.
5799
b7cd39e8
JM
58002012-03-05 Joseph Myers <joseph@codesourcery.com>
5801
5802 [BZ #3976]
5803 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5804 (__ieee754_pow): Save and restore rounding mode and use
5805 round-to-nearest for main computations.
5806 * math/libm-test.inc (pow_test_tonearest): New function.
5807 (pow_test_towardzero): Likewise.
5808 (pow_test_downward): Likewise.
5809 (pow_test_upward): Likewise.
5810 (main): Call the new functions.
5811 * sysdeps/i386/fpu/libm-test-ulps: Update.
5812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5813
5814 [BZ #3976]
5815 * math/libm-test.inc (cosh_test_tonearest): New function.
5816 (cosh_test_towardzero): Likewise.
5817 (cosh_test_downward): Likewise.
5818 (cosh_test_upward): Likewise.
5819 (sinh_test_tonearest): Likewise.
5820 (sinh_test_towardzero): Likewise.
5821 (sinh_test_downward): Likewise.
5822 (sinh_test_upward): Likewise.
5823 (main): Call the new functions.
5824 * sysdeps/i386/fpu/libm-test-ulps: Update.
5825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5826
6c6a98c9
TV
58272012-03-05 Tom de Vries <tom@codesourcery.com>
5828
5829 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5830 default stack guard is set in last bytes.
5831 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5832
21bb2d2e 58332012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5834
21bb2d2e 5835 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5836
21bb2d2e
AJ
5837 [BZ #13656]
5838 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5839 possibly allocate from heap instead of stack.
5840 * stdio-common/bug-vfprintf-nargs.c: New file.
5841 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5842
c6922934
AS
58432012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5844
5845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5846
bc957d53
MP
58472012-03-03 Marek Polacek <polacek@redhat.com>
5848
5849 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5850 * math/math_private.h: Likewise.
5851 * stdlib/tst-strtod.c: Likewise.
5852 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5853 * sysdeps/x86_64/bits/atomic.h: Likewise.
5854
6358490d
DM
58552012-03-02 David S. Miller <davem@davemloft.net>
5856
5857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5861 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5862 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5863 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5864 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5865
01ae168d
RM
58662012-03-02 Roland McGrath <roland@hack.frob.com>
5867
d9a17c07
RM
5868 [BZ #13792]
5869 * manual/examples/README: New file, says the example source files
5870 can be used under GPL>=2.
5871 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5872 line containing just "*/".
5873 * manual/examples/add.c: Add copyright header (GPL>=2).
5874 * manual/examples/argp-ex1.c: Likewise.
5875 * manual/examples/argp-ex2.c: Likewise.
5876 * manual/examples/argp-ex3.c: Likewise.
5877 * manual/examples/argp-ex4.c: Likewise.
5878 * manual/examples/atexit.c: Likewise.
5879 * manual/examples/db.c: Likewise.
5880 * manual/examples/dir.c: Likewise.
5881 * manual/examples/dir2.c: Likewise.
5882 * manual/examples/execinfo.c: Likewise.
5883 * manual/examples/filecli.c: Likewise.
5884 * manual/examples/filesrv.c: Likewise.
5885 * manual/examples/fmtmsgexpl.c: Likewise.
5886 * manual/examples/genpass.c: Likewise.
5887 * manual/examples/inetcli.c: Likewise.
5888 * manual/examples/inetsrv.c: Likewise.
5889 * manual/examples/isockad.c: Likewise.
5890 * manual/examples/longopt.c: Likewise.
5891 * manual/examples/memopen.c: Likewise.
5892 * manual/examples/memstrm.c: Likewise.
5893 * manual/examples/mkfsock.c: Likewise.
5894 * manual/examples/mkisock.c: Likewise.
5895 * manual/examples/mygetpass.c: Likewise.
5896 * manual/examples/pipe.c: Likewise.
5897 * manual/examples/popen.c: Likewise.
5898 * manual/examples/rprintf.c: Likewise.
5899 * manual/examples/search.c: Likewise.
5900 * manual/examples/select.c: Likewise.
5901 * manual/examples/setjmp.c: Likewise.
5902 * manual/examples/sigh1.c: Likewise.
5903 * manual/examples/sigusr.c: Likewise.
5904 * manual/examples/stpcpy.c: Likewise.
5905 * manual/examples/strdupa.c: Likewise.
5906 * manual/examples/strftim.c: Likewise.
5907 * manual/examples/strncat.c: Likewise.
5908 * manual/examples/subopt.c: Likewise.
5909 * manual/examples/swapcontext.c: Likewise.
5910 * manual/examples/termios.c: Likewise.
5911 * manual/examples/testopt.c: Likewise.
5912 * manual/examples/testpass.c: Likewise.
5913 * manual/examples/timeval_subtract.c: Likewise.
5914
01ae168d
RM
5915 [BZ #13792]
5916 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5917 function to ...
5918 * manual/timeval_subtract.c.texi: ... here, new file.
5919
49efa33d
DM
59202012-03-02 David S. Miller <davem@davemloft.net>
5921
5922 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5923
28afd92d
JM
59242012-03-02 Joseph Myers <joseph@codesourcery.com>
5925
804360ed
JM
5926 [BZ #3976]
5927 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5928 (__sin): Save and restore rounding mode and use round-to-nearest
5929 for all computations.
5930 (__cos): Save and restore rounding mode and use round-to-nearest
5931 for all computations.
5932 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5933 <fenv.h>.
5934 (tan): Save and restore rounding mode and use round-to-nearest for
5935 all computations.
5936 * math/libm-test.inc (cos_test_tonearest): New function.
5937 (cos_test_towardzero): Likewise.
5938 (cos_test_downward): Likewise.
5939 (cos_test_upward): Likewise.
5940 (sin_test_tonearest): Likewise.
5941 (sin_test_towardzero): Likewise.
5942 (sin_test_downward): Likewise.
5943 (sin_test_upward): Likewise.
5944 (tan_test_tonearest): Likewise.
5945 (tan_test_towardzero): Likewise.
5946 (tan_test_downward): Likewise.
5947 (tan_test_upward): Likewise.
5948 (main): Call the new functions.
5949 * sysdeps/i386/fpu/libm-test-ulps: Update.
5950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5951
a6d06d7b
JM
5952 [BZ #10135]
5953 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5954 small n, then large n, before computing and testing k+n.
5955 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5956 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5957 Likewise.
5958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5959 Likewise.
5960 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5961 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5962 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5963 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5964 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5965 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5966 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5967 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5968 * math/libm-test.inc (scalbn_test): Add more tests.
5969 (scalbln_test): Likewise.
5970
07e12bb3
JM
5971 * manual/filesys.texi (mode_t): Describe constraints on size and
5972 signedness, not exact equivalence to a particular type.
5973 (ino_t): Likewise.
5974 (ino64_t): Likewise.
5975 (dev_t): Likewise.
5976 (nlink_t): Likewise.
5977 (blkcnt_t): Likewise.
5978 (blkcnt64_t): Likewise.
5979 * manual/llio.texi (off_t): Likewise.
5980
28afd92d
JM
5981 [BZ #3976]
5982 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5983 (__ieee754_exp): Save and restore rounding mode and use
5984 round-to-nearest for all computations.
5985 * math/libm-test.inc (exp_test_tonearest): New function.
5986 (exp_test_towardzero): Likewise.
5987 (exp_test_downward): Likewise.
5988 (exp_test_upward): Likewise.
5989 (main): Call the new functions.
5990 * sysdeps/i386/fpu/libm-test-ulps: Update.
5991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5992
b1eeb65d
CD
59932012-03-01 Chris Demetriou <cgd@google.com>
5994
5995 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5996 have predictable order.
5997
53362a4b
DM
59982012-03-01 David S. Miller <davem@davemloft.net>
5999
3c969083
DM
6000 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6001
759707de
DM
6002 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6003 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6004 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6005 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6006
dfdb8ff2
DM
6007 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6008 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6009 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6011 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6012 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6013 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6014 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6015 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6016
ead89f96
DM
6017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6018
7f66bd07
DM
6019 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6020 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6021 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6022
53362a4b
DM
6023 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6024 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6025 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6026 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6027 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6028 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6029 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6030 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6031 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6032 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6033 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6034 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6035 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6036 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6037 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6038 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6039 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6040 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6041 * sysdeps/sparc/elf/configure: Regenerated.
6042
7b1902cb
JM
60432012-03-01 Joseph Myers <joseph@codesourcery.com>
6044
bec039bc
JM
6045 * configure.in (AS, LD): Require binutils 2.20 or later.
6046 * configure: Regenerated.
6047 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6048 as required minimum version.
6049 * INSTALL: Regenerated.
6050
7b1902cb
JM
6051 [BZ #2541]
6052 [BZ #4108]
6053 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6054 before squaring exponent.
6055 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6056 bottom long double and 27 bits of top long double before squaring
6057 exponent.
6058 * math/libm-test.inc (erfc_test): Add more tests.
6059 * sysdeps/i386/fpu/libm-test-ulps: Update.
6060 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6062
f775c276
KT
60632012-03-01 Kai Tietz <ktietz@redhat.com>
6064
6065 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6066 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6067 containing bit-fields.
6068 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6069 * soft-fp/single.h (_FP_UNION_S): Likewise.
6070 * soft-fp/double.h (_FP_UNION_D): Likewise.
6071
5b8a4d4a
JM
60722012-02-29 Joseph Myers <joseph@codesourcery.com>
6073
0bab47b6
JM
6074 [BZ #13786]
6075 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6076 not include ../strcmp.S.
6077 [USE_AS_STRNCASECMP_L]: Likewise.
6078 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6079 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6080 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6081 (__strncasecmp_l_ia32): Define as alias to
6082 __strncasecmp_l_nonascii.
6083
0fcad3e2
JM
6084 [BZ #5794]
6085 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6086 * sysdeps/i386/fpu/libm-test-ulps: Update.
6087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6088
5b8a4d4a
JM
6089 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6091
8fdceb2e
JL
60922012-02-29 Jeff Law <law@redhat.com>
6093
6094 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6095 out of bounds read.
6096
1f393a11
MP
60972012-02-29 Marek Polacek <polacek@redhat.com>
6098
6099 [BZ #13706]
6100 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6101 * elf/Makefile: Add rules to run tst-unused-dep.out.
6102
8847f037
DM
61032012-02-28 David S. Miller <davem@davemloft.net>
6104
6105 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6106 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6107 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6108 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6109 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6110 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6111
169d7f11
JM
61122012-02-29 Joseph Myers <joseph@codesourcery.com>
6113
6114 * math/libm-test.inc (llround_test): Move one test from
6115 lround_test. Use TEST_f_L in moved test.
6116 (lround_test): Move misplaced test to llround_test. Add testcase
6117 from bug 2561.
6118
39adf059
UD
61192012-02-28 Ulrich Drepper <drepper@gmail.com>
6120
6121 * sysdeps/x86_64/fpu/e_expf.S: New file.
6122 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6123
71b5d1c5
SB
61242012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6125
6126 [BZ #13637]
6127 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6128 of remain_len that may cause incomplete multi-byte character and
6129 false match.
6130 * posix/bug-regex33.c: New file.
6131 * posix/Makefile (tests): Add bug-regex33.
6132
1f77f049
JM
61332012-02-28 Joseph Myers <joseph@codesourcery.com>
6134
6135 * manual/macros.texi: New file.
6136 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6137 * manual/libc.texinfo: Include macros.texi.
6138 * manual/creatute.texi: Likewise.
6139 * manual/install.texi: Likewise.
6140 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6141 @glibcadj{} in references to the GNU C Library.
6142 * manual/charset.texi: Likewise.
6143 * manual/conf.texi: Likewise.
6144 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6145 when not using those macros.
6146 * manual/creature.texi: Likewise.
6147 * manual/crypt.texi: Likewise.
6148 * manual/errno.texi: Likewise.
6149 * manual/filesys.texi: Likewise.
6150 * manual/header.texi: Likewise.
6151 * manual/install.texi: Likewise.
6152 * manual/intro.texi: Likewise.
6153 * manual/io.texi: Likewise.
6154 * manual/job.texi: Likewise.
6155 * manual/lang.texi: Likewise.
6156 * manual/libc.texiinfo: Likewise.
6157 * manual/llio.texi: Likewise.
6158 * manual/locale.texi: Likewise.
6159 * manual/maint.texi: Likewise.
6160 * manual/math.texi: Likewise.
6161 * manual/memory.texi: Likewise.
6162 * manual/message.texi: Likewise.
6163 * manual/nss.texi: Likewise.
6164 * manual/pattern.texi: Likewise.
6165 * manual/process.texi: Likewise.
6166 * manual/resource.texi: Likewise.
6167 * manual/search.texi: Likewise.
6168 * manual/setjmp.texi: Likewise.
6169 * manual/signal.texi: Likewise.
6170 * manual/socket.texi: Likewise.
6171 * manual/startup.texi: Likewise.
6172 * manual/stdio.texi: Likewise.
6173 * manual/string.texi: Likewise.
6174 * manual/sysinfo.texi: Likewise.
6175 * manual/syslog.texi: Likewise.
6176 * manual/terminal.texi: Likewise.
6177 * manual/time.texi: Likewise.
6178 * manual/users.texi: Likewise.
6179 * INSTALL: Regenerated.
6180 * NOTES: Regenerated.
d40c5d54 6181 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6182
450bf206
AS
61832012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6184
6185 * include/dirent.h: Include <dirstream.h> before
6186 <dirent/dirent.h>.
6187
741a235b
DM
61882012-02-28 David S. Miller <davem@davemloft.net>
6189
6190 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6191 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6192 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6193 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6194
d6b5aa58
DM
61952012-02-27 David S. Miller <davem@davemloft.net>
6196
1aff59a3
DM
6197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6199 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6200 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6201
d6b5aa58
DM
6202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6203 frame pointer instead of stack pointer relative arg slot.
6204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6205 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6206 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6207
433f48bf
CD
62082012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6209
6210 [BZ #3992]
6211 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6212
d674b76d
DM
62132012-02-27 David S. Miller <davem@davemloft.net>
6214
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6219 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6220 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6221 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6222 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6223
0e7727f7
JM
62242012-02-27 Joseph Myers <joseph@codesourcery.com>
6225
6226 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6227 later. Allow versions 5-9.
43be4ca2 6228 * configure: Regenerated.
0e7727f7
JM
6229 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6230 required minimum version and 4.6 as recommended version. Do not
6231 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6232 * INSTALL: Regenerated.
0e7727f7 6233
a78bc654
DM
62342012-02-27 David S. Miller <davem@davemloft.net>
6235
428d5830
DM
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6240 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6241 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6242 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6243 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6244
a78bc654
DM
6245 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6246 manipulate bits before adding and subtracting TWO112[sx].
6247 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6248
4579f81c
RM
62492012-02-27 Roland McGrath <roland@hack.frob.com>
6250
36c8acb4
RM
6251 [BZ #13775]
6252 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6253 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6254 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6255 being in POSIX, because they are in 1003.1-2008.
6256
84ad622b
RM
6257 * rt/tst-aio.c: Include <fcntl.h>.
6258 * rt/tst-aio7.c: Likewise.
6259 * rt/tst-aio64.c: Likewise.
6260
4579f81c
RM
6261 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6262
abd923db
JM
62632012-02-27 Joseph Myers <joseph@codesourcery.com>
6264
6265 * manual/install.texi (--with-headers): Describe headers as
6266 interface headers, not private headers.
6267 (Specific advice for GNU/Linux systems): Describe use of headers
6268 from "make headers_install", not private headers from older
6269 kernels.
43be4ca2 6270 * INSTALL: Regenerated.
abd923db
JM
6271 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6272 Change to 2.6.19.
6273 * sysdeps/unix/sysv/linux/configure: Regenerated.
6274
6664049b
JM
6275 * manual/llio.texi (fclean): Remove documentation.
6276
bb8b6697
JM
6277 * manual/Makefile (libc-texi-generated): New variable. Include
6278 version.texi.
6279 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6280 $(libc-texi-generated), not duplicated list of files.
6281 (version.texi, stamp-version): New rules.
6282 (realclean): Remove $(libc-texi-generated), not individual files
6283 from that list. Do not remove dir-add.texinfo.
6284 * manual/libc.texinfo: Comment out uses of edition numbers and
6285 references to printed manual. Remove last-updated dates.
6286 (EDITION): Comment out.
6287 (ISBN): Likewise.
6288 (VERSION, UPDATED): Remove.
6289 (version.texi): Include.
6290
12e5c3b9
AS
62912012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6292
6293 * sysdeps/posix/spawni.c: Include <signal.h>.
6294 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6295 * sysdeps/pthread/aio_fsync.c: Likewise.
6296
4efeffc1 62972012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6298
ba63ba08
UD
6299 * conform/Makefile (tests): Run only when not cross-compiling and
6300 when fast-check is not defined.
6301
d94a4670
UD
6302 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6303 * conform/data/limits.h-data: Fixes for POSIX2008.
6304 * conform/run-conformtest.sh: Run all tests.
6305 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6306 headers.
6307 * include/bits/dlfcn.h: Likewise.
6308 * include/langinfo.h: Likewise.
6309 * include/monetary.h: Likewise.
6310 * include/sys/poll.h: Likewise.
6311
6312 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6313 for __USE_GNU.
6314 * posix/spawn.h: Define __need_sigset_t.
6315 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6316 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6317 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6318 to get sigevent_t only.
6319 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6320 only for __USE_GNU.
6321 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6322 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6323 process_vm_writev only for __USE_GNU.
6324 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6325
6326 * conform/Makefile: For now ignore errors from run-conformtest.
6327 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6328 POSIX to avoid namespace pollution. Don't prepend headers.
6329 * conform/data/aio.h-data: Fixes for POSIX testing.
6330 * conform/data/fcntl.h-data: Likewise.
6331 * conform/data/glob.h-data: Likewise.
6332 * conform/data/grp.h-data: Likewise.
6333 * conform/data/pthread.h-data: Likewise.
6334 * conform/data/pwd.h-data: Likewise.
6335 * conform/data/signal.h-data: Likewise.
6336 * conform/data/spawn.h-data: Likewise.
6337 * conform/data/stdio.h-data: Likewise.
6338 * conform/data/stdlib.h-data: Likewise.
6339 * conform/data/stropts.h-data: Likewise.
6340 * conform/data/sys/mman.h-data: Likewise.
6341 * conform/data/sys/stat.h-data: Likewise.
6342 * conform/data/sys/types.h-data: Likewise.
6343 * conform/data/sys/wait.h-data: Likewise.
6344 * conform/data/time.h-data: Likewise.
6345 * conform/data/unistd.h-data: Likewise.
6346 * conform/data/utime.h-data: Likewise.
6347
6348 * io/sys/stat.h: fchmod was always in POSIX.
6349 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6350 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6351 * rt/aio.h: Define __need_timespec before including <time.h>.
6352 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6353 struct. Add forward declaration of pthread_attr_t and use it in
6354 sigevent.
6355 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6356 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6357 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6358 always remove CLK_TCK definition.
6359
c20105c3
AS
63602012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6361
6362 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6363
7a270350
UD
63642012-02-25 Ulrich Drepper <drepper@gmail.com>
6365
31341567
UD
6366 * conform/run-conformtest.sh: New file.
6367 * conform/Makefile: Run run-conformtest for tests.
6368 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6369 support.
6370
6371 * conform/data/uchar.h-data: New file.
6372 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6373 * conform/data/arpa/inet.h-data: Likewise.
6374 * conform/data/assert.h-data: Likewise.
6375 * conform/data/complex.h-data: Likewise.
6376 * conform/data/cpio.h-data: Likewise.
6377 * conform/data/ctype.h-data: Likewise.
6378 * conform/data/dirent.h-data: Likewise.
6379 * conform/data/dlfcn.h-data: Likewise.
6380 * conform/data/errno.h-data: Likewise.
6381 * conform/data/fcntl.h-data: Likewise.
6382 * conform/data/float.h-data: Likewise.
6383 * conform/data/fmtmsg.h-data: Likewise.
6384 * conform/data/fnmatch.h-data: Likewise.
6385 * conform/data/ftw.h-data: Likewise.
6386 * conform/data/glob.h-data: Likewise.
6387 * conform/data/grp.h-data: Likewise.
6388 * conform/data/iconv.h-data: Likewise.
6389 * conform/data/inttypes.h-data: Likewise.
6390 * conform/data/langinfo.h-data: Likewise.
6391 * conform/data/libgen.h-data: Likewise.
6392 * conform/data/limits.h-data: Likewise.
6393 * conform/data/locale.h-data: Likewise.
6394 * conform/data/math.h-data: Likewise.
6395 * conform/data/monetary.h-data: Likewise.
6396 * conform/data/mqueue.h-data: Likewise.
6397 * conform/data/ndbm.h-data: Likewise.
6398 * conform/data/net/if.h-data: Likewise.
6399 * conform/data/netdb.h-data: Likewise.
6400 * conform/data/netinet/in.h-data: Likewise.
6401 * conform/data/nl_types.h-data: Likewise.
6402 * conform/data/poll.h-data: Likewise.
6403 * conform/data/pthread.h-data: Likewise.
6404 * conform/data/pwd.h-data: Likewise.
6405 * conform/data/regex.h-data: Likewise.
6406 * conform/data/sched.h-data: Likewise.
6407 * conform/data/search.h-data: Likewise.
6408 * conform/data/semaphore.h-data: Likewise.
6409 * conform/data/setjmp.h-data: Likewise.
6410 * conform/data/signal.h-data: Likewise.
6411 * conform/data/spawn.h-data: Likewise.
6412 * conform/data/stdarg.h-data: Likewise.
6413 * conform/data/stdio.h-data: Likewise.
6414 * conform/data/stdlib.h-data: Likewise.
6415 * conform/data/string.h-data: Likewise.
6416 * conform/data/strings.h-data: Likewise.
6417 * conform/data/stropts.h-data: Likewise.
6418 * conform/data/sys/ipc.h-data: Likewise.
6419 * conform/data/sys/mman.h-data: Likewise.
6420 * conform/data/sys/msg.h-data: Likewise.
6421 * conform/data/sys/resource.h-data: Likewise.
6422 * conform/data/sys/select.h-data: Likewise.
6423 * conform/data/sys/sem.h-data: Likewise.
6424 * conform/data/sys/shm.h-data: Likewise.
6425 * conform/data/sys/socket.h-data: Likewise.
6426 * conform/data/sys/stat.h-data: Likewise.
6427 * conform/data/sys/statvfs.h-data: Likewise.
6428 * conform/data/sys/time.h-data: Likewise.
6429 * conform/data/sys/timeb.h-data: Likewise.
6430 * conform/data/sys/times.h-data: Likewise.
6431 * conform/data/sys/types.h-data: Likewise.
6432 * conform/data/sys/uio.h-data: Likewise.
6433 * conform/data/sys/un.h-data: Likewise.
6434 * conform/data/sys/utsname.h-data: Likewise.
6435 * conform/data/sys/wait.h-data: Likewise.
6436 * conform/data/syslog.h-data: Likewise.
6437 * conform/data/tar.h-data: Likewise.
6438 * conform/data/termios.h-data: Likewise.
6439 * conform/data/utime.h-data: Likewise.
6440 * conform/data/utmpx.h-data: Likewise.
6441 * conform/data/varargs.h-data: Likewise.
6442 * conform/data/wchar.h-data: Likewise.
6443 * conform/data/wctype.h-data: Likewise.
6444 * conform/data/wordexp.h-data: Likewise.
6445
6446 * include/stropts.h: New file.
6447 * include/uchar.h: New file.
6448 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6449 * include/assert.h: Likewise.
6450 * include/ctype.h: Likewise.
6451 * include/dirent.h: Likewise.
6452 * include/dlfcn.h: Likewise.
6453 * include/fcntl.h: Likewise.
6454 * include/fnmatch.h: Likewise.
6455 * include/glob.h: Likewise.
6456 * include/grp.h: Likewise.
6457 * include/libio.h: Likewise.
6458 * include/locale.h: Likewise.
6459 * include/math.h: Likewise.
6460 * include/net/if.h: Likewise.
6461 * include/netdb.h: Likewise.
6462 * include/netinet/in.h: Likewise.
6463 * include/pthread.h: Likewise.
6464 * include/pwd.h: Likewise.
6465 * include/regex.h: Likewise.
6466 * include/sched.h: Likewise.
6467 * include/search.h: Likewise.
6468 * include/setjmp.h: Likewise.
6469 * include/signal.h: Likewise.
6470 * include/stdio.h: Likewise.
6471 * include/stdlib.h: Likewise.
6472 * include/string.h: Likewise.
6473 * include/sys/cdefs.h: Likewise.
6474 * include/sys/mman.h: Likewise.
6475 * include/sys/msg.h: Likewise.
6476 * include/sys/resource.h: Likewise.
6477 * include/sys/select.h: Likewise.
6478 * include/sys/socket.h: Likewise.
6479 * include/sys/stat.h: Likewise.
6480 * include/sys/statvfs.h: Likewise.
6481 * include/sys/time.h: Likewise.
6482 * include/sys/times.h: Likewise.
6483 * include/sys/uio.h: Likewise.
6484 * include/sys/utsname.h: Likewise.
6485 * include/sys/wait.h: Likewise.
6486 * include/termios.h: Likewise.
6487 * include/time.h: Likewise.
6488 * include/ulimit.h: Likewise.
6489 * include/unistd.h: Likewise.
6490 * include/utime.h: Likewise.
6491 * include/wchar.h: Likewise.
6492 * include/wctype.h: Likewise.
6493 * include/wordexp.h: Likewise.
6494
6495 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6496
7a270350
UD
6497 * time/time.h: TIME_UTC must be a macro.
6498 Make timespec_get available for ISO C11 only as well.
6499
7724defc
UD
65002012-02-24 Ulrich Drepper <drepper@gmail.com>
6501
6502 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6503 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6504
6b1d1d46
JM
65052012-02-24 Joseph Myers <joseph@codesourcery.com>
6506
6507 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6508
0f8bbd69
JM
65092012-02-24 Joseph Myers <joseph@codesourcery.com>
6510
6511 * manual/texinfo.tex: Update to version 2012-01-19.16.
6512
66ab80bc
JM
65132012-02-24 Joseph Myers <joseph@codesourcery.com>
6514
6515 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6516
74981cc5
RM
65172012-02-24 Roland McGrath <roland@hack.frob.com>
6518
ee968201
RM
6519 [BZ #13738]
6520 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6521 * manual/fdl-1.3.texi: New file.
6522 * manual/fdl-1.1.texi: File removed.
6523
74981cc5
RM
6524 [BZ #13738]
6525 * manual/libc.texinfo (FDL_VERSION): New @set.
6526 Use it for mention of FDL in cover text.
6527 (Documentation License): Use it in @include file name.
6528
7bb764bc
JM
65292012-02-22 Joseph Myers <joseph@codesourcery.com>
6530 Roland McGrath <roland@hack.frob.com>
6531
6532 [BZ #5461]
6533 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6534 not LONG_LONG_MAX and LONG_LONG_MIN.
6535 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6536 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6537 name.
6538 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6539
6cbeae47
JM
65402012-02-22 Joseph Myers <joseph@codesourcery.com>
6541
6542 [BZ #2547]
6543 [BZ #11365]
6544 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6545 manipulate bits before adding and subtracting TWO23[sx].
6546 * math/libm-test.inc (nearbyint_test): Add more tests.
6547
fe45ce09
JM
65482012-02-22 Joseph Myers <joseph@codesourcery.com>
6549
6550 [BZ #2548]
6551 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6552 bits before adding and subtracting TWO23[sx].
6553 * math/libm-test.inc (rint_test): Add more tests.
6554 (rint_test_tonearest): Likewise.
6555 (rint_test_towardzero): Likewise.
6556 (rint_test_downward): Likewise.
6557 (rint_test_upward: Likewise.
6558
ff3b3d82
JM
65592012-02-22 Joseph Myers <joseph@codesourcery.com>
6560
6561 [BZ #10110]
6562 * include/stdc-predef.h: New file. Extracted from features.h.
6563 * include/features.h: Include stdc-predef.h.
6564 * Makefile (headers): Add stdc-predef.h.
6565 * CONFORMANCE (Compiler limitations): Update.
6566
ef0aab35
JM
65672012-02-22 Joseph Myers <joseph@codesourcery.com>
6568
6569 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6570
58639409
DM
65712012-02-21 David S. Miller <davem@davemloft.net>
6572
6573 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6574 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6575
c0e70b25
DM
65762012-02-20 David S. Miller <davem@davemloft.net>
6577
6578 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6579 using a normal save/restore sequence, rather than allocating a
6580 dummy stack frame just to store a frame pointer and restore.
6581 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6582
fb06851d
JM
65832012-02-21 Joseph Myers <joseph@codesourcery.com>
6584
6585 * manual/install.texi: Fix stray word in line-wrapped comment.
6586
7a8b71c3
DM
65872012-02-20 David S. Miller <davem@davemloft.net>
6588
d510c123
DM
6589 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6590 both binutils and gcc support GOTDATA.
6591
0722d7c2
DM
6592 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6593 "rd %pc" in the PIC register setup sequences.
6594
3d2b3019
DM
6595 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6596 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6597 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6598 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6599 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6600 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6601 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6602 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6604 (SYSCALL_ERROR_HANDLER): Likewise.
6605 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6606 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6608 (SYSCALL_ERROR_HANDLER): Likewise.
6609
c80098a9
DM
6610 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6611 (HAVE_GCC_GOTDATA): New.
6612 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6613 relocation support in both binutils and gcc.
6614 * sysdeps/sparc/elf/configure: Regenerate.
6615
3a2545a0
DM
6616 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6617 * sysdeps/sparc/sparc32/elf/configure: Delete.
6618 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6619 * sysdeps/sparc/sparc64/elf/configure: Delete.
6620 * sysdeps/sparc/elf/configure.in: New file.
6621 * sysdeps/sparc/elf/configure: Generate.
6622
7a8b71c3
DM
6623 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6624 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6625 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6626 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6627 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6628
f1e86fca
JM
66292012-02-21 Joseph Myers <joseph@codesourcery.com>
6630
6631 * manual/install.texi: Do not mention specific glibc version
6632 numbers.
6633 * manual/libc.texinfo (VERSION, UPDATED): Update.
6634 (@copying): Use @copyright{} and range of years.
6635
0e7dfaef
JM
66362012-02-21 Joseph Myers <joseph@codesourcery.com>
6637
6638 [BZ #13695]
6639 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6640 [crti.S not in sysdirs] (generated): Do not append.
6641 [crti.S not in sysdirs] (omit-deps): Likewise.
6642 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6643 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6644 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6645 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6646 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6647 Likewise.
6648 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6649 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6650 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6651 * csu/defs.awk: Remove file.
6652 * sysdeps/generic/initfini.c: Likewise.
6653 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6654 variable.
6655 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6656 Likewise.
6657
599af3ca
JM
66582012-02-20 Joseph Myers <joseph@codesourcery.com>
6659
6660 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6661 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6662 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6663 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6664 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6665 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6666 <bits/epoll.h>.
6667 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6668 (__EPOLL_PACKED): Define to empty if not defined by
6669 <bits/epoll.h>.
6670 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6672 bits/epoll.h.
6673
0e499750
JM
66742012-02-20 Joseph Myers <joseph@codesourcery.com>
6675
6676 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6677 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6678 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6679 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6680 <bits/timerfd.h>.
6681 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6683 bits/timerfd.h.
6684
5ad91f6e
JM
66852012-02-20 Joseph Myers <joseph@codesourcery.com>
6686
6687 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6688 in C locale.
6689 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6690 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6691 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6693
06b99b02
AJ
66942012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6695
6696 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6697 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6698
7638c0fd
AS
66992012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6700
6701 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6702 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6703 defined.
6704 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6705 Likewise.
6706 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6707 entry for 2.16.
6708
92221550
AJ
67092012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6710
6711 * math/w_acos.c: Use non-signaling floating-point comparisons.
6712 * math/w_acosf.c: Likewise.
6713 * math/w_acosh.c: Likewise.
6714 * math/w_acoshf.c: Likewise.
6715 * math/w_acoshl.c: Likewise.
6716 * math/w_acosl.c: Likewise.
6717 * math/w_asin.c: Likewise.
6718 * math/w_asinf.c: Likewise.
6719 * math/w_asinl.c: Likewise.
6720 * math/w_atanh.c: Likewise.
6721 * math/w_atanhf.c: Likewise.
6722 * math/w_atanhl.c: Likewise.
6723 * math/w_exp2.c: Likewise.
6724 * math/w_exp2f.c: Likewise.
6725 * math/w_exp2l.c: Likewise.
6726 * math/w_j0.c: Likewise.
6727 * math/w_j0f.c: Likewise.
6728 * math/w_j0l.c: Likewise.
6729 * math/w_j1.c: Likewise.
6730 * math/w_j1f.c: Likewise.
6731 * math/w_j1l.c: Likewise.
6732 * math/w_jn.c: Likewise.
6733 * math/w_jnf.c: Likewise.
6734 * math/w_log.c: Likewise.
6735 * math/w_log10.c: Likewise.
6736 * math/w_log10f.c: Likewise.
6737 * math/w_log10l.c: Likewise.
6738 * math/w_log2.c: Likewise.
6739 * math/w_log2f.c: Likewise.
6740 * math/w_log2l.c: Likewise.
6741 * math/w_logf.c: Likewise.
6742 * math/w_logl.c: Likewise.
6743 * math/w_sqrt.c: Likewise.
6744 * math/w_sqrtf.c: Likewise.
6745 * math/w_sqrtl.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6748 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6749 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6750 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6751
ebaf36eb
JM
67522012-02-19 Joseph Myers <joseph@codesourcery.com>
6753
6754 [BZ #9739]
6755 * manual/string.texi (strnlen): Use correct parameter name in
6756 equivalent expression.
6757
71c254a6
JM
67582012-02-19 Joseph Myers <joseph@codesourcery.com>
6759
6760 [BZ #11174]
6761 * manual/users.texi (seteuid): Consistently use neweuid for
6762 argument name.
6763
16d2c631
JM
67642012-02-19 Joseph Myers <joseph@codesourcery.com>
6765
6766 [BZ #13704]
6767 * manual/nss.texi (Services in the NSS configuration): Correct
6768 list of services in example configuration file.
6769
cd837b09
NB
67702012-02-19 Nick Bowler <nbowler@draconx.ca>
6771
6772 [BZ #11322]
6773 * manual/arith.texi: Remove statements about negative zero
6774 behaving identically to zero.
6775
02c4bbad
JM
67762012-02-18 Joseph Myers <joseph@codesourcery.com>
6777
6778 [BZ #5993]
6779 * manual/install.texi: Do not document upgrading from libc5.
6780
366842e7
JM
67812012-02-18 Joseph Myers <joseph@codesourcery.com>
6782
6783 [BZ #4596]
6784 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6785
dd54084d
DM
67862012-02-18 David S. Miller <davem@davemloft.net>
6787
6788 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6789 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6790 %o7 across the call.
6791 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6792 instead.
6793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6794 SETUP_PIC_REG_LEAF.
6795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6796 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6797 * sysdeps/sparc/crtn.S: Likewise.
6798
2bcc53a3
UD
67992012-02-17 Ulrich Drepper <drepper@gmail.com>
6800
6801 * aout/Makefile: Remove.
6802
09c093b5
RK
68032012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6804
6805 [BZ #13058]
6806 * manual/examples/argp-ex1.c (main): Format definition in GNU
6807 style.
6808 * manual/examples/argp-ex2.c (main): Likewise.
6809 * manual/examples/argp-ex3.c (main): Likewise.
6810 * manual/examples/argp-ex4.c (main): Likewise.
6811 * manual/examples/longopt.c (main): Use new-style prototype
6812 definition.
6813 * manual/examples/strncat.c (main): Specify return type and use
6814 (void) for arguments.
6815 * manual/examples/subopt.c (main): Use char **argv argument.
6816
2ee633a2
JM
68172012-02-17 Joseph Myers <joseph@codesourcery.com>
6818
6819 [BZ #5077]
6820 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6821 rounding modes.
6822
0520adde
FB
68232012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6824
6825 [BZ #6907]
6826 * manual/string.texi (strchr): Change when strchrnul is
6827 recommended.
6828
3f4081cd
DGM
68292012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6830
6831 [BZ #174]
6832 * manual/locale.texi (setlocale): Document LOCPATH.
6833
d1b10e78
JM
68342012-02-17 Joseph Myers <joseph@codesourcery.com>
6835
6836 [BZ #10210]
6837 * manual/process.texi (execle): Move @dots{} before last argument.
6838
79c6869c
PB
68392012-02-17 Paul Bolle <pebolle@tiscali.nl>
6840
6841 [BZ #12047]
6842 * manual/charset.texi (Generic Charset Conversion): Fix typo
6843 (LC_TYPE -> LC_CTYPE).
6844
cc6e48bc
NB
68452012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6846
6847 [BZ #5805]
6848 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6849 (scalbnf): Likewise.
6850 (scalbnl): Likewise.
6851 (scalbln): Likewise.
6852 (scalblnf): Likewise.
6853 (scalblnl): Likewise.
6854 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6855 (vwarnx): Likewise.
6856 (verr): Likewise.
6857 (verrx): Likewise.
6858 * manual/filesys.texi (telldir): Use braces around return type.
6859 * manual/llio.texi (mmap): Add space after comma.
6860 (mmap64): Likewise.
6861 * manual/math.texi (jn): Use @var{} on parameter names.
6862 (jnf): Likewise.
6863 (jnl): Likewise.
6864 (yn): Likewise.
6865 (ynf): Likewise.
6866 (ynl): Likewise.
6867 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6868 line.
6869 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6870 "...".
6871 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6872 (sched_get_priority_max): Likewise.
6873 * manual/signal.texi (sigvec): Add space after comma.
6874 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6875 names.
6876 (if_indextoname): Likewise.
6877 (if_freenameindex): Likewise.
6878 (sendto): Use ',' instead of '.' in prototype.
6879 * manual/startup.texi (syscall): Use @dots{} instead of literal
6880 "...".
6881 * manual/stdio.texi (__fpending): Separate initial words of
6882 paragraph from @deftypefun line.
6883 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6884 "...".
6885 (vsyslog): Use @var{} on parameter names.
6886 * manual/terminal.texi (stty): Use @var{} on parameter names.
6887 * manual/users.texi (getutmp): Use @var{} on parameter names.
6888 (getutmpx): Likewise.
6889
5b23062f
JM
68902012-02-17 Joseph Myers <joseph@codesourcery.com>
6891
6892 [BZ #6884]
6893 * manual/stdio.texi (fopen): Fix typos in description of
6894 ",ccs=STRING".
6895
8dee4833
AJ
68962012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6897
6898 [BZ #4026]
6899 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6900 get clock_id definition.
6901
9078ce93
TS
69022012-02-17 Thomas Schwinge <thomas@schwinge.name>
6903
6904 [BZ #4822]
6905 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6906 (madvise): Cast every argument to void on its own.
6907
3835c55f
JM
69082012-02-17 Joseph Myers <joseph@codesourcery.com>
6909
6910 [BZ #9902]
6911 * manual/startup.texi (Exit Status): Fix typo.
6912
35c47e37
JM
69132012-02-17 Joseph Myers <joseph@codesourcery.com>
6914
6915 [BZ #10140]
6916 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6917 * manual/examples/argp-ex2.c: Likewise.
6918 * manual/examples/argp-ex3.c: Likewise.
6919
e3b69ca7
RH
69202012-02-16 Richard Henderson <rth@redhat.com>
6921
6922 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6923 * sysdeps/s390/s390-32/initfini.c: Remove.
6924 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6925 * sysdeps/s390/s390-64/initfini.c: Remove.
6926
df83af67
KK
69272012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6928
6929 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6930 compiler output for sysdeps/generic/initfini.c.
6931 * sysdeps/sh/elf/initfini.c: Remove file.
6932
f63f3380
DM
69332012-02-16 David S. Miller <davem@davemloft.net>
6934
fb59b3a4
DM
6935 [BZ #11494]
6936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6937
f63f3380
DM
6938 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6939 * sysdeps/sparc/crti.S: New file.
6940 * sysdeps/sparc/crtn.S: New file.
6941 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6942 * sysdeps/sparc/sparc64/Makefile: Likewise.
6943
df6a4a4a
MF
69442012-02-15 Mike Frysinger <vapier@gentoo.org>
6945
6dd8f3dc 6946 [BZ #3335]
df6a4a4a
MF
6947 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6948
1cac7236
RM
69492012-02-15 Roland McGrath <roland@hack.frob.com>
6950
d2c736f8
RM
6951 [BZ #4822]
6952 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6953
1cac7236
RM
6954 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6955 (write, read, close): Likewise.
6956 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6957
8e475601
JM
69582012-02-15 Joseph Myers <joseph@codesourcery.com>
6959
6960 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6961 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6962 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6963 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6964 <bits/signalfd.h>.
6965 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6967 bits/signalfd.h.
6968
ed656b40
MP
69692012-02-14 Marek Polacek <polacek@redhat.com>
6970
6971 * sysdeps/x86_64/crti.S: New file.
6972 * sysdeps/x86_64/crtn.S: New file.
6973 * sysdeps/x86_64/elf/initfini.c: Remove file.
6974
2a979d3a
JM
69752012-02-13 Joseph Myers <joseph@codesourcery.com>
6976
6977 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6978 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6979 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6980 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6981 <bits/inotify.h>.
6982 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6984 bits/inotify.h.
6985
2a418ac3
JM
69862012-02-13 Joseph Myers <joseph@codesourcery.com>
6987
6988 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6989 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6990 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6991 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6992 <bits/eventfd.h>.
6993 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6995 bits/eventfd.h.
6996
fb779be7
TS
69972012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6998
e19e83c5
RM
6999 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7000 __feraiseexcept instead of feraiseexcept.
7c35ffed 7001
fb779be7
TS
7002 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7003 nanosleep invocations.
7004 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7005 strings, and add error checking for a nanosleep invocations.
7006
59ba27a6
PE
70072012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7008
7009 Replace FSF snail mail address with URLs, as per GNU coding standards.
7010 Most of the snail mail addresses were wrong anyway, and omitting
7011 them makes the source code easier to maintain. Almost all of the
7012 changes are to license notices and to locale LC_IDENTIFICATION
7013 addresses, except for this one:
7014 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7015 not its snail mail address.
7016
57b957eb
RH
70172012-02-09 Richard Henderson <rth@twiddle.net>
7018
af850b1c
RH
7019 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7020 of kernel-features.h.
7021
57b957eb
RH
7022 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7023
6b73181a
MP
70242012-02-08 Marek Polacek <polacek@redhat.com>
7025
7026 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7027 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7028 * sysdeps/gnu/_G_config.h: Likewise.
7029 * sysdeps/generic/_G_config.h: Likewise.
7030
26ecc33a
AS
70312012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7032
6c6dbc63
AS
7033 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7034 tests.
7035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7036
e216c012
AS
7037 * sysdeps/powerpc/powerpc32/crti.S: New file.
7038 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7039 * sysdeps/powerpc/powerpc64/crti.S: New file.
7040 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7041
26ecc33a
AS
7042 * Makeconfig (have-initfini): Don't set.
7043 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7044 * configure.in (nopic_initfini): Don't substitute.
7045 * config.h.in (HAVE_INITFINI): Don't #undef.
7046 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7047 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7048
3add8e13
JM
70492012-02-08 Joseph Myers <joseph@codesourcery.com>
7050
7051 Support crti.S and crtn.S provided directly by architectures.
7052 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7053 [crti.S in sysdirs] (omit-deps): Likewise.
7054 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7055 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7056 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7057 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7058 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7059 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7060 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7061 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7062 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7063 compiler output for sysdeps/generic/initfini.c.
7064 * sysdeps/i386/elf/Makefile: Remove file.
7065 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7066
a22f12b4
MP
70672012-02-07 Marek Polacek <polacek@redhat.com>
7068
7069 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7070 * sysdeps/gnu/_G_config.h: Likewise.
7071 * sysdeps/mach/hurd/_G_config.h: Likewise.
7072
148cf100
MP
70732012-02-07 Marek Polacek <polacek@redhat.com>
7074
7075 * math/Makefile (tests): Add tst-CMPLX2.
7076 * math/tst-CMPLX2.c: New file.
7077
cfdc0dd7
AS
70782012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7079
84ba42c4
AS
7080 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7081
cfdc0dd7
AS
7082 * math/libm-test.inc (jn_test): Add missing L suffix.
7083
622c86f4
MP
70842012-02-06 Marek Polacek <polacek@redhat.com>
7085
7086 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7087 * sysdeps/i386/fpu/e_powf.S: Likewise.
7088 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7089 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7090 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7091 * sysdeps/i386/fpu/e_pow.S: Likewise.
7092 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7093 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7094 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7095 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7096 * sysdeps/i386/fpu/e_log2.S: Likewise.
7097 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7099 * sysdeps/i386/fpu/e_powl.S: Likewise.
7100 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7101 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7102 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7103 * sysdeps/i386/fpu/e_logl.S: Likewise.
7104 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7105 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7106 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7107 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7108 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7109 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7110 * sysdeps/i386/fpu/e_log.S: Likewise.
7111 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7112 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7113 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7114 * sysdeps/i386/fpu/e_logf.S: Likewise.
7115 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7116 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7117 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7118 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7119 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7120 * sysdeps/i386/fpu/e_log10.S: Likewise.
7121 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7122 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7123 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7124 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7125 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7126 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7127 * sysdeps/i386/asm-syntax.h: Likewise.
7128 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7129 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7130 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7131 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7132 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7133 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7134 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7135 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7136 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7137 * sysdeps/powerpc/sysdep.h: Likewise.
7138 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7139 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7140
d4a54ac6
JM
71412012-02-06 Joseph Myers <joseph@codesourcery.com>
7142
7143 [BZ #411]
7144 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7145
314054ea
JM
71462012-02-06 Joseph Myers <joseph@codesourcery.com>
7147
7148 * sysdeps/i386/sysdep.h: Include <features.h>.
7149 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7150 version.
7151
d8e0ca50
JM
71522012-02-05 Joseph Myers <joseph@codesourcery.com>
7153
7154 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7155 Define.
7156 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7157 LOAD_PIC_REG_STR.
7158
b1da7dd9
JM
71592012-02-03 Joseph Myers <joseph@codesourcery.com>
7160
7161 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7162 (SETUP_PIC_REG): Use GET_PC_THUNK.
7163 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7164 macro.
7165
9a1d9254
JM
71662012-02-03 Joseph Myers <joseph@codesourcery.com>
7167
7168 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7169 for non-PIC compilation.
7170 (SETUP_PIC_REG): Add .p2align directive.
7171 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7172 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7173 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7174 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7175 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7176 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7177 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7178 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7179 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7180 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7181 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7182 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7183 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7184 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7185 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7186 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7187 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7188 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7189 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7190 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7191 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7192 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7193 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7194 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7195 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7197 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7198 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7199 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7200 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7201 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7202 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7203 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7204 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7205 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7206 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7207 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7208 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7209 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7210 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7211 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7212
65dc3b75
JM
72132012-02-03 Joseph Myers <joseph@codesourcery.com>
7214
7215 * math/tst-CMPLX.c: Include <stdio.h>.
7216
d55bf177
JM
72172012-01-31 Joseph Myers <joseph@codesourcery.com>
7218
7219 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7220 float.
7221 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7222 * sysdeps/sparc/bits/mathdef.h: Likewise.
7223
69db4f8f
MP
72242012-01-31 Marek Polacek <polacek@redhat.com>
7225
7226 * libio/libio.h: Don't define _PARAMS.
7227 * locale/programs/config.h: Don't define PARAMS.
7228 * stdlib/strtol_l.c: Likewise.
7229 (__strtol_l): Remove PARAMS from the prototype.
7230
41b81892
UD
72312012-01-31 Ulrich Drepper <drepper@gmail.com>
7232
3b49edc0
UD
7233 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7234 names. Just use the correct names. Remove unnecessary wrapper
7235 functions.
7236 * malloc/arena.c: Likewise.
7237 * malloc/hooks.c: Likewise.
7238
41b81892
UD
7239 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7240 ARENA_TEST says not to. Simplify test for creation of a new arena.
7241 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7242
27a25b6e
UD
72432012-01-30 Ulrich Drepper <drepper@gmail.com>
7244
7245 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7246 into tail calls.
7247 (update_get_addr): New function.
7248 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7249 GET_ADDR_MODULE parameter.
7250
c8a89e7d
JM
72512012-01-30 Joseph Myers <joseph@codesourcery.com>
7252
7253 * crypt/cert.c: Remove __STDC__ conditionals.
7254 * crypt/crypt-entry.c: Likewise.
7255 * crypt/crypt_util.c: Likewise.
7256 * libio/filedoalloc.c: Likewise.
7257 * libio/fileops.c: Likewise.
7258 * libio/genops.c: Likewise.
7259 * libio/iofclose.c: Likewise.
7260 * libio/iofdopen.c: Likewise.
7261 * libio/iofopen.c: Likewise.
7262 * libio/iofopen64.c: Likewise.
7263 * libio/iogetdelim.c: Likewise.
7264 * libio/iopopen.c: Likewise.
7265 * libio/obprintf.c: Likewise.
7266 * libio/oldfileops.c: Likewise.
7267 * libio/oldiofclose.c: Likewise.
7268 * libio/oldiofdopen.c: Likewise.
7269 * libio/oldiofopen.c: Likewise.
7270 * libio/oldiopopen.c: Likewise.
7271 * libio/wfiledoalloc.c: Likewise.
7272 * libio/wgenops.c: Likewise.
7273 * locale/programs/xmalloc.c: Likewise.
7274 * misc/syslog.c: Likewise.
7275 * stdio-common/xbug.c: Likewise.
7276 * string/memchr.c: Likewise.
7277 * string/memcmp.c: Likewise.
7278 * string/memrchr.c: Likewise.
7279 * string/rawmemchr.c: Likewise.
7280 * sysdeps/posix/getcwd.c: Likewise.
7281 * time/strftime_l.c: Likewise.
7282
3b100462
JM
72832012-01-30 Joseph Myers <joseph@codesourcery.com>
7284
7285 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7286 * config.make.in (config-cflags-sse2avx): Define.
7287 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7288 Fix typo.
7289
607998af
CM
72902012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7291
7292 * scripts/config.guess: Update from upstream config git repository.
7293 * scripts/config.sub: Likewise.
7294
3601428f
CM
72952012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7296
3ac8b282
CM
7297 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7298 (EM_NUM): Update.
7299 (R_TILEPRO_*, R_TILEGX_*): New macros.
7300
e034841e
CM
7301 * scripts/firstversions.awk: Fix bug in version range handling.
7302
540d7568
CM
7303 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7304
3601428f
CM
7305 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7306
463de862
CM
7307 * include/sys/epoll.h: New file.
7308 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7309 libc_hidden_def.
7310
73139a76
UD
73112012-01-28 Ulrich Drepper <drepper@gmail.com>
7312
96bc5b45
UD
7313 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7314 Avoid unnecessary __WORDSIZE == 64 test.
7315 (fmaxf): Use VEX format if possible.
7316 (fmax): Likewise.
7317 (fminf): Likewise.
7318 (fmin): Likewise.
7319
56f6f6a2
UD
7320 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7321 * math/math_private.h: Remove libc_fegetround* and
7322 libc_fesetround*.
7323 * sysdeps/i386/configure.in: Check for -msse2avx.
7324 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7325 also if SSE2AVX is defined.
7326 Remove libc_fegetround* and libc_fesetround*.
7327 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7328 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7329 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7330 of HAS_YMM_USABLE.
7331 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7332 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7333 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7334 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7335 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7336
73139a76
UD
7337 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7338
d73f93a4
AZ
73392012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7340
7341 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7342 size is not set.
7343 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7344
6ee65ed6
UD
73452012-01-27 Ulrich Drepper <drepper@gmail.com>
7346
7347 [BZ #13618]
7348 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7349 relocation.
7350 * Makeconfig (libm): Define.
7351 * elf/Makefile: Add rules to build and run tst-relsort1.
7352 * elf/tst-relsort1.c: New file.
7353 * elf/tst-relsort1mod1.c: New file.
7354 * elf/tst-relsort1mod2.c: New file.
7355
8db21882
JM
73562012-01-27 Joseph Myers <joseph@codesourcery.com>
7357
7358 * math/s_ldexp.c: Remove __STDC__ conditionals.
7359 * math/s_ldexpf.c: Likewise.
7360 * math/s_ldexpl.c: Likewise.
7361 * math/s_nextafter.c: Likewise.
7362 * math/s_nexttowardf.c: Likewise.
7363 * math/s_significand.c: Likewise.
7364 * math/s_significandf.c: Likewise.
7365 * math/s_significandl.c: Likewise.
7366 * math/w_jnl.c: Likewise.
7367 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7368 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7369 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7370 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7371 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7372 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7373 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7374 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7375 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7376 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7377 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7378 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7379 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7380 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7381 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7382 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7383 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7386 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7387 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7388 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7389 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7390 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7391 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7392 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7393 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7394 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7395 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7396 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7397 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7398 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7399 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7400 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7401 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7402 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7403 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7404 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7405 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7406 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7407 * sysdeps/ieee754/k_standard.c: Likewise.
7408 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7411 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7440 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7444 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7449 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7450 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7451 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7468 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7469 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7473 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7474 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7475 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7476 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7477 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7480 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7482 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7483 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7486 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7487 * sysdeps/ieee754/s_matherr.c: Likewise.
7488 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7489 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7490 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7491 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7492
965a54a4
JM
74932012-01-26 Joseph Myers <joseph@codesourcery.com>
7494
7495 * crypt/md5.h: Remove __STDC__ conditionals.
7496 * libio/libioP.h: Likewise.
7497 * locale/programs/config.h: Likewise.
7498 * sysdeps/generic/sysdep.h: Likewise.
7499 * sysdeps/i386/asm-syntax.h: Likewise.
7500 * sysdeps/s390/asm-syntax.h: Likewise.
7501 * sysdeps/unix/sysdep.h: Likewise.
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7504
7071ad79
JM
75052012-01-26 Joseph Myers <joseph@codesourcery.com>
7506
7507 * libio/libio.h: Remove __STDC__ conditionals.
7508 * malloc/obstack.h: Likewise.
7509 * math/complex.h: Likewise.
7510 * math/math.h: Likewise.
7511 * sysdeps/generic/_G_config.h: Likewise.
7512 * sysdeps/gnu/_G_config.h: Likewise.
7513 * sysdeps/mach/hurd/_G_config.h: Likewise.
7514 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7515 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7516 * sysdeps/sparc/bits/mathdef.h: Likewise.
7517
afc5ed09
UD
75182012-01-26 Ulrich Drepper <drepper@gmail.com>
7519
7520 [BZ #13583]
7521 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7522 Clean up HAS_* macros.
afc5ed09 7523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7524 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7525 possible.
7526 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7527 HAS_AVX.
7528 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7529 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7530 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7531 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7532 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7533
bdb6de1d
JM
75342012-01-25 Joseph Myers <joseph@codesourcery.com>
7535
7536 * elf/tst-unique3.cc (gets): Remove declaration.
7537 * elf/tst-unique3lib.cc (gets): Likewise.
7538 * elf/tst-unique3lib2.cc (gets): Likewise.
7539 * elf/tst-unique4.cc (gets): Likewise.
7540
b15549e6
UD
75412012-01-24 Ulrich Drepper <drepper@gmail.com>
7542
7543 * include/stdio.h: Add C++ protection. Add gets declarations and
7544 definitions.
7545 * debug/tst-chk1.c: Don't declare gets here.
7546 * stdio-common/tst-gets.c: Likewise.
7547
a037381f
JM
75482012-01-24 Joseph Myers <joseph@codesourcery.com>
7549
7550 * posix/glob: Remove directory.
7551
f1d4aa75
JM
75522012-01-24 Joseph Myers <joseph@codesourcery.com>
7553
7554 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7555
81c0c964
PT
75562012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7557
7558 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7559 of the non-standard EPFNOSUPPORT.
7560
0ea698ae
ST
75612011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7562
7563 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7564 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7565 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7566
d220b117
UD
75672012-01-21 Ulrich Drepper <drepper@gmail.com>
7568
7569 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7570
3e1aa84e
UD
75712012-01-20 Ulrich Drepper <drepper@gmail.com>
7572
7573 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7574 transient errors.
7575 * nscd/grpcache.c (cache_addgr): Likewise.
7576 * nscd/hstcache.c (cache_addhst): Likewise.
7577 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7578 * nscd/pwdcache.c (cache_addpw): Likewise.
7579 * nscd/servicescache.c (cache_addserv): Likewise.
7580
400aa020
UD
75812012-01-16 Ulrich Drepper <drepper@gmail.com>
7582
d77e7869
UD
7583 * malloc/malloc.c: Various cleanups.
7584 * malloc/hooks.c: Likewise.
7585
400aa020
UD
7586 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7587 * stdlib/bug-fmtmsg1.c: New file.
7588
7589 * stdlib/fmtmsg.c (init): Add missing unlock.
7590 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7591
e0a309cf
MP
75922012-01-12 Marek Polacek <polacek@redhat.com>
7593
7594 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7595 and _GNU_SOURCE.
7596
929d11c7
WS
75972012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7598
7599 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7600 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7601 macro to ensure uniqueness of label name.
7602 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7603 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7604
41d0e869
UD
76052012-01-11 Ulrich Drepper <drepper@gmail.com>
7606
0cc5ed3b
UD
7607 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7608
41d0e869
UD
7609 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7610 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7612 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7613
a47a831a
UD
76142012-01-10 Ulrich Drepper <drepper@gmail.com>
7615
daa891c0
UD
7616 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7617
7618 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7619 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7620 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7621
e58ef0f2
UD
7622 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7623
a47a831a 7624 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7625 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7626 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7628
7629 * math/bits/math-finite.h: Add ldexp support.
7630
a0bfc9c7
MP
76312012-01-10 Marek Polacek <polacek@redhat.com>
7632
7633 * locale/programs/localedef.h (show_archive_content): Add noreturn
7634 attribute.
7635
d6e97a1d
UD
76362012-01-09 Ulrich Drepper <drepper@gmail.com>
7637
7638 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7639
d5835c26
UD
76402012-01-08 Ulrich Drepper <drepper@gmail.com>
7641
e5f484c6
UD
7642 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7643
d5835c26
UD
7644 * io/Makefile (headers): Add bits/poll2.h.
7645
d1f741e9
WS
76462011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7647
7648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7649 typo #include statement.
7650
ec09c1c4
UD
76512012-01-08 Ulrich Drepper <drepper@gmail.com>
7652
7653 * include/sys/cdefs.h: Define __attribute_alloc_size.
7654 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7655 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7656 * elf/pldd.c: Likewise.
7657 * iconv/iconv_charmap.c: Likewise.
7658 * iconv/iconvconfig.c: Likewise.
7659 * iconv/strtab.c: Likewise.
7660 * locale/programs/locale.c: Likewise.
7661 * locale/programs/localedef.h: Likewise.
7662 * locale/programs/simple-hash.c: Likewise.
7663 * nscd/nscd.h: Likewise.
7664 * nss/makedb.c: Likewise.
7665 * sysdeps/generic/ldconfig.h: Likewise.
7666 * locale/programs/localedef.c: Remove xmalloc prototype.
7667 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7668
20b38e03
PP
76692012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7670
7671 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7672 appropriate.
7673
a0da5fe1
UD
76742012-01-08 Ulrich Drepper <drepper@gmail.com>
7675
1d5a644a 7676 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7677 * math/tst-CMPLX.c: New file.
1d5a644a 7678
8784a6db
UD
7679 * math/complex.h (CMPLXL): Fix typo.
7680
d9a216c0
UD
7681 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7682 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7683 GLIBC_2.16.
7684 * debug/tst-chk1.c: Add poll and ppoll tests.
7685 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7686 * include/sys/poll.h: Add hidden proto for ppoll.
7687 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7688 * sysdeps/mach/hurd/ppoll.c: Likewise.
7689 * io/ppoll.c: Likewise.
7690 * debug/poll_chk.c: New file.
7691 * debug/ppoll_chk.c: New file.
7692 * include/bits/poll2.h: New file.
7693 * io/bits/poll2.h: New file.
7694
ac097f5c
UD
7695 [BZ #1350]
7696 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7697
2119dcfa
UD
7698 * configure.in: static is always set to yes. Remove.
7699 * config.make.in: Don't set build-static.
7700 * Makeconfig: Remove use of build-static.
7701 * dlfcn/Makefile: Likewise.
7702 * elf/Makefile: Likewise.
7703 * math/Makefile: Likewise.
7704 * misc/Makefile: Likewise.
7705 * nptl/Makefile: Likewise.
7706 * sysdeps/mach/hurd/Makefile: Likewise.
7707
121766a9
UD
7708 * configure.in: PWD_P is not used anymore.
7709 * config.make.in: Remove PWD_P entry.
7710
51a1d39c 7711 * configure.in: Remove last remnants of RANLIB.
8720d066 7712 No need to check for signed size_t anymore.
215f4bdc
UD
7713 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7714 and IA-64.
3857022a 7715 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7716 * aclocal.m4: Likewise.
7717
d3ed7225
UD
7718 * wcsmbs/mbrtoc16.c: Implement using towc function.
7719 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7720 * wcsmbs/wcsmbsload.c: Likewise.
7721 * iconv/gconv_simple.c: Likewise.
7722 * iconv/gconv_int.h: Likewise.
7723 * iconv/gconv_builtin.h: Likewise.
7724 * iconv/iconv_prog.c: Remove CHAR16 handling.
7725
7726 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7727
7728 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7729
a0da5fe1
UD
7730 * configure.in: Remove --with-elf and --enable-bounded options.
7731 Dont set base_machine for ia64. More non-ELF conditions removed.
7732 Remove testing and setting of leading underscore information.
7733 * config.make.in (build-bounded): Set to no.
7734 * config.h.in: Remove NO_UNDERSCORES entry.
7735 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7736 them.
7737 * csu/start.c: Remove !NO_UNDERSCORE code.
7738 * locale/localeinfo.h: Likewise.
7739 * sysdeps/generic/machine-gmon.h: Likewise.
7740 * sysdeps/generic/sysdep.h: Likewise.
7741 * sysdeps/i386/sysdep.h: Likewise.
7742 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7743 * sysdeps/mach/sysdep.h: Likewise.
7744 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7745 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7746 * sysdeps/sh/sysdep.h: Likewise.
7747 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7748 * sysdeps/unix/i386/sysdep.S: Likewise.
7749 * sysdeps/unix/sparc/start.c: Likewise.
7750 * sysdeps/unix/sparc/sysdep.S: Likewise.
7751 * sysdeps/unix/sparc/sysdep.h: Likewise.
7752 * sysdeps/unix/start.c: Likewise.
7753 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7754 * sysdeps/x86_64/sysdep.h: Likewise.
7755
df78418a
UD
77562012-01-07 Ulrich Drepper <drepper@gmail.com>
7757
a784e502
UD
7758 [BZ #13553]
7759 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7760 for non-gcc.
7761 * argp/argp-fmtstream.h: Use const instead __const.
7762 * argp/argp.h: Likewise.
7763 * assert/assert.h: Likewise.
7764 * bits/fenv.h: Likewise.
7765 * bits/sched.h: Likewise.
7766 * bits/sigset.h: Likewise.
7767 * bits/sigthread.h: Likewise.
7768 * catgets/nl_types.h: Likewise.
7769 * conform/data/pthread.h-data: Likewise.
7770 * crypt/crypt-private.h: Likewise.
7771 * crypt/crypt.h: Likewise.
7772 * crypt/crypt_util.c: Likewise.
7773 * ctype/ctype.h: Likewise.
7774 * debug/execinfo.h: Likewise.
7775 * debug/mbsnrtowcs_chk.c: Likewise.
7776 * debug/mbsrtowcs_chk.c: Likewise.
7777 * debug/wcsnrtombs_chk.c: Likewise.
7778 * debug/wcsrtombs_chk.c: Likewise.
7779 * debug/wcstombs_chk.c: Likewise.
7780 * dirent/dirent.h: Likewise.
7781 * dlfcn/dlfcn.h: Likewise.
7782 * elf/neededtest4.c: Likewise.
7783 * grp/grp.h: Likewise.
7784 * gshadow/gshadow.h: Likewise.
7785 * iconv/gconv.h: Likewise.
7786 * iconv/gconv_int.h: Likewise.
7787 * iconv/gconv_simple.c: Likewise.
7788 * iconv/iconv.h: Likewise.
7789 * iconv/loop.c: Likewise.
7790 * iconv/skeleton.c: Likewise.
7791 * include/aio.h: Likewise.
7792 * include/aliases.h: Likewise.
7793 * include/argz.h: Likewise.
7794 * include/arpa/inet.h: Likewise.
7795 * include/assert.h: Likewise.
7796 * include/dirent.h: Likewise.
7797 * include/dlfcn.h: Likewise.
7798 * include/execinfo.h: Likewise.
7799 * include/fcntl.h: Likewise.
7800 * include/fenv.h: Likewise.
7801 * include/glob.h: Likewise.
7802 * include/grp.h: Likewise.
7803 * include/libintl.h: Likewise.
7804 * include/mntent.h: Likewise.
7805 * include/netdb.h: Likewise.
7806 * include/pwd.h: Likewise.
7807 * include/rpc/netdb.h: Likewise.
7808 * include/sched.h: Likewise.
7809 * include/search.h: Likewise.
7810 * include/shadow.h: Likewise.
7811 * include/signal.h: Likewise.
7812 * include/stdio.h: Likewise.
7813 * include/stdlib.h: Likewise.
7814 * include/string.h: Likewise.
7815 * include/sys/socket.h: Likewise.
7816 * include/sys/stat.h: Likewise.
7817 * include/sys/statfs.h: Likewise.
7818 * include/sys/statvfs.h: Likewise.
7819 * include/sys/syslog.h: Likewise.
7820 * include/sys/time.h: Likewise.
7821 * include/sys/uio.h: Likewise.
7822 * include/time.h: Likewise.
7823 * include/unistd.h: Likewise.
7824 * include/utmp.h: Likewise.
7825 * include/wchar.h: Likewise.
7826 * include/wctype.h: Likewise.
7827 * inet/aliases.h: Likewise.
7828 * inet/arpa/inet.h: Likewise.
7829 * inet/netinet/ether.h: Likewise.
7830 * inet/netinet/in.h: Likewise.
7831 * intl/libintl.h: Likewise.
7832 * io/bits/fcntl2.h: Likewise.
7833 * io/fcntl.h: Likewise.
7834 * io/ftw.h: Likewise.
7835 * io/sys/poll.h: Likewise.
7836 * io/sys/stat.h: Likewise.
7837 * io/sys/statfs.h: Likewise.
7838 * io/sys/statvfs.h: Likewise.
7839 * io/utime.h: Likewise.
7840 * libio/bits/stdio.h: Likewise.
7841 * libio/bits/stdio2.h: Likewise.
7842 * libio/libio.h: Likewise.
7843 * libio/libioP.h: Likewise.
7844 * libio/stdio.h: Likewise.
7845 * locale/lc-ctype.c: Likewise.
7846 * locale/locale.h: Likewise.
7847 * login/utmp.h: Likewise.
7848 * malloc/arena.c: Likewise.
7849 * malloc/malloc.c: Likewise.
7850 * malloc/malloc.h: Likewise.
7851 * malloc/mcheck.c: Likewise.
7852 * malloc/mtrace.c: Likewise.
7853 * math/bits/mathcalls.h: Likewise.
7854 * math/fenv.h: Likewise.
7855 * math/math_private.h: Likewise.
7856 * misc/bits/error.h: Likewise.
7857 * misc/bits/syslog.h: Likewise.
7858 * misc/err.h: Likewise.
7859 * misc/error.h: Likewise.
7860 * misc/fstab.h: Likewise.
7861 * misc/mntent.h: Likewise.
7862 * misc/regexp.h: Likewise.
7863 * misc/search.h: Likewise.
7864 * misc/sgtty.h: Likewise.
7865 * misc/sys/mman.h: Likewise.
7866 * misc/sys/syslog.h: Likewise.
7867 * misc/sys/uio.h: Likewise.
7868 * misc/sys/xattr.h: Likewise.
7869 * misc/ttyent.h: Likewise.
7870 * nis/rpcsvc/ypclnt.h: Likewise.
7871 * nss/nss.h: Likewise.
7872 * posix/bits/unistd.h: Likewise.
7873 * posix/fnmatch.h: Likewise.
7874 * posix/glob.h: Likewise.
7875 * posix/sched.h: Likewise.
7876 * posix/spawn.h: Likewise.
7877 * posix/sys/wait.h: Likewise.
7878 * posix/unistd.h: Likewise.
7879 * posix/wordexp.h: Likewise.
7880 * pwd/pwd.h: Likewise.
7881 * resolv/netdb.h: Likewise.
7882 * resource/sys/resource.h: Likewise.
7883 * rt/aio.h: Likewise.
7884 * rt/bits/mqueue2.h: Likewise.
7885 * rt/mqueue.h: Likewise.
7886 * shadow/shadow.h: Likewise.
7887 * signal/signal.h: Likewise.
7888 * socket/send.c: Likewise.
7889 * socket/sendto.c: Likewise.
7890 * socket/sys/socket.h: Likewise.
7891 * stdio-common/printf.h: Likewise.
7892 * stdlib/bits/stdlib.h: Likewise.
7893 * stdlib/fmtmsg.h: Likewise.
7894 * stdlib/monetary.h: Likewise.
7895 * stdlib/stdlib.h: Likewise.
7896 * stdlib/ucontext.h: Likewise.
7897 * streams/stropts.h: Likewise.
7898 * string/argz.h: Likewise.
7899 * string/bits/string2.h: Likewise.
7900 * string/string.h: Likewise.
7901 * string/strings.h: Likewise.
7902 * sunrpc/rpc/auth.h: Likewise.
7903 * sunrpc/rpc/auth_des.h: Likewise.
7904 * sunrpc/rpc/clnt.h: Likewise.
7905 * sunrpc/rpc/netdb.h: Likewise.
7906 * sunrpc/rpc/pmap_clnt.h: Likewise.
7907 * sunrpc/rpc/xdr.h: Likewise.
7908 * sysdeps/generic/inttypes.h: Likewise.
7909 * sysdeps/generic/net/if.h: Likewise.
7910 * sysdeps/generic/sys/swap.h: Likewise.
7911 * sysdeps/gnu/net/if.h: Likewise.
7912 * sysdeps/gnu/utmpx.h: Likewise.
7913 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7914 * sysdeps/i386/i486/bits/string.h: Likewise.
7915 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7916 * sysdeps/s390/bits/string.h: Likewise.
7917 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7918 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7919 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7920 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7921 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7922 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7923 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7924 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7925 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7926 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7927 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7928 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7929 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7930 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7931 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7932 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7933 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7934 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7935 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7936 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7937 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7938 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7939 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7940 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7941 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7942 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7943 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7944 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7945 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7946 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7947 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7948 * sysvipc/sys/ipc.h: Likewise.
7949 * sysvipc/sys/msg.h: Likewise.
7950 * sysvipc/sys/sem.h: Likewise.
7951 * sysvipc/sys/shm.h: Likewise.
7952 * termios/termios.h: Likewise.
7953 * time/sys/time.h: Likewise.
7954 * time/time.h: Likewise.
7955 * wcsmbs/bits/wchar2.h: Likewise.
7956 * wcsmbs/uchar.h: Likewise.
7957 * wcsmbs/wchar.h: Likewise.
7958 * wctype/wctype.h: Likewise.
7959
0269750c
UD
7960 [BZ #13551]
7961 * Makeconfig: Remove all but ELF support including AIX support.
7962 * Makerules: Likewise.
7963 * config.h.in: Likewise.
7964 * config.make.in: Likewise.
7965 * configure: Likewise.
7966 * configure.in: Likewise.
7967 * csu/Makefile: Likewise.
7968 * csu/version.c: Likewise.
7969 * debug/Makefile: Likewise.
7970 * dlfcn/Makefile: Likewise.
7971 * elf/Makefile: Likewise.
7972 * extra-lib.mk: Likewise.
7973 * iconv/Makefile: Likewise.
7974 * include/libc-symbols.h: Likewise.
7975 * include/shlib-compat.h: Likewise.
7976 * resolv/Makefile: Likewise.
7977 * resolv/res_libc.c: Likewise.
7978 * rt/Makefile: Likewise.
7979 * sysdeps/i386/asm-syntax.h: Likewise.
7980 * sysdeps/i386/sysdep.h: Likewise.
7981 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7982 * sysdeps/mach/sysdep.h: Likewise.
7983 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7984 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7985 * sysdeps/s390/asm-syntax.h: Likewise.
7986 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7987 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7988 * sysdeps/sh/sysdep.h: Likewise.
7989 * sysdeps/unix/sparc/sysdep.h: Likewise.
7990 * sysdeps/wordsize-32/divdi3.c: Likewise.
7991 * sysdeps/x86_64/sysdep.h: Likewise.
7992
00bbd29b
UD
7993 * argp/Versions: Remove _argp_unlock_xxx.
7994
7995 [BZ #13559]
7996 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7997 * abilist/libBrokenLocale.abilist: Likewise.
7998 * abilist/libanl.abilist: Likewise.
7999 * abilist/libc.abilist: Likewise.
8000 * abilist/libcrypt.abilist: Likewise.
8001 * abilist/libdl.abilist: Likewise.
8002 * abilist/libm.abilist: Likewise.
8003 * abilist/libnsl.abilist: Likewise.
8004 * abilist/libpthread.abilist: Likewise.
8005 * abilist/libresolv.abilist: Likewise.
8006 * abilist/librt.abilist: Likewise.
8007 * abilist/libthread_db.abilist: Likewise.
8008 * abilist/libutil.abilist: Likewise.
8009 * abilist/libnss_db.abilist: New file.
8010
8011 * scripts/abilist.awk: Add support for indirect functions.
8012
a2693a0e
UD
8013 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8014
3f05895f
UD
8015 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8016
ecb6fb48
UD
8017 * shlib-versions: Remove entries for ports architectures.
8018
664f8cb9
UD
8019 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8020 files in ports.
8021 * elf/stackguard-macros.h: Remove support for IA-64.
8022 * elf/tst-auditmod1.c: Likewise.
8023 * sysdeps/generic/ldsodefs.h: Likewise.
8024
7ae81d88
UD
8025 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8026 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8027 configure files.
8028
bdeba135
UD
8029 [BZ #13552]
8030 * configure.in: Remove --enable-omitfp support.
8031 * FAQ.in: Adjust.
8032 * config.make.in: Likewise.
8033 * Makeconfig: Likewise.
8034 * manual/install.texi: Likewise.
8035
d75a0a62
UD
8036 In case anyone cares, the IA-64 architecture could move to ports.
8037 * sysdeps/ia64/*: Removed.
8038 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8039 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8040
dcc9756b
UD
8041 [BZ #13555]
8042 * configure.in: Remove entries for unsupported architectures.
8043
d3761ebc 8044 [BZ #13533]
9954432e
UD
8045 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8046 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8047 routines.
8048 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8049 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8050 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8051 fall back to using wcrtomb.
8052 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8053 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8054 renaming.
8055 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8056 * wcsmbs/tst-c16c32-1.c: New file.
8057
8058 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8059 local variable.
8060
c3a87236
UD
8061 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8062
28926a1b
UD
8063 * elf/tst-unique3.cc: Add explicit declaration of gets.
8064 * elf/tst-unique3lib.cc: Likewise.
8065 * elf/tst-unique3lib2.cc: Likewise.
8066 * elf/tst-unique4.cc: Likewise.
8067
df78418a
UD
8068 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8069
8ecd6b2a
JM
80702012-01-06 Joseph Myers <joseph@codesourcery.com>
8071
8072 [BZ #13566]
8073 * assert/assert.h (static_assert): Don't define for C++.
8074 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8075 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8076
9f115170
UD
80772012-01-03 Ulrich Drepper <drepper@gmail.com>
8078
5e0d0300
UD
8079 * iconv/loop.c (single loop): Fix assertion in storing of
8080 remaining bytes.
8081
9f115170
UD
8082 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8083
81fb02b0
UD
80842012-01-01 Ulrich Drepper <drepper@gmail.com>
8085
8086 * posix/getconf.c: Update copyright year.
8087 * nss/getent.c: Likewise.
a316c1f6 8088 * nss/makedb.c: Likewise.
81fb02b0
UD
8089 * iconv/iconvconfig.c: Likewise.
8090 * iconv/iconv_prog.c: Likewise.
8091 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8092 * elf/pldd.c: Likewise.
8093 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8094 * catgets/gencat.c: Likewise.
8095 * csu/version.c: Likewise.
8096 * elf/ldd.bash.in: Likewise.
8097 * elf/sprof.c (print_version): Likewise.
8098 * locale/programs/locale.c: Likewise.
8099 * locale/programs/localedef.c: Likewise.
a316c1f6 8100 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8101 * nscd/nscd.c (print_version): Likewise.
8102 * debug/xtrace.sh: Likewise.
8103 * malloc/memusage.sh: Likewise.
8104 * malloc/mtrace.pl: Likewise.
8105 * debug/catchsegv.sh: Likewise.
8106
2ba92745
JJ
81072011-12-30 Jakub Jelinek <jakub@redhat.com>
8108
8109 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8110 pure attribute.
8111
dadebdae
UD
81122011-12-24 Ulrich Drepper <drepper@gmail.com>
8113
d3761ebc 8114 [BZ #13533]
db6af3eb
UD
8115 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8116 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8117 transformations.
8118 * iconv/gconv_int.h: Likewise.
8119 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8120 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8121 from libc for GLIBC_2.16.
8122 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8123 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8124 * wcsmbs/uchar.h: Really define mbstate_t.
8125 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8126 * wcsmbs/c16rtomb.c: New file.
8127 * wcsmbs/mbrtoc16.c: New file.
8128 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8129 for C/POSIX locale.
8130 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8131 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8132
dadebdae
UD
8133 * wcsmbs/wchar.h: Add missing __restrict.
8134
67371b56
UD
81352011-12-23 Ulrich Drepper <drepper@gmail.com>
8136
74033a25
UD
8137 [BZ #13532]
8138 * time/Makefile (routines): Add timespec_get.
8139 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8140 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8141 timespec for ISO C11.
8142 * time/timespec_get.c: New file.
8143 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8144 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8145
380d7e87
UD
8146 [BZ #13531]
8147 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8148 * stdlib/stdlib.h: Declare aligned_alloc.
8149 * Versions.def: Add GLIBC_2.16 for libc.
8150 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8151
4e9e7a35
UD
8152 [BZ 13527]
8153 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8154 ISO C11.
8155
380d7e87 8156 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8157 code.
8158
03a71829
UD
8159 [BZ #13528]
8160 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8161
839e283e
UD
8162 [BZ #13529]
8163 * assert/assert.h (static_assert): Define.
8164
ce5294e2 8165 * version.h: Update for 2.16 development version.
90fa7312 8166
8d44e150 8167 [BZ #13526]
d7809905
UD
8168 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8169 _ISOC11_SOURCE.
8170
c0da14cd
UD
8171 * version.h (RELEASE): Bump for 2.15 release.
8172 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8173
530a3249
MP
8174 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8175 Patch by Marek Polacek <mpolacek@redhat.com>.
8176
67371b56
UD
8177 * bits/byteswap.h: Protect long long constants with __extension__.
8178 * sysdeps/i386/bits/byteswap.h: Likewise.
8179 * sysdeps/ia64/bits/byteswap.h: Likewise.
8180 * sysdeps/s390/bits/byteswap.h: Likewise.
8181 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8182
15db4de1
LD
81832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8184
8185 [BZ #13540]
bbe315ea
LD
8186 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8187 destination buffer.
15db4de1
LD
8188 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8189
2b2596b1
MP
81902011-12-23 Marek Polacek <polacek@redhat.com>
8191
8192 * elf/dl-addr.c (determine_info): Add inline keyword.
8193 * elf/tst-auditmod4b.c (check_avx): Likewise.
8194 * elf/tst-auditmod6b.c (check_avx): Likewise.
8195 * elf/tst-auditmod6c.c (check_avx): Likewise.
8196 * elf/tst-auditmod7b.c (check_avx): Likewise.
8197
70c6c246
UD
81982011-12-23 Ulrich Drepper <drepper@gmail.com>
8199
8200 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8201 !__SSE_MATH__.
8202
c044cf14
LD
82032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8204
15db4de1 8205 [BZ #13540]
c044cf14
LD
8206 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8207 processing for last bytes.
8208
6b13d9d9
BH
82092011-08-06 Bruno Haible <bruno@clisp.org>
8210
d455f537
BH
8211 [BZ #13061]
8212 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8213 U+0385, not to U+1FEE.
8214
6b13d9d9
BH
8215 [BZ #13062]
8216 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8217 entry for U+00A5 U+0301.
8218
db910efd
UD
82192011-12-22 Ulrich Drepper <drepper@gmail.com>
8220
27deeafc
UD
8221 [BZ #13166]
8222 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8223 buffer for the output is too small.
8224
aed9d171
UD
8225 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8226 optimization.
8227
db910efd
UD
8228 [BZ #13185]
8229 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8230 SSE flags if possible.
8231
2bd779ae
LD
82322011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8233
e7f9dac3 8234 [BZ #13540]
2bd779ae
LD
8235 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8236 processing for last bytes.
8237
154bfc16
JM
82382011-12-22 Joseph Myers <joseph@codesourcery.com>
8239
8240 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8241 (syscall-list-default-options, syscall-list-default-condition)
8242 (syscall-list-includes): Define.
8243 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8244 list of ABIs and options and #if conditions for each ABI. Do not
8245 handle common syscalls between ABIs specially.
8246 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8247 Remove.
8248 (syscall-list-variants, syscall-list-32bit-options)
8249 (syscall-list-32bit-condition, syscall-list-64bit-options)
8250 (syscall-list-64bit-condition): Define.
8251 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8252 (syscall-list-variants, syscall-list-32bit-options)
8253 (syscall-list-32bit-condition, syscall-list-64bit-options)
8254 (syscall-list-64bit-condition): Define.
8255 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8256 Remove.
8257 (syscall-list-variants, syscall-list-32bit-options)
8258 (syscall-list-32bit-condition, syscall-list-64bit-options)
8259 (syscall-list-64bit-condition): Define.
8260 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8261 Remove.
8262 (syscall-list-variants, syscall-list-32bit-options)
8263 (syscall-list-32bit-condition, syscall-list-64bit-options)
8264 (syscall-list-64bit-condition): Define.
8265
21eaf3a5
UD
82662011-12-22 Ulrich Drepper <drepper@gmail.com>
8267
16c6f992
UD
8268 * locale/iso-639.def: Add brx entry.
8269
41043168
UD
8270 [BZ #13328]
8271 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8272 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8273
21eaf3a5
UD
8274 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8275 __feraiseexcept_renamed.
8276
e3a851a2
UD
82772011-12-21 Ulrich Drepper <drepper@gmail.com>
8278
4920765e
UD
8279 [BZ #13538]
8280 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8281 EPOLLET with unsigned values.
8282 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8283 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8284
e3a851a2
UD
8285 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8286 to large cancellation.
8287 * math/s_cacoshf.c: Likewise.
8288 * math/s_cacoshl.c: Likewise.
8289
b27e24b8
RK
82902011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8291
8292 [BZ #13305]
aebefeee 8293 [BZ #12786]
b27e24b8
RK
8294 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8295 * math/s_cacoshf.c: Likewise.
8296 * math/s_cacoshl.c: Likewise.
8297
ee190f67
UD
82982011-12-21 Ulrich Drepper <drepper@gmail.com>
8299
8300 [BZ #13439]
8301 * iconv/gconv.h: Define __GCONV_SWAP.
8302 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8303 * iconvdata/utf-16.c: Likewise.
8304 * iconvdata/utf-32.c: Likewise.
8305
707f25df
AS
83062011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8307
8308 [BZ #13524]
8309 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8310 numerator after shifting it by one limb.
8311
d2daaa1e
RÁE
83122011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8313
8314 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8315 under [__USE_EXTERN_INLINES].
8316
a4647e72
UD
83172011-12-17 Ulrich Drepper <drepper@gmail.com>
8318
8319 [BZ #13446]
8320 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8321
f0b264f1
AZ
83222011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8323
8324 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8325 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8326 optimized code.
8327 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8328 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8329 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8330 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8331 for strncasecmp/strncasecmp_l compilation.
8332 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8333 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8334
8ef4f244
MP
83352011-12-08 Marek Polacek <mpolacek@redhat.com>
8336
8337 [BZ #13484]
8338 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8339 of __asm__.
8340
97ac2654
UD
83412011-12-17 Ulrich Drepper <drepper@gmail.com>
8342
8343 [BZ #13506]
8344 * time/tzfile.c (__tzfile_read): Check values from file header.
8345
91d2a845
WS
83462011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8347
8348 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8349 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8350 * powerpc/powerpc32/dl-start.S: Likewise.
8351 * powerpc/powerpc32/elf/start.S: Likewise.
8352 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8353 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8354 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8355 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8356 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8357 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8358 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8359 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8360 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8361 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8362 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8363 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8364 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8365 * powerpc/powerpc32/memset.S: Likewise.
8366 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8367 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8368 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8369 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8370 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8371 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8372 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8373 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8374 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8375 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8376 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8377 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8378 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8379
a1267ba1
AZ
83802011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8381
8382 * math/libm-test.inc: Added more nearbyint tests.
8383 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8384 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8385 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8386 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8387
ad8ac1bd
RL
83882011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8389
8390 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8391 FD_CLOEXEC.
8392
1d3e4b61
UD
83932011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8394
8395 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8396 Add wcscpy-ssse3 wcscpy-c.
8397 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8398 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8399 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8400 * sysdeps/x86_64/wcschr.S: New file.
8401 * sysdeps/x86_64/wcsrchr.S: New file.
8402 * string/test-strcmp.c: Remove checking of wcscmp function for
8403 wrong alignments.
8404 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8405 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8406 wcsrchr-sse2 wcsrchr-c.
8407 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8408 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8409 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8410 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8411 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8412 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8413 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8414 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8415 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8416 * wcsmbc/wcschr.c (WCSCHR): New macro.
8417
5b330a2d
UD
84182011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8419
8420 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8421 * wcsmbs/test-wcsrchr.c: New file.
8422 * string/test-strrchr.c: Add wcsrchr support.
8423 (WIDE): New macro.
8424 * wcsmbs/test-wcscpy.c: New file.
8425 * string/test-strcpy.c: Add wcscpy support.
8426 (WIDE): New macro.
26428b7c 8427
f039c043
UD
84282011-12-10 Ulrich Drepper <drepper@gmail.com>
8429
8430 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8431 the inner loop.
8432
850fb039
AS
84332011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8434
8435 [BZ #13472]
8436 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8437
4efbd5cb
UD
84382011-12-04 Ulrich Drepper <drepper@gmail.com>
8439
52ff5dd0 8440 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8441 Minor optimizations.
52ff5dd0 8442
4efbd5cb
UD
8443 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8444 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8445 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8446
8a426e12
UD
84472011-12-03 Ulrich Drepper <drepper@gmail.com>
8448
aff2453d
UD
8449 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8450 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8451 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8452 for gcc to avoid warnings.
8453 * inet/Makefile (tests): Add tst-checks.
8454 * inet/tst-checks.c: New file.
8455
8456 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8457 warning.
8458
8459 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8460 __wmemcmp_sse2.
8461
8462 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8463 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8464
8a426e12
UD
8465 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8466
9bea3473
UD
84672011-12-02 Ulrich Drepper <drepper@gmail.com>
8468
3a965496
UD
8469 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8470 problem.
8471
9bea3473
UD
8472 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8473
f101631b
UD
84742011-11-29 Joseph Myers <joseph@codesourcery.com>
8475
8476 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8477 conditional on GCC version.
8478 (__arch_compare_and_exchange_val_8_acq)
8479 (__arch_compare_and_exchange_val_16_acq)
8480 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8481 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8482 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8483
a98275aa
UD
84842011-12-02 Joseph Myers <joseph@codesourcery.com>
8485
8486 * sysdeps/sh/backtrace.c: New file.
8487
d4cc29a2
AS
84882011-12-02 Andreas Schwab <schwab@redhat.com>
8489
8490 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8491 parenthesis.
8492
6257af2d
AS
84932011-12-01 Andreas Schwab <schwab@redhat.com>
8494
8495 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8496 falling back to utime.
8497
b5f44c1a
AS
84982011-11-30 Andreas Schwab <schwab@redhat.com>
8499
8500 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8501 expectations for float.
8502
f3a6cc0a
AS
85032011-11-29 Andreas Schwab <schwab@redhat.com>
8504
8505 * locale/weight.h (findidx): Add parameter len.
8506 * locale/weightwc.h (findidx): Likewise.
8507 * posix/fnmatch_loop.c (FCT): Adjust caller.
8508 * posix/regcomp.c (build_equiv_class): Likewise.
8509 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8510 * posix/regexec.c (check_node_accept_bytes): Likewise.
8511 * string/strcoll_l.c (STRCOLL): Likewise.
8512 * string/strxfrm_l.c (STRXFRM): Likewise.
8513
9d65ea3a
UD
85142011-11-17 Ulrich Drepper <drepper@gmail.com>
8515
8516 * Makefile.in: Remove CVSOPT handling.
8517 * configure.in: Remove use of AC_REVISION.
8518 * iconvdata/Makefile (distribute): No need to filter out CVS.
8519 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8520 handling.
8521
5583a086
AS
85222011-11-16 Andreas Schwab <schwab@redhat.com>
8523
8524 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8525 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8526 [USE_AS_STRNCASECMP_L]: Likewise.
8527 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8528 NO_TLS_DIRECT_SEG_REFS.
8529 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8530 Fix argument offsets for non-PIC.
8531 [USE_AS_STRNCASECMP_L]: Likewise.
8532 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8533 NO_TLS_DIRECT_SEG_REFS.
8534
d62a8200
UD
85352011-11-15 Ulrich Drepper <drepper@gmail.com>
8536
9d65ea3a 8537 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8538 O_CLOEXEC.
8539 * locale/loadlocale.c (_nl_load_locale): Likewise.
8540
09f93bd3
AS
85412011-11-15 Andreas Schwab <schwab@redhat.com>
8542
446514f9
AS
8543 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8544 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8545 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8546 (SYSCALL_GETTIME): Set errno on error.
8547
09f93bd3
AS
8548 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8549 count references to noai6ai_cached.
8550
312be3f9
UD
85512011-11-15 Ulrich Drepper <drepper@gmail.com>
8552
8553 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8554
8555 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8556 FD_CLOEXEC for /proc/self/maps.
8557
8558 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8559 FD_CLOEXEC for /proc/meminfo.
8560
8561 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8562 gai.conf.
8563
8564 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8565 FD_CLOEXEC for given file.
8566
8567 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8568
8569 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8570 FD_CLOEXEC for /etc/hosts.
8571 (_gethtent): Likewise.
8572
8573 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8574
8575 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8576 cancellation and set FD_CLOEXEC for /etc/netgroup.
8577
8578 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8579 reading /etc/publickey.
8580
8581 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8582 allow cancellation when reading /etc/group.
8583
8584 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8585 cancellation.
8586 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8587
8588 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8589 when using data file.
8590
8591 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8592
8593 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8594 (write_nis_obj): Use "c" and "e" in fopen.
8595
8596 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8597
8598 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8599
8600 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8601
8602 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8603
8604 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8605 locale.alias.
8606
8607 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8608
8609 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8610
8611 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8612
8613 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8614 file parsing and set FD_CLOEXEC.
8615
82af0fa8
UD
86162011-11-14 Ulrich Drepper <drepper@gmail.com>
8617
8618 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8619
a5fb313c
AS
86202011-11-14 Andreas Schwab <schwab@redhat.com>
8621
8622 * malloc/arena.c (arena_get2): Don't call reused_arena when
8623 _int_new_arena failed.
8624
6abf3465
UD
86252011-11-14 Ulrich Drepper <drepper@gmail.com>
8626
8627 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8628 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8629 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8630 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8631 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8632 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8633 to compile strcasecmp and strncasecmp.
8634 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8635 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8636
8637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8638
76e3966e
UD
86392011-11-13 Ulrich Drepper <drepper@gmail.com>
8640
8641 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8642 locale-defines.sym to gen-as-const-headers.
8643 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8644 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8645 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8646 to compile strcasecmp and strncasecmp.
8647 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8648 strcasecmp_l and strncasecmp_l.
8649 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8650 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8651 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8652 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8653 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8654 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8655 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8656 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8657 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8658 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8659 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8660
ab26144e
UD
86612011-11-12 Ulrich Drepper <drepper@gmail.com>
8662
7edb22ef
UD
8663 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8664 result of SYSDEP_GETTIME_CPU to retval.
8665 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8666 parameter list to macro. Remove trailing semicolon. Adjust users.
8667
9694fc44
UD
8668 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8669 variable.
8670
8ad89ef8
UD
8671 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8672 mantissa words.
8673 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8674
0c822ef9
UD
8675 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8676 from unused variable.
8677
874e0564
UD
8678 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8679 DWARF definitions.
8680 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8681 for assembling.
8682
3a2edc79
UD
8683 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8684 over namespaces.
8685
f3c2577f
UD
8686 * sunrpc/rpc_prot.c (rejected): Fix case value.
8687
294ce126
UD
8688 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8689 unsigned long long int to avoid warnings in shift.
8690
5e2b63c6
UD
8691 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8692 of use of trans.
8693 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8694 variable tmp.
8695
e7f4b08e
UD
8696 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8697 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8698 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8699
ab26144e
UD
8700 * nis/nis_table.c (nis_list): Use variable of correct type for
8701 result of __follow_path call.
8702
8a6d5255
AZ
87032011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8704
8705 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8706 of math functions ceil, trunc, floor, round, and sqrt, when
8707 avaliable on the platform.
8708 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8709 name clash.
8710 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8711 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8712 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8713
aaddc98c
MP
87142011-10-30 Marek Polacek <mpolacek@redhat.com>
8715
8716 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8717 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8718
95b7042b
RM
87192011-11-11 Roland McGrath <roland@hack.frob.com>
8720
8721 * include/unistd.h: Fix __readlink return type.
8722 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8723
57769839
UD
87242011-11-11 Ulrich Drepper <drepper@gmail.com>
8725
8726 * stdlib/ucontext.h: Undo last change for makecontext.
8727
edc5984d
AS
87282011-11-11 Andreas Schwab <schwab@redhat.com>
8729
98591e58
AS
8730 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8731
edc5984d
AS
8732 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8733 * setjmp/setjmp.h: Mark functions as non-leaf.
8734 * setjmp/bits/setjmp2.h: Likewise.
8735 * stdlib/ucontext.h: Likewise.
8736
77cdc054
AS
87372011-11-10 Andreas Schwab <schwab@redhat.com>
8738
8739 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8740 (reused_arena): Don't check arena limit.
8741 (arena_get2): Atomically check arena limit.
8742
fe72eebd
UD
87432011-11-08 Ulrich Drepper <drepper@gmail.com>
8744
5f078c32
UD
8745 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8746 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8747
fe72eebd
UD
8748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8749 instructions.
8750
ae1bc2fa
AS
87512011-11-07 Andreas Schwab <schwab@redhat.com>
8752
7583a88d
AS
8753 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8754 handler when locking.
8755
ae1bc2fa
AS
8756 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8757 Fix size of allocated buffer.
8758
10fb0bfa
AS
87592011-11-04 Andreas Schwab <schwab@redhat.com>
8760
998832a4
AS
8761 [BZ #10103]
8762 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8763 declarations for long double functions.
8764 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8765
10fb0bfa
AS
8766 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8767
3d7ba52b
AS
87682011-11-03 Andreas Schwab <schwab@redhat.com>
8769
a9ae54a1
AS
8770 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8771 installed.
8772
3d7ba52b
AS
8773 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8774 is disabled.
8775
bc8db248
ST
87762011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8777
8778 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8779
45b96dd6
AS
87802011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8781
647776f6
AS
8782 * include/alloca.h (stackinfo_alloca_round): Define.
8783 (extend_alloca): Use it.
8784 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8785 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8786 here.
8787
d91a8b93
AS
8788 * scripts/check-local-headers.sh: Ignore libaudit.h.
8789
45b96dd6
AS
8790 * nscd/Makefile (extra-objs): Make recursively expanded.
8791
432d41ce
UD
87922011-11-01 Ulrich Drepper <drepper@gmail.com>
8793
34372fc6
UD
8794 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8795 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8796
fadb59f8
UD
8797 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8798 * posix/tst-rfc3484-2.c: Likewise.
8799 * posix/tst-rfc3484-3.c: Likewise.
8800
78239589
UD
8801 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8802 process_vm_writev.
8803 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8804 process_vm_writev.
8805 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8806 process_vm_writev from libc using GLIBC_2.15 version.
8807
432d41ce
UD
8808 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8809
02f9c6cf
PP
88102011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8811
8812 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8813 stack usage.
8814
3a2c0242
UD
88152011-10-31 Ulrich Drepper <drepper@gmail.com>
8816
f4ec4833
UD
8817 [BZ #13367]
8818 * nss/getent.c (initgroups_keys): Show error message in case no group
8819 names are given.
8820
3a2c0242
UD
8821 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8822 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8823 __bump_nl_timestamp.
8824 * nscd/connections (nscd_init): When host database is served open
8825 netlink socket and request notification about configuration changes.
8826 (main_loop_poll): Track netlink file descriptor and bump timestamp
8827 in case data becomes available.
8828 (main_loop_epoll): Likewise.
8829 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8830 (database_pers_head): Add extra_data fileds.
8831 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8832 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8833 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8834 Adjust caller.
8835 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8836 in6ai data, call __free_in6ai.
8837 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8838 Add -DHAVE_NETLINK.
8839 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8840 interface information. Reuse previous data if netlink timestamp
8841 is not changed.
8842 (__bump_nl_timestamp): New function.
8843 (__free_in6ai): New function.
8844
636064eb
UD
88452011-10-30 Ulrich Drepper <drepper@gmail.com>
8846
8847 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8848 close_not_cancel_no_status here.
8849 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8850
9beb2334
UD
88512011-10-29 Ulrich Drepper <drepper@gmail.com>
8852
6ef76f3b
UD
8853 [BZ #13276]
8854 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8855 return value.
8856
0ffc4f3e 8857 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8858 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8859 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8860
cb95113e
UD
88612011-07-03 Andreas Jaeger <aj@suse.de>
8862
8863 [BZ #10709]
8864 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8865 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8866 * math/libm-test.inc (sin_test): Add test case.
8867
a1b560ff
UD
88682011-10-29 Ulrich Drepper <drepper@gmail.com>
8869
c9aaface
UD
8870 [BZ #13337]
8871 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8872 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8873
d272e7f1
UD
8874 * elf/chroot_canon.c (chroot_canon): Cleanups.
8875
1bc33071
UD
8876 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8877
1760874d
TJ
8878 [BZ #13335]
8879 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8880 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8881
51d91b18
UD
8882 * string/test-strchr.c: Make usable for strchrnul testing.
8883 * string/test-strchrnul.c: New file.
8884 * string/Makefile (strop-tests): Add strchrnul.
8885
a1b560ff 8886 * po/it.po: Update from translation team.
b611fb81 8887 * po/es.po: Likewise.
a1b560ff 8888
a5b81e1f
UD
88892011-10-28 Ulrich Drepper <drepper@gmail.com>
8890
fd52bc6d
UD
8891 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8892 the three constants needed as parameters. Drop the others.
8893 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8894 __m128i_strloadu_tolower.
52e4b9eb
UD
8895 Create and initialize variable zero and use it in all the places
8896 where _mm_setzero_si128 was used.
fd52bc6d 8897
a5b81e1f
UD
8898 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8899 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8900 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8901 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8902 anymore.
8903 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8904 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8905 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8906 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8907 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8908 __mpranred, __mptan.
8909 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8910 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8911 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8912 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8913 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8914 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8915 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8916 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8917 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8918
b4343346
AS
89192011-10-28 Andreas Schwab <schwab@redhat.com>
8920
0c92d8a8
AS
8921 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8922 redefine if SHARED.
8923 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8924
b4343346
AS
8925 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8926 wide char related routines to wcsmbs subdir.
8927
3871f58f
AS
89282011-10-27 Andreas Schwab <schwab@redhat.com>
8929
8930 [BZ #13344]
8931 * misc/sys/cdefs.h (__THROWNL): Define.
8932 * posix/unistd.h: Use __THREADNL instead of __THREAD
8933 for memory synchronization functions.
8934
94d44d9f
RM
89352011-10-26 Roland McGrath <roland@hack.frob.com>
8936
21b64b15 8937 [BZ #13349]
94d44d9f
RM
8938 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8939 doesn't exist.
8940 * manual/stdio.texi (Obstack Streams): Node removed.
8941
f6ce9294
AS
89422011-10-26 Andreas Schwab <schwab@redhat.com>
8943
80479147
AS
8944 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8945 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8946 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8947
f6ce9294
AS
8948 * math/math_private.h (math_force_eval): Allow non-addressable
8949 arguments.
8950 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8951
618280a1
UD
89522011-10-25 Ulrich Drepper <drepper@gmail.com>
8953
e0016b11
UD
8954 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8955 file is not needed.
8956
8957 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8958 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8959 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8960 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8961 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8962 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8963 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8964 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8965 Add AVX variants.
8966 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8967 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8968 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8969 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8970 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8971 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8972 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8973 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8974 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8975 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8976 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8977 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8978 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8979 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8980 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8981 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8982 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8983 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8984 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8985
8986 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8987 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8988
618280a1
UD
8989 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8990 place. Use VEX encoding when compiling for AVX.
8991
37822576
AS
89922011-10-25 Andreas Schwab <schwab@redhat.com>
8993
1f1e1947
AS
8994 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8995 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8996
37822576
AS
8997 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8998
31ea014d
UD
89992011-10-25 Ulrich Drepper <drepper@gmail.com>
9000
d7826aa1 9001 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9002 useless if() expression.
d7826aa1
UD
9003 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9013 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9014 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9015 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9016 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9017 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9018 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9019 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9021 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9022
31ea014d
UD
9023 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9024
16437fec
AS
90252011-10-25 Andreas Schwab <schwab@redhat.com>
9026
9027 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9028 condition.
9029 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9030
31d3cc00
UD
90312011-10-25 Ulrich Drepper <drepper@gmail.com>
9032
9033 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9034 .text section. Avoid duplicate constants.
9035 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9044 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9045 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9046 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9047 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9050 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9052 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9058 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9059 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9060 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9061 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9062 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9063 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9064 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9065 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9066 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9067 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9068 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9069 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9070 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9071 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9072 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9073 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9074 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9075 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9076 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9077 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9078 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9079 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9080
58985aa9
UD
90812011-10-24 Ulrich Drepper <drepper@gmail.com>
9082
202c9deb
UD
9083 * sysdeps/x86_64/dla.h: Move to ...
9084 * sysdeps/x86_64/fpu/dla.h: ...here.
9085 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9086 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9087
af968f62
UD
9088 * config.make.in: Add have-mfma4 entry.
9089 * configure.in: Substitute libc_cv_cc_fma4.
9090 * math/Makefile (dbl-only-routines): Add sincostab.
9091 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9092 Use __sincostab not sincos.
9093 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9094 name is a macro.
9095 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9099 using __copysign.
9100 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9101 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9102 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9103 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9104 and __inv.
9105 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9106 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9107 __copysign.
9108 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9109 define aliases when function name is a macro.
9110 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9111 sysdeps/ieee754/dbl-64/sincos.tbl.
9112 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9113 fma4-enabled routines.
9114 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9115 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9116 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9117 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9118 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9119 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9120 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9121 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9122 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9123 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9124 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9125 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9126 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9127 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9128 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9129 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9130 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9131 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9132 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9133 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9134 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9135 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9136 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9137 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9138 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9139 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9140 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9141 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9142 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9143 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9144
58985aa9
UD
9145 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9146 rename.
9147 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9155
a201fbcf
AS
91562011-10-24 Andreas Schwab <schwab@redhat.com>
9157
9158 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9159
fc2ee42a
LD
91602011-10-23 Ulrich Drepper <drepper@gmail.com>
9161
bb3129bd
UD
9162 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9163
0275fff8
UD
9164 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9165 prediction.
9166 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9167
2fa2ae85
UD
9168 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9169 Remove unused variable magic_bits.
9170 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9171
fc2ee42a
LD
9172 * string/strnlen.c: Define and use STRNLEN macro.
9173 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9174 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9175 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9176 * wcsmbs/wcslen.c: Define and use WCSLEN.
9177 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9178 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9179 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9180 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9181 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9182 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9183 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9184
ce7dd29f
LD
91852011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9186
9187 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9188 strnlen-sse2-no-bsf.
9189 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9191 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9192 Add strnlen support.
9193 (USE_AS_STRNLEN): New macro.
9194 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9195 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9196 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9197 * sysdeps/x86_64/wcslen.S: New file.
9198
979c70a3
MZ
91992011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9200
9201 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9202 XMM-moves are used for copying on small sizes.
9203
2d09f82f
LD
92042011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9205
9206 * wcsmbs/Makefile (strop-tests): Add wcschr.
9207 * wcsmbs/test-wcschr.c: New file.
9208 * string/test-strchr.c: Update.
9209 Add wcschr support.
9210 (WIDE): New macro.
9211
619fccca
LD
92122011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9213
2d09f82f 9214 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9215 * wcsmbs/test-wcslen.c: New file.
9216 * string/test-strlen.c: Update.
9217 Add wcslen support.
9218 (WIDE): New macro.
9219
09f699ea
UD
92202011-10-23 Ulrich Drepper <drepper@gmail.com>
9221
9222 * po/it.po: Update from translation team.
9223
95584d3b
LD
92242011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9225
9226 * sysdeps/x86_64/wcscmp.S: Update.
9227 Fix wrong comparison semantics.
9228 wcscmp shall use signed comparison not unsigned.
9229 Don't use substraction to avoid overflow bug.
9230 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9231 * wcsmbc/wcscmp.c: Likewise.
9232 * string/test-strcmp.c: Likewise.
9233 Add new tests to check cases with negative values.
9234
c8b3296b
UD
92352011-10-23 Ulrich Drepper <drepper@gmail.com>
9236
9237 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9238 * sysdeps/x86_64/dla.h: ...here. New file.
9239 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9240 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9242 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9244 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9245 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9248
246ad57a
AS
92492011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9250
9251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9252 __ynl_finite aliases.
9253
a1a87169
UD
92542011-10-22 Ulrich Drepper <drepper@gmail.com>
9255
0d355eb7
UD
9256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9257
a1a87169
UD
9258 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9259 define DLA_FMA.
9260 [DLA_FMA] (EMULV): Use DLA_FMA.
9261 [DLA_FMA] (MUL12): Use EMULV.
9262 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9263 that are not needed.
9264 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9271
ee2aafe0
AS
92722011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9273
9274 * math/s_nan.c: Undef __nan.
9275 * math/s_nanf.c: Undef __nanf.
9276 * math/s_nanl.c: Undef __nanl.
9277 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9278 "math_private.h".
9279
bc62c2fb
UD
92802011-10-22 Ulrich Drepper <drepper@gmail.com>
9281
77425c63
UD
9282 * math/s_catan.c: Add branch predictions.
9283 * math/s_catanf.c: Likewise.
9284 * math/s_catanh.c: Likewise.
9285 * math/s_catanhf.c: Likewise.
9286 * math/s_catanhl.c: Likewise.
9287 * math/s_catanl.c: Likewise.
9288 * math/s_cexp.c: Likewise.
9289 * math/s_cexpf.c: Likewise.
9290 * math/s_cexpl.c: Likewise.
9291 * math/s_clog.c: Likewise.
9292 * math/s_clog10.c: Likewise.
9293 * math/s_clog10f.c: Likewise.
9294 * math/s_clog10l.c: Likewise.
9295 * math/s_clogf.c: Likewise.
9296 * math/s_clogl.c: Likewise.
9297 * math/s_csqrt.c: Likewise.
9298 * math/s_csqrtf.c: Likewise.
9299 * math/s_csqrtl.c: Likewise.
9300 * math/s_ctanf.c: Likewise.
9301 * math/s_ctanh.c: Likewise.
9302 * math/s_ctanhf.c: Likewise.
9303 * math/s_ctanhl.c: Likewise.
9304 * math/s_ctanl.c: Likewise.
9305
bc62c2fb
UD
9306 * math/math_private.h: Define __nan, __nanf, __nanl.
9307 * math/s_cacosh.c: Include <math_private.h>.
9308 * math/s_cacoshl.c: Likewise.
9309 * math/s_casinh.c: Likewise.
9310 * math/s_casinhf.c: Likewise.
9311 * math/s_casinhl.c: Likewise.
9312 * math/s_ccos.c: Rely entire on ccosh.
9313 * math/s_ccosf.c: Rely entire on ccoshf.
9314 * math/s_ccosl.c: Rely entirely on ccoshl.
9315 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9316 Remove tests for FE_INVALID.
9317 * math/s_ccoshf.c: Likewise.
9318 * math/s_ccoshl.c: Likewise.
9319 * math/s_csin.c: Likewise.
9320 * math/s_csinf.c: Likewise.
9321 * math/s_csinh.c Likewise.
9322 * math/s_csinhf.c: Likewise.
9323 * math/s_csinhl.c: Likewise.
9324 * math/s_csinl.c: Likewise.
9325 * math/s_ctan.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9327 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9328 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9329
8ec250a4
UD
93302011-10-21 Ulrich Drepper <drepper@gmail.com>
9331
c196fed8
UD
9332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9333 compilation problems.
9334
8ec250a4
UD
9335 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9336 __builtin_expect.
9337
8d4f46c6
UD
93382011-10-20 Ulrich Drepper <drepper@gmail.com>
9339
ed72b654
UD
9340 * sysdeps/i386/configure.in: Test for -mfma4 option.
9341 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9342 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9343 COMMON_CPUID_INDEX_80000001.
9344 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9345 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9346 use it if FMA3 is not supported.
9347 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9348
8d4f46c6
UD
9349 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9350 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9351
d45c60c2
AS
93522011-10-20 Andreas Schwab <schwab@redhat.com>
9353
9354 [BZ #12892]
9355 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9356 it would create a cycle with a link time dependency.
9357
d9a4d2ab
UD
93582011-10-19 Ulrich Drepper <drepper@gmail.com>
9359
855d1560
UD
9360 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9361 instruction.
9362 * string/Makefile (strop-tests): Add rawmemchr.
9363 * string/test-rawmemchr.c: New file.
9364
d9a4d2ab
UD
9365 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9366 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9367 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9368 when compiling str{,n}casecmp and when AVX is available. Hook up
9369 new optimized code in initializers.
9370
8f3b1ffe
AS
93712011-10-19 Andreas Schwab <schwab@redhat.com>
9372
9373 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9374 __feraiseexcept instead of feraiseexcept.
9375
d38f1dba
UD
93762011-10-18 Ulrich Drepper <drepper@gmail.com>
9377
d9a8d0ab
UD
9378 * math/math_private.h: Define defaults for libc_fetestexcept and
9379 libc_feupdateenv.
9380 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9381 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9382 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9383 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9384 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9385 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9386 libc_fetestexcept and libc_feupdateenv.
9387
4855e3dd
UD
9388 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9389 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9390 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9391 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9392 libc_feholdexcept_setround.
9393
581d30e3
UD
9394 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9395 Add s_nearbyint-c and s_nearbyintf-c.
9396 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9397 nearbyintf inlines.
9398 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9399 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9400 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9401 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9402
d38f1dba
UD
9403 * math/math_private.h: Define defaults for libc_fegetround,
9404 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9405 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9406 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9407 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9408 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9409 standard functions.
9410 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9411 Remove comments and hacks for old compiler versions.
9412 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9413 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9414 libc_feholdexceptl.
9415
caa6c9d8
AS
94162011-10-18 Andreas Schwab <schwab@redhat.com>
9417
9418 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9419 (__feraiseexcept_renamed): Add __NTH.
9420 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9421 namespace violations.
9422
97c066e6
UD
94232011-10-17 Ulrich Drepper <drepper@gmail.com>
9424
99ce7b04
UD
9425 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9426
1004d182
UD
9427 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9428
228a984d
UD
9429 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9430 recently added interfaces.
9431 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9432
c8553a6a
UD
9433 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9434 about macro parameter expansion.
9435
ed22dcf6
UD
9436 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9437 __NO_MATH_INLINES is defined. Cleanups.
9438
9439 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9440 and __floorf is target has SSE4.1.
9441 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9442 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9443 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9444 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9445
b171c137
UD
9446 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9447 name.
9448 (floorf): Likewise.
9449
97c066e6
UD
9450 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9451
629f62ef
AS
94522011-10-17 Andreas Schwab <schwab@redhat.com>
9453
49a43d80
AS
9454 * misc/sys/cdefs.h: Fix last change.
9455
629f62ef
AS
9456 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9457 database lookup.
9458
e453f6cd
UD
94592011-10-16 Ulrich Drepper <drepper@gmail.com>
9460
aa78043a
UD
9461 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9462
ad0f5cad
UD
9463 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9464 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9469 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9470 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9471 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9472 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9473 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9474 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9475 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9476 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9477 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9478 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9479 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9480 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9481 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9482 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9483 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9484 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9485
9486 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9487 ceil, ceilf, floor, floorf.
9488
9489 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9490 Perform IRELATIVE relocations last.
9491
e453f6cd
UD
9492 * elf/do-rel.h: Add another parameter nrelative, replacing the
9493 local variable with the same name. Change name of the function
9494 to end in Rel or Rela (uppercase).
9495 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9496 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9497 elf_dynamic_do_##reloc function.
9498
fd5bdc09
UD
94992011-10-15 Ulrich Drepper <drepper@gmail.com>
9500
79b195b5
UD
9501 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9502 is sufficient, at least on modern CPUs.
9503
d4a28569
UD
9504 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9505
b61099b5
UD
9506 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9507 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9508
bcf01e6d
UD
9509 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9510 __expl_finite.
9511 * math/bits/math-finite.h: Add entries for exp.
9512 * math/e_expl.c: Add __*_finite alias.
9513 * sysdeps/i386/fpu/e_exp.S: Likewise.
9514 * sysdeps/i386/fpu/e_expf.S: Likewise.
9515 * sysdeps/i386/fpu/e_expl.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9517 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9521 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9522 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9523
ba1a0d59
UD
9524 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9525 is sufficient, at least on modern CPUs.
9526
fd5bdc09
UD
9527 * ctype/ctype-info.c (__ctype_init): Define.
9528 * include/ctype.h (__ctype_init): Declare.
9529 (__ctype_b_loc): The variable is always initialized.
9530 (__ctype_toupper_loc): Likewise.
9531 (__ctype_tolower_loc): Likewise.
9532 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9533 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9534
7872cfb0
AS
95352011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9536
b468825a
AS
9537 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9538
7872cfb0
AS
9539 * configure.in: Also look in $cxxmachine/include for C++ system
9540 headers.
9541
be13f7bf
LD
95422011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9543
9544 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9545 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9546 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9547 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9548 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9549 (USE_AS_WMEMCMP): New macro.
9550 Fixing indents.
9551 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9552 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9553 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9554 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9556 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9557 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9558 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9559 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9560 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9561 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9562 (USE_AS_WMEMCMP): New macro.
9563 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9564 * sysdeps/string/test-memcmp.c: Update.
9565 Fix simple_wmemcmp.
9566 Add new tests.
9567 * wcsmbs/wmemcmp.c: Update.
9568 (WMEMCMP): New macro.
9569 Fix overflow bug.
9570
556a2007
AJ
95712011-10-12 Andreas Jaeger <aj@suse.de>
9572
9573 [BZ #13268]
9574 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9575
538faaa7
UD
95762011-10-15 Ulrich Drepper <drepper@gmail.com>
9577
ab6737ff
UD
9578 * libio/iofwide.c (do_length): Avoid warning.
9579
538faaa7
UD
9580 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9581
396a21b1
UD
95822011-10-14 Ulrich Drepper <drepper@gmail.com>
9583
cdf2901f
UD
9584 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9585
38ad40ce
UD
9586 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9587 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9588 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9589 * sysdeps/i386/i686/fpu/e_log.S: New file.
9590 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9591 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9592
396a21b1
UD
9593 * ctype/ctype.h: Add support for inlined isXXX functions when
9594 compiling C++ code.
9595
6b1f68c9
AS
95962011-10-14 Andreas Schwab <schwab@redhat.com>
9597
349290c0
AS
9598 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9599
6b1f68c9
AS
9600 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9601
f2282d42
RM
96022011-10-13 Roland McGrath <roland@hack.frob.com>
9603
9604 [BZ #13291]
9605 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9606
5298ffa8
AS
96072011-10-13 Andreas Schwab <schwab@redhat.com>
9608
714fad23
AS
9609 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9610 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9611 feraiseexcept.
9612
81dcc7fb
AS
9613 * sysdeps/x86_64/memrchr.S: Check for zero size.
9614
5298ffa8
AS
9615 * string/stratcliff.c: Add memrchr tests.
9616
951fbcec
LD
96172011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9618
9619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9620 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9621 rawmemchr-sse2 rawmemchr-sse2-bsf.
9622 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9623 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9624 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9625 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9626 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9627 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9628 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9629 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9630 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9631 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9632 * string/memrchr.c (MEMRCHR): New macro.
9633
0ac5ae23
UD
96342011-10-12 Ulrich Drepper <drepper@gmail.com>
9635
9636 Add integration with gcc's -ffinite-math-only and optimize wrapper
9637 functions in libm.
9638 * Versions.def: Define GLIBC_2.15 version for libm.
9639 * math/Makefile (headers): Add bits/math-finite.h.
9640 * math/bits/math-finite.h: New file.
9641 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9642 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9643 * math/e_acoshl.c: Add __*_finite alias.
9644 * math/e_acosl.c: Likewise.
9645 * math/e_asinl.c: Likewise.
9646 * math/e_atan2l.c: Likewise.
9647 * math/e_atanhl.c: Likewise.
9648 * math/e_coshl.c: Likewise.
9649 * math/e_exp10.c: Likewise.
9650 * math/e_exp10f.c: Likewise.
9651 * math/e_exp10l.c: Likewise.
9652 * math/e_exp2l.c: Likewise.
9653 * math/e_fmodl.c: Likewise.
9654 * math/e_gammal_r.c: Likewise.
9655 * math/e_hypotl.c: Likewise.
9656 * math/e_j0l.c: Likewise.
9657 * math/e_j1l.c: Likewise.
9658 * math/e_jnl.c: Likewise.
9659 * math/e_lgammal_r.c: Likewise.
9660 * math/e_log10l.c: Likewise.
9661 * math/e_log2l.c: Likewise.
9662 * math/e_logl.c: Likewise.
9663 * math/e_powl.c: Likewise.
9664 * math/e_sinhl.c: Likewise.
9665 * math/e_sqrtl.c: Likewise.
9666 * math/e_scalb.c: Completely rewritten and optimized.
9667 * math/e_scalbf.c: Likewise.
9668 * math/e_scalbl.c: Likewise.
9669 * math/w_acos.c: Likewise.
9670 * math/w_acosf.c: Likewise.
9671 * math/w_acosl.c: Likewise.
9672 * math/w_acosh.c: Likewise.
9673 * math/w_acoshf.c: Likewise.
9674 * math/w_acoshl.c: Likewise.
9675 * math/w_asin.c: Likewise.
9676 * math/w_asinf.c: Likewise.
9677 * math/w_asinl.c: Likewise.
9678 * math/w_atan2.c: Likewise.
9679 * math/w_atan2f.c: Likewise.
9680 * math/w_atan2l.c: Likewise.
9681 * math/w_atanh.c: Likewise.
9682 * math/w_atanhf.c: Likewise.
9683 * math/w_atanhl.c: Likewise.
9684 * math/w_exp10.c: Likewise.
9685 * math/w_exp10f.c: Likewise.
9686 * math/w_exp10l.c: Likewise.
9687 * math/w_fmod.c: Likewise.
9688 * math/w_fmodf.c: Likewise.
9689 * math/w_fmodl.c: Likewise.
9690 * math/w_j0.c: Likewise.
9691 * math/w_j0f.c: Likewise.
9692 * math/w_j0l.c: Likewise.
9693 * math/w_j1.c: Likewise.
9694 * math/w_j1f.c: Likewise.
9695 * math/w_j1l.c: Likewise.
9696 * math/w_jn.c: Likewise.
9697 * math/w_jnf.c: Likewise.
9698 * math/w_log.c: Likewise.
9699 * math/w_logf.c: Likewise.
9700 * math/w_logl.c: Likewise.
9701 * math/w_log10.c: Likewise.
9702 * math/w_log10f.c: Likewise.
9703 * math/w_log10l.c: Likewise.
9704 * math/w_log2.c: Likewise.
9705 * math/w_log2f.c: Likewise.
9706 * math/w_log2l.c: Likewise.
9707 * math/w_pow.c: Likewise.
9708 * math/w_powf.c: Likewise.
9709 * math/w_powl.c: Likewise.
9710 * math/w_remainder.c: Likewise.
9711 * math/w_remainderf.c: Likewise.
9712 * math/w_remainderl.c: Likewise.
9713 * math/w_scalb.c: Likewise.
9714 * math/w_scalbf.c: Likewise.
9715 * math/w_scalbl.c: Likewise.
9716 * math/w_sqrt.c: Likewise.
9717 * math/w_sqrtf.c: Likewise.
9718 * math/w_sqrtl.c: Likewise.
9719 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9720 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9721 used.
9722 * math/math_private.h: Declare __kernel_standard_f.
9723 * math/w_cosh.c: Remove cruft and optimize a bit.
9724 * math/w_coshf.c: Likewise.
9725 * math/w_coshl.c: Likewise.
9726 * math/w_exp2.c: Likewise.
9727 * math/w_exp2f.c: Likewise.
9728 * math/w_exp2l.c: Likewise.
9729 * math/w_hypot.c: Likewise.
9730 * math/w_hypotf.c: Likewise.
9731 * math/w_hypotl.c: Likewise.
9732 * math/w_lgamma.c: Likewise.
9733 * math/w_lgamma_r.c: Likewise.
9734 * math/w_lgammaf.c: Likewise.
9735 * math/w_lgammaf_r.c: Likewise.
9736 * math/w_lgammal.c: Likewise.
9737 * math/w_lgammal_r.c: Likewise.
9738 * math/w_sinh.c: Likewise.
9739 * math/w_sinhf.c: Likewise.
9740 * math/w_sinhl.c: Likewise.
9741 * math/w_tgamma.c: Likewise.
9742 * math/w_tgammaf.c: Likewise.
9743 * math/w_tgammal.c: Likewise.
9744 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9745 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9746 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9747 Minor optimizations. Pretty printing. Remove cruft.
9748 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9749 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9750 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9751 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9752 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9753 * sysdeps/i386/fpu/e_asin.S: Likewise.
9754 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9755 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9756 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9757 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9758 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9759 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9760 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9761 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9762 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9763 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9764 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9765 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9766 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9767 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9768 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9769 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9770 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9771 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9772 * sysdeps/i386/fpu/e_log.S: Likewise.
9773 * sysdeps/i386/fpu/e_log10.S: Likewise.
9774 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9775 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9776 * sysdeps/i386/fpu/e_log2.S: Likewise.
9777 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9778 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9779 * sysdeps/i386/fpu/e_logf.S: Likewise.
9780 * sysdeps/i386/fpu/e_logl.S: Likewise.
9781 * sysdeps/i386/fpu/e_pow.S: Likewise.
9782 * sysdeps/i386/fpu/e_powf.S: Likewise.
9783 * sysdeps/i386/fpu/e_powl.S: Likewise.
9784 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9785 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9786 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9787 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9788 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9789 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9790 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9791 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9792 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9793 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9794 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9796 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9797 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9798 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9799 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9800 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9801 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9802 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9803 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9804 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9806 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9807 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9810 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9813 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9814 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9815 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9816 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9817 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9818 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9819 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9820 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9821 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9822 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9823 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9824 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9825 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9826 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9827 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9828 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9829 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9830 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9831 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9832 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9833 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9834 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9835 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9840 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9844 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9848 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9850 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9873 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9875 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9876 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9878 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9879 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9881 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9883 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9884 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9885 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9886 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9887 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9888 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9889 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9890 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9891 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9892 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9893 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9894 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9895 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9896 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9897 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9898 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9899 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9900 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9901 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9902 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9903 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9904 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9905 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9906 (__isnanf): Likewise.
9907 (__isinf_ns): Likewise.
9908 (__isinf_nsf): Likewise.
9909 (__finite): Likewise.
9910 (__finitef): Likewise.
9911 (__ieee754_sqrt): Define as macro.
9912 (__ieee754_sqrtf): Define as macro.
9913 (__ieee754_sqrtl): Define as macro.
9914 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9915 inlined copy.
9916 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9917 __FINITE_MATH_ONLY__ consistent.
9918 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9919
12cc2fcd
AS
99202011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9921
a843a204
AS
9922 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9923 of rawmemchr.
9924
12cc2fcd
AS
9925 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9926
c853acd5
UD
99272011-10-09 Ulrich Drepper <drepper@gmail.com>
9928
9929 * po/ja.po: Update from translation team.
9930
c658d255
RM
99312011-10-08 Roland McGrath <roland@hack.frob.com>
9932
110946e4
RM
9933 * locale/programs/locarchive.c (prepare_address_space): New function.
9934 (create_archive, enlarge_archive, open_archive): Use it.
9935
50604220
RM
9936 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9937 inside [SHARED], where it is used.
9938
c658d255
RM
9939 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9940
9941 * nss/getent.c (netgroup_keys): Remove unused variable.
9942 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9943
6a621eb7
UD
99442011-10-08 Ulrich Drepper <drepper@gmail.com>
9945
7edb55ce
UD
9946 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9947 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9949 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9950 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9951 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9952 * math/Makefile (libm-calls): Add s_isinf_ns.
9953 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9954 * math/multc3.c: Likewise.
9955 * math/s_casin.c: Likewise.
9956 * math/s_casinf.c: Likewise.
9957 * math/s_casinl.c: Likewise.
9958 * math/s_ccos.c: Likewise.
9959 * math/s_ccosf.c: Likewise.
9960 * math/s_ccosl.c: Likewise.
9961 * math/s_ctan.c: Likewise.
9962 * math/s_ctanf.c: Likewise.
9963 * math/s_ctanh.c: Likewise.
9964 * math/s_ctanhf.c: Likewise.
9965 * math/s_ctanhl.c: Likewise.
9966 * math/s_ctanl.c: Likewise.
9967 * math/w_fmod.c: Likewise.
9968 * math/w_fmodf.c: Likewise.
9969 * math/w_fmodl.c: Likewise.
9970 * math/w_remainder.c: Likewise.
9971 * math/w_remainderf.c: Likewise.
9972 * math/w_remainderl.c: Likewise.
9973 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9974 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9975 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9977 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9978 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9979 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9980 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9981
187da0ae
UD
9982 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9983 of the number.
9984 * stdio-common/printf_fphex.c: Likewise.
9985 * stdio-common/printf_size.c: Likewise.
9986
9277c064
UD
9987 * math/e_exp10.c: Include math_private.h using <...> not "...".
9988 * math/e_exp10f.c: Likewise.
9989 * math/e_exp10l.c: Likewise.
9990 * math/e_exp2l.c: Likewise.
9991 * math/e_j0l.c: Likewise.
9992 * math/e_j1l.c: Likewise.
9993 * math/e_jnl.c: Likewise.
9994 * math/e_lgammal_r.c: Likewise.
9995 * math/e_rem_pio2l.c: Likewise.
9996 * math/e_scalb.c: Likewise.
9997 * math/e_scalbf.c: Likewise.
9998 * math/e_scalbl.c: Likewise.
9999 * math/k_cosl.c: Likewise.
10000 * math/k_sinl.c: Likewise.
10001 * math/k_tanl.c: Likewise.
10002 * math/s_cacoshf.c: Likewise.
10003 * math/s_catan.c: Likewise.
10004 * math/s_catanf.c: Likewise.
10005 * math/s_catanh.c: Likewise.
10006 * math/s_catanhf.c: Likewise.
10007 * math/s_catanhl.c: Likewise.
10008 * math/s_catanl.c: Likewise.
10009 * math/s_ccosh.c: Likewise.
10010 * math/s_ccoshf.c: Likewise.
10011 * math/s_ccoshl.c: Likewise.
10012 * math/s_cexp.c: Likewise.
10013 * math/s_cexpf.c: Likewise.
10014 * math/s_cexpl.c: Likewise.
10015 * math/s_clog.c: Likewise.
10016 * math/s_clog10.c: Likewise.
10017 * math/s_clog10f.c: Likewise.
10018 * math/s_clog10l.c: Likewise.
10019 * math/s_clogf.c: Likewise.
10020 * math/s_clogl.c: Likewise.
10021 * math/s_csin.c: Likewise.
10022 * math/s_csinf.c: Likewise.
10023 * math/s_csinh.c: Likewise.
10024 * math/s_csinhf.c: Likewise.
10025 * math/s_csinhl.c: Likewise.
10026 * math/s_csinl.c: Likewise.
10027 * math/s_csqrt.c: Likewise.
10028 * math/s_csqrtf.c: Likewise.
10029 * math/s_csqrtl.c: Likewise.
10030 * math/s_ctan.c: Likewise.
10031 * math/s_ctanf.c: Likewise.
10032 * math/s_ctanh.c: Likewise.
10033 * math/s_ctanhf.c: Likewise.
10034 * math/s_ctanhl.c: Likewise.
10035 * math/s_ctanl.c: Likewise.
10036 * math/s_ldexp.c: Likewise.
10037 * math/s_ldexpf.c: Likewise.
10038 * math/s_ldexpl.c: Likewise.
10039 * math/s_significand.c: Likewise.
10040 * math/s_significandf.c: Likewise.
10041 * math/s_significandl.c: Likewise.
10042 * math/w_acos.c: Likewise.
10043 * math/w_acosf.c: Likewise.
10044 * math/w_acosh.c: Likewise.
10045 * math/w_acoshf.c: Likewise.
10046 * math/w_acoshl.c: Likewise.
10047 * math/w_acosl.c: Likewise.
10048 * math/w_asin.c: Likewise.
10049 * math/w_asinf.c: Likewise.
10050 * math/w_asinl.c: Likewise.
10051 * math/w_atan2.c: Likewise.
10052 * math/w_atan2f.c: Likewise.
10053 * math/w_atan2l.c: Likewise.
10054 * math/w_atanh.c: Likewise.
10055 * math/w_atanhf.c: Likewise.
10056 * math/w_atanhl.c: Likewise.
10057 * math/w_cosh.c: Likewise.
10058 * math/w_coshf.c: Likewise.
10059 * math/w_coshl.c: Likewise.
10060 * math/w_dremf.c: Likewise.
10061 * math/w_exp10.c: Likewise.
10062 * math/w_exp10f.c: Likewise.
10063 * math/w_exp10l.c: Likewise.
10064 * math/w_exp2.c: Likewise.
10065 * math/w_exp2f.c: Likewise.
10066 * math/w_fmod.c: Likewise.
10067 * math/w_fmodf.c: Likewise.
10068 * math/w_fmodl.c: Likewise.
10069 * math/w_hypot.c: Likewise.
10070 * math/w_hypotf.c: Likewise.
10071 * math/w_hypotl.c: Likewise.
10072 * math/w_j0.c: Likewise.
10073 * math/w_j0f.c: Likewise.
10074 * math/w_j0l.c: Likewise.
10075 * math/w_j1.c: Likewise.
10076 * math/w_j1f.c: Likewise.
10077 * math/w_j1l.c: Likewise.
10078 * math/w_jn.c: Likewise.
10079 * math/w_jnf.c: Likewise.
10080 * math/w_jnl.c: Likewise.
10081 * math/w_lgamma.c: Likewise.
10082 * math/w_lgamma_r.c: Likewise.
10083 * math/w_lgammaf.c: Likewise.
10084 * math/w_lgammaf_r.c: Likewise.
10085 * math/w_lgammal.c: Likewise.
10086 * math/w_lgammal_r.c: Likewise.
10087 * math/w_log.c: Likewise.
10088 * math/w_log10.c: Likewise.
10089 * math/w_log10f.c: Likewise.
10090 * math/w_log10l.c: Likewise.
10091 * math/w_log2.c: Likewise.
10092 * math/w_log2f.c: Likewise.
10093 * math/w_log2l.c: Likewise.
10094 * math/w_logf.c: Likewise.
10095 * math/w_logl.c: Likewise.
10096 * math/w_pow.c: Likewise.
10097 * math/w_powf.c: Likewise.
10098 * math/w_powl.c: Likewise.
10099 * math/w_remainder.c: Likewise.
10100 * math/w_remainderf.c: Likewise.
10101 * math/w_remainderl.c: Likewise.
10102 * math/w_scalb.c: Likewise.
10103 * math/w_scalbf.c: Likewise.
10104 * math/w_scalbl.c: Likewise.
10105 * math/w_sinh.c: Likewise.
10106 * math/w_sinhf.c: Likewise.
10107 * math/w_sinhl.c: Likewise.
10108 * math/w_sqrt.c: Likewise.
10109 * math/w_sqrtf.c: Likewise.
10110 * math/w_sqrtl.c: Likewise.
10111 * math/w_tgamma.c: Likewise.
10112 * math/w_tgammaf.c: Likewise.
10113 * math/w_tgammal.c: Likewise.
10114
6a621eb7
UD
10115 * po/ja.po: Update from translation team.
10116
bf582445
AJ
101172011-09-29 Andreas Jaeger <aj@suse.de>
10118
f9efbf3a
AJ
10119 [BZ #13179]
10120 * sunrpc/netname.c (netname2host): Fix logic.
10121
bf582445
AJ
10122 [BZ #6779]
10123 [BZ #6783]
10124 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10125 correctly.
10126 * math/w_remainder.c (__remainder): Likewise.
10127 * math/w_remainderf.c (__remainderf): Likewise.
10128 * math/libm-test.inc (remainder_test): Add test cases.
10129
48693bea
AK
101302011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10131
10132 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10133 sdiv_qrnnd.
10134
42622229
LD
101352011-10-07 Ulrich Drepper <drepper@gmail.com>
10136
10137 * string/test-memcmp.c: Avoid unncessary #defines.
10138 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10139
093ecf92
LD
101402011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10141
10142 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10143 Use new sse2 version for core i3 - i7 as it's faster
10144 than sse42 version.
10145 (bit_Prefer_PMINUB_for_stringop): New.
10146 * sysdeps/x86_64/rawmemchr.S: Update.
10147 Replace with faster SSE2 version.
10148 * sysdeps/x86_64/memrchr.S: New file.
10149 * sysdeps/x86_64/memchr.S: Update.
10150 Replace with faster SSE2 version.
10151
fde56e5c
MP
101522011-09-12 Marek Polacek <mpolacek@redhat.com>
10153
10154 * elf/dl-load.c (lose): Add cast to avoid warning.
10155
21fd49a9
UD
101562011-10-07 Ulrich Drepper <drepper@gmail.com>
10157
5a06e643
UD
10158 * po/ca.po: Update from translation team.
10159
684ae515
UD
10160 * inet/getnetgrent_r.c: Hook up nscd.
10161 * nscd/Makefile (routines): Add nscd_netgroup.
10162 (nscd-modules): Add netgroupcache.
10163 (CFLAGS-netgroupcache.c): Define.
10164 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10165 (cache_search): Add const to second parameter.
10166 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10167 INNETGR.
10168 (dbs): Add netgrdb entry.
10169 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10170 (verify_persistent_db): Handle netgrdb.
10171 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10172 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10173 GETFDNETGR.
10174 (netgroup_response_header): Define.
10175 (innetgroup_response_header): Define.
10176 (datahead): Add netgroup_response_header and innetgroup_response_header
10177 elements.
10178 * nscd/nscd.conf: Add entries for netgroup cache.
10179 * nscd/nscd.h (dbtype): Add netgrdb.
10180 (_PATH_NSCD_NETGROUP_DB): Define.
10181 (netgroup_iov_disabled): Declare.
10182 (xmalloc, xcalloc, xrealloc): Move declarations here.
10183 (cache_search): Adjust prototype.
10184 Add netgroup-related prototypes.
10185 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10186 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10187 (__nscd_innetgr): Declare.
10188 * nscd/selinux.c (perms): Use access_vector_t as element type and
10189 add netgroup-related initializers.
10190 * nscd/netgroupcache.c: New file.
10191 * nscd/nscd_netgroup.c: New file.
10192 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10193 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10194 For four parameters use innetgr.
10195 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10196 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10197 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10198 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10199
21fd49a9
UD
10200 * nscd/connections.c (register_traced_file): Don't register file
10201 for disabled databases.
10202
054c0457
UD
102032011-10-06 Ulrich Drepper <drepper@gmail.com>
10204
32b63198
UD
10205 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10206
054c0457
UD
10207 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10208 from tree and freeing node.
10209
64031225
JO
102102011-09-25 Jiri Olsa <jolsa@redhat.com>
10211
10212 * nss/nsswitch.c (__nss_database_lookup): Handle
10213 nss_parse_service_list out of memory case.
10214
0490345c
JO
102152011-09-15 Jiri Olsa <jolsa@redhat.com>
10216
10217 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10218 out of memory case.
10219
3a62d00d
AS
102202011-10-04 Andreas Schwab <schwab@redhat.com>
10221
10222 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10223 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10224 pass it down.
10225 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10226 elf_machine_rela, elf_machine_lazy_rel.
10227 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10228 (ELF_DYNAMIC_DO_REL): Likewise.
10229 (ELF_DYNAMIC_DO_RELA): Likewise.
10230 (ELF_DYNAMIC_RELOCATE): Likewise.
10231 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10232 to ELF_DYNAMIC_DO_REL.
10233 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10234 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10235 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10236 elf_machine_rela.
10237 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10238 skip_ifunc, don't call ifunc function if non-zero.
10239 (elf_machine_rela): Likewise.
10240 (elf_machine_lazy_rel): Likewise.
10241 (elf_machine_lazy_rela): Likewise.
10242 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10243 (elf_machine_lazy_rel): Likewise.
10244 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10245 Likewise.
10246 (elf_machine_lazy_rel): Likewise.
10247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10248 Likewise.
10249 (elf_machine_lazy_rel): Likewise.
10250 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10251 (elf_machine_lazy_rel): Likewise.
10252 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10253 (elf_machine_lazy_rel): Likewise.
10254 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10255 (elf_machine_lazy_rel): Likewise.
10256 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10257 (elf_machine_lazy_rel): Likewise.
10258 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10259 (elf_machine_lazy_rel): Likewise.
10260 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10261 (elf_machine_lazy_rel): Likewise.
10262
68577918
UD
102632011-09-28 Ulrich Drepper <drepper@gmail.com>
10264
10265 * nss/nss_files/files-init.c (_nss_files_init): Use static
10266 initialization for all the *_traced_file variables.
10267
68822d74
AS
102682011-09-28 Andreas Schwab <schwab@redhat.com>
10269
10270 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10271
2056100b
RM
102722011-09-27 Roland McGrath <roland@hack.frob.com>
10273
10274 [BZ #13226]
10275 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10276
32c76b63
AS
102772011-09-27 Andreas Schwab <schwab@redhat.com>
10278
10279 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10280 Reread the line before reparsing it.
10281
bf972c9d
AS
102822011-09-26 Andreas Schwab <schwab@redhat.com>
10283
10284 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10285
e057a1b5
JM
102862011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10287 Maxim Kuvyrkov <maxim@codesourcery.com>
10288 Joseph Myers <joseph@codesourcery.com>
10289
10290 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10291 if needed for __stack_chk_guard.
10292
bc7e1c36
RM
102932011-09-19 Roland McGrath <roland@hack.frob.com>
10294
ecb1482f
RM
10295 * sysdeps/posix/spawni.c (script_execute): Always define it.
10296 It will be optimized away if unused.
10297 (maybe_script_execute): New function.
10298 (__spawni): Call it.
10299
bc7e1c36
RM
10300 * Makerules: Don't include tls.make.
10301 (config-tls): Always set to thread.
10302 * tls.make.c: File removed.
10303
1c3b002b
MF
103042011-09-19 Mike Frysinger <vapier@gentoo.org>
10305
10306 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10307 * config.make.in (CPPFLAGS-config): New substituted variable.
10308
2840865d
UD
103092011-09-15 Ulrich Drepper <drepper@gmail.com>
10310
88738eb6
UD
10311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10312
cbf645a6 10313 [BZ #13192]
2840865d
UD
10314 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10315 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10316
b402e91a
RM
103172011-09-15 Roland McGrath <roland@hack.frob.com>
10318
10319 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10320 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10322 (CALL_FAIL): Likewise.
10323 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10324 (CALL_FAIL): Macro removed.
10325 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10326
4c1a1f71
UD
103272011-09-15 Ulrich Drepper <drepper@gmail.com>
10328
10329 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10330 for __FINITE_MATH_ONLY__ == 1.
10331
edc121be
AS
103322011-09-15 Andreas Schwab <schwab@redhat.com>
10333
10334 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10335 __ieee754_sqrt instead of sqrt.
10336 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10337 __ieee754_sqrtf instead of sqrtf.
10338 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10339 __floorf instead of floorf.
10340 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10341 __floorf, __truncf instead of floorf, truncf.
10342
cd205654
UD
103432011-09-14 Ulrich Drepper <drepper@gmail.com>
10344
ee4d0315
UD
10345 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10346
cd205654
UD
10347 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10348 __extern_always_inline.
10349 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10350 32-bit.
10351
48b67d71
AS
103522011-09-14 Andreas Schwab <schwab@redhat.com>
10353
10354 * elf/rtld.c (dl_main): Also relocate in dependency order when
10355 doing symbol dependency testing.
10356
1ae12c75
AS
103572011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10358
10359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10360 Always define `refsym'.
10361
995a80df
AS
103622011-09-13 Andreas Schwab <schwab@redhat.com>
10363
e529793b
AS
10364 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10365 (__FD_ELT): Renamed from __FDELT.
10366 * misc/bits/select2.h (__FD_ELT): Likewise.
10367 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10368 __FD_MASK instead of __FDELT, __FDMASK.
10369 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10370 Likewise.
10371 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10372 Likewise.
10373
52d4fef8
AS
10374 * elf/Makefile (gen-ldd): Fix pattern.
10375
995a80df
AS
10376 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10377 (init_tls): Likewise.
10378
8682f8b0
UD
103792011-09-12 Ulrich Drepper <drepper@gmail.com>
10380
10381 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10382
de82006d
AS
103832011-09-12 Andreas Schwab <schwab@redhat.com>
10384
a7c8e6a1
AS
10385 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10386 `struct cmsghdr *' instead of `void *'.
10387 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10388 Likewise.
10389
0f31fe77
AS
103902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10391
10392 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10393 if non-absolute.
10394 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10395 ldd_rewrite_script.
0f31fe77 10396
32b4c839
UD
103972011-09-11 Ulrich Drepper <drepper@gmail.com>
10398
83cd1420
UD
10399 * configure.in: Remove --with-tls option.
10400 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10401 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10402 out in case it is missing.
10403 * sysdeps/ia64/elf/configure.in: Likewise.
10404 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10405 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10406 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10407 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10408 * sysdeps/sh/elf/configure.in: Likewise.
10409 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10410 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10411 * sysdeps/x86_64/elf/configure.in: Likewise.
10412 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10413 * sysdeps/mach/hurd/tls.h: Likewise.
10414
633f745d
UD
10415 [BZ #13067]
10416 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10417
f318beb8
UD
10418 [BZ #13090]
10419 * configure.in: Fix use of AC_INIT.
10420
32b4c839
UD
10421 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10422
3ce1f295
UD
104232011-09-10 Ulrich Drepper <drepper@gmail.com>
10424
bb016596
UD
10425 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10426 __set_errno.
8e58439c
UD
10427 * malloc/hooks.c: Likewise.
10428
aebae053 10429 [BZ #11929]
02d46fc4
UD
10430 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10431 variables statically.
10432 (narenas): Initialize.
10433 (list_lock): Initialize.
bb016596
UD
10434 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10435 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10436 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10437 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10438 Add initializers to main_arena and mp_.
10439 (malloc_state): Remove pagesize member. Change all users to use
10440 GLRO(dl_pagesize).
10441
10442 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10443 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10444 is always initialized.
10445
22a89187
UD
10446 * malloc/malloc.c: Removed unused configurations and dead code.
10447 * malloc/arena.c: Likewise.
10448 * malloc/hooks.c: Likewise.
02d46fc4 10449 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10450
d063d164
UD
10451 * include/tls.h: Removed. USE___THREAD must always be defined.
10452 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10453 * elf/dl-libc.c: Likewise.
10454 * elf/dl-tsd.c: Likewise.
10455 * include/errno.h: Likewise.
10456 * include/netdb.h: Likewise.
10457 * include/resolv.h: Likewise.
10458 * inet/herrno-loc.c: Likewise.
10459 * inet/herrno.c: Likewise.
10460 * malloc/arena.c: Likewise.
10461 * malloc/hooks.c: Likewise.
10462 * malloc/malloc.c: Likewise.
10463 * resolv/res-state.c: Likewise.
10464 * resolv/res_libc.c: Likewise.
10465 * sysdeps/i386/dl-machine.h: Likewise.
10466 * sysdeps/ia64/dl-machine.h: Likewise.
10467 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10468 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10469 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10470 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10471 * sysdeps/sh/dl-machine.h: Likewise.
10472 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10473 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10474 * sysdeps/unix/i386/sysdep.S: Likewise.
10475 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10476 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10477 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10480 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10481 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10485 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10486 * sysdeps/x86_64/dl-machine.h: Likewise.
10487 * tls.make.c: Likewise.
10488
3ce1f295
UD
10489 * configure.in: Remove --with-__thread option. Make tests for
10490 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10491 tls_model attribute fail if no support is available. Remove
10492 USE_IN_LIBIO.
10493 * Makeconfig: Adjust for dropped configure option. All features are
10494 now mandatory.
10495 * Makerules: Likewise.
10496 * Versions.def: Likewise.
10497 * argp/argp-fmtstream.c: Likewise.
10498 * argp/argp-fmtstream.h: Likewise.
10499 * argp/argp-help.c: Likewise.
10500 * assert/assert.c: Likewise.
10501 * config.h.in: Likewise.
10502 * config.make.in: Likewise.
10503 * configure: Likewise.
10504 * configure.in: Likewise.
10505 * csu/Versions: Likewise.
10506 * csu/init.c: Likewise.
10507 * elf/tst-audit2.c: Likewise.
10508 * elf/tst-tls10.c: Likewise.
10509 * elf/tst-tls10.h: Likewise.
10510 * elf/tst-tls11.c: Likewise.
10511 * elf/tst-tls12.c: Likewise.
10512 * elf/tst-tls14.c: Likewise.
10513 * elf/tst-tlsmod11.c: Likewise.
10514 * elf/tst-tlsmod12.c: Likewise.
10515 * elf/tst-tlsmod13.c: Likewise.
10516 * elf/tst-tlsmod13a.c: Likewise.
10517 * elf/tst-tlsmod14a.c: Likewise.
10518 * elf/tst-tlsmod15b.c: Likewise.
10519 * elf/tst-tlsmod16a.c: Likewise.
10520 * elf/tst-tlsmod16b.c: Likewise.
10521 * elf/tst-tlsmod7.c: Likewise.
10522 * elf/tst-tlsmod8.c: Likewise.
10523 * elf/tst-tlsmod9.c: Likewise.
10524 * gmon/gmon.c: Likewise.
10525 * grp/fgetgrent_r.c: Likewise.
10526 * grp/putgrent.c: Likewise.
10527 * hurd/fopenport.c: Likewise.
10528 * include/libc-symbols.h: Likewise.
10529 * include/tls.h: Likewise.
10530 * intl/gettextP.h: Likewise.
10531 * intl/loadinfo.h: Likewise.
10532 * locale/global-locale.c: Likewise.
10533 * locale/localeinfo.h: Likewise.
10534 * mach/devstream.c: Likewise.
10535 * malloc/arena.c: Likewise.
10536 * malloc/set-freeres.c: Likewise.
10537 * misc/err.c: Likewise.
10538 * misc/getttyent.c: Likewise.
10539 * misc/mntent_r.c: Likewise.
10540 * posix/getopt.c: Likewise.
10541 * posix/wordexp.c: Likewise.
10542 * pwd/fgetpwent_r.c: Likewise.
10543 * resolv/Versions: Likewise.
10544 * resolv/res_hconf.c: Likewise.
10545 * shadow/fgetspent_r.c: Likewise.
10546 * shadow/putspent.c: Likewise.
10547 * stdio-common/printf_fphex.c: Likewise.
10548 * stdio-common/tmpfile.c: Likewise.
10549 * stdlib/abort.c: Likewise.
10550 * stdlib/fmtmsg.c: Likewise.
10551 * sunrpc/auth_unix.c: Likewise.
10552 * sunrpc/clnt_perr.c: Likewise.
10553 * sunrpc/clnt_tcp.c: Likewise.
10554 * sunrpc/clnt_udp.c: Likewise.
10555 * sunrpc/clnt_unix.c: Likewise.
10556 * sunrpc/openchild.c: Likewise.
10557 * sunrpc/svc_simple.c: Likewise.
10558 * sunrpc/svc_tcp.c: Likewise.
10559 * sunrpc/svc_udp.c: Likewise.
10560 * sunrpc/svc_unix.c: Likewise.
10561 * sunrpc/xdr.c: Likewise.
10562 * sunrpc/xdr_array.c: Likewise.
10563 * sunrpc/xdr_rec.c: Likewise.
10564 * sunrpc/xdr_ref.c: Likewise.
10565 * sunrpc/xdr_stdio.c: Likewise.
10566
1248c1c4
PB
105672011-09-09 Ulrich Drepper <drepper@gmail.com>
10568
10569 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10570
105712011-07-03 Andreas Jaeger <aj@suse.de>
10572
10573 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10574 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10575 regenerate with gen-libm-tests.pl.
10576
105772010-05-12 Petr Baudis <pasky@suse.cz>
10578
10579 [BZ #11589]
10580 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10581 around j0() zero points by switching to j1().
10582 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10583 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10584 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10585 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10586
f22e1074
UD
105872011-09-09 Ulrich Drepper <drepper@gmail.com>
10588
f19009c1
UD
10589 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10590 instead of 0.
10591 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10592 instead of 0. .
10593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10594 Patch in part by Pavel Roskin <proski@gnu.org>.
10595
3f8cc204
UD
10596 [BZ #13138]
10597 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10598 realloc.
10599 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10600 Free memory block if necessary.
10601
f22e1074
UD
10602 [BZ #12847]
10603 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10604 be NULL. Don't lock in this case.
10605
0a2349f9
RM
106062011-09-09 Roland McGrath <roland@hack.frob.com>
10607
10608 * elf/elf.h (ELFOSABI_GNU): New macro.
10609 (ELFOSABI_LINUX): Define to that.
10610
f3cdd467
DZ
106112011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10612
10613 * string/strncat.c (strncat): Undef the symbol in case it has been
10614 defined in bits/string.h.
10615
74718d13
UD
106162011-09-09 Ulrich Drepper <drepper@gmail.com>
10617
633e9e0f
UD
10618 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10619
0a2349f9 10620 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10621 link map.
10622
f9924780
AJ
106232011-08-17 Andreas Jaeger <aj@suse.de>
10624
10625 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10626
7f5517aa
PP
106272011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10628 Ian Lance Taylor <iant@google.com>
10629
10630 * math/libm-test.inc (lround_test): New testcase.
10631 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10632
762011fe
UD
106332011-09-08 Ulrich Drepper <drepper@gmail.com>
10634
92963737
UD
10635 * Makefile: Remove support for automatic cvs check-ins.
10636 * Makerules: Likewise.
10637 * config.make.in: Likewise.
10638 * configure.in: Likewise.
10639 * intl/Makefile: Likewise.
10640 * locale/Makefile: Likewise.
10641 * po/Makefile: Likewise.
10642 * posix/Makefile: Likewise.
10643 * sysdeps/gnu/Makefile: Likewise.
10644 * sysdeps/mach/hurd/Makefile: Likewise.
10645 * sysdeps/sparc/sparc32/Makefile: Likewise.
10646
b0727fd8
JS
10647 [BZ #13118]
10648 * posix/Makefile (bug-regex32-ENV): Define.
10649 Patch by John Stanley <jpsinthemix@verizon.net>.
10650
a0f33f99
UD
10651 * misc/Makefile (headers): Add bits/select2.h.
10652 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10653 * misc/bits/select2.h: New file.
10654 * include/bits/select2.h: New file.
10655 * debug/Makefile (routines): Add fdelt_chk.
10656 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10657 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10658 FD_ISSET.
10659 * debug/fdelt_chk.c: New file.
10660
762011fe
UD
10661 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10662 * wcsmbs/test-wmemcmp.c: Likewise.
10663 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10664 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10665
106662011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10667
10668 * string/Makefile (strop-tests): Add memcmp.
10669 * string/test-wmemcmp.c: New file.
10670 * string/test-memcmp.c: Add wmemcmp support.
10671
7f513ec8
RM
106722011-09-08 Roland McGrath <roland@hack.frob.com>
10673
0442afb4
RM
10674 [BZ #13153]
10675 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10676 2011-07-19 change.
10677
7f513ec8
RM
10678 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10679 garbage value in a __mach_port_mod_refs call in the cases of the
10680 task-self and thread-self ports.
10681
a12b2239
ST
106822011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10683
10684 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10685
610f9ab4
AS
106862011-09-08 Andreas Schwab <schwab@redhat.com>
10687
7f513ec8 10688 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10689
48882a1a
LD
106902011-09-07 Ulrich Drepper <drepper@gmail.com>
10691
b49865be
UD
10692 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10693
fdc86bc9
UD
10694 * elf/dl-libc.c (dlerror_run): Pass back error code from
10695 dl_catch_error.
10696
c966526a
UD
10697 [BZ #13123]
10698 * elf/dl-load.c (lose): Free l_origin if it is valid.
10699
48882a1a
LD
10700 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10701 names.
10702 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10703 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10704 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10705 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10706 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10707 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10708
77a2a8b4
AZ
107092011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10710
10711 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10712 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10713 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10714 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10715 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10716 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10717 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10718 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10719 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10720 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10721
24f579d8
AM
107222011-08-15 Alan Modra <amodra@gmail.com>
10723
10724 [BZ #13092]
10725 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10726 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10727 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10728 ppc_mcount to static-only-routines.
10729 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10730 __mcount_internal.
10731 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10732 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10733
3d4837df
UD
107342011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10735
10736 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10737 for finite and infinity parameters.
10738
22700377
WS
107392011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10740
10741 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10742 and add nop instructions for throughput optimization.
10743 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10744
5025581e
WS
107452011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10746
10747 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10748 aligned copy for power7 with vector-scalar instructions.
10749 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10750
08a300c9
L
107512011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10752
10753 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10754 AVX check.
10755
59178ef9
AS
107562011-09-07 Andreas Schwab <schwab@redhat.com>
10757
10758 [BZ #13144]
10759 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10760 last change.
10761
e38ba7ab
UD
107622011-09-07 Ulrich Drepper <drepper@gmail.com>
10763
10764 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10765 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10766 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10767 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10768 clock_gettime.
10769
d53a73ac
UD
107702011-09-06 Ulrich Drepper <drepper@gmail.com>
10771
fc8bffcc
UD
10772 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10773 Forgot to demangle the pointer.
10774
ceaa0c5d
UD
10775 * sysdeps/i386/sysdep.h: Define atom_text_section.
10776 * sysdeps/x86_64/sysdep.h: Likewise.
10777 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10778 section with atom_text_section.
10779 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10780 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10781 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10782 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10783 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10784
a77d3c17
UD
10785 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10786 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10787 already be defined. Change to take two parameters and don't assign
10788 result to variable. Adjust all users.
10789 Define INTERNAL_GETTIME if not already defined.
10790 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10791 call.
10792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10793 HAVE_CLOCK_GETTIME_VSYSCALL.
10794 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10795
d53a73ac
UD
10796 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10797 gettimeofday vsyscall, just use time.
10798
a8f84144
AS
107992011-09-06 Andreas Schwab <schwab@redhat.com>
10800
10801 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10802 <errno.h>.
10803
ef606249
UD
108042011-09-06 Ulrich Drepper <drepper@gmail.com>
10805
10806 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10807 syscall on x86-64.
10808 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10809 syscall.
10810 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10811 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10812 syscall if possible.
10813
6585cb60
UD
108142011-09-05 Ulrich Drepper <drepper@gmail.com>
10815
10816 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10817 e_ident. Don't pass to find_mapsXX.
10818 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10819
a5f524e4
LD
108202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10821
10822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10823 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10824 * sysdeps/x86_64/multiarch/strchr.S: Update.
10825 Check bit_slow_BSF bit.
10826 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10827 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10828 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10829
554881ef
UD
108302011-09-05 Ulrich Drepper <drepper@gmail.com>
10831
d96de963
UD
10832 [BZ #13134]
10833 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10834 before glibc 2.15.
10835 (tryshell): Define.
10836 (__spawni): Change last parameter to be flag. Test
10837 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10838 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10839 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10840 * posix/spawni.c: Likewise.
10841 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10842 * posix/spawnp.c: Likewise. Change normal version to use
10843 SPAWN_XFLAGS_USE_PATH.
10844 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10845 SPAWN_XFLAGS_TRY_SHELL.
10846
d48e5868
UD
10847 [BZ #13150]
10848 * posix/glob.h: Remove gcc 1.x support.
10849
554881ef
UD
10850 [BZ #13068]
10851 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10852
693fb948
LD
108532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10854
10855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10856 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10857 strrchr-sse2-bsf
10858 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10859 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10860 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10861 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10862 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10863 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10864
1b48c537
UD
108652011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10866
49d42c37
UD
10867 * sysdeps/x86_64/wcscmp.S: New file.
10868
1b48c537
UD
10869 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10870 wcscmp-c wcscmp-sse2
10871 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10872 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10873 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10874 * wcsmbs/wcscmp.c: Allow renaming.
10875
15c95c5d
DM
108762011-09-05 David S. Miller <davem@davemloft.net>
10877
10878 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10879 stack slot, rather than the struct return pointer slot.
10880 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10881 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10883 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10884
2f0ad8f3
UD
108852011-09-05 Ulrich Drepper <drepper@gmail.com>
10886
d88ae418
UD
10887 * po/ja.po: Update from translation team.
10888
2f0ad8f3
UD
10889 [BZ #13144]
10890 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10891 kernel in 64-bit binaries.
10892
5f4318d1
DM
108932011-09-01 David S. Miller <davem@davemloft.net>
10894
10895 * elf/elf.h (HWCAP_SPARC_*): Move to..
10896 * sysdeps/sparc/sysdep.h: this new file and add new values.
10897 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10898 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10899 _DL_HWCAP_COUNT to 24.
10900 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10901 entries.
10902 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10903 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10904 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10906 instead of magic constants.
10907 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10908
3ba57516
DM
109092011-08-31 David S. Miller <davem@davemloft.net>
10910
10911 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10912 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10913 Reimplement to do errno handling inline.
10914 (SYSCALL_ERROR_HANDLER): New macro.
10915 (__SYSCALL_STRING): Do not do errno handling in asm.
10916 (__CLONE_SYSCALL_STRING): Delete.
10917 (__INTERNAL_SYSCALL_STRING): Delete.
10918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10919 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10920 (PSEUDO): Reimplement to do errno handling inline.
10921 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10922 (SYSCALL_ERROR_HANDLER): New macro.
10923 (__SYSCALL_STRING): Do not do errno handling in asm.
10924 (__CLONE_SYSCALL_STRING): Delete.
10925 (__INTERNAL_SYSCALL_STRING): Delete.
10926 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10927 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10928 i386.
10929 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10930 (inline_syscall*): Add 'err' argument.
10931 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10932 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10933 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10934 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10935
10936 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10937 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10938
2bc17433
AS
109392011-08-30 Andreas Schwab <schwab@redhat.com>
10940
10941 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10942
fbeb5f4d
JO
109432011-08-29 Jiri Olsa <jolsa@redhat.com>
10944
10945 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10946 directive.
10947
ad69cc26
DM
109482011-08-24 David S. Miller <davem@davemloft.net>
10949
10950 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10951
39dd69df
AS
109522011-08-24 Andreas Schwab <schwab@redhat.com>
10953
10954 * elf/Makefile: Add rules to build and run unload8 test.
10955 * elf/unload8.c: New file.
10956 * elf/unload8mod1.c: New file.
10957 * elf/unload8mod1x.c: New file.
10958 * elf/unload8mod2.c: New file.
10959 * elf/unload8mod3.c: New file.
10960
10961 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10962 it wasn't used.
10963
2c0b250a
DM
109642011-08-23 David S. Miller <davem@davemloft.net>
10965
10966 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10967 subtract stack bias.
10968 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10969 %sp not %fp in calculations.
10970 (_JMPBUF_UNWINDS_ADJ): Likewise.
10971
22044b48
DM
10972 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10973 (aio_suspend): Call it to force an exception region around the
10974 AIO_MISC_WAIT() invocation.
10975
2cae4995
AS
109762011-08-23 Andreas Schwab <schwab@redhat.com>
10977
10978 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10979 backslash.
10980
873a772e
AJ
109812011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10982
10983 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10984 protection macro.
10985 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10986 and <dl-machine.h>.
10987 (Elf64_FuncDesc): Remove.
10988
25ad0df1
DM
109892011-08-22 David S. Miller <davem@davemloft.net>
10990
10991 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10992 sigaltstack check, add missing cfi directives.
10993 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10994 missing cfi directives, and sigaltstack handling.
10995
e888bcbe
AS
109962011-08-16 Andreas Schwab <schwab@redhat.com>
10997
10998 [BZ #11724]
10999 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11000 object is seen twice.
11001 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11002
11003 * elf/Makefile (distribute): Add tst-initorder2.c.
11004 (tests): Add tst-initorder2.
11005 (modules-names): Add tst-initorder2a tst-initorder2b
11006 tst-initorder2c tst-initorder2d. Add rules to build them.
11007 ($(objpfx)tst-initorder2.out): New rule.
11008 * elf/tst-initorder2.c: New file.
11009 * elf/tst-initorder2.exp: New file.
11010
87162f46
AS
110112011-08-22 Andreas Schwab <schwab@redhat.com>
11012
70538b7f
AS
11013 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11014
f55ffe58
AS
11015 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11016 dependencies back to end of function.
11017
87162f46
AS
11018 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11019 $(elfobjdir)/ld.so.
11020
91b392a4
UD
110212011-08-21 Ulrich Drepper <drepper@gmail.com>
11022
11023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11024 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11025 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11026 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11027 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11028 of __vdso_gettimeofday.
11029 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11030 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11031 attribute_hidden.
11032 (_libc_vdso_platform_setup): Remove initialization of
11033 __vdso_gettimeofday and __vdso_time.
11034
5c43483f
UD
110352011-08-20 Ulrich Drepper <drepper@gmail.com>
11036
775a77e7
UD
11037 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11038 and fgetc_unlocked.
11039 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11040 getc_unlocked.
89f447ed 11041
49c74ba9
UD
11042 * elf/dl-open.c (add_to_global): Report additions to the global scope
11043 for LD_DEBUG=scopes.
11044 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11045 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11046
5c43483f
UD
11047 [BZ #13114]
11048 * stdio-common/Makefile (tests): Add bug24.
11049 * stdio-common/bug24.c: New file.
11050
a101b025
AJ
110512011-08-19 Andreas Jaeger <aj@suse.de>
11052
11053 [BZ #13114]
11054 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11055 non-existant file when using close-on-exec mode.
11056
c88f1766
UD
110572011-08-20 Ulrich Drepper <drepper@gmail.com>
11058
0276a718
UD
11059 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11060 the very first instruction.
11061
c88f1766
UD
11062 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11063 the CFI state in the end.
11064 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11065 inclusion of dl-trampoline.h.
11066 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11067
51ccffa0
AS
110682011-08-19 Andreas Schwab <schwab@redhat.com>
11069
94d7165f
AS
11070 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11071 expectations for long double.
11072
51ccffa0
AS
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11074 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11075
fd708658 110762011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11077
11078 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11079 artificual limit depends upon the system page size.
11080
44f0a71e
UD
110812011-08-17 Ulrich Drepper <drepper@gmail.com>
11082
11083 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11084 * resolv/Makefile: Define CFLAGS-libresolv.
11085
8de79a24
AS
110862011-08-17 Andreas Schwab <schwab@redhat.com>
11087
11088 * nss/makedb.c (compute_tables): Make variables used in nested
11089 function static.
11090
27724598
UD
110912011-08-17 Ulrich Drepper <drepper@gmail.com>
11092
c5305d88
UD
11093 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11094 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11095 if buffer was too small.
11096
27724598
UD
11097 * elf/pldd.c (main): Attach to all threads in the process.
11098 Rewrite /proc handling to use *at functions.
11099
076fe015
UD
111002011-08-16 Ulrich Drepper <drepper@gmail.com>
11101
174baab3
UD
11102 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11103 specifies first scope to show.
11104 (dl_open_worker): Update callers. Move printing scope of new
11105 object to before the relocation.
44f0a71e 11106 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11107 * sysdeps/generic/ldsodefs.h: Update declaration.
11108
076fe015
UD
11109 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11110 string for the scope number.
11111
a60df2c3
UD
111122011-08-14 Ulrich Drepper <drepper@gmail.com>
11113
11114 * nscd/servicescache.c (cache_addserv): Make sure written is always
11115 initialized.
11116
5e4287d1
RM
111172011-08-14 Roland McGrath <roland@hack.frob.com>
11118
85ae0589
RM
11119 * sysdeps/i386/i486/bits/atomic.h
11120 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11121 statement expression, so as to suppress "set but not used" warning.
11122 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11123
69f63097
RM
11124 * string/strncat.c (STRNCAT): Use prototype definition.
11125
675456ef
RM
11126 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11127 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11128 -Iprograms here.
11129 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11130 (localedef-modules): Add localedef.
11131 (locale-modules): Add locale.
11132
5e4287d1
RM
11133 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11134 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11135 to avoid a warning.
11136
9c96ff23
DM
111372011-08-14 David S. Miller <davem@davemloft.net>
11138
11139 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11140 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11141
f9ddf089
UD
111422011-08-13 Ulrich Drepper <drepper@gmail.com>
11143
44f0a71e 11144 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11145 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11146 * elf/rtld.c (dl_main): Set l_name of vDSO.
11147 Call _dl_show_scope when DL_DEBUG_SCOPES.
11148 (process_dl_debug): Recognize scopes flag and also set it for all.
11149 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11150 Declare _dl_show_scope.
11151
1dc27704
UD
11152 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11153 (do_dlopen): Pass caller_dlopen to dl_open.
11154 (__libc_dlopen_mode): Initialize caller_dlopen.
11155
f9ddf089
UD
11156 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11157 of libc. Make tolower call locale-independent. Optimize a bit by
11158 using isdigit instead of isalnum.
11159 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11160
9ac533d3
UD
111612011-08-12 Ulrich Drepper <drepper@gmail.com>
11162
11163 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11164 was a dependency or dynamically loaded.
11165
89edf2e9
UD
111662011-08-11 Ulrich Drepper <drepper@gmail.com>
11167
8e999d29
UD
11168 * intl/l10nflist.c: Allow architecture-specific pop function.
11169 * sysdeps/x86_64/l10nflist.c: New file.
11170
89edf2e9
UD
11171 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11172 classification.
11173
14d96785
AS
111742011-08-10 Andreas Schwab <schwab@redhat.com>
11175
11176 * include/dirent.h: Add libc_hidden_proto for scandirat and
11177 scandirat64. Don't declare __scandirat64.
11178 * dirent/scandirat.c: Add libc_hidden_def.
11179 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11180 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11181
6761ac04
DM
111822011-08-10 David S. Miller <davem@davemloft.net>
11183
11184 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11185 enum.
11186 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11187 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11188 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11189
c55fbd1e
UD
111902011-08-09 Ulrich Drepper <drepper@gmail.com>
11191
11192 * Versions.def [libc]: Add GLIBC_2.15.
11193 * dirent/Makefile (routines): Add scandirat and scandirat64.
11194 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11195 GLIBC_2.15.
11196 * dirent/dirent.h: Declare scandirat and scandirat64.
11197 * dirent/scandirat.c: New file.
11198 * dirent/scandirat64.c: New file.
11199 * sysdeps/wordsize-64/scandirat.c: New file.
11200 * sysdeps/wordsize-64/scandirat64.c: New file.
11201 * dirent/opendir.c: Define opendirat.
11202 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11203 using scandirat.
11204 * dirent/scandir64.c: Adjust for scandir.c change.
11205 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11206 __scandirat64, and __scandir_cancel_handler.
11207 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11208 additional parameter and use openat instead of open (outside of ld.so).
11209 Add new __opendir as wrapper around __opendirat.
11210 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11211 here without requiring old scandirat implementation.
11212
879165f2
UD
112132011-08-08 Ulrich Drepper <drepper@gmail.com>
11214
11215 * dirent/scandir.c (cancel_handler): Renamed to
11216 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11217 defined. Adjust users.
11218 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11219 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11220
cb7e923b
UD
112212011-08-04 Ulrich Drepper <drepper@gmail.com>
11222
16292edd
UD
11223 * string/test-string.h (IMPL): Use __STRING to expand name and then
11224 stringify it.
11225
cb7e923b
UD
11226 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11227 of cleanups.
11228
cff82933
LD
112292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11230
11231 * string/Makefile: Update.
11232 (strop-tests): Append strncat.
11233 * string/test-wcscmp.c: New file.
11234 New comprehensive test for wcscmp.
11235 * string/test-strcmp.c: Update.
11236 (WIDE): New define.
11237
9be9bfcc
AS
112382011-07-22 Andreas Schwab <schwab@redhat.com>
11239
11240 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11241 line.
11242
2e96f1c7
AS
112432011-07-26 Andreas Schwab <schwab@redhat.com>
11244
11245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11246 encoding to ACE if AI_IDN.
11247
85188888
JJ
112482011-08-01 Jakub Jelinek <jakub@redhat.com>
11249
11250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11251 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11252
5fa16e9b
LD
112532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11254
11255 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11256 Fix overflow bug in strncat.
11257 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11258
11259 * string/test-strncat.c: Update.
11260 Add new tests for checking overflow bugs.
11261
112622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11263
11264 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11265 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11266 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11267 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11268 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11269 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11270 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11271 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11272 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11273
11274 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11275 (USE_AS_STRCAT): Define.
11276 Add strcat and strncat support.
11277 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11278
8c1a459f
AS
112792011-07-25 Andreas Schwab <schwab@redhat.com>
11280
11281 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11282 __n bigger than INT_MAX+1.
11283 (__strncmp_g): Likewise.
11284
bba33c28
UD
112852011-07-23 Ulrich Drepper <drepper@gmail.com>
11286
798be72d
UD
11287 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11288 * libio/stido.h: Likewise.
11289
8accd4dc
UD
11290 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11291 (AF_NFC): Define.
11292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11293 (AF_NFC): Define.
11294
cbff0d96
UD
11295 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11296 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11297 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11298 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11299 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11300
9191c04a
UD
11301 [BZ #13021]
11302 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11303 installed.
11304
bba33c28
UD
11305 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11306 typo.
11307 (_dl_x86_64_save_sse): Likewise.
11308
90f139dd
UD
113092011-07-22 Ulrich Drepper <drepper@gmail.com>
11310
1aae088a
UD
11311 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11312 OSXSAVE.
11313 (_dl_x86_64_save_sse): Likewise.
11314
8e2045f5
UD
11315 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11316
90f139dd
UD
11317 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11318
1d002f25
AS
113192011-07-21 Andreas Schwab <schwab@redhat.com>
11320
11321 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11322 change.
11323 (_dl_x86_64_save_sse): Use correct AVX check.
11324
21137f89
UD
113252011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11326
11327 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11328 bug in strncpy/strncat.
11329 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11330
a65c0b7a
UD
113312011-07-21 Ulrich Drepper <drepper@gmail.com>
11332
11333 * string/tester.c (test_strcat): Add tests for different alignments
11334 of source and destination.
11335 (test_strncat): Likewise.
11336
6986b98a
UD
113372011-07-20 Ulrich Drepper <drepper@gmail.com>
11338
90bb2039
UD
11339 [BZ #12852]
11340 * posix/glob.c (glob): Check passed in values before using them in
11341 expressions to avoid some overflows.
11342 (glob_in_dir): Likewise.
11343
5644ef54
UD
11344 [BZ #13007]
11345 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11346 check for AVX enablement so that we don't crash with old kernels and
11347 new hardware.
11348 * elf/tst-audit4.c: Add same checks here.
11349 * elf/tst-audit6.c: Likewise.
11350
11351 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11352
bfc9dc9b
AS
113532011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11354
11355 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11356
702e64bb
UD
113572011-07-20 Ulrich Drepper <drepper@gmail.com>
11358
11359 * po/cs.po: Update from translation team.
11360 * po/bg.po: Likewise.
11361
295e904f
MP
113622011-07-12 Marek Polacek <mpolacek@redhat.com>
11363
11364 * misc/sys/cdefs.h: Add support for const attribute.
11365 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11366 to gnu_dev_{major,minor,makedev} functions.
11367
3ff94596
MP
113682011-07-20 Marek Polacek <mpolacek@redhat.com>
11369
11370 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11371
28b59fca
AS
113722011-07-20 Andreas Schwab <schwab@redhat.com>
11373
11374 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11375 strlen results.
11376
19df733e
AK
113772011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11378
11379 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11380 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11381 register in order to avoid conflicts with the soft frame pointer
11382 being held in r11 when necessary.
11383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11384 (INTERNAL_VSYSCALL_NCS): Likewise.
11385
c8835729
MP
113862011-07-14 Marek Polacek <mpolacek@redhat.com>
11387
11388 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11389 * elf/dl-fini.c (_dl_fini): Adjust caller.
11390 * elf/dl-close.c (_dl_close_worker): Likewise.
11391 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11392
b902330c
MP
113932011-07-15 Marek Polacek <mpolacek@redhat.com>
11394
8991e135
MP
11395 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11396 "aux_cache->nlibs < 0".
11397
b902330c
MP
11398 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11399 in the reload-count case.
11400
99710781
LD
114012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11402
11403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11404 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11405 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11406 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11407 * sysdeps/x86_64/multiarch/strcat.S: New file.
11408 * sysdeps/x86_64/multiarch/strncat.S: New file.
11409 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11410 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11411 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11412 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11413 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11414 (USE_AS_STRCAT): Define.
11415 Add strcat and strncat support.
11416 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11417 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11418 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11419 * string/strncat.c: Update.
11420 (USE_AS_STRNCAT): Define.
11421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11422 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11423 and i7.
11424 * sysdeps/x86_64/multiarch/init-arch.h
11425 (bit_Prefer_PMINUB_for_stringop): New.
11426 (index_Prefer_PMINUB_for_stringop): Likewise.
11427 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11428 bit_Prefer_PMINUB_for_stringop.
11429
7dc6bd90
UD
114302011-07-19 Ulrich Drepper <drepper@gmail.com>
11431
11432 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11433 buffer64.
11434 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11435 of casting of buffer.
11436 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11437 buffer32 and buffer64.
11438 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11439 writes instead of casting of buffer.
11440 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11441 buffer32.
11442 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11443 casting of buffer.
11444
e0e72284
AS
114452011-07-19 Andreas Schwab <schwab@redhat.com>
11446
11447 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11448
feb1eb0b
UD
114492011-07-19 Ulrich Drepper <drepper@gmail.com>
11450
11451 * nscd/nscd.c (termination_handler): Don't do anything for a database
11452 if it has not yet been initialized.
11453
298711ff
UD
114542011-07-18 Ulrich Drepper <drepper@gmail.com>
11455
11456 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11457
114582011-07-15 Marek Polacek <mpolacek@redhat.com>
11459
11460 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11461
f9d68389
UD
114622011-07-18 Ulrich Drepper <drepper@gmail.com>
11463
11464 * po/nl.po: Update from translation team.
11465 * po/sv.po: Likewise.
11466
db290cf5
RM
114672011-07-16 Roland McGrath <roland@hack.frob.com>
11468
11469 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11470 now disallowed by GCC.
5c550700 11471
fd5e21c7
RM
11472 * configure.in (use-default-link): Default to yes if a test -shared
11473 link meets our qualifications.
11474 * configure: Regenerated.
11475
5c550700
RM
11476 * config.make.in (output-format): New variable.
11477 * configure.in: Check for ld --print-output-format support.
11478 * configure: Regenerated.
11479 * Makerules ($(common-objpfx)format.lds)
11480 [$(output-format) != unknown]: Just use $(output-format),
11481 instead of the linker-script munging.
11482
9fa2c032
RM
114832011-07-14 Roland McGrath <roland@hack.frob.com>
11484
a6928d51
RM
11485 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11486 of $(common-objpfx)shlib.lds.
11487 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11488
661607b3
RM
11489 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11490 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11491
9fa2c032
RM
11492 * configure.in (-z relro check): Adjust test code to add a large
11493 writable data section after it.
11494 * configure: Regenerated.
11495
defe9061
RM
114962011-07-11 Roland McGrath <roland@hack.frob.com>
11497
11498 * configure.in (-z relro check): Fix test code to make the variable
11499 truly const.
11500 * configure: Regenerated.
11501
319b9ad4
UD
115022011-07-11 Ulrich Drepper <drepper@gmail.com>
11503
11504 * nscd/nscd.h (struct traced_file): Define.
11505 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11506 elements. Add traced_files.
11507 (inotify_fd): Declare.
11508 (register_traced_file): Declare.
11509 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11510 (inotify_fd): Export.
11511 (resolv_conf_descr): Remove.
11512 (nscd_init): Move inotify descriptor creation to main.
11513 Don't register files for notification here.
11514 (register_traced_file): New function.
11515 (invalidate_cache): Don't use reset_res to determine whether to call
11516 res_init, go through the list of registered files.
11517 (main_loop_poll): The inotify descriptors are now stored in the
11518 structures for the traced files.
11519 (main_loop_epoll): Likewise
11520 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11521 to __nss_disable_nscd.
11522 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11523 for a database anymore. Check the records for all the registered
11524 files instead.
11525 * nss/Makefile (libnss_files-routines): Add files-init.
11526 (libnss_db-routines): Add db-init.
11527 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11528 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11529 * nss/nss_db/db-init.c: New file.
11530 * nss/nss_files/files-init.c: New file.
11531 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11532 __nss_lookup_function.
11533 (__nss_lookup_function): Call nss_load_library.
11534 (nss_load_all_libraries): New function.
11535 (__nss_disable_nscd): Take parameter with callback function for files
11536 to register. Set is_nscd. Load all the DSOs for the NSS modules
11537 used for the cached services.
11538 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11539 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11540 options for features to all the files in nscd.
11541
11542 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11543
23bee3e8
RM
115442011-07-10 Roland McGrath <roland@hack.frob.com>
11545
11546 * csu/elf-init.c (__libc_csu_init): Comment typo.
11547
46a5b7f0
UD
115482011-07-09 Ulrich Drepper <drepper@gmail.com>
11549
11550 * po/pl.po: Update from translation team.
11551 * po/ja.po: Likewise.
11552 * po/ru.po: Likewise.
11553 * po/ko.po: Likewise.
11554 * po/fr.po: Likewise.
11555
d30cf5bb
RM
115562011-07-09 Roland McGrath <roland@hack.frob.com>
11557
113ddea4
RM
11558 * configure.in (.ctors/.dtors header and trailer check):
11559 Use an empirical test on a built program.
11560 * configure: Regenerated.
11561
574920b4
RM
11562 * configure.in (-z relro check): Use an empirical test on a built DSO.
11563 Detect, but do not require, on ia64.
11564 * configure: Regenerated.
11565
d30cf5bb
RM
11566 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11567 Update tests that use readelf to use $READELF instead.
11568 * configure: Regenerated.
11569
8538fdb3
UD
115702011-07-08 Ulrich Drepper <drepper@gmail.com>
11571
11572 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11573 if the result is not used.
11574
04d08991
AJ
115752011-07-05 Andreas Jaeger <aj@suse.de>
11576
11577 [BZ#9696]
11578 * stdlib/tst-strtod.c: Add testcase.
11579
de283087
AD
115802011-07-07 Ulrich Drepper <drepper@gmail.com>
11581
4e5f31c8 11582 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11583 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11584 The latter has a higher limit. Take additional parameter to pass to
11585 the new function.
11586 (__pathconf): Pass file to __statfs_link_max.
11587 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11588 __statfs_link_max.
11589 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11590 __statfs_link_max.
11591
de283087
AD
11592 [BZ #12868]
11593 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11595 Handle Lustre.
11596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11597 (__statfs_filesize_max): Likewise.
11598 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11599
c75fa153
AJ
116002011-07-05 Andreas Jaeger <aj@suse.de>
11601
11602 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11603
1a544854
UD
116042011-07-06 Marek Polacek <mpolacek@redhat.com>
11605
11606 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11607 `status' variable.
11608 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11609 Likewise.
11610
6f0eec67
UD
116112011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11612
11613 * Makefile (strop-tests): Add strncat.
11614 * string/test-strncat.c: New file.
11615
aae30307
UD
116162011-06-30 Marek Polacek <mpolacek@redhat.com>
11617
11618 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11619
c0cfb5eb
UD
116202011-06-21 Andreas Jaeger <aj@suse.de>
11621
11622 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11623 Copy rule from iconvdata/Makefile.
11624
01636b21
UD
116252011-07-06 Ulrich Drepper <drepper@gmail.com>
11626
11627 [BZ #12922]
11628 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11629 but no long options are defined, just return 'W'.
11630
9895c8bc
UD
116312011-06-22 Marek Polacek <mpolacek@redhat.com>
11632
11633 [BZ #9696]
11634 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11635
5d4cf042
UD
116362011-07-06 Ulrich Drepper <drepper@gmail.com>
11637
11638 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11639 netgroups to read.
960e5535 11640 (innetgr): Likewise.
5d4cf042 11641
751eb97e
RM
116422011-07-05 Roland McGrath <roland@hack.frob.com>
11643
11644 * config.make.in (install_root): Default to $(DESTDIR).
11645
f15f1e45
UD
116462011-07-05 Ulrich Drepper <drepper@gmail.com>
11647
11648 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11649
4e34ac6a
RM
116502011-07-02 Roland McGrath <roland@hack.frob.com>
11651
5e9b6af4
RM
11652 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11653
84f9ea0f
RM
11654 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11655 containing directory rather than embedding absolute directory names.
11656
ea5ee9f7
RM
11657 * scripts/check-local-headers.sh: Rewritten using awk.
11658 Match by word, not by line. Print error messages for matches.
11659 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11660
1b74661a
RM
11661 * Makerules [shlib-lds-flags empty]:
11662 ($(common-objpfx)libc_pic.opts): New target.
11663 ($(common-objpfx)libc_pic.os.clean): New target.
11664 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11665
11666 * config.make.in (OBJCOPY): New variable.
11667 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11668 * configure: Regenerated.
11669
f781ef40
RM
11670 * config.make.in (use-default-link): New variable.
11671 * configure.in (use_default_link): Grok --with-default-link to set it.
11672 * configure: Regenerated.
11673 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11674 (shlib-lds, shlib-lds-flags): Define to empty.
11675
2d4fa81e
RM
11676 * Makerules (shlib-lds): New variable.
11677 (shlib-lds-flags): New variable.
11678 (build-shlib, build-moduile, build-module-asneeded): Use it.
11679 ($(common-objpfx)libc.so): Use $(shlib-lds).
11680 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11681 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11682
31fffa6b
RM
11683 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11684 DT_FLAGS/DT_FLAGS_1 with zero flags.
11685
4e34ac6a
RM
11686 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11687 linker script munging.
11688
fcfc776b
UD
116892011-07-02 Ulrich Drepper <drepper@gmail.com>
11690
11691 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11692 as 128-bit value.
11693 * crypt/sha512.c (sha512_process_block): Perform total addition using
11694 128-bit if possible.
11695 (__sha512_finish_ctx): Likewise.
11696 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11697 as 64-bit value.
11698 * crypt/sha256.c (SWAP64): Define.
11699 (sha256_process_block): Perform total addition using 64-bit if
11700 possible.
11701 (__sha256_finish_ctx): Likewise.
11702
99231d9a
UD
117032011-07-01 Ulrich Drepper <drepper@gmail.com>
11704
11705 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11706 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11707 * nscd/hstcache.c (cache_addhst): Likewise.
11708 * nscd/grpcache.c (cache_addgr): Likewise.
11709 * nscd/aicache.c (addhstaiX): Likewise
11710 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11711
445b4a53
TK
117122011-07-01 Thorsten Kukuk <kukuk@suse.de>
11713
11714 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11715 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11716 * nscd/hstcache.c (cache_addhst): Likewise.
11717 * nscd/grpcache.c (cache_addgr): Likewise.
11718 * nscd/aicache.c (addhstaiX): Likewise
11719
6d4d8e8e
AS
117202011-07-01 Andreas Schwab <schwab@redhat.com>
11721
11722 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11723 domain only when needed.
11724
89f654c5
AS
117252011-06-30 Andreas Schwab <schwab@redhat.com>
11726
11727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11728 is always restored.
11729
cf3b23ff
UD
117302011-06-29 Ulrich Drepper <drepper@gmail.com>
11731
11732 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11733 are re-adding the entry.
11734 * nscd/servicescache.c (cache_addserv): Likewise.
11735
751626f9
AJ
117362011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11737
11738 * sysdeps/generic/dl-irel.h: fix protection against multiple
11739 inclusions.
11740 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11741
9113ea1f
UD
117422011-06-28 Ulrich Drepper <drepper@gmail.com>
11743
5c0b8d90
UD
11744 [BZ #12935]
11745 * malloc/memusage.sh: Fix quoting in message.
11746 * debug/xtrace.sh: Likewise.
11747
9113ea1f
UD
11748 * configure.in: Remove support for --experimental-malloc option, make
11749 it the default.
11750 * config.make.in: Likewise.
11751 * malloc/Makefile: Likewise.
11752
a4172181
AS
117532011-06-27 Andreas Schwab <schwab@redhat.com>
11754
11755 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11756 two-byte characters.
11757
78a7eee7
RM
117582011-06-27 Roland McGrath <roland@hack.frob.com>
11759
62bede13
RM
11760 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11761 AC_CACHE_CHECK invocation.
11762 * configure: Regenerated.
11763
78a7eee7
RM
11764 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11765
5ce33a62
UD
117662011-06-27 Ulrich Drepper <drepper@gmail.com>
11767
034807a9
UD
11768 [BZ #12350]
11769 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11770 bit from old_res_options.
11771
4902da17
UD
11772 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11773
5ce33a62
UD
11774 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11775 value type for setfct.
11776
c2344f56
L
117772011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11778
11779 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11780 __gettimeofday instead of gettimeofday.
11781
68468076
UD
117822011-06-26 Ulrich Drepper <drepper@gmail.com>
11783
11784 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11785
acb0d739
L
117862011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11787
11788 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11789
11790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11791 info.
11792
8912479f
L
117932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11794
11795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11796 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11797 strcpy-sse2-unaligned strncpy-sse2-unaligned
11798 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11799 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11800 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11801 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11802 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11803 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11804 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11805 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11806 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11807 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11808 (STRCPY): Support SSE2 and SSSE3 versions.
11809
d5495a11
UD
118102011-06-24 Ulrich Drepper <drepper@gmail.com>
11811
11812 [BZ #12874]
11813 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11814 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11815 kernels which artificially limit size of requests.
11816
0b1cbaae
L
118172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11818
11819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11820 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11821 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11822 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11823 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11824 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11825 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11826 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11827 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11829 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11830 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11831 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11832 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11833 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11835 Enable unaligned load optimization for Intel Core i3, i5 and i7
11836 processors.
11837 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11838 Define.
11839 (index_Fast_Unaligned_Load): Define.
11840 (HAS_FAST_UNALIGNED_LOAD): Define.
11841
07f494a0
MP
118422011-06-23 Marek Polacek <mpolacek@redhat.com>
11843
11844 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11845
fa3fc0fe
UD
118462011-06-22 Ulrich Drepper <drepper@gmail.com>
11847
11848 [BZ #12907]
11849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11850 until it is clear that the information is realy needed.
11851 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11852
e12df166
AS
118532011-06-22 Andreas Schwab <schwab@redhat.com>
11854
11855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11856
852eb34d
UD
118572011-06-22 Ulrich Drepper <drepper@gmail.com>
11858
84e2a551
UD
11859 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11860 /sys/devices/system/cpu/online if it is usable.
11861
852eb34d
UD
11862 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11863 reading the information from the /proc filesystem to once a second.
11864
6e502e19
UD
118652011-06-21 Andreas Jaeger <aj@suse.de>
11866
11867 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11868 NULL after inclusion of kernel headers.
11869
75d39ff2
UD
118702011-06-21 Ulrich Drepper <drepper@gmail.com>
11871
51f9aa6a
UD
11872 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11873 calls to internal_setent.
11874
c0244a9d
UD
11875 [BZ #12885]
11876 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11877 addresses using gethostbyname4_r ignore IPv4 addresses.
11878
c5e3c2ae
UD
11879 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11880 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11881
75d39ff2
UD
11882 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11883
42675c6f
DM
118842011-06-20 David S. Miller <davem@davemloft.net>
11885
11886 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11887 inclusions.
11888 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11889
11890 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11891 (elf_irel): Use it.
11892 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11893 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11894 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11895 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11896 * sysdeps/x86_64/dl-irel.h: Likewise.
11897
11898 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11899 * elf/dl-sym.c: Likewise.
11900
57912a71
UD
119012011-06-15 Ulrich Drepper <drepper@gmail.com>
11902
11903 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11904 need to dereference resplen2.
11905
ee22793d
AS
119062011-06-14 Andreas Schwab <schwab@redhat.com>
11907
11908 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11909
a9e836b0
UD
119102011-06-15 Ulrich Drepper <drepper@gmail.com>
11911
77fb9117
UD
11912 * Makeconfig: Define vardbdir and inst_vardbdir.
11913 * nss/Makefile: Add rules to install db-Makefile.
11914
40c1b22c
UD
11915 * nss/nss_db/db-XXX.c: Cleanup.
11916
9f2da732
UD
11917 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11918 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11919 GLIBC_PRIVATE.
11920 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11921 * nss/makedb.c: Implement -g option to specify that value strings
11922 are generated and should not be added to table iterated over for
11923 get*ent calls.
11924 * nss/nss_db/db-initgroups.c: New file.
11925
82e9a1f7
UD
11926 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11927 interface.
11928
c41af17e
UD
11929 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11930 (internal_getgrouplist): Adjust to name change.
11931 Update use_initgroups_entry if this is not the first call.
11932 * nss/databases.def: Add initgroups entry.
11933
a9e836b0
UD
11934 * nss/makedb.c (compute_tables): Check result of multiple hash table
11935 sizes to minimize maximum chain length.
11936
2666d441
UD
119372011-06-14 Ulrich Drepper <drepper@gmail.com>
11938
11939 * Versions.def: Add entry for libnss_db.
11940 * shlib-versions: Likewise.
11941 * nss/Makefile: Add rules to build libnss_db.
11942 * nss/Versions: Add libnss_db information. Organize libnss_files
11943 entries better.
11944 * nss/db-Makefile: Add gshadow support. Change rules for the new
11945 makedb progra. Some minor improvements to generate smaller files.
11946 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11947 here from...
11948 * nss/makedb.c: ...here.
11949 Improve database format to be smaller and require less memory at
11950 runtime.
11951 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11952 db anymore.
11953 * nss/nss_db/db-netgrp.c: Likewise.
11954 * nss/nss_db/db-open.c: Likewise.
11955 * nss/nss_files/flies-XXX.x: Adjust comments.
11956 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11957 * nss/nss_files/files-grp.c: Likewise.
11958 * nss/nss_files/files-hosts.c: Likewise.
11959 * nss/nss_files/files-network.c: Likewise.
11960 * nss/nss_files/files-proto.c: Likewise.
11961 * nss/nss_files/files-pwd.c: Likewise.
11962 * nss/nss_files/files-rpc.c: Likewise.
11963 * nss/nss_files/files-service.c: Likewise.
11964 * nss/nss_files/files-sgrp.c: Likewise.
11965 * nss/nss_files/files-spwd.c: Likewise.
11966 * nss/nss_db/db-alias.c: Removed.
11967 * nss/nss_db/dummy-db.h: Removed.
11968
9ee76b5a
UD
119692011-06-02 Ulrich Drepper <drepper@gmail.com>
11970
11971 * nss/makedb.c: Rewritten to not use database library.
11972 * nss/Makefile: Update to build new makedb program.
11973
c71ca1f8
AJ
119742011-06-14 Andreas Jaeger <aj@suse.de>
11975
11976 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11977 memset declaration.
11978
3154bfb8
UD
119792011-06-10 Andreas Schwab <schwab@redhat.com>
11980
11981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11982 tmpbuf.
11983
b350afab
RM
119842011-06-10 Roland McGrath <roland@hack.frob.com>
11985
decd4e50
RM
11986 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11987 * elf/Makefile ($(objpfx)ld.so): Likewise.
11988
5615eaf2
RM
11989 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11990 Don't list ld.so twice in dependencies.
11991
11992 * posix/bug-regex31.c: Include <stdlib.h>.
11993
11994 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11995
11996 * nis/nss_compat/compat-spwd.c
11997 (getspent_next_nss_netgr): Remove unused variable.
11998 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11999
12000 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12001 nonmembers" output to use the right array.
12002
12003 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12004
12005 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12006
12007 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12008 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12009 * catgets/gencat.c (read_input_file): Likewise.
12010 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12011
12012 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12013 variable definition inside #if's controlling its use.
12014
12015 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12016
12017 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12018
12019 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12020
12021 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12022 unreachable code.
12023
12024 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12025
b68e08db
RM
12026 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12027 * configure: Regenerated.
12028
b350afab
RM
12029 * Makerules: Revert last change.
12030 * elf/Makefile: Likewise.
12031
28368601
RM
120322011-06-09 Roland McGrath <roland@hack.frob.com>
12033
12034 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12035 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12036 (reloc-link): Likewise.
12037
11988f8f
UD
120382011-06-09 Ulrich Drepper <drepper@gmail.com>
12039
12040 * elf/Makefile: Add rules to build pldd.
12041 * elf/pldd.c: New file.
12042 * elf/pldd-xx.c: New file.
12043
e80fab37
UD
120442011-06-07 Ulrich Drepper <drepper@gmail.com>
12045
12046 * version.h: Update for 2.15 development version.
12047
9b849836
DM
120482011-06-07 David S. Miller <davem@davemloft.net>
12049
12050 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12051 ifuncs.
12052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12053 elf_machine_lazy_rel): Likewise.
12054 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12055 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12056 elf_machine_lazy_rel): Likewise.
12057 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12058 dl_hwcap via passed in argument.
12059 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12060 Likewise.
12061
5a31b283
AK
120622011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12063
12064 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12065
069e52f8
RM
120662011-06-06 Roland McGrath <roland@hack.frob.com>
12067
12068 [BZ #12849]
12069 * manual/fdl-1.1.texi: New file, verbatim from:
12070 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12071 * manual/lgpl-2.1.texi: New file, verbatim from:
12072 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12073 * manual/Makefile (licenses): New variable, list those new file names.
12074 (texis): Use it.
12075 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12076
12077 * manual/fdl.texi: File removed.
12078 * manual/lesser.texi: File removed.
12079 * manual/libc.texinfo (Copying, Documentation License):
12080 Use new @include file names, put @appendix directive before @include.
12081
f16846a5
JJ
120822011-06-04 Jakub Jelinek <jakub@redhat.com>
12083
12084 [BZ #12841]
12085 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12086 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12087 (mq_open): Add __NTH.
12088
3d29045b
L
120892011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12090
12091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12092 Assume Intel Core i3/i5/i7 processor if AVX is available.
12093
8c297311
UD
120942011-05-31 Ulrich Drepper <drepper@gmail.com>
12095
12096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12097 typo.
12098
c8fc0c91
UD
120992011-05-31 Andreas Schwab <schwab@redhat.com>
12100
12101 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12102 memory. Use alloca_account. Fix memory leak when retrying.
12103
5b27a807
UD
121042011-05-31 Ulrich Drepper <drepper@gmail.com>
12105
356f8bc6
UD
12106 * version.h (RELEASE): Bump for 2.14 release.
12107 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12108
5b27a807
UD
12109 * config.make.in (RANLIB): Remove entry.
12110
01f16ab0
UD
121112011-05-30 Ulrich Drepper <drepper@gmail.com>
12112
41fce8bd
UD
12113 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12114 (libc.pot): Work around missing support for .ksh extension in xgettext.
12115
4769ae77
UD
12116 [BZ #12684]
12117 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12118 if both request failed.
12119 (send_dg): In case of server errors clear resplen or *resplen2.
12120
6b1e7d19
UD
12121 [BZ #12454]
12122 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12123 when there are multiple maps.
12124 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12125 (_dl_fini): Remove test here.
12126
01f16ab0
UD
12127 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12128
b1ebd700
UD
121292011-05-29 Ulrich Drepper <drepper@gmail.com>
12130
7ae22829
UD
12131 [BZ #12350]
12132 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12133 bit from old_res_options.
12134 (gaih_inet): Likewise.
12135
553149f6 12136 [BZ #11099]
18a84741 12137 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12138 as signed.
12139
652ffab1
UD
12140 * resolv/res_init.c (res_setoptions): Make the code more compact.
12141
16985fd0
UD
12142 [BZ #11558]
12143 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12144 set RES_USEVC.
12145
0464f746
UD
12146 [BZ #11634]
12147 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12148
7d17596c
UD
12149 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12150
cf6bbbd7
UD
12151 [BZ #11781]
12152 * malloc/malloc.h: Declare malloc hook variables as volatile.
12153
13f1ab36
UD
12154 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12155 in last patch.
12156
b1ebd700
UD
12157 [BZ #11799]
12158 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12159 raise in the comment.
80e2212d
UD
12160 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12161 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12162 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12163
ce67228d
UD
121642011-05-28 Ulrich Drepper <drepper@gmail.com>
12165
8887a920
UD
12166 [BZ #12811]
12167 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12168 grow the buffers more if it already has to be sufficient.
12169 (build_wcs_upper_buffer): Likewise.
12170 * posix/regexec.c (check_matching): Likewise.
12171 (clean_state_log_if_needed): Likewise.
12172 (extend_buffers): Don't enlarge buffers beyond size of the input
12173 buffer.
12174 Patches mostly by Emil Wojak <emil@wojak.eu>.
12175 * posix/bug-regex32.c: New file.
12176 * posix/Makefile (tests): Add bug-regex32.
12177
4f031072
UD
12178 * locale/findlocale.c (_nl_find_locale): Return right away if
12179 _nl_explode_name failed.
12180 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12181
d0478f0c
UD
12182 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12183
de81b246
UD
12184 * debug/xtrace.sh: Unify messages.
12185 * malloc/memusage.sh: Likewise.
12186
c738465a
UD
12187 [BZ #12813]
12188 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12189 time symbol from vDSO. Substitute with vsyscall if not available.
12190 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12191 __vdso_time.
12192
f1f929d7
UD
12193 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12194 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12195 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12196 Add sendmmsg and internal_sendmmsg.
12197 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12198 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12199 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12200
ce67228d
UD
12201 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12202 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12203 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12204
e57420c6
UD
122052011-05-27 Ulrich Drepper <drepper@gmail.com>
12206
a8509ca5
UD
12207 [BZ #12813]
12208 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12209 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12210 available.
12211 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12212 __vdso_getcpu.
12213
e57420c6
UD
12214 [BZ #12814]
12215 * iconvdata/Makefile (tests): Add bug-iconv9.
12216 * iconvdata/bug-iconv9.c: New file.
12217
4d07db15
AS
122182011-05-27 Andreas Schwab <schwab@redhat.com>
12219
12220 [BZ #12814]
12221 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12222
ea486f69
JJ
122232011-05-25 Jakub Jelinek <jakub@redhat.com>
12224
12225 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12226 (struct user_regs_struct): Change intcs field back to cs.
12227
6f038433
UD
122282011-05-25 Ulrich Drepper <drepper@gmail.com>
12229
12230 * po/ja.po: Update from translation team.
12231
67f86a25
UD
122322011-05-23 Ulrich Drepper <drepper@gmail.com>
12233
12234 [BZ #12795]
12235 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12236 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12237
def7fbd6
AS
122382011-05-20 Andreas Schwab <schwab@redhat.com>
12239
12240 * stdlib/longlong.h: Update from GCC.
12241
f50ef8f1
AS
122422011-05-23 Andreas Schwab <schwab@redhat.com>
12243
12244 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12245 parameter name.
12246 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12247 Add parameter name.
12248 (__sysconf): Pass it down.
12249
de7ce8f1
UD
122502011-05-22 Ulrich Drepper <drepper@gmail.com>
12251
f2962a71
UD
12252 [BZ #12671]
12253 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12254 some situations.
12255 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12256 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12257 add in in __libc_use_alloca calls. Adjust callers.
12258 (glob): Use malloc in some situations.
12259
de7ce8f1
UD
12260 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12261 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12262 pltexit.
12263
aec84f53
UD
122642011-05-21 Ulrich Drepper <drepper@gmail.com>
12265
05bb4a68
UD
12266 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12267 and CLOCK_BOOTTIME_ALARM.
12268
7ea72f99
UD
12269 [BZ #12782]
12270 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12271 is returned.
12272
7e4afad5
UD
12273 * string/_strerror.c (__strerror_r): Print negative errors as signed
12274 numbers.
12275
8e211fec
UD
12276 [BZ #12777]
12277 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12278 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12279 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12280
f7d82dc9
UD
12281 * configure.in: Fix typo in redirection and correct removal of test
12282 files in two cases.
12283
cc9e536d
UD
12284 [BZ #12788]
12285 * locale/setlocale.c (new_composite_name): Fix test to check for
12286 identical name of all categories.
12287
aec84f53
UD
12288 [BZ #12792]
12289 * libio/filedoalloc.c (local_isatty): New function.
12290 (_IO_file_doallocate): Use local_isatty.
12291 * stdio-common/perror.c (perror): In case a new stream is used
12292 forward the stream error.
12293 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12294 error flag.
12295
78e64fdc
RT
122962011-05-20 Ulrich Drepper <drepper@gmail.com>
12297
34a9094f
UD
12298 [BZ #11869]
12299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12300 alloca.
12301 * include/alloca.h (extend_alloca_account): Define.
12302
78e64fdc
RT
12303 [BZ #11857]
12304 * posix/regex.h: Fix comments with documentation of user-accessible
12305 fields after compilation and describe correct free'ing of pattern
12306 after re_compile_pattern.
12307 Patch by Reuben Thomas <rrt@sc3d.org>.
12308
457bddfc
RA
123092011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12310
12311 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12312 and -mno-altivec to prevent the compiler from using Altivec and/or
12313 VSX instructions when the corresponding registers are not available.
12314
a4527b51
AS
123152011-05-19 Andreas Schwab <schwab@redhat.com>
12316
12317 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12318
ed690b2f
UD
123192011-05-19 Ulrich Drepper <drepper@gmail.com>
12320
12321 * libio/freopen.c (freopen): Use __dup2, not dup2.
12322 * libio/freopen64.c (freopen64): Likewise.
12323
8db73634
L
123242011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12325
12326 [BZ #12775]
12327 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12328 * math/Makefile (tests): Add test-powl.
12329 (CFLAGS-test-powl.c): Define.
12330 * math/test-powl.c: New file.
12331
0a197a9d
L
123322011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12333
12334 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12335
ee30c380
UD
123362011-05-17 Ulrich Drepper <drepper@gmail.com>
12337
12338 [BZ #11837]
12339 * iconvdata/gb18030.c: Update to GB18020-2005.
12340
6ce75379
UD
123412011-05-16 Ulrich Drepper <drepper@gmail.com>
12342
a4b89fd8
AR
12343 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12344 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12345 Patch by Aharon Robbins <arnold@skeeve.com>.
12346
ea389b12
UD
12347 [BZ #11892]
12348 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12349 on the stack.
12350
68a3f91f
UD
12351 [BZ #11895]
12352 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12353 through underflows.
12354
15cc7dd1
UD
12355 [BZ #12766]
12356 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12357 point to strings before performing equality test for error_one_per_line
12358 mode.
12359
f3799213
UD
12360 [BZ #11697]
12361 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12362
d79a9c94
UD
12363 [BZ #11820]
12364 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12365 (struct user_fpregs_struct): Avoid __uint*_t types.
12366
56e5eb46
UD
12367 [BZ #6420]
12368 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12369 symbol info. Use it instead of calling _dl_addr locally.
12370 (lock_and_info): New function.
12371 (tr_freehook): Call lock_and_info and pass symbol info as additional
12372 parameter to tr_where.
12373 (tr_mallochook): Likewise.
12374 (tr_reallochook): Likewise.
12375 (tr_memalignhook): Likewise.
12376
6ce75379
UD
12377 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12378 used and couldn't be at all thread-safe.
12379
f8a3b5bf
UD
123802011-05-15 Ulrich Drepper <drepper@gmail.com>
12381
94b7cc37
UD
12382 * libio/freopen.c (freopen): Don't close old file descriptor
12383 before the new one is opened. Instead dup the new file descriptor
12384 to the old one after the new stream is created.
12385 * libio/freopen64.c (freopen64): Likewise.
12386 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12387 * libio/fileops.c (_IO_new_file_close_it): Handle new
12388 _IO_FLAGS2_NOCLOSE flag.
12389 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12390 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12391 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12392 _IO_FLAGS2_NOCLOSE flag.
12393 * include/unistd.h: Add hidden_proto for dup3.
12394 Define __have_dup3.
12395 * io/dup3.c: Define hidden symbol.
12396 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12397
bd25564e
UD
12398 [BZ #7101]
12399 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12400 when an incomplete long option is used.
12401 * posix/tst-getopt_long1.c: New file.
12402 * posix/Makefile (tests): Add tst-getopt_long1.
12403
c84cfef4
UD
12404 [BZ #10138]
12405 * scripts/config.guess: Update from autoconf-2.68.
12406 * scripts/config.sub: Likewise.
12407
3b85df27
UD
12408 [BZ #10157]
12409 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12410 tests into ...
12411 (has_cpuclock): ...this. New function.
12412 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12413 macro here based on has_cpuclock code.
12414
15a856b1
UD
12415 [BZ #10149]
12416 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12417 First byte (not low byte) is now always NUL.
12418 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12419
05f399e6
UD
12420 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12421 Use non-cancelable interfaces.
12422
10a52685 12423 [BZ #9809]
94ecc67d
UD
12424 * locale/iso-639.def: Add entry for Sorani.
12425
f8a3b5bf
UD
12426 [BZ #11901]
12427 * include/stdlib.h: Move include protection to the right place.
12428 Define abort_msg_s. Declare __abort_msg with it.
12429 * stdlib/abort.c (__abort_msg): Adjust type.
12430 * assert/assert.c (__assert_fail_base): New function. Majority
12431 of code from __assert_fail. Allocate memory for __abort_msg with
12432 mmap.
12433 (__assert_fail): Now call __assert_fail_base.
12434 * assert/assert-perr.c: Remove bulk of implementation. Use
12435 __assert_fail_base.
12436 * include/assert.hL Declare __assert_fail_base.
12437 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12438 mmap.
12439 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12440
1af4e298
UD
124412011-05-14 Ulrich Drepper <drepper@gmail.com>
12442
f8a3b5bf 12443 [BZ #11952]
d26dfc60
MG
12444 [BZ #12453]
12445 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12446 until all modules are registered in the DTV.
12447 * elf/Makefile: Add rules to build and run tst-tls19.
12448 * elf/tst-tls19.c: New file.
12449 * elf/tst-tls19mod1.c: New file.
12450 * elf/tst-tls19mod2.c: New file.
12451 * elf/tst-tls19mod3.c: New file.
12452 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12453
2fc54d6f
UD
12454 [BZ #12083]
12455 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12456 correctly.
12457
98d76b46
UD
12458 [BZ #12601]
12459 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12460 two-byte sequence errors.
12461 * iconvdata/Makefile (tests): Add bug-iconv8.
12462 * iconvdata/bug-iconv8.c: New file.
12463
da3c19ef
UD
12464 [BZ #12626]
12465 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12466 buf2 definition.
12467
ca408c15
UD
12468 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12469
d6f67f7d
UD
12470 [BZ #12432]
12471 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12472 (dummy_getcfa): New function.
12473 (init): Get _Unwind_GetCFA address, use dummy if not found.
12474 (backtrace_helper): In recursion check, also check whether CFA changes.
12475 (__backtrace): Completely initialize arg.
12476
1af4e298 12477 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12478 storing incomplete byte sequence in state object. Avoid testing for
12479 guaranteed too small input if we know there is enough data available.
1af4e298 12480
da62f81b
AS
124812011-05-11 Andreas Schwab <schwab@redhat.com>
12482
12483 * Makeconfig (+link-pie): Indent.
12484 * Rules (binaries-pie): Define if $(have-fpie) and
12485 $(build-shared).
12486 (binaries-shared): Also filter out $(binaries-pie).
12487 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12488 * nscd/Makefile (others-pie): Add nscd.
12489 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12490 ($(objpfx)nscd): Remove command override.
12491 * login/Makefile (others-pie): Add pt_chown.
12492 ($(objpfx)pt_chown): Remove command override.
12493 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12494 remove command overrides.
12495
fcabc0f8
UD
124962011-05-13 Ulrich Drepper <drepper@gmail.com>
12497
20030ae6
UD
12498 * libio/tst_putwc.c: Fix error messages.
12499
fcabc0f8
UD
12500 [BZ #12724]
12501 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12502 currently writing and seek to current position when not.
12503 * libio/Makefile (tests): Add bug-fclose1.
12504 * libio/bug-fclose1.c: New file.
12505
320a5dc0
PB
125062011-05-12 Ulrich Drepper <drepper@gmail.com>
12507
12508 [BZ #12511]
12509 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12510 don't set DF_1_NODELETE here.
12511 (do_lookup_x): When entering new entry test for copy relocation
12512 and if necessary set DF_1_NODELETE flag.
12513 * elf/tst-unique4.cc: New file.
12514 * elf/tst-unique4.h: New file.
12515 * elf/tst-unique4lib.cc: New file.
12516 * elf/Makefile: Add rules to build and run tst-unique4.
12517 Patch by Piotr Bury <pbury@goahead.com>.
12518
22836f52
UD
125192011-05-11 Ulrich Drepper <drepper@gmail.com>
12520
f574184a
UD
12521 [BZ #12052]
12522 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12523
e1fb097f
UD
12524 [BZ #12625]
12525 * misc/mntent_r.c (addmntent): Flush the stream after the output
12526
22836f52
UD
12527 [BZ #12393]
12528 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12529 (is_trusted_path_normalize): Skip initial colon. Append slash
12530 to empty buffer. Duplicate is_trusted_path code but allow
12531 constructed patch to be prefix.
12532 (is_dst): Allow $ORIGIN followed by /.
12533 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12534 Correct testing of result of is_trusted_path_normalize
12535 (decompose_rpath): Fix warning.
12536
7b3b0b2a
UD
125372011-05-10 Ulrich Drepper <drepper@gmail.com>
12538
12539 [BZ #11257]
12540 * grp/initgroups.c (internal_getgrouplist): When we found the service
12541 list through the initgroups entry in nsswitch.conf do not always
12542 continue on a successful lookup. Don't always use the
eac80ce2 12543 __nss_group_database value if it is set.
7b3b0b2a
UD
12544 * nss/nsswitch.conf (initgroups): Change action for successful db
12545 lookup to continue for compatibility.
12546
2a81eaa5
UD
125472011-05-09 Ulrich Drepper <drepper@gmail.com>
12548
be97a69e
UD
12549 [BZ #11532]
12550 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12551 and CP774 modules.
12552 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12553 and CP774 modules.
12554 * iconvdata/tst-tables.sh: Likewise.
12555 * iconvdata/cp770.c: New file.
12556 * iconvdata/cp771.c: New file.
12557 * iconvdata/cp772.c: New file.
12558 * iconvdata/cp773.c: New file.
12559 * iconvdata/cp774.c: New file.
12560 * iconvdata/testdata/CP770: New file.
12561 * iconvdata/testdata/CP770..UTF8: New file.
12562 * iconvdata/testdata/CP771: New file.
12563 * iconvdata/testdata/CP771..UTF8: New file.
12564 * iconvdata/testdata/CP772: New file.
12565 * iconvdata/testdata/CP772..UTF8: New file.
12566 * iconvdata/testdata/CP773: New file.
12567 * iconvdata/testdata/CP773..UTF8: New file.
12568 * iconvdata/testdata/CP774: New file.
12569 * iconvdata/testdata/CP774..UTF8: New file.
12570
12571 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12572 END CHARMAP line.
12573 * iconvdata/gen-8bit-gap.sh: Likewise.
12574 * iconvdata/gen-8bit.sh: Likewise.
12575
c1e9e399
UD
12576 * locale/iso-639.def: Add ary entry.
12577
24c55fb3 12578 [BZ #11258]
96b4b1b0
UD
12579 * locale/C-translit.h.in: Add U20A1 transliteration.
12580
bdc2f971
KB
12581 [BZ #12178]
12582 * locale/iso-639.def: Add wae entry.
12583 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12584
2952b117
UD
12585 [BZ #12545]
12586 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12587 for n.
12588
2a81eaa5
UD
12589 [BZ #12711]
12590 * locale/C-translit.h.in: Add entry for U20B9.
12591 Patch by pravin.d.s@gmail.com.
12592
28377d1b
UD
125932011-05-08 Ulrich Drepper <drepper@gmail.com>
12594
7fb90fb8
UD
12595 [BZ #12713]
12596 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12597 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12598 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12599 in rtld. Use *stat64.
7fb90fb8 12600 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12601 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12602 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12603 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12604 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12605 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12606 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12607 __fstatat64 macros.
7fb90fb8
UD
12608 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12609 * dirent/rewinddir.c: Add libc_hidden_def.
12610 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12611 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12612
28377d1b
UD
12613 * include/dirent.h (__alloc_dir): Add flags parameter.
12614 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12615 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12616 __alloc_dir.
12617 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12618 from fdopendir if O_CLOEXEC is already set.
12619
66bdbaa4
AM
126202011-03-15 Alan Modra <amodra@gmail.com>
12621
12622 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12623 l_tls_firstbyte_offset non-zero. Save padding offset in
12624 l_tls_firstbyte_offset for later use.
12625 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12626 freeing static tls block.
12627
95721191
JN
126282011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12629
12630 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12631 where #ifdef was intended. The intent is to prevent ARG_MAX from
12632 being defined by the kernel headers.
12633
f87dfb1f
UD
126342011-05-07 Ulrich Drepper <drepper@gmail.com>
12635
12636 [BZ #12734]
12637 * resolv/resolv.h: Define RES_NOTLDQUERY.
12638 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12639 no-tld-query and set RES_NOTLDQUERY.
12640 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12641 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12642 modern BIND to search name as TLD unless forbidden.
12643
47c3cd7a
UD
126442011-05-07 Petr Baudis <pasky@suse.cz>
12645 Ulrich Drepper <drepper@gmail.com>
12646
12647 [BZ #12393]
12648 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12649 (is_trusted_path): ...to here.
c1e9ea35 12650 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12651 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12652 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12653
8a35c912
PP
126542011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12655
12656 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12657 __BEGIN/__END_DECLS.
12658
acd41f47
UD
126592011-05-06 Ulrich Drepper <drepper@gmail.com>
12660
12661 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12662 NSS_STATUS_NOTFOUND if no record was found.
12663
597df647
AS
126642011-05-05 Andreas Schwab <schwab@redhat.com>
12665
12666 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12667 (headers-not-in-tirpc): Remove rpc/netdb.h
12668 * resolv/netdb.h: Revert last change.
12669
b9af1301
PP
126702011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12671
12672 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12673 circular dependency between libgcc.a and libc.a.
12674
4e34d5f5
AS
126752011-05-05 Andreas Schwab <schwab@redhat.com>
12676
12677 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12678 * nis/Makefile: Don't install rpcsvc/*.
12679 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12680 instead of <rpc/types.h>.
12681 (MAXHOSTNAMELEN): Define.
12682
00ee369c
AS
126832011-05-03 Andreas Schwab <schwab@redhat.com>
12684
12685 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12686
0b592a30
MB
126872011-04-28 Maciej Babinski <mbabinski@google.com>
12688
12689 [BZ #12714]
12690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12691 gethostbyname4_r when IPv6 results are possible.
12692
6e04cbbe
UD
126932011-05-02 Ulrich Drepper <drepper@gmail.com>
12694
12695 [BZ #12723]
12696 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12697 _PC_PIPE_BUF handling.
12698
e4ecafe0
BH
126992011-04-30 Bruno Haible <bruno@clisp.org>
12700
12701 [BZ #12717]
12702 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12703 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12704 to 'int'.
12705 * inet/getnameinfo.c (getnameinfo): Likewise.
12706
125ee683
UD
127072011-04-29 Ulrich Drepper <drepper@gmail.com>
12708
12709 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12710 to groups setting in database lookup.
12711 * nss/nsswitch.conf: Add initgroups entry.
12712
b722481a
EB
127132011-04-22 Ulrich Drepper <drepper@gmail.com>
12714
12715 [BZ #12685]
12716 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12717 mode string.
12718 Patch by Eric Blake <eblake@redhat.com>.
12719
4df46dbd
L
127202011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12721
12722 * sunrpc/Makefile (need-export-routines): Add svc_run.
12723 (routines): Remove svc_run.
12724 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12725 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12726 * sunrpc/svc_run.c (svc_run): Likewise.
12727 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12728
e84142d2
UD
127292011-04-21 Ulrich Drepper <drepper@gmail.com>
12730
12731 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12732 problem in reallocation in last patch.
12733
877175d8
UD
127342011-04-20 Ulrich Drepper <drepper@gmail.com>
12735
12736 * sunrpc/Makefile: Move inclusion of Rules.
12737
ab8eed78
UD
127382011-04-19 Ulrich Drepper <drepper@gmail.com>
12739
12740 * nss/nss_files/files-initgroups.c: New file.
12741 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12742 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12743 _nss_files_initgroups_dyn.
12744
e3d8f584
RS
127452011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12746
12747 * elf/elf.h (R_ARM_IRELATIVE): Define.
12748
af190f45
UD
127492011-04-19 Ulrich Drepper <drepper@gmail.com>
12750
12751 * po/ru.po: Update from translation team.
12752
53cf59ef
UD
127532011-04-17 Ulrich Drepper <drepper@gmail.com>
12754
12755 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12756 dependencies.
12757
4c559bcd
MF
127582011-02-06 Mike Frysinger <vapier@gentoo.org>
12759
12760 [BZ #12653]
12761 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12762 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12763 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12764 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12766
4420675c
AS
127672011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12768
12769 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12770 differing bytes.
12771 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12772 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12773 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12774
75ea32ab
UD
127752011-04-17 Ulrich Drepper <drepper@gmail.com>
12776
12777 [BZ #12420]
12778 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12779 storing it.
12780 * stdlib/bug-getcontext.c: New file.
12781 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12782
27390476
AK
127832011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12784
12785 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12786 instructions into .machine "z9-109".
12787 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12788 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12789
10442705
AK
127902011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12791
12792 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12793 between environment variables and auxiliary vector.
12794
7b57bfe5
UD
127952011-04-16 Ulrich Drepper <drepper@gmail.com>
12796
12797 * Makefile: Add rules to build linkobj/libc.so.
12798 * include/libc-symbols.h: Define libc_hidden_nolink.
12799 * include/rpc/auth.h: Mark functions which are to be hidden.
12800 * include/rpc/auth_des.h: Likewise.
12801 * include/rpc/auth_unix.h: Likewise.
12802 * include/rpc/clnt.h: Likewise.
12803 * include/rpc/des_crypt.h: Likewise.
12804 * include/rpc/key_prot.h: Likewise.
12805 * include/rpc/pmap_clnt.h: Likewise.
12806 * include/rpc/pmap_prot.h: Likewise.
12807 * include/rpc/pmap_rmt.h: Likewise.
12808 * include/rpc/rpc_msg.h: Likewise.
12809 * include/rpc/svc.h: Likewise.
12810 * include/rpc/svc_auth.h: Likewise.
12811 * include/rpc/xdr.h: Likewise.
12812 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12813 * nss/Makefile: Likewise.
12814 * sunrpc/Makefile: Don't install headers. Build library with normal
12815 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12816 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12817 for the compat linking library. Remove use of INTDEF/INTUSE.
12818 * sunrpc/auth_none.c: Likewise.
12819 * sunrpc/auth_unix.c: Likewise.
12820 * sunrpc/authdes_prot.c: Likewise.
12821 * sunrpc/authuxprot.c: Likewise.
12822 * sunrpc/clnt_gen.c: Likewise.
12823 * sunrpc/clnt_perr.c: Likewise.
12824 * sunrpc/clnt_raw.c: Likewise.
12825 * sunrpc/clnt_simp.c: Likewise.
12826 * sunrpc/clnt_tcp.c: Likewise.
12827 * sunrpc/clnt_udp.c: Likewise.
12828 * sunrpc/clnt_unix.c: Likewise.
12829 * sunrpc/des_crypt.c: Likewise.
12830 * sunrpc/des_soft.c: Likewise.
12831 * sunrpc/get_myaddr.c: Likewise.
12832 * sunrpc/key_call.c: Likewise.
12833 * sunrpc/key_prot.c: Likewise.
12834 * sunrpc/netname.c: Likewise.
12835 * sunrpc/pm_getmaps.c: Likewise.
12836 * sunrpc/pm_getport.c: Likewise.
12837 * sunrpc/pmap_clnt.c: Likewise.
12838 * sunrpc/pmap_prot.c: Likewise.
12839 * sunrpc/pmap_prot2.c: Likewise.
12840 * sunrpc/pmap_rmt.c: Likewise.
12841 * sunrpc/publickey.c: Likewise.
12842 * sunrpc/rpc_cmsg.c: Likewise.
12843 * sunrpc/rpc_common.c: Likewise.
12844 * sunrpc/rpc_dtable.c: Likewise.
12845 * sunrpc/rpc_prot.c: Likewise.
12846 * sunrpc/rpc_thread.c: Likewise.
12847 * sunrpc/rtime.c: Likewise.
12848 * sunrpc/svc.c: Likewise.
12849 * sunrpc/svc_auth.c: Likewise.
12850 * sunrpc/svc_authux.c: Likewise.
12851 * sunrpc/svc_raw.c: Likewise.
12852 * sunrpc/svc_run.c: Likewise.
12853 * sunrpc/svc_simple.c: Likewise.
12854 * sunrpc/svc_tcp.c: Likewise.
12855 * sunrpc/svc_udp.c: Likewise.
12856 * sunrpc/svc_unix.c: Likewise.
12857 * sunrpc/svcauth_des.c: Likewise.
12858 * sunrpc/xcrypt.c: Likewise.
12859 * sunrpc/xdr.c: Likewise.
12860 * sunrpc/xdr_array.c: Likewise.
12861 * sunrpc/xdr_float.c: Likewise.
12862 * sunrpc/xdr_intXX_t.c: Likewise.
12863 * sunrpc/xdr_mem.c: Likewise.
12864 * sunrpc/xdr_rec.c: Likewise.
12865 * sunrpc/xdr_ref.c: Likewise.
12866 * sunrpc/xdr_sizeof.c: Likewise.
12867 * sunrpc/xdr_stdio.c: Likewise.
12868
e6c61494
UD
128692011-04-10 Ulrich Drepper <drepper@gmail.com>
12870
12871 [BZ #12650]
12872 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12873 * sysdeps/ia64/dl-tls.h: Likewise.
12874 * sysdeps/powerpc/dl-tls.h: Likewise.
12875 * sysdeps/s390/dl-tls.h: Likewise.
12876 * sysdeps/sh/dl-tls.h: Likewise.
12877 * sysdeps/sparc/dl-tls.h: Likewise.
12878 * sysdeps/x86_64/dl-tls.h: Likewise.
12879 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12880
34fe483e
AS
128812011-03-14 Andreas Schwab <schwab@redhat.com>
12882
12883 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12884 rpath element also skip the following colon.
12885 (expand_dynamic_string_token): Add is_path parameter and pass
12886 down to DL_DST_REQUIRED and _dl_dst_substitute.
12887 (decompose_rpath): Call expand_dynamic_string_token with
12888 non-zero is_path. Ignore empty rpaths.
12889 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12890 with zero is_path.
12891
f12a32e6
AS
128922011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12893
12894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12895 Make cancelable.
12896
38a7d692
UD
128972011-04-09 Ulrich Drepper <drepper@gmail.com>
12898
12899 [BZ #12655]
12900 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12901 Patch by Filipe David Manana <fdmanana@apache.org>.
12902
e451d22b
AS
129032011-04-07 Andreas Schwab <schwab@redhat.com>
12904
12905 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12906 Maintain aligned stack.
12907 (CHECK_RSP): Remove unused macro.
12908
dedc7c7b
UD
129092011-04-03 Ulrich Drepper <drepper@gmail.com>
12910
12911 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12912 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12913
94521213
UD
129142011-04-02 Ulrich Drepper <drepper@gmail.com>
12915
12916 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12917
8cb700c0 12918 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12919
0354e355
L
129202011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12921
12922 [BZ #12518]
12923 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12924 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12925 * sysdeps/x86_64/memmove.c: New file.
12926 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12927 (memcpy): Renamed to ...
12928 (__new_memcpy): This.
12929 (memcpy): Provide GLIBC_2_14 memcpy.
12930 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12931 (memcpy): Provide GLIBC_2_2_5 memcpy.
12932
8593482f
UD
129332011-04-01 Ulrich Drepper <drepper@gmail.com>
12934
12935 [BZ #12631]
12936 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12937
81a5726b
AS
129382011-03-30 Andreas Schwab <schwab@redhat.com>
12939
12940 * misc/syncfs.c: New file.
12941 * misc/Makefile (routines): Add syncfs.
12942 * posix/unistd.h: Declare syncfs.
12943 * sysdeps/unix/syscalls.list: Add syncfs.
12944
00e5419f
AS
129452011-04-01 Andreas Schwab <schwab@redhat.com>
12946
12947 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12948 open_by_handle_at.
12949 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12950 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12951 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12952 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12954 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12955 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12956
748876bf
UD
129572011-04-01 Ulrich Drepper <drepper@gmail.com>
12958
658e451d
UD
12959 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12960 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12961 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12965 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12966
748876bf
UD
12967 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12968 sync_file_range.c with -fexceptions.
12969 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12970 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12971 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12972 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12973 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12974 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12975 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12976 sync_file_range as cancellation point
12977 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12978 now a wrapper around __call_sync_file_range with cancellation handling.
12979 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12980 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12981 function name to __call_sync_file_range.
12982 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12983 Add call_sync_file_range.
748876bf 12984
6e63d5e1
AS
129852011-04-01 Andreas Schwab <schwab@redhat.com>
12986
12987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12988 bits/timex.h.
6e63d5e1 12989
46998f74
UD
129902011-04-01 Ulrich Drepper <drepper@gmail.com>
12991
4c1423ed
UD
12992 * iconv/iconv.h: Fix typo in comment.
12993 * io/fcntl.h: Likewise.
12994 * libio/stdio.h: Likewise.
12995 * posix/spawn.h: Likewise.
12996 * posix/unistd.h: Likewise.
12997 * stdlib/stdlib.h: Likewise.
12998 * time/time.h: Likewise.
12999 * wcsmbs/wchar.h: Likewise.
13000
158648c0
UD
13001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13002 open_by_handle): Add.
13003 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13004 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13005 Augment a few comments.
13006 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13007 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13008 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13010 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13011 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13012 open_by_handle.
13013
46998f74
UD
13014 * io/fcntl.h (AT_EMPTY_PATH): Define.
13015
83fe108b
UD
130162011-03-30 Ulrich Drepper <drepper@gmail.com>
13017
13018 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13019 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13020 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13021 to...
13022 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13023 * Versions.def: Add GLIBC_2.14.
13024 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13025 Export.
83fe108b 13026
bb242059
UD
130272011-03-22 Ulrich Drepper <drepper@gmail.com>
13028
13029 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13030 round counter.
13031 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13032
c97a1282
L
130332011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13034
13035 [BZ #12597]
13036 * string/test-strncmp.c (do_page_test): New function.
13037 (check2): Likewise.
13038 (test_main): Call check2.
13039 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13040
2a115601
UD
130412011-03-20 Ulrich Drepper <drepper@gmail.com>
13042
13043 [BZ #12587]
13044 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13045 Handle cache information in CPU leaf 4.
13046 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13047
8126d904
UD
130482011-03-18 Ulrich Drepper <drepper@gmail.com>
13049
042c49c6 13050 [BZ #12583]
8126d904
UD
13051 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13052 character representation.
13053 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13054
ccfe366e
RA
130552011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13056
13057 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13058 END(__isnan) to END(__isnanf) to match function entry point/label
13059 EALIGN(__isnanf,...).
13060
c6e13027
JJ
130612011-03-10 Jakub Jelinek <jakub@redhat.com>
13062
13063 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13064
33f85a3f
UD
130652011-03-10 Ulrich Drepper <drepper@gmail.com>
13066
028478fa
UD
13067 [BZ #12510]
13068 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13069 copy from the symbol referenced in the relocation to initialize the
13070 used variable.
13071 Patch by Piotr Bury <pbury@goahead.com>.
13072 * elf/Makefile: Add rules to build and tst-unique3.
13073 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13074 * elf/tst-unique3.cc: New file.
13075 * elf/tst-unique3.h: New file.
13076 * elf/tst-unique3lib.cc: New file.
13077 * elf/tst-unique3lib2.cc: New file.
13078
33f85a3f
UD
13079 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13080
03592fc7
MF
130812011-03-10 Mike Frysinger <vapier@gentoo.org>
13082
13083 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13084 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13085 to _start.
03592fc7 13086
6a5ee102
UD
130872011-03-06 Ulrich Drepper <drepper@gmail.com>
13088
13089 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13090 to-be-loaded object along a path to loader is ld.so.
13091
7e4ba49c
HJ
130922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13093 Ulrich Drepper <drepper@gmail.com>
13094
13095 * sysdeps/x86_64/memset.S: After aligning destination, code
13096 branches to different locations depending on the value of
13097 misalignment, when multiarch is enabled. Fix this.
13098
130992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13100
13101 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13102 Set _x86_64_preferred_memory_instruction for AMD processsors.
13103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13104 Set bit_Prefer_SSE_for_memop for AMD processors.
13105
13a804de
UD
131062011-03-04 Ulrich Drepper <drepper@gmail.com>
13107
13108 * libio/fmemopen.c (fmemopen): Optimize a bit.
13109
9d25c392
AS
131102011-03-03 Andreas Schwab <schwab@redhat.com>
13111
13112 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13113
a5543c6a
RM
131142011-03-03 Roland McGrath <roland@redhat.com>
13115
13116 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13117
012d35f7
DM
131182011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13119
7e4ba49c 13120 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13121 __bzero_ultra1 instead of __memset_ultra1.
13122
4bff6e01
AS
131232011-02-23 Andreas Schwab <schwab@redhat.com>
13124 Ulrich Drepper <drepper@gmail.com>
13125
13126 [BZ #12509]
13127 * include/link.h (struct link_map): Add l_orig_initfini.
13128 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13129 returning unsuccessfully.
13130 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13131 close of a file loaded at startup, restore the original l_initfini
13132 list.
13133 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13134 list, store the pointer.
13135 * elf/Makefile ($(objpfx)noload-mem): New rule.
13136 (noload-ENV): Define.
13137 (tests): Add $(objpfx)noload-mem.
13138 * elf/noload.c: Include <memcheck.h>.
13139 (main): Call mtrace. Close all opened handles.
13140
f2092faf
AS
131412011-02-17 Andreas Schwab <schwab@redhat.com>
13142
13143 [BZ #12454]
13144 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13145 dependencies are missing.
13146
6c8a2e88
ST
131472011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13148
f2092faf 13149 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13150 Hurd needs munmap.
13151 * sysdeps/mach/hurd/ifreq.h: New file.
13152
84a42118
PB
131532011-01-27 Petr Baudis <pasky@suse.cz>
13154 Ulrich Drepper <drepper@gmail.com>
13155
071f805e 13156 [BZ 12445]#
84a42118
PB
13157 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13158 to extend_alloca().
13159 * stdio-common/bug23.c: New file.
13160 * stdio-common/Makefile (tests): Add bug23.
13161
e23fe25b
AS
131622010-09-28 Andreas Schwab <schwab@redhat.com>
13163 Ulrich Drepper <drepper@gmail.com>
13164
13165 [BZ #12489]
13166 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13167 before performing relro protection. At old place add assertion
13168 to make sure nothing changed.
13169
d3f02e10
NS
131702011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13171 Glauber de Oliveira Costa <glommer@gmail.com>
13172
13173 * elf/elf.h: Add new ARM TLS relocs.
13174
d55fd7a5
RA
131752011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13176
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13178 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13179 cast from r3.
13180 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13181 'tests' variable.
13182 * sysdeps/wordsize-64/tst-writev.c: New file.
13183
2206397e
RA
131842011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13185
13186 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13187 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13188 insns in _dl_start to prevent a TOC reference before relocs are
13189 resolved.
13190
e9433893
UD
131912011-02-15 Ulrich Drepper <drepper@gmail.com>
13192
13193 [BZ #12469]
13194 * Makeconfig: Remove RANLIB definition.
13195 * Makerules: Don't use RANLIB.
13196 * aclocal.m4: Remove ranlib test.
13197 * configure.in: No need to check for ranlib.
13198 * elf/rtld-Rules: Don't use RANLIB.
13199
f75286c6
ST
132002011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13201
8e31c82d
ST
13202 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13203 protection macro.
13204 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13205 inclusion protection macro.
13206
f75286c6
ST
13207 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13208 SIGRTMIN and SIGRTMAX and print information in that case only when
13209 SIGRTMIN is defined.
13210
c1d0e639
JJ
132112011-02-11 Jakub Jelinek <jakub@redhat.com>
13212
13213 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13214 arginfo fn returning -1.
13215
13216 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13217 and thousands string is zero terminated.
13218
edf9294e
AS
132192011-02-03 Andreas Schwab <schwab@redhat.com>
13220
13221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13222 sysdeps/unix/sysv/linux/bits/socket.h.
13223
2b7e92df
ST
132242011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13225
edf9294e
AS
13226 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13227 (__CPU_COUNT): Remove old macros.
13228 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13229 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13230 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13231 (__sched_cpualloc, __sched_cpufree): Add declarations.
13232
a4c7ea7b
UD
132332011-02-05 Ulrich Drepper <drepper@gmail.com>
13234
13235 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13236 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13237 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13238 (readdhstai): Return value of addhstaiX call.
13239 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13240 (addgrbyX): Return value returned by cache_addgr.
13241 (readdgrbyname): Return value returned by addgrbyX.
13242 (readdgrbygid): Likewise.
13243 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13244 (addpwbyX): Return value returned by cache_addpw.
13245 (readdpwbyname): Return value returned by addhstbyX.
13246 (readdpwbyuid): Likewise.
13247 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13248 (addservbyX): Return value returned by cache_addserv.
13249 (readdservbyname): Return value returned by addservbyX:
13250 (readdservbyport): Likewise.
13251 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13252 (addhstbyX): Return value returned by cache_addhst.
13253 (readdhstbyname): Return value returned by addhstbyX.
13254 (readdhstbyaddr): Likewise.
13255 (readdhstbynamev6): Likewise.
13256 (readdhstbyaddrv6): Likewise.
13257 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13258 (readdinitgroups): Return value returned by addinitgroupsX.
13259 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13260 (prune_cache): Keep track of timeout value of re-added entries.
13261 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13262 * nscd/nscd.h: Adjust prototypes of readd* functions.
13263
a0bf67cc
RM
132642011-02-04 Roland McGrath <roland@redhat.com>
13265
13266 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13267 (nis_stats): Likewise.
13268 * nis/nis_modify.c (nis_modify): Likewise.
13269 * nis/nis_remove.c (nis_remove): Likewise.
13270 * nis/nis_add.c (nis_add): Likewise.
13271
13272 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13273
13274 * posix/fnmatch_loop.c: Add some consts.
13275
13276 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13277
435b95eb
L
132782011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13279
13280 [BZ #12460]
13281 * config.make.in (config-cflags-novzeroupper): Define.
13282 * configure.in: Substitute libc_cv_cc_novzeroupper.
13283 * elf/Makefile (AVX-CFLAGS): Define.
13284 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13285 (CFLAGS-tst-auditmod4a.c): Likewise.
13286 (CFLAGS-tst-auditmod4b.c): Likewise.
13287 (CFLAGS-tst-auditmod6b.c): Likewise.
13288 (CFLAGS-tst-auditmod6c.c): Likewise.
13289 (CFLAGS-tst-auditmod7b.c): Likewise.
13290 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13291
8517b15e
UD
132922011-02-02 Ulrich Drepper <drepper@gmail.com>
13293
13294 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13295 function to the callback.
13296 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13297
10a656fe
AS
132982011-02-02 Andreas Schwab <schwab@redhat.com>
13299
13300 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13301 of errno.
13302
968dad0a
UD
133032011-01-19 Ulrich Drepper <drepper@gmail.com>
13304
9f94d2ea 13305 [BZ #11724]
968dad0a
UD
13306 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13307 of constructors.
13308 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13309 of destructors.
13310 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13311
13312 [BZ #11724]
13313 * elf/Makefile: Add rules to build and run new test.
13314 * elf/tst-initorder.c: New file.
13315 * elf/tst-initorder.exp: New file.
13316 * elf/tst-initordera1.c: New file.
13317 * elf/tst-initordera2.c: New file.
13318 * elf/tst-initordera3.c: New file.
13319 * elf/tst-initordera4.c: New file.
13320 * elf/tst-initorderb1.c: New file.
13321 * elf/tst-initorderb2.c: New file.
13322 * elf/tst-order-a1.c: New file.
13323 * elf/tst-order-a2.c: New file.
13324 * elf/tst-order-a3.c: New file.
13325 * elf/tst-order-a4.c: New file.
13326 * elf/tst-order-b1.c: New file.
13327 * elf/tst-order-b2.c: New file.
13328 * elf/tst-order-main.c: New file.
13329 New test case by George Gensure <werkt0@gmail.com>.
13330
86e92359
UD
133312010-10-01 Andreas Schwab <schwab@redhat.com>
13332
13333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13334 decoding ACE if AI_CANONIDN.
13335
5d5732b0
UD
133362011-01-18 Ulrich Drepper <drepper@gmail.com>
13337
13338 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13339
a77e8cbc
UD
133402011-01-17 Ulrich Drepper <drepper@gmail.com>
13341
6392473f
UD
13342 * version.h (RELEASE): Bump for 2.13 release.
13343 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13344
620a0529
UD
13345 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13346
18ba70a5
UD
13347 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13348 MADV_NOHUGEPAGE.
32465c3e
UD
13349 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13350 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13351 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13352 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13353 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13354 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13355
c0dafcf1
UD
13356 * posix/getconf.c: Update copyright year.
13357 * catgets/gencat.c: Likewise.
13358 * csu/version.c: Likewise.
13359 * debug/catchsegv.sh: Likewise.
13360 * debug/xtrace.sh: Likewise.
13361 * elf/ldconfig.c: Likewise.
13362 * elf/ldd.bash.in: Likewise.
13363 * elf/sprof.c (print_version): Likewise.
13364 * iconv/iconv_prog.c: Likewise.
13365 * iconv/iconvconfig.c: Likewise.
13366 * locale/programs/locale.c: Likewise.
13367 * locale/programs/localedef.c: Likewise.
13368 * malloc/memusage.sh: Likewise.
13369 * malloc/mtrace.pl: Likewise.
13370 * nscd/nscd.c (print_version): Likewise.
13371 * nss/getent.c: Likewise.
13372
a77e8cbc
UD
13373 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13374 PF_CAIF, and PF_ALG.
13375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13376
77e8bddf
AS
133772011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13378
1f20b93a
AS
13379 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13380 (modules-names): Use them.
13381 (ifunc-test-modules, ifunc-pie-tests): Define.
13382 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13383 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13384 (test-extras): Likewise.
13385 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13386 $(compile-command.c).
13387 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13388 (all-built-dso): Define.
13389 (check-textrel.out, check-execstack.out): Depend on it.
13390
77e8bddf
AS
13391 * configure.in: Don't override --enable-multi-arch.
13392
bc425b33
UD
133932011-01-15 Ulrich Drepper <drepper@gmail.com>
13394
13395 [BZ #6812]
13396 * nscd/hstcache.c (tryagain): Define.
13397 (cache_addhst): Return tryagain not notfound for temporary errors.
13398 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13399 failed.
13400
794c3ad3
UD
134012011-01-14 Ulrich Drepper <drepper@gmail.com>
13402
70181fdd
UD
13403 [BZ #10563]
13404 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13405 to make the syscall.
13406 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13407
794c3ad3
UD
13408 [BZ #12378]
13409 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13410 and fall back to matching as normal character if the string ends before
13411 the matching ']' is found. This is what POSIX requires.
13412 * posix/testfnm.c: Adjust test result.
13413 * posix/globtest.sh: Adjust test result. Add new test.
13414 * posix/tst-fnmatch.input: Likewise.
13415 * posix/tst-fnmatch2.c: Add new test.
13416
68dc9497
AS
134172010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13418
13419 * elf/Makefile (check-execstack): Revert last change. Depend on
13420 check-execstack.h.
13421 (check-execstack.h): New target.
13422 (generated): Add check-execstack.h.
13423 * elf/check-execstack.c: Include "check-execstack.h".
13424 (main): Revert last change.
13425 (handle_file): Return zero if GNU_STACK is absent and
13426 DEFAULT_STACK_PERMS doesn't include PF_X.
13427
451f001b
UD
134282011-01-13 Ulrich Drepper <drepper@gmail.com>
13429
cfa28e56
UD
13430 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13431 in child fails because the descriptor is already closed.
8cf8ce17
UD
13432 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13433 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13434 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13435
1086d70d
UD
13436 [BZ #12397]
13437 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13438 syscall.
13439
451f001b
UD
13440 [BZ #10484]
13441 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13442 temporary buffer used to handle multi lookups locally.
a85b5cb4 13443 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13444
08769175
UD
134452011-01-12 Ulrich Drepper <drepper@gmail.com>
13446
13447 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13448 loader is ld.so.
13449
5e49c52e
UD
134502011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13451
13452 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13453 alignment for SSE2.
13454
60522a5f
UD
134552011-01-12 Ulrich Drepper <drepper@gmail.com>
13456
13457 [BZ #12394]
13458 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13459 characters. When rounding increased number of integer digits recompute
13460 number of groups.
13461 * stdio-common/tst-grouping.c: New file.
13462 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13463
f257bbd7
UD
134642011-01-09 Ulrich Drepper <drepper@gmail.com>
13465
13466 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13467 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13468
13469 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13470 void.
13471 * bits/select.h: Likewise.
13472
fa9c15cb
UD
134732011-01-08 Ulrich Drepper <drepper@gmail.com>
13474
13475 * po/ja.po: Update from translation team.
13476
16c2895f
DM
134772011-01-04 David S. Miller <davem@sunset.davemloft.net>
13478
13479 [BZ #11155]
13480 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13481 implementation just like for lxstat, fxstatat, et al.
13482
2543fef2
JM
134832010-12-27 Jim Meyering <meyering@redhat.com>
13484
13485 [BZ #12348]
13486 * posix/regexec.c (build_trtable): Return failure indication upon
13487 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13488
98727dbe
UD
134892010-12-25 Ulrich Drepper <drepper@gmail.com>
13490
5bd6dc5c
UD
13491 [BZ #12201]
13492 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13493 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13494 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13495 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13496
97983464
UD
13497 [BZ #12207]
13498 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13499
98727dbe
UD
13500 [BZ #12204]
13501 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13502 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13503
4a531bb0
L
135042010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13505
13506 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13507 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13508 script has SORT_BY_INIT_PRIORITY.
13509 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13510 NO_CTORS_DTORS_SECTIONS is defined.
13511 * elf/soinit.c: Likewise.
13512 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13513 NO_CTORS_DTORS_SECTIONS is defined.
13514 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13515 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13516 * sysdeps/sh/init-first.c: Likewise.
13517 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13518
07eb4b71
UD
135192010-12-24 Ulrich Drepper <drepper@gmail.com>
13520
13521 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13522 always use the slow path.
13523
30950a5f
RA
135242010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13525
13526 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13527 similar rule which adds the sysdep directories to the header search in
13528 order to pick up the correct platform stackinfo.h.
13529 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13530 perform test if it is, otherwise return successfully without testing.
13531 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13532 DEFAULT_STACK_PERMS define in stackinfo.h.
13533 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13534 defined in stackinfo.h.
13535 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13536 DEFAULT_STACK_PERMS defined in stackinfo.h.
13537 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13538 * sysdeps/ia64/stackinfo.h: Likewise.
13539 * sysdeps/s390/stackinfo.h: Likewise.
13540 * sysdeps/sh/stackinfo.h: Likewise.
13541 * sysdeps/sparc/stackinfo.h: Likewise.
13542 * sysdeps/x86_64/stackinfo.h: Likewise.
13543 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13544 PF_X for powerpc64. Retain PF_X for powerpc32.
13545
db753e2c
UD
135462010-12-19 Ulrich Drepper <drepper@gmail.com>
13547
14b697f7
UD
13548 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13549 accurately.
db753e2c
UD
13550 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13551 GETDENTS_64BIT_ALIGNED.
13552
28300719
UD
135532010-12-14 Ulrich Drepper <dreper@gmail.com>
13554
14b697f7 13555 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13556
4f197237
AS
135572010-12-10 Andreas Schwab <schwab@redhat.com>
13558
dbb0472f
AS
13559 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13560 _GNU_SOURCE.
13561
4f197237
AS
13562 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13563 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13564 Remove __restrict.
13565 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13566 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13567
fb88ac72
UD
135682010-12-09 Ulrich Drepper <drepper@gmail.com>
13569
13570 [BZ #11655]
13571 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13572 are initialized.
13573
42acbb92
JJ
135742010-12-09 Jakub Jelinek <jakub@redhat.com>
13575
13576 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13577
c038d98d
UD
135782010-12-03 Ulrich Drepper <drepper@gmail.com>
13579
13580 * po/it.po: Update from translation team.
13581
3a4a2499
L
135822010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13583
13584 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13585 unused codes.
13586
1e24cf6e
UD
135872010-11-30 Ulrich Drepper <drepper@gmail.com>
13588
13589 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13590
a7690819
AS
135912010-11-24 Andreas Schwab <schwab@redhat.com>
13592
13593 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13594 specially.
13595 (gaih_getanswer_slice): Likewise.
13596
3bf8d1b1
JJ
135972010-10-20 Jakub Jelinek <jakub@redhat.com>
13598
13599 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13600
6db52fbb
PB
136012010-05-31 Petr Baudis <pasky@suse.cz>
13602
13603 [BZ #11149]
13604 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13605 silently even in the chroot mode.
13606
eaca7569
UD
136072010-11-22 Ulrich Drepper <drepper@gmail.com>
13608
13609 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13610 last patch a bit. Pretty printing
13611
3056dcdb
UD
136122010-05-31 Petr Baudis <pasky@suse.cz>
13613
13614 [BZ #10085]
13615 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13616 initialization of skip_initgroups_dyn.
13617
cf7c9078
UD
136182010-11-19 Ulrich Drepper <drepper@gmail.com>
13619
13620 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13621 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13622
a1fb5e3e
UD
136232010-11-16 Ulrich Drepper <drepper@gmail.com>
13624
13625 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13626
3540d66b
AS
136272010-11-11 Andreas Schwab <schwab@redhat.com>
13628
13629 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13630 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13631 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13632 ($(objpfx)tst-fnmatch-mem): New rule.
13633 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13634 * posix/tst-fnmatch.c (main): Call mtrace.
13635
13b69574
L
136362010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13637
13638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13639 Support Intel processor model 6 and model 0x2c.
13640
da93d214
LM
136412010-11-10 Luis Machado <luisgpm@br.ibm.com>
13642
13643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13644 signed comparison.
13645
8ca52c6e
L
136462010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13647
13648 [BZ #12205]
13649 * string/test-strncasecmp.c (check_result): New function.
13650 (do_one_test): Use it.
13651 (check1): New function.
13652 (test_main): Use it.
13653 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13654 Support strcasecmp and strncasecmp.
13655
69da074d
UD
136562010-11-08 Ulrich Drepper <drepper@gmail.com>
13657
13658 [BZ #12194]
13659 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13660 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13661
ff02d528
L
136622010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13663
13664 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13665 IFUNC support.
13666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13667 memset-x86-64.
13668 * sysdeps/x86_64/multiarch/bzero.S: New file.
13669 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13670 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13671 * sysdeps/x86_64/multiarch/memset.S: New file.
13672 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13674 Set bit_Prefer_SSE_for_memop for Intel processors.
13675 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13676 Define.
13677 (index_Prefer_SSE_for_memop): Define.
13678 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13679
344d0b54
LM
136802010-11-04 Luis Machado <luisgpm@br.ibm.com>
13681
13682 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13683 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13684
c0dde15b
UD
136852010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13686
13687 [BZ #12191]
13688 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13689 (__x86_64_raw_data_cache_size_half): Likewise.
13690 (__x86_64_raw_shared_cache_size): Likewise.
13691 (__x86_64_raw_shared_cache_size_half): Likewise.
13692
13693 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13694 (__x86_64_raw_data_cache_size_half): Likewise.
13695 (__x86_64_raw_shared_cache_size): Likewise.
13696 (__x86_64_raw_shared_cache_size_half): Likewise.
13697 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13698 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13699 and __x86_64_raw_shared_cache_size_half. Round
13700 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13701 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13702 to multiple of 256 bytes.
13703
0e516e0e
MS
137042010-11-03 Ulrich Drepper <drepper@gmail.com>
13705
13706 [BZ #12167]
13707 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13708 of inacessible symlinks. Verify result of symlink before returning it.
13709 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13710 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13711
0e012e87
ER
137122010-10-28 Erich Ritz <erichritz@gmail.com>
13713
13714 * math/math.h (isinf): Fix typo in comment.
13715
de0ff7bc
UD
137162010-11-01 Ulrich Drepper <drepper@gmail.com>
13717
13718 * po/da.po: Update from translation team.
13719
fa41c84d
UD
137202010-10-26 Ulrich Drepper <drepper@gmail.com>
13721
13722 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13723 is added to the list.
13724
f0967738
AK
137252010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13726 Ulrich Drepper <drepper@gmail.com>
13727
13728 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13729 the global list here. Move code to...
13730 (_dl_add_to_namespace_list): ...here. New function.
13731 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13732 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13733 * elf/dl-load.c (lose): Don't remove the element from the list.
13734 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13735 (_dl_map_object): Likewise.
13736
137372010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13738
13739 [BZ #12159]
13740 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13741 into all bytes of SSE register.
13742 Patch by Richard Li <richardpku@gmail.com>.
13743
f0967738 137442010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13745
13746 [BZ #12140]
13747 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13748 perturbing.
13749
d0b9e94f
MB
137502010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13751
13752 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13753 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13754 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13755 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13757 submachine.
13758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13759
8e9f92e9
AS
137602010-10-22 Andreas Schwab <schwab@redhat.com>
13761
13762 * include/dlfcn.h (__RTLD_SECURE): Define.
13763 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13764 mode & __RTLD_SECURE instead.
13765 (open_path): Rename preloaded parameter to secure.
13766 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13767 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13768 * elf/dl-deps.c (openaux): Likewise.
13769 * elf/rtld.c (struct map_args): Remove is_preloaded.
13770 (map_doit): Don't use it.
13771 (dl_main): Likewise.
13772 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13773 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13774
bc96fbda
AS
137752010-09-09 Andreas Schwab <schwab@redhat.com>
13776
13777 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13778 (sysd-rules-targets): Remove duplicates.
13779 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13780 rtld-%.$o dependency.
13781
22cd1c9b
AS
137822010-10-18 Andreas Schwab <schwab@redhat.com>
13783
13784 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13785 _dl_map_object do it.
13786
18edac48
UD
137872010-10-19 Ulrich Drepper <drepper@gmail.com>
13788
13789 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13790 fast fma builtins, define the macros in the C99 standard.
13791 (FP_FAST_FMAF): Likewise.
13792 (FP_FAST_FMAL): Likewise.
13793 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13794
13795 * bits/mathdef.h: Update copyright year.
13796 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13797
d2050124
MM
137982010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13799
13800 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13801 builtins, define the macros in the C99 standard.
13802 (FP_FAST_FMAF): Likewise.
13803 (FP_FAST_FMAL): Likewise.
13804 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13805 multiply/add.
13806 (FP_FAST_FMAF): Likewise.
13807
475facd1
JJ
138082010-10-15 Jakub Jelinek <jakub@redhat.com>
13809
13810 [BZ #3268]
13811 * math/libm-test.inc (fma_test): Some new testcases.
13812 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13813 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13814 y and infinite z. Do multiplication by C already in long double.
13815 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13817 y and infinite z. Do bitwise or of inexact bit into u.d.
13818 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13819 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13820 * sysdeps/i386/fpu/s_fma.S: Removed.
13821 * sysdeps/i386/fpu/s_fmal.S: Removed.
13822
7c08a05c
JJ
138232010-10-16 Jakub Jelinek <jakub@redhat.com>
13824
13825 [BZ #3268]
13826 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13828 computation is not scheduled after fetestexcept. Fix value
13829 of minimum denormal long double.
13830
f3f7372d
JJ
138312010-10-14 Jakub Jelinek <jakub@redhat.com>
13832
13833 [BZ #3268]
13834 * math/libm-test.inc (fma_test): Add some more tests.
13835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13836 correctly.
13837
14d43591
AS
138382010-10-15 Andreas Schwab <schwab@redhat.com>
13839
13840 * scripts/data/localplt-s390-linux-gnu.data: New file.
13841 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13842
5e908464
JJ
138432010-10-13 Jakub Jelinek <jakub@redhat.com>
13844
13845 [BZ #3268]
13846 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13847 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13848 instead of dbl-64.
13849 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13850 inlines.
13851 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13853 if one of x and y is very large and the other is subnormal.
13854 * sysdeps/s390/fpu/s_fmaf.c: New file.
13855 * sysdeps/s390/fpu/s_fma.c: New file.
13856 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13857 * sysdeps/powerpc/fpu/s_fma.S: New file.
13858 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13859 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13860 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13861
138622010-10-12 Jakub Jelinek <jakub@redhat.com>
13863
13864 [BZ #3268]
13865 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13866 fma tests.
13867 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13868 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13869 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13870 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13871 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13872 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13874
b833d51f
UD
138752010-10-12 Ulrich Drepper <drepper@redhat.com>
13876
13877 [BZ #12078]
13878 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13879 * posix/bug-regex31.input: Add test case.
13880
1751705d
UD
138812010-10-11 Ulrich Drepper <drepper@gmail.com>
13882
e9b9cbf5
UD
13883 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13884 * posix/bug-regex31.input: New file.
13885
13886 [BZ #12078]
13887 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13888 (parse_sub_exp): Fix last change, use postorder.
13889
ef06edbe
UD
13890 * posix/bug-regex31.c: New file.
13891 * posix/Makefile: Add rules to build and run bug-regex31.
13892
a129c80d
UD
13893 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13894
13895 [BZ #12078]
13896 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13897
b76b818e
UD
13898 [BZ #12108]
13899 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13900 to have entries in sys_siglist.
13901
1751705d
UD
13902 [BZ #12093]
13903 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13904 be NULL.
13905
9ff8d36f
JJ
139062010-10-07 Jakub Jelinek <jakub@redhat.com>
13907
13908 [BZ #3268]
13909 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13910 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13911 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13912 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13913 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13914 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13915 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13916 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13917 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13918 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13919 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13920 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13921 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13922 * math/ftestexcept.c (fetestexcept): Likewise.
13923 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13924 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13925 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13926 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13927 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13928 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13929 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13930
af325969
UD
139312010-10-11 Ulrich Drepper <drepper@gmail.com>
13932
c579b202 13933 [BZ #12107]
af325969
UD
13934 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13935 newline.
13936
67a67b95
UD
139372010-10-06 Ulrich Drepper <drepper@gmail.com>
13938
13939 * string/bug-strstr1.c: New file.
13940 * string/Makefile: Add rules to build and run bug-strstr1.
13941
5fb308bc
EB
139422010-10-05 Eric Blake <eblake@redhat.com>
13943
13944 [BZ #12092]
13945 * string/str-two-way.h (two_way_long_needle): Always clear memory
13946 when skipping input due to the shift table.
13947
45db99c7
UD
139482010-10-03 Ulrich Drepper <drepper@gmail.com>
13949
3b111893
UD
13950 [BZ #12005]
13951 * malloc/mcheck.c: Handle large requests.
13952
45db99c7
UD
13953 [BZ #12077]
13954 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13955 for strncmp and strncasecmp.
13956 * string/stratcliff.c: Add tests for strcmp and strncmp.
13957 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13958
cf7a1eb8
NI
139592010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13960
13961 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13962 __set_fpscr.
13963
6484ba5e
AJ
139642010-09-30 Andreas Jaeger <aj@suse.de>
13965
13966 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13967 (CGROUP_SUPER_MAGIC): Define.
13968 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13969 Handle btrfs and cgroup file systems.
13970 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13971 Likewise.
13972
91c42559
LM
139732010-09-27 Luis Machado <luisgpm@br.ibm.com>
13974
13975 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13976 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13977
87a97932
AK
139782010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13979
13980 [BZ #12067]
13981 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13982 trying to locate the ELF header.
13983
c21cc9bc
AS
139842010-09-27 Andreas Schwab <schwab@redhat.com>
13985
13986 [BZ #11611]
13987 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13988 Mask out sign-bit copies when constructing f_fsid.
13989
315970f6
PB
139902010-09-24 Petr Baudis <pasky@suse.cz>
13991
13992 * debug/stack_chk_fail_local.c: Add missing licence exception.
13993 * debug/warning-nop.c: Likewise.
13994
1ac7a2c7
JM
139952010-09-15 Joseph Myers <joseph@codesourcery.com>
13996
13997 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13998 implementing getdents64 using getdents syscall, set d_type if
13999 __ASSUME_GETDENTS32_D_TYPE.
14000
56801c50
AS
140012010-09-16 Andreas Schwab <schwab@redhat.com>
14002
14003 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14004 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14005
dda51327
UD
140062010-09-21 Ulrich Drepper <drepper@redhat.com>
14007
14008 [BZ #12037]
14009 * posix/unistd.h: Undo change of feature selection for ftruncate from
14010 2010-01-11.
14011
8ffcee4a
UD
140122010-09-20 Ulrich Drepper <drepper@redhat.com>
14013
a545ecd9 14014 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14015 detection.
14016
e24f0a8b
AS
140172010-09-20 Andreas Schwab <schwab@redhat.com>
14018
14019 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14020 fanotify_mark.
14021 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14022
7291c56f
AS
140232010-09-14 Andreas Schwab <schwab@redhat.com>
14024
14025 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14026 variables after CHECK_SP call.
14027 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14028
bc5fb037
AS
140292010-09-13 Andreas Schwab <schwab@redhat.com>
14030 Ulrich Drepper <drepper@redhat.com>
14031
14032 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14033 re-relocationg ld.so.
14034 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14035 _dl_init_paths call.
14036 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14037 here anymore.
14038
e66e7419
UD
140392010-09-14 Ulrich Drepper <drepper@redhat.com>
14040
14041 * resolv/res_init.c (__res_vinit): Count the default server we added.
14042
c044aa75
CLT
140432010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14044 Ulrich Drepper <drepper@redhat.com>
14045
14046 [BZ #11968]
14047 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14048 (____longjmp_chk): Use %ebx for saving value across system call.
14049 Add unwind info.
14050
32cf4069
AS
140512010-09-06 Andreas Schwab <schwab@redhat.com>
14052
14053 * manual/Makefile: Don't mix pattern rules with normal rules.
14054
817328ee
AS
140552010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14056
14057 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14058 operation.
14059 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14060 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14061 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14062 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14063 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14064 Likewise.
14065
29fddf61
UD
140662010-09-04 Ulrich Drepper <drepper@redhat.com>
14067
14068 [BZ #11979]
14069 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14070 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14071
0959ffc9
UD
140722010-09-02 Ulrich Drepper <drepper@redhat.com>
14073
14074 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14075 * sysdeps/x86_64/addmul_1.S: Likewise.
14076 * sysdeps/x86_64/lshift.S: Likewise.
14077 * sysdeps/x86_64/mul_1.S: Likewise.
14078 * sysdeps/x86_64/rshift.S: Likewise.
14079 * sysdeps/x86_64/sub_n.S: Likewise.
14080 * sysdeps/x86_64/submul_1.S: Likewise.
14081
ece29840
ST
140822010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14083
0959ffc9
UD
14084 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14085 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14086 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14087 * bits/sched.h [__need_schedparam]
ece29840 14088 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14089 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14090 (__defined_schedparam): Define to 1.
ece29840
ST
14091 (__sched_param): New structure, identical to sched_param.
14092 (__need_schedparam): Undefine.
14093
e53a31fe
MF
140942010-08-31 Mike Frysinger <vapier@gentoo.org>
14095
fdc0c10d
MF
14096 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14097 (epoll_create1): Declare.
14098
e53a31fe
MF
14099 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14100
a726d796
AS
141012010-08-31 Andreas Schwab <schwab@redhat.com>
14102
14103 [BZ #7066]
14104 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14105 shifting retval into place.
14106
2f3e3dc7
UD
141072010-09-01 Ulrich Drepper <drepper@redhat.com>
14108
f2933da9
UD
14109 * nis/rpcsvc/nis.h: Update copyright notice.
14110 * nis/rpcsvc/nis.x: Likewise.
14111 * nis/rpcsvc/nis_callback.h: Likewise.
14112 * nis/rpcsvc/nis_callback.x: Likewise.
14113 * nis/rpcsvc/nis_object.x: Likewise.
14114 * nis/rpcsvc/nis_tags.h: Likewise.
14115 * nis/rpcsvc/yp.h: Likewise.
14116 * nis/rpcsvc/yp.x: Likewise.
14117 * nis/rpcsvc/ypupd.h: Likewise.
14118 * nis/yp_xdr.c: Likewise.
14119 * nis/ypupdate_xdr.c: Likewise.
14120
2f3e3dc7
UD
14121 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14122 mainly the body of pmap_getport. Add parameters to specify timeouts.
14123 (pmap_getport): Use __libc_rpc_getport.
14124 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14125 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14126 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14127
f3dcc2f9
AS
141282010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14129
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14131 fanotify_mark.
14132
6d34eb5b
RM
141332010-08-27 Roland McGrath <roland@redhat.com>
14134
14135 * sysdeps/i386/i686/multiarch/Makefile
14136 (CFLAGS-varshift.c): New variable.
14137
9ea3de11
UD
141382010-08-27 Ulrich Drepper <drepper@redhat.com>
14139
c96d23fc
UD
14140 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14141 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14142
9ea3de11
UD
14143 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14144
14145 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14146
623aac7f
L
141472010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14148
14149 * sysdeps/x86_64/strlen.S: Unroll the loop.
14150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14151 strlen-sse2 strlen-sse2-bsf.
14152 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14153 __strlen_no_bsf if bit_Slow_BSF is set.
14154 (__strlen_sse42): Removed.
14155 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14156 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14157
8b2b7715
RM
141582010-08-25 Roland McGrath <roland@redhat.com>
14159
14160 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14161 * sysdeps/x86_64/multiarch/varshift.c: New file.
14162 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14163 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14164 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14165 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14166
e73015f2
L
141672010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14168
14169 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14170 strlen-sse2 strlen-sse2-bsf.
14171 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14172 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14173 (__strlen_sse2): Removed.
14174 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14175 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14177 bit_Slow_BSF for Atom.
14178 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14179 (index_Slow_BSF): Define.
14180 (HAS_SLOW_BSF): Define.
14181
df24a73e
UD
141822010-08-25 Ulrich Drepper <drepper@redhat.com>
14183
14184 [BZ #10851]
14185 * resolv/res_init.c (__res_vinit): When no server address at all
14186 is given default to loopback.
14187
f2ac4868
RM
141882010-08-24 Roland McGrath <roland@redhat.com>
14189
09055553
RM
14190 * configure.in: Remove config-name.h generation.
14191 * configure: Regenerated.
14192 * config-name.in: File removed.
14193 * scripts/config-uname.sh: New file.
14194 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14195 ($(objdir)config-name.h): New target.
14196
f2ac4868
RM
14197 * sunrpc/rpc_parse.h: Avoid nested comment.
14198
73f27d5e
RH
141992010-08-24 Richard Henderson <rth@redhat.com>
14200 Ulrich Drepper <drepper@redhat.com>
14201 H.J. Lu <hongjiu.lu@intel.com>
14202
14203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14205 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14206 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14207 _mm_alignr_epi8 with _mm_loadu_si128.
14208 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14209 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14210 (__m128i_shift_right): Removed.
14211 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14212 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14213 * sysdeps/x86_64/multiarch/varshift.h: New file.
14214 * sysdeps/x86_64/multiarch/varshift.S: New file.
14215
84b9230c
MF
142162010-08-21 Mike Frysinger <vapier@gentoo.org>
14217
14218 * configure.in: Move assembler checks to before sysdep dir checking.
14219
9bbd0ddc
PB
142202010-08-20 Petr Baudis <pasky@suse.cz>
14221
14222 * LICENSES: Sync the sunrpc license.
14223
9da4bb31
UD
142242010-08-19 Ulrich Drepper <drepper@redhat.com>
14225
a7ab6ec8
UD
14226 * sunrpc/auth_des.c: Update copyright notice once again.
14227 * sunrpc/auth_none.c: Likewise.
14228 * sunrpc/auth_unix.c: Likewise.
14229 * sunrpc/authdes_prot.c: Likewise.
14230 * sunrpc/authuxprot.c: Likewise.
14231 * sunrpc/bindrsvprt.c: Likewise.
14232 * sunrpc/clnt_gen.c: Likewise.
14233 * sunrpc/clnt_perr.c: Likewise.
14234 * sunrpc/clnt_raw.c: Likewise.
14235 * sunrpc/clnt_simp.c: Likewise.
14236 * sunrpc/clnt_tcp.c: Likewise.
14237 * sunrpc/clnt_udp.c: Likewise.
14238 * sunrpc/clnt_unix.c: Likewise.
14239 * sunrpc/des_crypt.c: Likewise.
14240 * sunrpc/des_soft.c: Likewise.
14241 * sunrpc/get_myaddr.c: Likewise.
14242 * sunrpc/getrpcport.c: Likewise.
14243 * sunrpc/key_call.c: Likewise.
14244 * sunrpc/key_prot.c: Likewise.
14245 * sunrpc/openchild.c: Likewise.
14246 * sunrpc/pm_getmaps.c: Likewise.
14247 * sunrpc/pm_getport.c: Likewise.
14248 * sunrpc/pmap_clnt.c: Likewise.
14249 * sunrpc/pmap_prot.c: Likewise.
14250 * sunrpc/pmap_prot2.c: Likewise.
14251 * sunrpc/pmap_rmt.c: Likewise.
14252 * sunrpc/rpc/auth.h: Likewise.
14253 * sunrpc/rpc/auth_unix.h: Likewise.
14254 * sunrpc/rpc/clnt.h: Likewise.
14255 * sunrpc/rpc/des_crypt.h: Likewise.
14256 * sunrpc/rpc/key_prot.h: Likewise.
14257 * sunrpc/rpc/netdb.h: Likewise.
14258 * sunrpc/rpc/pmap_clnt.h: Likewise.
14259 * sunrpc/rpc/pmap_prot.h: Likewise.
14260 * sunrpc/rpc/pmap_rmt.h: Likewise.
14261 * sunrpc/rpc/rpc.h: Likewise.
14262 * sunrpc/rpc/rpc_des.h: Likewise.
14263 * sunrpc/rpc/rpc_msg.h: Likewise.
14264 * sunrpc/rpc/svc.h: Likewise.
14265 * sunrpc/rpc/svc_auth.h: Likewise.
14266 * sunrpc/rpc/types.h: Likewise.
14267 * sunrpc/rpc/xdr.h: Likewise.
14268 * sunrpc/rpc_clntout.c: Likewise.
14269 * sunrpc/rpc_cmsg.c: Likewise.
14270 * sunrpc/rpc_common.c: Likewise.
14271 * sunrpc/rpc_cout.c: Likewise.
14272 * sunrpc/rpc_dtable.c: Likewise.
14273 * sunrpc/rpc_hout.c: Likewise.
14274 * sunrpc/rpc_main.c: Likewise.
14275 * sunrpc/rpc_parse.c: Likewise.
14276 * sunrpc/rpc_parse.h: Likewise.
14277 * sunrpc/rpc_prot.c: Likewise.
14278 * sunrpc/rpc_sample.c: Likewise.
14279 * sunrpc/rpc_scan.c: Likewise.
14280 * sunrpc/rpc_scan.h: Likewise.
14281 * sunrpc/rpc_svcout.c: Likewise.
14282 * sunrpc/rpc_tblout.c: Likewise.
14283 * sunrpc/rpc_util.c: Likewise.
14284 * sunrpc/rpc_util.h: Likewise.
14285 * sunrpc/rpcinfo.c: Likewise.
14286 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14287 * sunrpc/rpcsvc/key_prot.x: Likewise.
14288 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14289 * sunrpc/rpcsvc/mount.x: Likewise.
14290 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14291 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14292 * sunrpc/rpcsvc/rex.x: Likewise.
14293 * sunrpc/rpcsvc/rstat.x: Likewise.
14294 * sunrpc/rpcsvc/rusers.x: Likewise.
14295 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14296 * sunrpc/rpcsvc/spray.x: Likewise.
14297 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14298 * sunrpc/rtime.c: Likewise.
14299 * sunrpc/svc.c: Likewise.
14300 * sunrpc/svc_auth.c: Likewise.
14301 * sunrpc/svc_authux.c: Likewise.
14302 * sunrpc/svc_raw.c: Likewise.
14303 * sunrpc/svc_run.c: Likewise.
14304 * sunrpc/svc_simple.c: Likewise.
14305 * sunrpc/svc_tcp.c: Likewise.
14306 * sunrpc/svc_udp.c: Likewise.
14307 * sunrpc/svc_unix.c: Likewise.
14308 * sunrpc/svcauth_des.c: Likewise.
14309 * sunrpc/xcrypt.c: Likewise.
14310 * sunrpc/xdr.c: Likewise.
14311 * sunrpc/xdr_array.c: Likewise.
14312 * sunrpc/xdr_float.c: Likewise.
14313 * sunrpc/xdr_mem.c: Likewise.
14314 * sunrpc/xdr_rec.c: Likewise.
14315 * sunrpc/xdr_ref.c: Likewise.
14316 * sunrpc/xdr_sizeof.c: Likewise.
14317 * sunrpc/xdr_stdio.c: Likewise.
14318
9da4bb31
UD
14319 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14320 handling.
14321
bdaa77bc
AS
143222010-08-19 Andreas Schwab <schwab@redhat.com>
14323
14324 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14325
fe2f79db
LM
143262010-08-19 Luis Machado <luisgpm@br.ibm.com>
14327
14328 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14329 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14330 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14331 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14332 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14333 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14334 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14335 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14336 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14337 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14338 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14339 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14340 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14341 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14342
b9b42ee0
AB
143432010-07-26 Anton Blanchard <anton@samba.org>
14344
14345 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14346 * malloc/arena.c (heap_trim): Likewise.
14347
1c06ba31
UD
143482010-08-16 Ulrich Drepper <drepper@redhat.com>
14349
14350 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14351 here. Not...
14352 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14353 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14354
f8392f40
L
143552010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14356
14357 * sysdeps/i386/elf/Makefile: New file.
14358
3162f12e
AS
143592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14360
14361 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14362 from fanotify_init.
14363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14364 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14365
28c90b2c
UD
143662010-08-15 Ulrich Drepper <drepper@redhat.com>
14367
14368 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14369 of strncasecmp_l.
1feccb6c 14370 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14371
ca6bb004
UD
143722010-08-14 Ulrich Drepper <drepper@redhat.com>
14373
e9f82e0d
UD
14374 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14375 strncase_l-nonascii.
14376 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14377 Add strncase_l-ssse3.
14378 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14379 * sysdeps/x86_64/strcmp.S: Likewise.
14380 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14381 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14382 * sysdeps/x86_64/strncase.S: New file.
14383 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14384 * sysdeps/x86_64/strncase_l.S: New file.
14385 * string/Makefile (strop-tests): Add strncasecmp.
14386 * string/test-strncasecmp.c: New file.
14387
14388 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14389 warning.
14390
ca6bb004
UD
14391 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14392 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14393
052fa7b3
AS
143942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14395
14396 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14397
962dba78
UD
143982010-08-12 Ulrich Drepper <drepper@redhat.com>
14399
14400 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14401 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14402 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14403
bebff237
AM
144042010-05-01 Alan Modra <amodra@gmail.com>
14405
14406 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14407 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14408 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14409 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14410 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14411 tidying. Don't tail-call __sigjmp_save for static lib.
14412 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14413 save location.
14414 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14415 (CALL_MCOUNT): Add eh info, and nop after bl.
14416 (TAIL_CALL_SYSCALL_ERROR): New macro.
14417 (PSEUDO_RET): Use it.
14418 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14419 Correct save location of integer regs and cr.
14420 (_dl_profile_resolve): Correct cr save location. Delete nops
14421 after bl when SHARED. Reduce cfi size a little by better
14422 placement of cfi directives.
14423 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14424 make a stack frame. Instead use parm save area as a temp.
14425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14426 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14428 Don't make a stack frame for parent, use parm save area.
14429 Increase child stack frame to 112 bytes. Don't save unused reg,
14430 and adjust reg usage. Set up cfi on error recovery and
14431 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14433 (__makecontext): Add dummy nop after jump to exit.
14434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14435 Use correct parm save area and cr save, reduce stack frame.
14436 Correct cfi for possible PSEUDO_RET frame setup.
14437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14438 Branch to local label emitted by PSEUDO_RET rather than
14439 __syscall_error.
14440
02637374
AS
144412010-08-12 Andreas Schwab <schwab@redhat.com>
14442
14443 [BZ #11904]
14444 * locale/programs/locale.c (print_assignment): New function.
14445 (show_locale_vars): Use it.
14446
c3e2f19b
UD
144472010-08-11 Ulrich Drepper <drepper@redhat.com>
14448
3cdaa6ad
UD
14449 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14450 field.
14451 (struct statfs64): Likewise.
14452 (_STATFS_F_FLAGS): Define.
14453 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14454 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14455 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14456 (ST_VALID): Define locally.
14457 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14458 __statvfs_getflags, use the provided value.
14459 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14460 __ASSUME_STATFS_F_FLAGS.
14461
754f7da3
UD
14462 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14463
10b3bedc
UD
14464 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14465 Add sys/fanotify.h.
14466 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14467 fanotify_mask for GLIBC_2.13.
14468 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14469 fanotify_init and fanotify_mark.
14470 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14471 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14472
c08fb0d7
UD
14473 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14474 Add prlimit.
14475 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14476 prlimit64 for GLIBC_2.13.
14477 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14478 prlimit64.
14479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14480 syscall.
14481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14482 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14483 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14484 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14485 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14486 add prlimit alias.
14487 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14488
15bac72b
UD
14489 [BZ #11903]
14490 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14491 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14492
c3e2f19b
UD
14493 * nss/Makefile: Add rules to build and run tst-nss-test1.
14494 * shlib-versions: Add entry for libnss_test1.
14495 * nss/nss_test1.c: New file.
14496 * nss/tst-nss-test1.c: New file.
14497
14498 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14499 (__nss_configure_lookup): Set appropriate entry in
14500 __nss_configure_lookup to true.
14501 * nss/nsswitch.h: Define enum with indeces of databases in
14502 databases and __nss_database_custom arrays. Declare
14503 __nss_database_custom.
14504 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14505 to avoid using nscd when custom rules are installed.
14506 * nss/getXXbyYY_r.c: Likewise.
14507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14508
14509 * nss/nss_files/files-parse.c: Whitespace fixes.
14510
f15ce4d8
UD
145112010-08-09 Ulrich Drepper <drepper@redhat.com>
14512
14513 [BZ #11883]
14514 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14515 * posix/fnmatch_loop.c: Likewise.
14516
d22e4cc9
AK
145172010-07-17 Andi Kleen <ak@linux.intel.com>
14518
14519 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14520 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14521 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14522 * Versions.def [GLIBC_2.13]: Add.
14523
805bc17d
UD
145242010-08-06 Ulrich Drepper <drepper@redhat.com>
14525
14526 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14527 Also fail if tpwd after pwuid call is NULL.
14528
5a42321d
ST
145292010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14530
14531 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14532 when converting to ms.
14533
fd3ebeda
ST
145342010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14535
14536 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14537 EOPNOTSUPP errors with ENOTTY.
14538 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14539 EOPNOTSUPP errors with ENOTTY.
14540
73507d3a
UD
145412010-07-31 Ulrich Drepper <drepper@redhat.com>
14542
14543 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14544 Add strcasecmp_l-ssse3.
14545 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14546 strcasecmp.
14547 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14548 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14549 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14550
fe36dd02
UD
145512010-07-30 Ulrich Drepper <drepper@redhat.com>
14552
66f6765a
UD
14553 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14554
42e08a54
UD
14555 * string/Makefile (strop-tests): Add strcasecmp.
14556 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14557 strcasecmp_l-nonascii.
14558 (gen-as-const-headers): Add locale-defines.sym.
14559 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14560 * sysdeps/x86_64/strcasecmp.S: New file.
14561 * sysdeps/x86_64/strcasecmp_l.S: New file.
14562 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14563 * sysdeps/x86_64/locale-defines.sym: New file.
14564 * string/test-strcasecmp.c: New file.
14565
fe36dd02
UD
14566 * string/test-strcasestr.c: Test both ends of the range of characters.
14567 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14568
48cbc0d6
RM
145692010-07-29 Roland McGrath <roland@redhat.com>
14570
76e6d6bc 14571 [BZ #11856]
48cbc0d6
RM
14572 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14573
880113d9
UD
145742010-07-27 Ulrich Drepper <drepper@redhat.com>
14575
14576 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14577 for ld.so.
14578
deb9cabb
AS
145792010-07-27 Andreas Schwab <schwab@redhat.com>
14580
14581 * manual/memory.texi (Malloc Tunable Parameters): Document
14582 M_PERTURB.
14583
1c7570ff
RM
145842010-07-26 Roland McGrath <roland@redhat.com>
14585
14586 [BZ #11840]
14587 * configure.in (-fgnu89-inline check): Set and substitute
14588 gnu89_inline, not libc_cv_gnu89_inline.
14589 * configure: Regenerated.
14590 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14591
24fb0f88
UD
145922010-07-26 Ulrich Drepper <drepper@redhat.com>
14593
14594 * string/test-strnlen.c: New file.
14595 * string/Makefile (strop-tests): Add strnlen.
14596 * string/tester.c (test_strnlen): Add a few more test cases.
14597 * string/tst-strlen.c: Better error reporting.
14598
14599 * sysdeps/x86_64/strnlen.S: New file.
14600
8e96b93a
UD
146012010-07-24 Ulrich Drepper <drepper@redhat.com>
14602
14603 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14604 lower-latency instructions.
14605
dbc676d4
UD
146062010-07-23 Ulrich Drepper <drepper@redhat.com>
14607
14608 * string/test-strcasestr.c: New file.
14609 * string/test-strstr.c: New file.
14610 * string/Makefile (strop-tests): Add strstr and strcasestr.
14611 * string/str-two-way.h: Don't undefine MAX.
14612 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14613
f6a31e0e
AS
146142010-07-21 Andreas Schwab <schwab@redhat.com>
14615
14616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14617 strcasestr-nonascii.
14618 (CFLAGS-strcasestr-nonascii.c): Define.
14619 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14620 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14621 Remove unused attribute.
14622
5dbc3b6c
RM
146232010-07-20 Roland McGrath <roland@redhat.com>
14624
14625 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14626 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14627 ld.so.cache was broken. With it, there is no way to disable dsocaps
14628 like LD_HWCAP_MASK can disable hwcaps.
14629
23d101d8
EPM
146302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14631
14632 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14633
cc9f2e47
UD
146342010-07-16 Ulrich Drepper <drepper@redhat.com>
14635
14636 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14637 call in strcasestr.
14638 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14639 __strcasestr_sse42_nonascii.
14640 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14641 strcasestr-nonascii.c.
14642 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14643
77c1b069
LM
146442010-06-15 Luis Machado <luisgpm@br.ibm.com>
14645
14646 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14647 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14648 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14649 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14650
440566c3
UD
146512010-07-09 Ulrich Drepper <drepper@redhat.com>
14652
14653 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14654 fcntl.
14655
5be9d05d
AS
146562010-07-06 Andreas Schwab <schwab@redhat.com>
14657
c30b7ee2 14658 [BZ #11577]
5be9d05d
AS
14659 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14660 dl_signal_cerror.
14661
8a492a67
UD
146622010-07-06 Ulrich Drepper <drepper@redhat.com>
14663
14664 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14665 _PC_PIPE_BUF using F_GETPIPE_SZ.
14666
713df3d5
RM
146672010-07-05 Roland McGrath <roland@redhat.com>
14668
14669 * manual/arith.texi (Rounding Functions): Fix rint description
14670 implicit in round description.
14671
702e8f14
UD
146722010-07-02 Ulrich Drepper <drepper@redhat.com>
14673
14674 * elf/Makefile: Fix linking for a few tests to make recent linker
14675 happy.
14676
52ed8be9
AS
146772010-06-30 Andreas Schwab <schwab@redhat.com>
14678
14679 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14680 $(common-objpfx)libc_nonshared.a.
14681
f47c9a11
LM
146822010-06-21 Luis Machado <luisgpm@br.ibm.com>
14683
14684 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14685 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14686 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14687 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14688 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14689 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14690 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14691 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14706 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14707 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14708 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14709 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14710 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14711 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14712 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14713 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14714 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14715 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14716 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14717 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14732
6fb8cbcb
L
147332010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14734
14735 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14736 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14737 * string/memmove.c (memmove): Renamed to ...
14738 (MEMMOVE): ...this. Default to memmove.
14739 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14740 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14741 (END_CHK): Define.
14742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14743 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14744 mempcpy-ssse3-back memmove-ssse3-back.
14745 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14746 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14747 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14748 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14749 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14750 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14751 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14752 * sysdeps/x86_64/multiarch/memmove.c: New file.
14753 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14754 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14755 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14756 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14757 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14758 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14759 Define.
14760 (index_Fast_Copy_Backward): Define.
14761 (HAS_ARCH_FEATURE): Define.
14762 (HAS_FAST_REP_STRING): Define.
14763 (HAS_FAST_COPY_BACKWARD): Define.
14764
4e733bac 147652010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14766
14767 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14768 Restore proper fallback handling.
14769
63c4ed22
UD
147702010-06-19 Ulrich Drepper <drepper@redhat.com>
14771
ac2b484c
UD
14772 [BZ #11701]
14773 * posix/group_member.c (__group_member): Correct checking loop.
14774
63c4ed22
UD
14775 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14776 OOM in getpwuid_r correctly. Return error number when the caller
14777 should return, otherwise -1.
14778 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14779 call returning > 0 value.
14780 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14781
765ade4b
AS
147822010-06-07 Andreas Schwab <schwab@redhat.com>
14783
14784 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14785 libc_nonshared.a from targets in modules-names.
14786
80da2e09
KS
147872010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14788
14789 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14790 requires it.
14791
158db122
LM
147922010-06-10 Luis Machado <luisgpm@br.ibm.com>
14793
14794 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14795 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14796 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14797 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14798
caa78cf8
AS
147992010-06-02 Andreas Schwab <schwab@redhat.com>
14800
14801 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14802
b2ef2c01
UD
148032010-06-14 Ulrich Drepper <drepper@redhat.com>
14804
14805 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14806 and F_GETPIPE_SZ.
14807 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14810 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14811 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14812 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14813
fbd643b6
RM
148142010-06-14 Roland McGrath <roland@redhat.com>
14815
14816 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14817
f32f2869
JJ
148182010-06-07 Jakub Jelinek <jakub@redhat.com>
14819
14820 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14821 __REDIRECT followed by __THROW.
14822 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14823 * posix/getopt.h (getopt): Likewise.
14824
2a50c078
EPM
148252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14826
14827 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14828 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14829 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14830 in AT_FLAGS.
14831 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14832 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14833
eb5ad2eb
LM
148342010-05-28 Luis Machado <luisgpm@br.ibm.com>
14835
14836 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14837
3c88fe1e
L
148382010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14839
14840 [BZ #11640]
14841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14842 Properly check family and model.
14843
d2f73151
TY
148442010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14845
14846 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14847
ebd2e13d
LM
148482010-05-24 Luis Machado <luisgpm@br.ibm.com>
14849
14850 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14851
b32b8b45
UD
148522010-05-21 Ulrich Drepper <drepper@redhat.com>
14853
14854 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14855 symbol reference.
14856
9acbe24d
AS
148572010-05-19 Andreas Schwab <schwab@redhat.com>
14858
14859 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14860 symbol reference.
14861
f0ccf6ea
AS
148622010-05-21 Andreas Schwab <schwab@redhat.com>
14863
3d04ff3a
AS
14864 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14865 and internal_recvmmsg.
14866 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14867 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14868 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14869 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14870
f0ccf6ea
AS
14871 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14872 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14873 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14874
5b08ac57
AS
148752010-05-20 Andreas Schwab <schwab@redhat.com>
14876
14877 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14878
4828935d
LM
148792010-05-17 Luis Machado <luisgpm@br.ibm.com>
14880
14881 POWER7 optimizations.
14882 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14883 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14884
373d545e
UD
148852010-05-19 Ulrich Drepper <drepper@redhat.com>
14886
14887 * version.h: Update for 2.13 development version.
14888
21a2b1ae
AS
148892010-05-12 Andrew Stubbs <ams@codesourcery.com>
14890
14891 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14892 exceptions. Return 0.
14893
3f7dcb2b
RM
148942010-05-07 Roland McGrath <roland@redhat.com>
14895
14896 * elf/ldconfig.c (main): Add a const.
14897
5f24d53a 148982010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14899
a160f8d8
UD
14900 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14901 (args_options): Add no-idn option.
14902 (ahosts_keys_int): Add idn_flags to ai_flags.
14903 (parse_option): Handle 'i' option to clear idn_flags.
14904
5f24d53a
UD
14905 * malloc/malloc.c (_int_free): Possible race in the most recently
14906 added check. Only act on the data if no current modification
14907 happened.
265bb1ce
UD
14908
14909See ChangeLog.17 for earlier changes.