]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update powerpc ULPs for ccos, csin, ccosh, csinh tests.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a6f1845d
AZ
12012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4
cbcbe830
DM
52012-05-19 David S. Miller <davem@davemloft.net>
6
7 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8
e0b16cc2
JM
92012-05-19 Joseph Myers <joseph@codesourcery.com>
10
11 [BZ #14123]
12 * math/s_ccosh.c: Include <float.h>
13 (__ccosh): Avoid internal overflow calculating sinh and cosh
14 values before multiplying by sin and cos values.
15 * math/s_ccoshf.c: Likewise.
16 * math/s_ccoshl.c: Likewise.
17 * math/s_csin.c: Likewise.
18 * math/s_csinf.c: Likewise.
19 * math/s_csinl.c: Likewise.
20 * math/s_csinh.c: Likewise.
21 * math/s_csinhf.c: Likewise.
22 * math/s_csinhl.c: Likewise.
23 * math/libm-test.inc (ccos_test): Add more tests.
24 (ccosh_test): Likewise.
25 (csin_test): Likewise.
26 (csinh_test): Likewise.
27 * sysdeps/i386/fpu/libm-test-ulps: Update.
28 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29
6ad13e08
L
302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31
f66f0ce8
L
32 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34
6ad13e08
L
35 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36
b1d072a7
JM
372012-05-19 Joseph Myers <joseph@codesourcery.com>
38
39 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
51 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
52 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
53 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
54 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
59 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
67 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
69 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70
9eae47cb
AJ
712012-05-18 Andreas Jaeger <aj@suse.de>
72
73 * csu/.gitignore: Delete.
74
bb07f69f
L
752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
76
77 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
78 (timex): Use __syscall_slong_t.
79
e6bdb741
AJ
802012-05-18 Andreas Jaeger <aj@suse.de>
81 Carlos O'Donell <carlos_odonell@mentor.com>
82
83 * manual/install.texi (Configuring and compiling): Update
84 description about files modified in the source directory.
85 * INSTALL: Regenerated.
86
1b74487e
L
872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
88
89 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
90 value. Use "or" to set return value to -1.
91 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
92 negate return value.
93
a88b64b9
TMQMF
942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
95
96 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
97 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
98 failure if the compiler has Graphite support disabled.
99 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
100 Likewise.
101 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
102 CFLAGS-memmove.c): Likewise.
103 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
104 Likewise.
105
3707636e
L
1062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
107
610b8622
L
108 * sysdeps/x86_64/x32/_itoa.h: New file.
109
7cd195df
L
110 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
111 getdents system call only if kernel and user dirents have the
112 same d_ino and d_off.
113
94b07d20
L
114 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
115 LLONG_MAX != LONG_MAX.
116 (_itoa_word): Use _ITOA_WORD_TYPE on value.
117 (_fitoa_word): Likewise.
118
18298070
L
119 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
120 years.
121 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
122 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
123 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
124
553c7ea4
L
125 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
126 include <bits/wordsize.h>. Check __x86_64__ instead of
127 __WORDSIZE.
128 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
129 if __x86_64__ is defined. Use anonymous union on fpstate.
130
3707636e
L
131 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
132 anonymous union.
133
b53ef01a
AS
1342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
135
37fb1dc0
AS
136 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
137 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
138 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
139 Refer to _rtld_local_ro instead of _rtld_global_ro.
140 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
141 Likewise.
142 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
143 Likewise.
144 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
145 Likewise.
146 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
147 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
148 of _rtld_global, and rtld_progname instead of _dl_argv[0].
149
b53ef01a
AS
150 * sysdeps/powerpc/powerpc32/dl-machine.c
151 (__elf_machine_runtime_setup) [PROF]: Don't reference
152 _dl_prof_resolve.
153
7a185db2
AJ
1542012-05-18 Andreas Jaeger <aj@suse.de>
155
156 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
157 function only available for GCCs before 3.4 since GCC 3.4
158 introduced a builtin.
159 (lrint): Likewise.
160 (llrintf): Likewise.
161 (llrint): Likewise.
162 (fmaxf): Likewise.
163 (fmax): Likewise.
164 (fminf): Likewise.
165 (fmin): Likewise.
166 (rint): Likewise.
167 (rintf): Likewise.
168 (nearbyint): Likewise.
169 (nearbyintf): Likewise.
170 (ceil): Likewise.
171 (ceilf): Likewise.
172 (floor): Likewise.
173 (floorf): Likewise.
174
3e5aef87
L
1752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
176
428bd707
L
177 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
178 on both fields and cast pointer to __syscall_ulong_t.
179
3e5aef87
L
180 * bits/types.h (__fsword_t): New type.
181 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
182 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
184 (__FSWORD_T_TYPE): Likewise.
185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
186 (__FSWORD_T_TYPE): Likewise.
187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
188 (__FSWORD_T_TYPE): Likewise.
189 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
190 (__FSWORD_T_TYPE): Likewise.
191 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
192 __SWORD_TYPE with __fsword_t.
193 (statfs64): Likewise.
194
1ba7c3dc
DM
1952012-05-17 David S. Miller <davem@davemloft.net>
196
197 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
198
59910343
AJ
1992012-05-17 Andreas Jaeger <aj@suse.de>
200
201 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
202 warning.
203
2e4c1e9e
L
2042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
205
206 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
207
de7f5ce7
AJ
2082012-05-17 Andreas Jaeger <aj@suse.de>
209
210 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
211 when it is used.
212
286abc3d
CM
2132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
214
215 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
216
477cc68e
L
2172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
218
219 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
220 * sysdeps/x86_64/tst-mallocalign1.c: New file.
221
1a0994f5
CD
2222012-05-17 Andreas Jaeger <aj@suse.de>
223 Carlos O'Donell <carlos_odonell@mentor.com>
224
225 [BZ #14059]
226 * sysdeps/x86_64/multiarch/init-arch.h
227 (bit_YMM_Usable): Rename to...
228 (bit_AVX_Usable): ... this.
229 (bit_FMA4_Usable): New macro.
230 (bit_XMM_state): New macro.
231 (bit_YMM_state): New macro.
232 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
233 [__ASSEMBLER__] (index_AVX_Usable): ... this.
234 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
235 (CPUID_OSXSAVE): New macro.
236 (CPUID_AVX): New macro.
237 (CPUID_FMA4): New macro.
238 (index_YMM_Usable): Rename to...
239 (index_AVX_Usable): ... this.
240 (HAS_AVX): Use HAS_ARCH_FEATURE.
241 (HAS_FMA4): Likewise.
242 (HAS_YMM_USABLE): Remove.
243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
244 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
245 are present.
246 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
247 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
248 * sysdeps/x86_64/multiarch/Makefile: Likewise.
249 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
250 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
251
0af797de
CM
2522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
253
254 * math/libm-test.c: Support platforms without multiple rounding modes.
255 * math/bug-nextafter.c: Support platforms without FP exceptions.
256 * math/bug-nexttoward.c: Likewise.
257 * math/test-fenv.c: Likewise.
258 * math/test-misc.c: Likewise.
259 * stdlib/bug-getcontext.c: Likewise.
260
e39745ff
AJ
2612012-05-17 Andreas Jaeger <aj@suse.de>
262
263 * manual/examples/search.c (critter_cmp): Change signature to
264 avoid warnings.
265 * manual/string.texi (Collation Functions): Likewise.
266
48970aba
L
2672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
268
269 * bits/types.h: Fold copyright years.
270 * bits/typesizes.h: Likewise.
271 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
275 * time/time.h: Likewise.
276
bedee953
PP
2772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
278
279 [BZ #208]
280 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
281 in instead of returning them. Return void.
282 (__libc_mallinfo): Accumulate over all arenas.
283 (__malloc_stats): Adjust for change in int_mallinfo interface.
284
61653dfb
RM
2852012-05-16 Roland McGrath <roland@hack.frob.com>
286
30b99d79
RM
287 [BZ #10375]
288 * configure.in (NM): Add AC_CHECK_TOOL for it.
289 (libc_extra_cflags): New substituted variable.
290 Check for -fstack-protector being used implicitly.
291 * configure: Regenerated.
292 * config.make.in (config-extra-cflags): New variable,
293 gets @libc_extra_cflags@.
294 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
295
61653dfb
RM
296 [BZ #10375]
297 * configure.in: Check for _FORTIFY_SOURCE being predefined.
298 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
299 * configure: Regenerated.
300 * config.make.in (CPPUNDEFS): New substituted variable.
301 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
302 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
303 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
304
661768bb
L
3052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
306
307 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
308 (mq_attr): Use __syscall_slong_t.
309
d4261567
L
3102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
311
312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
313 Check __x86_64__ instead of __WORDSIZE.
314 (_STAT_VER_LINUX): Likewise.
315 (stat): Check __x86_64__ instead of __WORDSIZE. Use
316 __syscall_ulong_t and __syscall_slong_t.
317 (stat64): Likewise.
318
cf3ff365
L
3192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
320
321 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
322
76cf3e4d
L
3232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
324
325 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
326
a637753a
L
3272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
328
329 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
330 __syscall_ulong_t.
331
d5e05119
L
332 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
333 include <bits/wordsize.h>. Check __x86_64__ instead of
334 __WORDSIZE.
335 (greg_t): Use "__extension__ long long int" if __x86_64__ is
336 defined.
337 (mcontext_t): Replace "unsigned long" with "unsigned long long".
338
f62ee380
L
339 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
340 include <bits/wordsize.h>. Check __x86_64__ instead of
341 __WORDSIZE.
342 (user_regs_struct): Use "__extension__ unsigned long long"
343 instead of "unsigned long" if __x86_64__ is defined.
344 (user): Likewise. Pad after pointer field if __ILP32__ is
345 defined.
346
4e124ced
JM
3472012-05-16 Joseph Myers <joseph@codesourcery.com>
348
6a3951a0
JM
349 * configure.in (makeinfo): Require version 4.5 or later. Allow
350 versions 5 to 9.
351 * configure: Regenerated.
352 * manual/install.texi (texinfo): Increase version requirement to
353 4.5 or later.
354 * INSTALL: Regenerated.
355
4e124ced
JM
356 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
357
953ca31a
L
3582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
359
360 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
361
617aca05
L
362 * sysdeps/x86_64/x32/ffs.c: New file.
363
5762f7ae
L
364 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
365 __syscall_ulong_t.
366 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
367 defined. Use __syscall_ulong_t.
368 (shminfo): Use __syscall_ulong_t.
369 (shm_info): Likewise.
370
a26b6856
L
371 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
372 __syscall_ulong_t.
373
cb2b9ef7
L
374 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
375 <bits/wordsize.h>.
376 (msgqnum_t): Use __syscall_ulong_t.
377 (msglen_t): Likewise.
378 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
379 __syscall_ulong_t.
380
34683bb0
L
381 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
382 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
383
84a68786
L
384 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
385
48baa5f1
L
386 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
387 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
388
180be88b
L
389 * sysvipc/sys/msg.h (msgbuf): Replace long int with
390 __syscall_slong_t.
391
5e90c8ad
L
392 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
393 include <bits/wordsize.h>. Check __x86_64__ instead of
394 __WORDSIZE.
395
23dfb58b
L
396 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
397 "unsigned long long int" if __x86_64__ is defined.
398 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
399
ce5d54b0
L
400 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
401 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
402 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
403
13dc9eac
L
404 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
405 <stdint.h>.
406 (GET_PC): Cast to uintptr_t first.
407 (GET_FRAME): Likewise.
408 (GET_STACK): Likewise.
409
a7895d15
L
410 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
411 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
412 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
413 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
414 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
415 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
416 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
417 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
418 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
419 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
420 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
421 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
422 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
423 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
424 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
425 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
426 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
427 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
428 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
429 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
430 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
431 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
432 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
433 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
434 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
435 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
436 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
437 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
438 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
439
656416c9
AS
4402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
441
5bd66283
AS
442 * Makerules (+depfiles): Also collect depfiles from .oS in
443 $(extra-objs).
444 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
445 .oS, $(libnldbl-routines)).
446
656416c9
AS
447 * Makerules (native-compile-mkdep-flags): Define.
448 * sunrpc/Makefile (extra-objs): Add $(addprefix
449 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
450 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
451 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
452 calling $(make-target-directory).
453
a46f2169
L
4542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
455
456 * bits/types.h (__snseconds_t): Removed.
457 * time/time.h (struct timespec): Replace __snseconds_t with
458 __syscall_slong_t.
459 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
460 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
461 Likewise.
462 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
463 (__SNSECONDS_T_TYPE): Likewise.
464 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
465 (__SNSECONDS_T_TYPE): Likewise.
466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
467 (__SNSECONDS_T_TYPE): Likewise.
468
6af6528b
L
4692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
470
471 * sysdeps/mach/hurd/bits/typesizes.h
472 (__SYSCALL_SLONG_TYPE): New macro.
473 (__SYSCALL_ULONG_TYPE): Likewise.
474
de986b56
L
4752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
476
477 * bits/types.h (__syscall_slong_t): New type.
478 (__syscall_ulong_t): Likewise.
479
480 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
481 (__SYSCALL_ULONG_TYPE): Likewise.
482 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
483 (__SYSCALL_SLONG_TYPE): Likewise.
484 (__SYSCALL_ULONG_TYPE): Likewise.
485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
486 (__SYSCALL_SLONG_TYPE): Likewise.
487 (__SYSCALL_ULONG_TYPE): Likewise.
488 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
489 (__SYSCALL_SLONG_TYPE): Likewise.
490 (__SYSCALL_ULONG_TYPE): Likewise.
491
85736dc7
L
4922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
493
494 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
495 Add sigaltstack-offsets.sym.
496 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
497 <sigaltstack-offsets.h>.
498 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
499 longjmp_msg pointer.
500 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
501 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
502 signal stack.
503 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
504
cc03b296
JM
5052012-05-15 Joseph Myers <joseph@codesourcery.com>
506
a9538892
JM
507 * elf/stackguard-macros.h: Remove file.
508 * sysdeps/generic/stackguard-macros.h: New file.
509 * sysdeps/i386/stackguard-macros.h: Likewise.
510 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
511 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
512 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
513 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
514 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
515 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
516 * sysdeps/x86_64/stackguard-macros.h: Likewise.
517 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
518 <elf/stackguard-macros.h>.
519
cc03b296
JM
520 [BZ #14109]
521 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
522 __aligned__ in attribute.
523 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
524 (gregset_t): Likewise.
525
93171016
L
5262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
527
528 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
529 * sysdeps/x86_64/64/Implies-after: Here. New file.
530 * sysdeps/x86_64/x32/Implies-after: New file.
531
d86813a0
L
5322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
533
534 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
535 and access return value for _dl_profile_fixup. Use R10_LP to
536 load frame size.
537
2953ec75
L
5382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
539
540 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
541
3b550e9e
L
5422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
543
544 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
545 * sysdeps/x86_64/x32/sysdep.h: New file.
546
eda41706
L
5472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
548
549 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
550 * sysdeps/x86_64/setjmp.S: Likewise.
551
9ea01d93
AZ
5522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
553
554 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
555 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
556 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
557 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
558 remove unused global constant.
559
02a91938
CM
5602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
561
562 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
563 include of <not-cancel.h>.
564
6540185f
RM
5652012-05-15 Roland McGrath <roland@hack.frob.com>
566
567 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
568
509072a0
AJ
5692012-05-15 Jeff Law <law@redhat.com>
570 Andreas Jaeger <aj@suse.de>
571
572 [BZ #13594]
573 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
574 out from...
575 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
576 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
577 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
578 code changing __hst_map_handle.map.
579
ba75122d
RM
5802012-05-15 Roland McGrath <roland@hack.frob.com>
581
582 * configure.in (sysnames): Look for Implies-before and Implies-after
583 files.
584 * configure: Regenerated.
585
890d8bd8
L
5862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
587
588 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
589 8-byte data alignment with LP_SIZE alignment.
590
f6ee6623
L
5912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
592
593 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
594 into R10_LP.
595
ea2626f6
L
5962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
597
598 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
599
085f715e
L
6002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
601
602 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
603 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
604 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
605 Likewise.
606 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
607
be8498fc
L
6082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
609
610 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
611 (stackinfo_sub_sp): Likewise.
612
70bc83b9
L
6132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
614
615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
616 RAX_LP.
617
9bc0b730
L
6182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
619
620 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
621 into R*_LP.
622
6d2850e7
L
6232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
624
625 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
626 sizes into R*_LP.
627
3cb84561
L
6282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
629
630 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
631
54e2ed81
L
6322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
633
634 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
635 into R11_LP and load __x86_64_shared_cache_size_half into
636 R8_LP.
637
8a17f349
L
6382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
639
640 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
641 R8_LP.
642
777b1eea
AZ
6432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
644
645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
646 logb for POWER7.
647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
648 logbf for POWER7.
649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
650 logbl for POWER7.
651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
652 powerpc32/power7/fpu/s_logb.c via #include.
653 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
654 powerpc32/power7/fpu/s_logbf.c via #include.
655 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
656 powerpc32/power7/fpu/s_logbl.c via #include.
657
d20d4ac2
JM
6582012-05-15 Joseph Myers <joseph@codesourcery.com>
659
660 * README.libm: Remove file.
661
6cdef1ab
L
6622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
663
664 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
665 count for x32. Use R*_LP and omit operand-size suffix.
666
0b254d8f
L
6672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
668
669 * shlib-versions: Move x86_64-.*-linux.* entries to ...
670 * sysdeps/x86_64/64/shlib-versions: Here. New file.
671 * sysdeps/x86_64/x32/shlib-versions: New file.
672
ceb809dc
RM
6732012-05-14 Roland McGrath <roland@hack.frob.com>
674
675 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
676 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
677 Use _dl_fatal_printf instead.
678
37f1abd4
JM
6792012-05-14 Joseph Myers <joseph@codesourcery.com>
680
681 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
682 set if not set by the user. Do not allow for being unset.
683 * sysdeps/unix/sysv/linux/configure: Regenerated.
684
11de3a33
L
6852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
686
687 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
688 the `q' suffix from lea and replace .quad with ASM_ADDR.
689
e02f153a
L
6902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
691
692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
693 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
694 instead of $17.
695 (PTR_DEMANGLE): Likewise.
696
520ae0fd
L
6972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
698
699 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
700 (LP_OP): Likewise.
701 (ASM_ADDR): Likewise.
702 (RAX_LP): Likewise.
703 (RBP_LP): Likewise.
704 (RBX_LP): Likewise.
705 (RCX_LP): Likewise.
706 (RDI_LP): Likewise.
707 (RSI_LP): Likewise.
708 (RSP_LP): Likewise.
709 (R8_LP): Likewise.
710 (R9_LP): Likewise.
711 (R10_LP): Likewise.
712 (R10_LP): Likewise.
713 (R11_LP): Likewise.
714 (R12_LP): Likewise.
715 (R13_LP): Likewise.
716 (R14_LP): Likewise.
717 (R15_LP): Likewise.
718
b985be81
L
7192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
720
721 * sysdeps/x86_64/x32/dl-machine.h: New file.
722
6a4888ff
AJ
7232012-05-14 Andreas Jaeger <aj@suse.de>
724
725 * manual/Makefile (subdir): Remove export of subdir.
726 (all): Remove target.
727 (.PHONY): Remove all from list.
728 (mkinstalldirs): Remove.
729 (.PHONY): Remove installdirs from list.
730 ($(inst_infodir)/libc.info): Use make-target-directory.
731 (installdirs): Remove.
732 (subdir_%): Remove.
733 (glibc-targets): Remove.
734 (lib): Remove.
735 (stubs): Remove.
736 ($(objpfx)stubs ../po/manual.pot): Remove.
737 ($(objpfx)stamp%): Remove.
738 (make-target-directory): Remove.
739 (subdir_install): Remove.
740 (routines): Remove.
741 (aux): Remove.
742 (sources): Remove.
743 (objects): Remove.
744 (headers): Remove.
745
746 [BZ #13750]
747 * manual/.gitignore: Remove, it's not needed anymore.
748 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
749 all files in it.
750 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
751 directory.
752 (texis): Renamed to $(objpfx)texis.
753 (texis-path): New, contains path to generated files.
754 (chapters.%): Use texis-path for complete path, add extra argument
755 libc-texinfo.sh.
756 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
757 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
758 (summary,texi, stamp-summary): Use complete path of
759 files. Generate files in build dir.
760 (dir-add.texi): Build in build dir.
761 (libm-err.texi,stamp-libm-err): Likewise.
762 (version.texi, stamp-version): Likewise.
763 (.%c.texi): Likewise.
764 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
765 (mostlyclean): Remove target.
766 (realclean): Remove target.
767 (generated): Add new variable with contents from mostlyclean and
768 realclean, remove entries duplicated in common-mostlyclean, add
769 stamp-libm-err and stamp-version.
770 (generated-dirs): Add libc directory.
771 ($(inst_infodir)/libc.info): Install files from build dir.
772
773 * manual/install.texi (Configuring and compiling): Adjust since
774 the info files are not part of the tar ball anymore.
775
7ac77294
AJ
7762012-05-14 Andreas Jaeger <aj@suse.de>
777
778 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
779 variable.
780
ffb7875d
JM
7812012-05-14 Joseph Myers <joseph@codesourcery.com>
782
783 [BZ #13717]
784 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
785 to 2.2.0 where earlier.
786 * sysdeps/unix/sysv/linux/configure: Regenerated.
787 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
788 Remove conditional code.
789 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
790 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
791 Remove conditional code.
792 [!__NR_lchown]: Likewise.
793 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
794 [__NR_lchown]: Likewise.
795 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
796 comment referencing __ASSUME_LCHOWN_SYSCALL.
797 * sysdeps/unix/sysv/linux/i386/sigaction.c
798 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
799 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
800 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
801 Remove conditional code.
802 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
803 (__protocol_available): Remove #if 0 code.
804 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
805 conditional code.
806 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
807 * sysdeps/unix/sysv/linux/kernel-features.h
808 (__ASSUME_GETCWD_SYSCALL): Don't define.
809 (__ASSUME_REALTIME_SIGNALS): Likewise.
810 (__ASSUME_PREAD_SYSCALL): Likewise.
811 (__ASSUME_PWRITE_SYSCALL): Likewise.
812 (__ASSUME_POLL_SYSCALL): Likewise.
813 (__ASSUME_LCHOWN_SYSCALL): Likewise.
814 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
815 non-SPARC.
816 (__ASSUME_SIOCGIFNAME): Don't define.
817 (__ASSUME_MSG_NOSIGNAL): Likewise.
818 (__ASSUME_SENDFILE): Define unconditionally.
819 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
820 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
821 conditional code.
822 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
823 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
824 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
825 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
826 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
827 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
828 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
830 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
833 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
834 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
836 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
839 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
840 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
842 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
845 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
846 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
851 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
852 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
853 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
854 Remove conditional code.
855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
856 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
857 Remove conditional code.
858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
859 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
860 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
861 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
862 Remove conditional code.
863 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
864 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
865 Remove conditional code.
866 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
867 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
868 Remove conditional code.
869 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
870 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
871 Remove conditional code.
872 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
873 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
874 Remove conditional code.
875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
876 * sysdeps/unix/sysv/linux/sh/pwrite64.c
877 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
878 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
879 * sysdeps/unix/sysv/linux/sigaction.c
880 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
881 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
882 * sysdeps/unix/sysv/linux/sigpending.c
883 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
884 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
885 * sysdeps/unix/sysv/linux/sigprocmask.c
886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
888 * sysdeps/unix/sysv/linux/sigsuspend.c
889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
891 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
892 (__libc_missing_rt_sigs): Remove.
893 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
894 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
895 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
896 Remove conditional code.
897 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
898 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
899 return 1.
900 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
901 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
902 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
903 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
904
1bfb7291
AJ
9052012-05-14 Andreas Jaeger <aj@suse.de>
906
caae5a81
AJ
907 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
908 it's not used in glibc.
909 (__coshm1): Likewise.
910 (__acosh1p): Likewise.
911 (__sgn): Likewise.
912
1bfb7291
AJ
913 * manual/string.texi (Copying and Concatenation): Add missing
914 variable in concat example.
915 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
916
c044d724
L
9172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
918
144c5467 919 [BZ #14103]
c044d724
L
920 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
921 __builtin_clzl with __builtin_clzll.
922
2523c62b
L
9232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
924
925 [BZ #14104]
926 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
927 libc_freeres_ptr.
928
d7bb4c42
LD
9292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
930
931 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
932 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
933 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
934 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
935
9dc4e1fb
MF
9362012-05-14 Mike Frysinger <vapier@gentoo.org>
937
938 * NEWS: Update ia64 info.
939
c7df0112
AS
9402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
941
942 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
943 used as bcopy.
944
dc70356c
TS
9452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
946
947 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
948 * sysdeps/unix/syscalls.list (dup3): Likewise.
949 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
950 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
951
9fb1a21f
L
9522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
953
954 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
955 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
956
4822a2a5
L
9572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
958
959 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
960 thread pointer.
961 (TLS_IE): Use mov/add instead of movq/addq to load thread
962 pointer.
963 (TLS_GD_PREFIX): New.
964 (TLS_GD): Use it.
965
842b81d6
DM
9662012-05-11 David S. Miller <davem@davemloft.net>
967
968 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
969 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
970 (_FPU_SETCW): Likewise.
971
1cf463cd
L
9722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
973
974 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
975 is 32-byte aligned.
976
60cc4a18
AS
9772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
978
979 [BZ #11837]
980 * iconvdata/gb18030.c: Update tables.
981 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
982 characters specially.
983 (BODY for TO_LOOP): Add encoding of missing ranges.
984
febb44a4
TS
9852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
986
987 [BZ #13673]
988 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
989 * sysdeps/mach/hurd/dup3.c: Likewise.
990 * sysdeps/mach/hurd/readlinkat.c: Likewise.
991 * sysdeps/powerpc/memmove.c:: Likewise.
992
0a10fb9e
L
9932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
994
995 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
996 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
997
df8a552f
L
9982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
999
1000 * elf/elf.h (R_X86_64_RELATIVE64): New.
1001 (R_X86_64_NUM): Updated.
1002 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1003 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1004 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1005 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1006 tst-quad1pie tst-quad2pie
1007 (modules-names): Add tst-quadmod1 tst-quadmod2.
1008 ($(objpfx)tst-quad1): New dependency.
1009 ($(objpfx)tst-quad2): Likewise.
1010 ($(objpfx)tst-quad1pie): Likewise.
1011 ($(objpfx)tst-quad2pie): Likewise.
1012 * sysdeps/x86_64/tst-quad1.c: New file.
1013 * sysdeps/x86_64/tst-quad1pie.c: New file.
1014 * sysdeps/x86_64/tst-quad2.c: Likewise.
1015 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1016 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1017 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1018 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1019 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1020
f34d6f84
ST
10212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1022
f42d41d1
ST
1023 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1024 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1025 * streams/stropts.h (t_scalar_t): Define type.
1026
3c3571fc
ST
1027 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1028 (_PATH_PRESERVE): Set to "/var/lib".
1029 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1030
61f06bd3
ST
1031 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1032 instead of int.
1033
918d4d71
ST
1034 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1035 if __dir_mkfile succeeded.
1036
f34d6f84
ST
1037 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1038 checking for _hurd_dtablesize. Unlock it right after having
1039 finished _hurd_dtable allocation.
1040
10589b4a
TS
10412012-05-10 Thomas Schwinge <thomas@schwinge.name>
1042
674cdbc7
TS
1043 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1044 * sysdeps/mach/hurd/configure: Regenerated.
1045 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1046 special-casing to...
1047 * sysdeps/gnu/configure.in: ... this new file.
1048 * sysdeps/unix/sysv/linux/configure: Regenerated.
1049 * sysdeps/gnu/configure: New generated file.
1050
8e41b99f
TS
1051 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1052 for Linux: use nsec instead of usec, as well as:
1053 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1054 members of type struct timespec.
1055 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1056 New macros.
1057 (struct stat64): Likewise.
1058 (_STATBUF_ST_NSEC): New macro.
1059 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1060
10589b4a
TS
1061 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1062 __strtoul_internal rather than strtoul.
1063
63643c85
PT
10642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1065
1066 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1067 and reject them.
1068
3faebe6a
ST
10692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1070
1071 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1072 which preserves existing values.
1073 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1074
c6474b07
PT
10752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1076
1077 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1078 TIMEOUT values. Return EINVAL for NFDS values either negative or
1079 greater than FD_SETSIZE.
1080
1043890b
ST
10812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1082
1083 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1084 allocated, call __vm_protect to finish enabling the existing space, and
1085 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1086 allocate the remainder.
1087
37ed8b9b
PT
10882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1089
1090 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1091 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1092
db653660
ST
10932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1094
37ed8b9b
PT
1095 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1096 sysdeps/mach/hurd/readlink.c.
b29d4053 1097
db653660
ST
1098 * posix/tst-sysconf.c (posix_options): Only use
1099 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1100 _POSIX_SYNCHRONIZED_IO when they are defined
1101 * sysdeps/mach/hurd/bits/posix_opt.h:
1102 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1103 (_XOPEN_REALTIME): Undefine macro.
1104 (_XOPEN_REALTIME_THREADS): Undefine macro.
1105 (_XOPEN_SHM): Undefine macro.
1106 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1107 macro to -1.
1108 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1109 macro to -1.
1110 (_POSIX_ASYNC_IO): Undefine macro.
1111 (_POSIX_PRIORITIZED_IO): Undefine macro.
1112 (_POSIX_SPIN_LOCKS): Define macro to -1.
1113
ee16e894
ST
1114 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1115 SA_NODEFER, SA_RESETHAND.
1116 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1117 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1118 F_DUPFD_CLOEXEC.
1119
6103ae3b
TS
11202012-05-10 Thomas Schwinge <thomas@schwinge.name>
1121
1122 * elf/Makefile (pldd-modules): Define unconditionally.
1123
80b4e5f3
TS
11242012-05-10 Thomas Schwinge <thomas@schwinge.name>
1125
1126 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1127
edadcbd6
ST
11282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1129
1130 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1131 Return ENOENT when name is empty.
1132 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1133
80694780
TS
11342012-05-10 Thomas Schwinge <thomas@schwinge.name>
1135
1792c087
TS
1136 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1137
80694780
TS
1138 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1139
6b645f0d
ST
11402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1141
80694780
TS
1142 Fix mlock in all cases except non-readable pages.
1143 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1144 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1145
6b645f0d
ST
1146 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1147 (__mkdir): When path is `/', just fail with EEXIST.
1148 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1149
e468f8a3
TS
11502012-05-10 Thomas Schwinge <thomas@schwinge.name>
1151
1152 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1153 <sys/uio.h> (for writev).
1154 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1155 and <sys/param.h> (for MIN).
1156
a4186cff
PT
11572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1158
1159 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1160 REQUESTED_TIME. Properly set the remaining time and return EINTR
1161 if interrupted.
1162
510bbf14
TS
11632012-05-10 Thomas Schwinge <thomas@schwinge.name>
1164
1165 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1166 Depend on against $(link-rpcuserlibs).
1167
5d5722e8
ST
11682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1169
a4186cff
PT
1170 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1171 (__libc_stack_end): Do not use attribute_relro.
1172 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1173 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1174 to libthread-provided value.
a4186cff
PT
1175 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1176 attribute_relro.
5d5722e8 1177
37233df9
TS
11782012-05-10 Thomas Schwinge <thomas@schwinge.name>
1179
be971a2b
TS
1180 [BZ #3748]
1181 * bits/libc-lock.h (__libc_once_get): New macro.
1182 * sysdeps/mach/bits/libc-lock.h: Likewise.
1183 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1184 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1185 instead of using implementation details.
1186
37233df9
TS
1187 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1188 * libio/freopen.c: Likewise.
1189 * libio/freopen64.c: Likewise.
1190 * misc/syslog.c: Likewise.
1191 * nscd/connections.c: Likewise.
1192 * nscd/netgroupcache.c: Likewise.
1193 * sysdeps/posix/getcwd.c: Likewise.
1194
38de94a5
RM
11952012-05-10 Roland McGrath <roland@hack.frob.com>
1196
1197 * math/w_ilogbf.c: Add #include <limits.h>.
1198
67530489
ST
11992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1200
a4186cff 1201 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1202 path instead of returning without unlocking.
1203
67530489
ST
1204 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1205 immediate-write ioctls.
1206 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1207
5aa3a74a
TS
12082012-05-10 Thomas Schwinge <thomas@schwinge.name>
1209
18bad2ae
TS
1210 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1211 __builtin_frame_address instead of making assumptions about the
1212 location of the return address relative to DATA. Force early load of
1213 the return address.
1214 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1215 __builtin_frame_address.
1216
5aa3a74a
TS
1217 dup3 for GNU Hurd.
1218 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1219 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1220 implement dup3 and do some further code clean-ups.
1221 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1222 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1223
ecd0de9a
ST
12242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1225
cd9fa985
ST
1226 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1227
a4186cff
PT
1228 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1229 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1230 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1231 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1232 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1233 d->port.lock.
802ca5a5 1234
a4186cff
PT
1235 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1236 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1237 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1238
bcf55240
TS
12392012-05-10 Thomas Schwinge <thomas@schwinge.name>
1240
6960eb42
TS
1241 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1242 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1243 definitions.
1244
eb43375f
TS
1245 accept4 for GNU Hurd.
1246 * include/sys/socket.h (__libc_accept4): New prototype.
1247 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1248 to implement __libc_accept4.
1249 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1250 __libc_accept4.
1251 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1252
bcf55240
TS
1253 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1254 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1255 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1256 signal-defines.sym.
1257
6178c55b
ST
12582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1259
a4186cff 1260 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1261
6f080c2f
TS
12622012-05-10 Thomas Schwinge <thomas@schwinge.name>
1263
1264 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1265 assertion on O_CLOEXEC flag.
1266 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1267 * hurd/intern-fd.c: Likewise.
1268 * hurd/port2fd.c: Likewise.
1269
bcfe3a54
ST
12702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1271
1272 [BZ #3906]
1273 * bits/in.h (IPV6_PKTINFO): Define new macro.
1274 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1275
89c9aa49
AZ
12762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1277
1278 [BZ #13954]
1279 [BZ #13955]
1280 [BZ #13956]
1281 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1282 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1283 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1284 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1286 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1287 * math/libm-test.inc (logb_test) : Additional logb tests.
1288
021db4be
AJ
12892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1290 Andreas Jaeger <aj@suse.de>
1291
1292 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1293 * configure: Regenerated.
1294 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1295 * config.make.in (link-obsolete-rpc): New substituted variable.
1296 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1297 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1298 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1299 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1300 so that libc.a contains the symbols.
1301 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1302 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1303 * sunrpc/auth_none.c: Likewise.
1304 * sunrpc/auth_unix.c: Likewise.
1305 * sunrpc/authdes_prot.c: Likewise.
1306 * sunrpc/authuxprot.c: Likewise.
1307 * sunrpc/clnt_gen.c: Likewise.
1308 * sunrpc/clnt_perr.c: Likewise.
1309 * sunrpc/clnt_raw.c: Likewise.
1310 * sunrpc/clnt_simp.c: Likewise.
1311 * sunrpc/clnt_tcp.c: Likewise.
1312 * sunrpc/clnt_udp.c: Likewise.
1313 * sunrpc/clnt_unix.c: Likewise.
1314 * sunrpc/des_crypt.c: Likewise.
1315 * sunrpc/des_soft.c: Likewise.
1316 * sunrpc/get_myaddr.c: Likewise.
1317 * sunrpc/key_call.c: Likewise.
1318 * sunrpc/key_prot.c: Likewise.
1319 * sunrpc/netname.c: Likewise.
1320 * sunrpc/pm_getmaps.c: Likewise.
1321 * sunrpc/pm_getport.c: Likewise.
1322 * sunrpc/pmap_clnt.c: Likewise.
1323 * sunrpc/pmap_prot.c: Likewise.
1324 * sunrpc/pmap_prot2.c: Likewise.
1325 * sunrpc/pmap_rmt.c: Likewise.
1326 * sunrpc/publickey.c: Likewise.
1327 * sunrpc/rpc_cmsg.c: Likewise.
1328 * sunrpc/rpc_common.c: Likewise.
1329 * sunrpc/rpc_dtable.c: Likewise.
1330 * sunrpc/rpc_prot.c: Likewise.
1331 * sunrpc/rpc_thread.c: Likewise.
1332 * sunrpc/rtime.c: Likewise.
1333 * sunrpc/svc.c: Likewise.
1334 * sunrpc/svc_auth.c: Likewise.
1335 * sunrpc/svc_raw.c: Likewise.
1336 * sunrpc/svc_run.c: Likewise.
1337 * sunrpc/svc_tcp.c: Likewise.
1338 * sunrpc/svc_udp.c: Likewise.
1339 * sunrpc/svc_unix.c: Likewise.
1340 * sunrpc/svcauth_des.c: Likewise.
1341 * sunrpc/xcrypt.c: Likewise.
1342 * sunrpc/xdr.c: Likewise.
1343 * sunrpc/xdr_array.c: Likewise.
1344 * sunrpc/xdr_float.c: Likewise.
1345 * sunrpc/xdr_intXX_t.c: Likewise.
1346 * sunrpc/xdr_mem.c: Likewise.
1347 * sunrpc/xdr_rec.c: Likewise.
1348 * sunrpc/xdr_ref.c: Likewise.
1349 * sunrpc/xdr_sizeof.c: Likewise.
1350 * sunrpc/xdr_stdio.c: Likewise.
1351
b5c086a2
RM
13522012-05-10 Roland McGrath <roland@hack.frob.com>
1353
1354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1355 change. Update copyright years.
1356
6d74dd09
JM
13572012-05-10 Joseph Myers <joseph@codesourcery.com>
1358
1359 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1360
28e72501
MK
13612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1362 Joseph Myers <joseph@codesourcery.com>
1363 Paul Pluzhnikov <ppluzhnikov@google.com>
1364
1365 [BZ #14012]
1366 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1367 requiring rpcgen.
1368 [cross-compiling] (extra-libs): Likewise.
1369 [cross-compiling] (extra-libs-others): Likewise.
1370 [cross-compiling] (librpcsvc-routines): Likewise.
1371 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1372 [cross-compiling] (omit-deps): Likewise.
1373 (sunrpc-CPPFLAGS): New variable.
1374 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1375 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1376 (cross-rpcgen-objs): New variable.
1377 (extra-objs): Append $(cross-rpcgen-objs).
1378 ($(cross-rpcgen-objs)): New rule.
1379 ($(objpfx)cross-rpcgen): Likewise.
1380 (rpcgen-cmd): Define to use $(built-program-file). Expand
1381 comment.
1382 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1383 ($(objpfx)x%.stmp): Likewise.
1384 * sunrpc/proto.h [IS_IN_build] (_): Define.
1385 [IS_IN_build] (_libc_intl_domainname): Likewise.
1386
c8c59454
L
13872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1390 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1391 and R_X86_64_TPOFF64.
1392
6f27cd16
JM
13932012-05-10 Joseph Myers <joseph@codesourcery.com>
1394
1395 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1396 sysdeps/unix/sysv/syscalls.list.
1397 (stime): Likewise.
1398 (utime): Likewise.
1399 * sysdeps/unix/sysv/syscalls.list: Remove file.
1400
02467e1c
PE
14012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1402
1403 [BZ #3440]
1404 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1405 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1406 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1407 (__LC_IDENTIFICATION): Make these macros useful in #if
1408 expressions, as required by C99.
1409
da392631
AS
14102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1411
1412 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1413 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1414 after this.
1415
8115f29b
L
14162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1417
1418 * stdlib/longlong.h: Updated from GCC.
1419
bdd74070
AJ
14202012-05-09 Andreas Jaeger <aj@suse.de>
1421
edfe0dbe
AJ
1422 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1423 default is first entry.
1424 (run_mode): Set type.
1425 (main): Remove informal message about syslog.
1426 (options): Fix typo.
1427
bcfe3a54
ST
1428 [BZ #14053]
1429 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 1430 to asm.
bcfe3a54
ST
1431 (lrint): Likewise.
1432 (llrintf): Likewise.
1433 (llrint): Likewise.
1434 (rint): Likewise.
1435 (rintf): Likewise.
1436 (nearbyint): Likewise.
1437 (nearbyintf): Likewise.
bdd74070 1438
91d8d69e
AJ
14392012-05-09 Andreas Jaeger <aj@suse.de>
1440 Pedro Alves <palves@redhat.com>
1441
1442 * nscd/nscd.c (run_mode): Use enum.
1443 (main): Cleanup coding style issue.
1444
bb90b80b
AJ
14452012-05-09 Alexandre Oliva <aoliva@redhat.com>
1446 Andreas Jaeger <aj@suse.de>
1447
bcfe3a54
ST
1448 * nscd/nscd.c (go_background): Replaced with...
1449 (run_mode): ... this.
bb90b80b 1450 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
1451 (options): Add -F --foreground.
1452 (main): Implement it.
1453 (parse_opt): Parse it.
bb90b80b 1454
1a4b75a1
AJ
14552012-05-09 Andreas Jaeger <aj@suse.de>
1456
1457 [BZ #14083]
1458 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1459 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1460 -Wconversion warning.
1461 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1462 Likewise.
1463
b1cc2472
JM
14642012-05-09 Joseph Myers <joseph@codesourcery.com>
1465
1466 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1467 == 0.
1468 (LC_ALL): Use macro-int-constant.
1469 (LC_COLLATE): Likewise.
1470 (LC_CTYPE): Likewise.
1471 (LC_MESSAGES): Likewise.
1472 (LC_MONETARY): Likewise.
1473 (LC_NUMERIC): Likewise.
1474 (LC_TIME): Likewise.
1475 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1476 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1477 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1478 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1479 Specify type.
1480 [C99-based standards] (float_t): Expect type.
1481 [C99-based standards] (double_t): Expect type.
1482 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1483 type.
1484 [C99-based standards] (HUGE_VALL): Likewise.
1485 [C99-based standards] (INFINITY): Likewise.
1486 [C99-based standards] (NAN): Likewise.
1487 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1488 [C99-based standards] (FP_NAN): Likewise.
1489 [C99-based standards] (FP_NORMAL): Likewise.
1490 [C99-based standards] (FP_SUBNORMAL): Likewise.
1491 [C99-based standards] (FP_ZERO): Likewise.
1492 [C99-based standards] (FP_FAST_FMA): Use
1493 optional-macro-int-constant. Specify type. Require == 1.
1494 [C99-based standards] (FP_FAST_FMAF): Likewise.
1495 [C99-based standards] (FP_FAST_FMAL): Likewise.
1496 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1497 [C99-based standards] (FP_ILOGBNAN): Likewise.
1498 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1499 Specify type.
1500 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1501 [C99-based standards] (math_errhandling): Specify type.
1502 [ISO99 || ISO11] (signgam): Do not allow.
1503 [non-C99-based standards] (copysignf): Do not allow.
1504 [non-C99-based standards] (exp2f): Likewise.
1505 [non-C99-based standards] (log2f): Likewise.
1506 [non-C99-based standards] (modff): Allow.
1507 [non-C99-based standards] (erff): Do not allow.
1508 [non-C99-based standards] (erfcf): Likewise.
1509 [non-C99-based standards] (gammaf): Likewise.
1510 [non-C99-based standards] (hypotf): Likewise.
1511 [non-C99-based standards] (j0f): Likewise.
1512 [non-C99-based standards] (j1f): Likewise.
1513 [non-C99-based standards] (jnf): Likewise.
1514 [non-C99-based standards] (lgammaf): Likewise.
1515 [non-C99-based standards] (tgammaf): Likewise.
1516 [non-C99-based standards] (y0f): Likewise.
1517 [non-C99-based standards] (y1f): Likewise.
1518 [non-C99-based standards] (ynf): Likewise.
1519 [non-C99-based standards] (isnanf): Likewise.
1520 [non-C99-based standards] (acoshf): Likewise.
1521 [non-C99-based standards] (asinhf): Likewise.
1522 [non-C99-based standards] (atanhf): Likewise.
1523 [non-C99-based standards] (cbrtf): Likewise.
1524 [non-C99-based standards] (expm1f): Likewise.
1525 [non-C99-based standards] (ilogbf): Likewise.
1526 [non-C99-based standards] (log1pf): Likewise.
1527 [non-C99-based standards] (logbf): Likewise.
1528 [non-C99-based standards] (nextafterf): Likewise.
1529 [non-C99-based standards] (remainderf): Likewise.
1530 [non-C99-based standards] (rintf): Likewise.
1531 [non-C99-based standards] (scalbf): Likewise.
1532 [non-C99-based standards] (copysignl): Likewise.
1533 [non-C99-based standards] (exp2l): Likewise.
1534 [non-C99-based standards] (log2l): Likewise.
1535 [non-C99-based standards] (modfl): Allow.
1536 [non-C99-based standards] (erfl): Do not allow.
1537 [non-C99-based standards] (erfcl): Likewise.
1538 [non-C99-based standards] (gammal): Likewise.
1539 [non-C99-based standards] (hypotl): Likewise.
1540 [non-C99-based standards] (j0l): Likewise.
1541 [non-C99-based standards] (j1l): Likewise.
1542 [non-C99-based standards] (jnl): Likewise.
1543 [non-C99-based standards] (lgammal): Likewise.
1544 [non-C99-based standards] (tgammal): Likewise.
1545 [non-C99-based standards] (y0l): Likewise.
1546 [non-C99-based standards] (y1l): Likewise.
1547 [non-C99-based standards] (ynl): Likewise.
1548 [non-C99-based standards] (isnanl): Likewise.
1549 [non-C99-based standards] (acoshl): Likewise.
1550 [non-C99-based standards] (asinhl): Likewise.
1551 [non-C99-based standards] (atanhl): Likewise.
1552 [non-C99-based standards] (cbrtl): Likewise.
1553 [non-C99-based standards] (expm1l): Likewise.
1554 [non-C99-based standards] (ilogbl): Likewise.
1555 [non-C99-based standards] (log1pl): Likewise.
1556 [non-C99-based standards] (logbl): Likewise.
1557 [non-C99-based standards] (nextafterl): Likewise.
1558 [non-C99-based standards] (remainderl): Likewise.
1559 [non-C99-based standards] (rintl): Likewise.
1560 [non-C99-based standards] (scalbl): Likewise.
1561 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1562 [non-C99-based standards] (FP_*): Do not allow.
1563 [C99-based standards] (FP_*): Change to
1564 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1565 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1566 allow.
1567 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1568 (SIG_ERR): Likewise.
1569 [X/Open-based standards] (SIG_HOLD): Likewise.
1570 (SIG_IGN): Likewise.
1571 (SIGABRT): Use macro-int-constant. Specify type. Require
1572 positive value.
1573 (SIGFPE): Likewise.
1574 (SIGILL): Likewise.
1575 (SIGINT): Likewise.
1576 (SIGSEGV): Likewise.
1577 (SIGTER): Likewise.
1578 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1579 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1580 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1581 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1582 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1583 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1584 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1585 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1586 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1587 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1588 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1589 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1590 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1591 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1592 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1593 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1594 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1595 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1596 [X/Open-based standards] (SIGTRAP): Likewise.
1597 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1598 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1599 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1600 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1601 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1602 allow.
1603
b9f1922d
IW
16042012-05-08 Ian Wienand <ianw@vmware.com>
1605
1606 [BZ #14080]
1607 * time/tzset.c (__tzset_parse_tz): Update default rules for
1608 daylight time changes in the Energy Policy Act of 2005.
1609
1db86e88
AJ
16102012-05-09 Andreas Jaeger <aj@suse.de>
1611
1612 [BZ #13983]
1613 * elf/ldconfig.c (parse_conf): Change string to make clear that
1614 ldconfig only issued a warning if ld.so.conf does not exist.
1615
dee4a4e3
DM
16162012-05-08 David S. Miller <davem@davemloft.net>
1617
ee0db190
DM
1618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1619 movxtod instead of popping the value on the stack.
1620
dee4a4e3
DM
1621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1622
6a43ec98
CD
16232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1624
1625 * config.h.in: Add HAVE_ARM_PCS_VFP.
1626
05c2c961
RMG
16272012-05-08 Roland Mc Grath <roland@hack.frob.com>
1628
bcfe3a54
ST
1629 [BZ #13979]
1630 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1631 checking but the checks are disabled for any reason.
05c2c961 1632
4b30f61a
L
16332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1634
1635 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1636 and ELF64_R_TYPE with ELFW(R_TYPE).
1637
eee2bc67
JM
16382012-05-08 Joseph Myers <joseph@codesourcery.com>
1639
7ea5391a
JM
1640 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1641 (ulimit): Likewise.
1642
eee2bc67
JM
1643 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1644 (settimeofday): Likewise.
1645
abb66a67
MF
16462012-05-08 Mike Frysinger <vapier@gentoo.org>
1647
1648 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1649 a struct th_u2 inside the union, and move tu_block/tu_code into
1650 a new th_u3 union of tu_block/tu_code inside of that. Move
1651 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1652 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1653 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1654 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1655 (th_stuff): Change to th_u1.tu_stuff.
1656 (th_data): Define.
1657 (th_msg): Change to th_u1.th_u2.tu_data.
1658
7f18b530
DM
16592012-05-07 David S. Miller <davem@davemloft.net>
1660
05760585
DM
1661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1662
7f18b530
DM
1663 [BZ #14074]
1664 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1665 (SETUP_PIC_REG): Use it.
1666 (SETUP_PIC_REG_LEAF): Use it.
1667
495fd99f
JM
16682012-05-07 Joseph Myers <joseph@codesourcery.com>
1669
1670 [BZ #13885]
1671 [BZ #13923]
1672 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1673 USE_AS_EXPM1L.
1674 (EXPL_FINITE): Likewise.
1675 (FLDLOG): Likewise.
1676 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1677 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1678 e_expl.S.
1679 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1680 USE_AS_EXPM1L.
1681 (EXPL_FINITE): Likewise.
1682 (FLDLOG): Likewise.
1683 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1684 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1685 e_expl.S.
1686 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1687 test of -max_value argument for long double.
1688 * sysdeps/i386/fpu/libm-test-ulps: Update.
1689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1690
6693d694
DM
16912012-05-06 David S. Miller <davem@davemloft.net>
1692
1693 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1694 quad soft-float symbols whose references which are compiler
1695 generated.
1696 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1697
6c23e11c
JM
16982012-05-06 Joseph Myers <joseph@codesourcery.com>
1699
d8b82cad
JM
1700 [BZ #13884]
1701 [BZ #13914]
1702 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1703 USE_AS_EXP10L.
1704 (EXPL_FINITE): Likewise.
1705 (FLDLOG): Likewise.
1706 (c0): Likewise.
1707 (c1): Likewise.
1708 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1709 Adjust comments for base varying.
1710 (__expl_finite): Change alias to EXPL_FINITE.
1711 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1712 e_expl.S.
1713 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1714 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1716 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1717 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1718 USE_AS_EXP10L.
1719 (EXPL_FINITE): Likewise.
1720 (FLDLOG): Likewise.
1721 (c0): Likewise.
1722 (c1): Likewise.
1723 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1724 Adjust comments for base varying.
1725 (__expl_finite): Change alias to EXPL_FINITE.
1726 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1727 tests for bugs.
1728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1729
6c23e11c
JM
1730 [BZ #14064]
1731 * math/libm-test.inc (check_float_internal): Correct ulp
1732 calculation for subnormal expected results.
1733
29ba805c
AJ
17342012-05-06 Andreas Jaeger <aj@suse.de>
1735
1736 * Makeconfig (+math-flags): New, set to -frounding-math.
1737 (+cflags): Add +math-flags so that all of glibc gets compiled with
1738 it.
1739
1740 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1741
7b17aeda
JM
17422012-05-05 Joseph Myers <joseph@codesourcery.com>
1743
5779f134
JM
1744 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1745 Disable one test.
1746
41498f4d
JM
1747 [BZ #13787]
1748 [BZ #13922]
1749 [BZ #14036]
1750 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1751 (__ieee754_expl): Allow for and saturate large arguments.
1752 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1753 (u_threshold): Likewise.
1754 (__exp): Call __ieee754_exp before checking for overflow and
1755 underflow.
1756 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1757 (u_threshold): Likewise.
1758 (__expf): Call __ieee754_expf before checking for overflow and
1759 underflow.
1760 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1761 (u_threshold): Likewise.
1762 (__expl): Call __ieee754_expl before checking for overflow and
1763 underflow.
1764 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1765 (__ieee754_expl): Allow for and saturate large arguments.
1766 * math/libm-test.inc (exp_test): Add another test. Do not allow
1767 missing overflow exception on overflow.
1768 (expm1_test): Do not allow missing overflow exception on overflow.
1769
6698b8bf
JM
1770 * sysdeps/i386/fpu/e_expl.c: Move to ...
1771 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1772 rather than using inline asm.
1773 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1774 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1775 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1776
7b17aeda
JM
1777 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1778 (nice): Likewise.
1779 (poll): Likewise.
1780 (signal): Likewise.
1781 (time): Likewise.
1782 (times): Likewise.
1783
f7c85819
JM
17842012-05-04 Joseph Myers <joseph@codesourcery.com>
1785
1786 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1787 sysdeps/unix/common/syscalls.list.
1788 (fchmod): Likewise.
1789 (fchown): Likewise.
1790 (ftruncate): Likewise.
1791 (getrusage): Likewise.
1792 (gettimeofday): Likewise.
1793 (setpgid): Likewise.
1794 (setregid): Likewise.
1795 (setreuid): Likewise.
1796 (sigaction): Likewise.
1797 (truncate): Likewise.
1798 (vhangup): Likewise.
1799 * sysdeps/unix/common/syscalls.list: Remove file.
1800 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1801 * sysdeps/unix/sysv/linux/Implies: Likewise.
1802
336270d0
L
18032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1804
1805 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1807 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1808 Moved to ...
1809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1810 Here.
1811 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1812 to ...
1813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1814 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1815 to ...
1816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1817 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1818 to ...
1819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1820 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1821 to ...
1822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1823 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1824 to ...
1825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1826 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1827 to ...
1828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1829 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1830 to ...
1831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1832 Here.
1833 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1834 to ...
1835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1836 Here.
1837 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1838 to ...
1839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1840 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1841 Moved to ...
1842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1843 Here.
1844 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1845 to ...
1846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1847
d128e450
JM
18482012-05-04 Joseph Myers <joseph@codesourcery.com>
1849
fa8ee516
JM
1850 * sysdeps/unix/common/bits/dirent.h: Remove file.
1851 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1852
d128e450
JM
1853 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1854 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1855 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1856 * sysdeps/unix/bsd/isatty.c: Likewise.
1857 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1858 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1859 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1860
ff8faaf0 18612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1862
62881be4 1863 [BZ #13563]
31dc8730
AZ
1864 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1865 long double comparison inaccuracies.
1866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1868
6fef930c
AS
18692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1870
1871 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1873
8f203e6c
JM
18742012-05-04 Joseph Myers <joseph@codesourcery.com>
1875
1876 [BZ #14049]
1877 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1878 nonzero digits before rounding a hex value.
1879 * stdlib/tst-strtod.c (tests): Add another test.
1880
5197d9c2
AK
18812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1882
1883 * sysdeps/s390/fpu/libm-test-ulps: Update.
1884
f0c1dedf
AJ
18852012-05-03 Andreas Jaeger <aj@suse.de>
1886
1887 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1888 does not get optimized out.
1889 (malloc_opt_barrier): New.
1890
a65ef2ae 18912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1892 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1893
2b942cb7 1894 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1895 intermediate file deletion.
2b942cb7 1896 (generated): Add .symlist files.
a65ef2ae 1897
54b71e02
JM
18982012-05-03 Joseph Myers <joseph@codesourcery.com>
1899
1900 [BZ #13775]
1901 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1902 Redirect under this condition.
1903 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1904 [__USE_GNU] (__dprintf_chk): Not under this condition.
1905 [__USE_GNU] (__vdprintf_chk): Likewise.
1906 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1907 under this condition.
1908 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1909 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1910 [__USE_XOPEN2K8] (vdprintf): Likewise.
1911 [__USE_GNU] (__dprintf_chk): Not under this condition.
1912 [__USE_GNU] (__vdprintf_chk): Likewise.
1913 [__USE_GNU] (dprintf): Likewise.
1914 [__USE_GNU] (vdprintf): Likewise.
1915
d3dfcc41
RM
19162012-05-03 Roland McGrath <roland@hack.frob.com>
1917
1918 * elf/Makefile (common-generated): Set this instead of generated for
1919 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1920 $(all-built-dso)-derived lists.
1921
7ac30cc5
AJ
19222012-05-03 Andreas Jaeger <aj@suse.de>
1923
0c51e550
AJ
1924 * sysdeps/i386/fpu/libm-test-ulps: Update.
1925
7ac30cc5
AJ
1926 * FAQ: Removed.
1927 * FAQ.in: Likewise.
1928 * scripts/gen-FAQ.pl: Likewise.
1929 * manual/install.texi (Installation): Point to online location of
1930 FAQ.
1931 * Makefile (files-for-dist): Remove FAQ.
1932 (FAQ): Remove.
1933
d4c2917f
AM
19342012-05-02 Allan McRae <allan@archlinux.org>
1935
1936 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1937 (LDFLAGS-reldepmod5.so): Likewise.
1938 (LDFLAGS-reldep6mod1.so): Likewise.
1939 (LDFLAGS-reldep6mod4.so): Likewise.
1940 (LDFLAGS-reldep8mod3.so): Likewise.
1941 (LDFLAGS-unload4mod1.so): Likewise.
1942 (LDFLAGS-unload4mod2.so): Likewise.
1943 (LDFLAGS-tst-initorder): Likewise.
1944 (LDFLAGS-tst-initordera2.so): Likewise.
1945 (LDFLAGS-tst-initordera3.so): Likewise.
1946 (LDFLAGS-tst-initordera4.so): Likewise.
1947 (LDFLAGS-tst-initorderb2.so): Likewise.
1948 (LDFLAGS-noload): Likewise.
1949 (LDFLAGS-next): Likewise.
1950 (LDFLAGS-order2mod1.so): Likewise.
1951 (LDFLAGS-order2mod2.so): Likewise.
1952 (LDFLAGS-tst-initorder2): Likewise.
1953 (LDFLAGS-tst-initorder2a.so): Likewise.
1954 (LDFLAGS-tst-initorder2b.so): Likewise.
1955 (LDFLAGS-tst-initorder2c.so): Likewise.
1956 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1957
d77f993f
DM
19582012-05-02 David S. Miller <davem@davemloft.net>
1959
1960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1961
171a70b4
PP
19622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1963
1964 [BZ #14055]
1965 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1966
0be196ad
AJ
19672012-05-02 Andreas Jaeger <aj@suse.de>
1968
1969 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1970 since we manipulate rounding mode.
1971 (CPPFLAGS-test-idouble.c): Likewise.
1972 (CPPFLAGS-test-ifloat.c): Likewise.
1973 (CFLAGS-test-ldouble.c): Likewise.
1974 (CFLAGS-test-double.c): Likewise.
1975 (CFLAGS-test-float.c): Likewise.
1976 (CFLAGS-test-misc.c): Likewise.
1977 (CFLAGS-test-test-fenv.c): Likewise.
1978
4f9d04aa
AZ
19792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1980
2b942cb7
RM
1981 [BZ #2550]
1982 [BZ #2570]
1983 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1984 comparisons to determine direction to adjust input.
4f9d04aa 1985
82a79e7d
RM
19862012-05-01 Roland McGrath <roland@hack.frob.com>
1987
f5a01ca9
RM
1988 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1989 output to the target.
1990
90fe4186
RM
1991 * scripts/localplt.awk: New file.
1992 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1993 (check-localplt-CFLAGS): Variable removed.
1994 ($(all-built-dso:=.jmprel)): New static pattern rule.
1995 (generated): Add those targets.
1996 (localplt-built-dso): New variable.
1997 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1998
1999 * elf/check-localplt.c: File removed.
2000
82397ed6
RM
2001 * scripts/check-execstack.awk: New file.
2002 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2003 (check-execstack-CFLAGS): Variable removed.
2004 ($(objpfx)check-execstack.h): Target removed.
2005 ($(objpfx)execstack-default): New target.
2006 (generated): Add that instead of check-execstack.h.
2007 ($(all-built-dso:=.phdr)): New static pattern rule.
2008 (generated): Add those targets.
2009 * elf/check-execstack.c: File removed.
2010
82a79e7d
RM
2011 * scripts/check-textrel.awk: New file.
2012 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2013 (check-textrel-CFLAGS): Variable removed.
2014 (all-built-dso): Use := to define.o
2015 ($(all-built-dso:=.dyn)): New static pattern rule.
2016 (generated): Add those targets.
2017 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2018 * config.make.in (READELF): New substituted variable.
2019 * elf/check-textrel.c: File removed.
2020
62fde54f 20212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2022
615605c9
JM
2023 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2024 allow.
2025 * conform/data/ctype.h-data [C99-based standards] (isblank):
2026 Expect function.
2027 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2028 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2029 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2030 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2031 Specify type. Require positive value.
2032 (EILSEQ): Likewise.
2033 (ERANGE): Likewise.
2034 [ISO || POSIX] (EILSEQ): Do not expect.
2035 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2036 Specify type. Require positive value.
2037 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2038 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2039 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2040 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2041 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2042 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2043 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2044 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2045 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2046 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2047 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2048 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2049 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2050 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2051 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2052 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2053 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2054 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2055 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2056 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2057 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2058 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2059 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2060 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2061 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2062 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2063 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2064 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2065 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2066 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2067 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2068 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2069 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2070 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2071 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2072 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2073 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2074 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2075 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2076 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2077 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2078 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2079 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2080 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2081 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2082 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2083 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2084 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2085 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2086 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2087 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2088 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2089 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2090 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2091 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2092 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2093 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2094 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2095 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2096 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2097 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2098 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2099 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2100 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2101 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2102 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2103 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2104 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2105 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2106 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2107 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2108 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2109 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2110 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2111 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2112 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2113 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2114 Require >= 2.
2115 (FLT_ROUNDS): Expect as macro, not constant.
2116 (FLT_MANT_DIG): Use macro-int-constant.
2117 (DBL_MANT_DIG): Likewise.
2118 (LDBL_MANT_DIG): Likewise.
2119 (FLT_DIG): Likewise.
2120 (DBL_DIG): Likewise.
2121 (LDBL_DIG): Likewise.
2122 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2123 (DBL_MIN_EXP): Likewise.
2124 (LDBL_MIN_EXP): Likewise.
2125 (FLT_MAX_EXP): Use macro-int-constant.
2126 (DBL_MAX_EXP): Likewise.
2127 (LDBL_MAX_EXP): Likewise.
2128 (FLT_MAX_10_EXP): Likewise.
2129 (DBL_MAX_10_EXP): Likewise.
2130 (LDBL_MAX_10_EXP): Likewise.
2131 (FLT_MAX): Use macro-constant.
2132 (DBL_MAX): Likewise.
2133 (LDBL_MAX): Likewise.
2134 (FLT_EPSILON): Use macro-constant. Give upper bound.
2135 (DBL_EPSILON): Likewise.
2136 (LDBL_EPSILON): Likewise.
2137 (FLT_MIN): Likewise.
2138 (DBL_MIN): Likewise.
2139 (LDBL_MIN): Likewise.
2140 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2141 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2142 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2143 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2144 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2145 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2146 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2147 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2148 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2149 [ISO11] (FLT_TRUE_MIN): Likewise.
2150 [ISO11] (LDBL_TRUE_MIN): Likewise.
2151 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2152 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2153 (SCHAR_MIN): Use macro-int-constant. Specify type.
2154 (SCHAR_MAX): Likewise.
2155 (UCHAR_MAX): Likewise.
2156 (CHAR_MIN): Likewise.
2157 (CHAR_MAX): Likewise.
2158 (MB_LEN_MAX): Use macro-int-constant.
2159 (SHRT_MIN): Use macro-int-constant. Specify type.
2160 (SHRT_MAX): Likewise.
2161 (USHRT_MAX): Likewise.
2162 (INT_MAX): Likewise.
2163 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2164 bound negative.
2165 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2166 bound with "U".
2167 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2168 bound with "L".
2169 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2170 bound negative. Suffix upper bound with "L".
2171 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2172 bound with "UL".
2173 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2174 Specify type.
2175 [C99-based standards] (LLONG_MAX): Likewise.
2176 [C99-based standards] (ULLONG_MAX): Likewise.
2177 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2178 == 0.
2179 [ISO11] (max_align_t): Require type.
2180 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2181
c9140a62
JM
2182 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2183 from $CFLAGS, without defining away __attribute__ calls.
2184 (checknamespace): Use $CFLAGS_namespace.
2185
9af0bf29
JM
2186 * conform/conformtest.pl (@keywords): Only include C99 keywords
2187 for standards based on C99 or C11.
2188
343222a2
JM
2189 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2190 Disable tests.
2191 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2192 UNIX98]: Likewise.
2193
661f8cf0
JM
2194 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2195 usability of symbols in #if.
2196
ee74b9cb
JM
2197 * conform/conformtest.pl: If macro or constant types start
2198 "promoted:", expect the symbol to be of the following type
2199 promoted by the integer promotions.
62fde54f 2200
aafc49b3
JM
2201 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2202 in one place. Also handle "macro-constant".
2203
fefdf574
JM
2204 * conform/conformtest.pl: Only accept expected macro values with
2205 "==". Parse all "macro" lines in one place.
2206 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2207
f2d922fe
JM
2208 * conform/conformtest.pl: Handle braced types on "constant" lines
2209 instead of handling "typed-constant".
2210 * conform/data/signal.h-data: Use "constant" instead of
2211 "typed-constant".
2212
d22956c9
JM
2213 * conform/conformtest.pl: Handle "optional-" at start of lines in
2214 one place rather than duplicating several cases. Handle each
2215 format of "macro" line with initial "optional-".
2216
028e2e38
JM
2217 * conform/conformtest.pl: Only accept expected constant or
2218 optional-constant values with "==". Parse all "constant" lines in
2219 one place. Parse all "optional-constant" lines in one place.
2220 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2221 * conform/data/fmtmsg.h-data: Likewise.
2222 * conform/data/netinet/in.h-data: Likewise.
2223 * conform/data/tar.h-data: Likewise.
2224 * conform/data/limits.h-data: Use "==" form on "constant" and
2225 "optional-constant" lines.
2226
1b8f2850
JM
2227 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2228 Use -std=c99 for XOPEN2K.
2229 (@knownproblems): Remove.
2230 (newtoken): Don't check %isknown.
2231
a05a144b
JM
2232 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2233 Do not expect macro.
2234 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2235 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2236 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2237 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2238 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2239 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2240 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2241 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2242 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2243 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2244 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2245 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2246 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2247 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2248 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2249 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2250 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2251 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2252 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2253 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2254 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2255 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2256 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2257 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2258 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2259 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2260 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2261 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2262 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2263 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2264 [XPG3] (acosh): Likewise.
2265 [XPG3] (asinh): Likewise.
2266 [XPG3] (atanh): Likewise.
2267 [XPG3] (cbrt): Likewise.
2268 [XPG3] (expm1): Likewise.
2269 [XPG3] (ilogb): Likewise.
2270 [XPG3] (log1p): Likewise.
2271 [XPG3] (logb): Likewise.
2272 [XPG3] (nextafter): Likewise.
2273 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2274 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2275 [XPG3] (remainder): Likewise.
2276 [XPG3] (rint): Likewise.
2277 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2278 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2279 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2280 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2281 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2282 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2283 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2284 [UNIX98 || XOPEN2K] (scalb): Expect.
2285 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2286 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2287 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2288 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2289 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2290 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2291 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2292 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2293 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2294 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2295 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2296 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2297 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2298 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2299 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2300 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2301 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2302 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2303 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2304 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2305 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2306 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2307 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2308 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2309 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2310 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2311 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2312 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2313 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2314 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2315 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2316 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2317 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2318 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2319 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2320 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2321 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2322 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2323 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2324 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2325 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2326 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2327 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2328 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2329 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2330 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2331 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2332 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2333 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2334 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2335 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2336 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2337 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2338 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2339 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2340 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2341 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2342 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2343 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2344 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2345 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2346 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2347 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2348 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2349 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2350 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2351 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2352 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2353 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2354 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2355 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2356 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2357 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2358 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2359 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2360 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2361 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2362 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2363 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2364 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2365 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2366 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2367 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2368 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2369 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2370 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2371 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2372 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2373 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2374 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2375 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2376 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2377 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2378 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2379 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2380 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2381 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2382 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2383 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2384 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2385 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2386 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2387 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2388 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2389 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2390 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2391 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2392 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2393 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2394 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2395 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2396 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2397 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2398 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2399 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2400 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2401 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2402 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2403 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2404 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2405 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2406 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2407 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2408 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2409 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2410 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2411 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2419 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2420 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2422
73c5ebe3
JM
2423 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2424 _XOPEN_SOURCE_EXTENDED for XPG4.
2425
39c33b6c
JM
2426 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2427
62fde54f
JM
2428 * Makeconfig (localtime): Remove variable.
2429 (inst_localtime-file): Likewise.
2430
0741d64c
AS
24312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2432
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2434 Update.
2435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2436 Update.
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2438 Update.
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2440 Update.
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2442 Update.
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2444 Update.
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2446 Update.
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2448 Update.
2449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2450 Update.
2451
7cb029ee
JM
24522012-05-01 Joseph Myers <joseph@codesourcery.com>
2453
2454 [BZ #2550]
2455 [BZ #2570]
2456 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2457 comparisons to determine direction to adjust input.
2458 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2459 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2460 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2461 Likewise.
2462 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2463 Likewise.
2464 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2465 Likewise.
2466 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2467 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2468 Likewise.
2469 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2470 Likewise.
2471 * math/libm-test.inc (nexttoward_test): Add more tests.
2472
412bd966
AS
24732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2474
2475 [BZ #14040]
2476 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2477 in version GLIBC_2.1, not GLIBC_2.0.
2478 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2479 Likewise.
2480
9568c0c2
JM
24812012-04-30 Joseph Myers <joseph@codesourcery.com>
2482
adfbc8ac
JM
2483 [BZ #13942]
2484 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2485 (1 - x) * (1 + x).
2486 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2487 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2488 * math/libm-test.inc (acos_test): Add more tests.
2489 (asin_test): Likewise.
2490 * sysdeps/i386/fpu/libm-test-ulps: Update.
2491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2492
5ba3cc69
JM
2493 [BZ #14034]
2494 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2495 of square root.
2496 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2497 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2498 * math/libm-test.inc (acos_test_tonearest): New function.
2499 (acos_test_towardzero): Likewise.
2500 (acos_test_downward): Likewise.
2501 (acos_test_upward): Likewise.
2502 (asin_test_tonearest): Likewise.
2503 (asin_test_towardzero): Likewise.
2504 (asin_test_downward): Likewise.
2505 (asin_test_upward): Likewise.
2506 (main): Call the new functions.
2507 * sysdeps/i386/fpu/libm-test-ulps: Update.
2508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2509
9568c0c2
JM
2510 [BZ #13884]
2511 [BZ #13924]
2512 * math/e_exp10.c: Include <float.h>.
2513 (__ieee754_exp10): Handle underflow here rather than multiplying
2514 large negative argument by M_LN10.
2515 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2516 of __ieee754_expf.
2517 * math/e_exp10l.c: Include <float.h>.
2518 (__ieee754_exp10l): Handle underflow here rather than multiplying
2519 large negative argument by M_LN10l.
2520 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2521 spurious overflow exception on underflow.
2522
5ac3ea17
MP
25232012-04-29 Marek Polacek <polacek@redhat.com>
2524
2525 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2526 (__fortify_function): New macro.
2527 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2528 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2529 __extern_always_inline.
2530 * libio/bits/stdio2.h: Likewise.
2531 * libio/bits/stdio.h: Likewise.
2532 * string/string.h: Likewise.
2533 * string/bits/string3.h: Likewise.
2534 * include/stdio.h: Likewise.
2535 * stdlib/bits/stdlib.h: Likewise.
2536 * stdlib/stdlib.h: Likewise.
2537 * rt/bits/mqueue2.h: Likewise.
2538 * rt/mqueue.h: Likewise.
2539 * posix/bits/unistd.h: Likewise.
2540 * posix/unistd.h: Likewise.
2541 * io/bits/poll2.h: Likewise.
2542 * io/bits/fcntl2.h: Likewise.
2543 * io/fcntl.h: Likewise.
2544 * io/sys/poll.h: Likewise.
2545 * misc/bits/syslog.h: Likewise.
2546 * misc/bits/syslog-ldbl.h: Likewise.
2547 * misc/sys/syslog.h: Likewise.
2548 * socket/bits/socket2.h: Likewise.
2549 * socket/sys/socket.h: Likewise.
2550 * debug/tst-chk1.c: Likewise.
2551 * wcsmbs/bits/wchar2.h: Likewise.
2552 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2553 * wcsmbs/wchar.h: Likewise.
2554
ecf0ebfb
AJ
25552012-04-29 Andreas Jaeger <aj@suse.de>
2556
2557 * Makerules (tests): Remove enable-check-abi protection.
2558 (check-abi-warn): Remove.
2559 (check-abi-%): Remove check-abi-warn usage.
2560
2561 * configure.in: Remove check-abi configure option.
2562 * configure: Regenerated.
2563 * config.make.in (enable-check-abi): Remove.
2564
6d5c57fa
AS
25652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2566
24c5d07e 2567 [BZ #14033]
ded5180a
AS
2568 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2569 double functions to double *_finite functions.
2570
7e0d315d
AS
2571 [BZ #13941]
2572 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2573 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2574 LDBL_MIN_EXP.
2575 * stdio-common/Makefile (tests): Add tst-sprintf3.
2576 * stdio-common/tst-sprintf3.c: New file.
2577
6d5c57fa
AS
2578 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2579 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2580
0749ff8b
JM
25812012-04-28 Joseph Myers <joseph@codesourcery.com>
2582
2583 * conform/conformtest.pl: Remove duplicate typed-constant
2584 handling.
2585
8dbd5d7b
DM
25862012-04-28 David S. Miller <davem@davemloft.net>
2587
2588 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2589 (check-abi-%): Remove AWK script prerequisite and explicit
2590 abilist directory.
2591 (check-abi): Rewrite to just diff the symlist with the abilist.
2592 (config-tls, config-abi-config): Delete, no longer used.
2593 (update-abi-%): Remove AWK script and explicit abilist directory.
2594 (update-abi): Rewrite to simply compare and conditionally copy the
2595 symlist and the sysdep abilist file. Remove update-abi-config
2596 checks.
2597 * abilist/ld.abilist: Remove.
2598 * abilist/libBrokenLocale.abilist: Remove.
2599 * abilist/libanl.abilist: Remove.
2600 * abilist/libcrypt.abilist: Remove.
2601 * abilist/libdl.abilist: Remove.
2602 * abilist/librt.abilist: Remove.
2603 * abilist/libthread_db.abilist: Remove.
2604 * abilist/libutil.abilist: Remove.
2605 * scripts/extract-abilist.awk: Remove.
2606 * scripts/merge-abilist.awk: Remove.
2607 * sysdeps/generic/libcidn.abilist: New file.
2608 * sysdeps/generic/libnss_compat.abilist: New file.
2609 * sysdeps/generic/libnss_db.abilist: New file.
2610 * sysdeps/generic/libnss_dns.abilist: New file.
2611 * sysdeps/generic/libnss_files.abilist: New file.
2612 * sysdeps/generic/libnss_hesiod.abilist: New file.
2613 * sysdeps/generic/libnss_nis.abilist: New file.
2614 * sysdeps/generic/libnss_nisplus.abilist: New file.
2615 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2616 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2617 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2618 file.
2619 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2620 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2621 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2622 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2623 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2624 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2625 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2626 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2627 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2628 file.
2629 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2630 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2631 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2632 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2633 file.
2634 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2635 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2636 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2637 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2638 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2639 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2640 file.
2641 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2642 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2643 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2644 file.
2645 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2647 New file.
2648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2649 New file.
2650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2651 New file.
2652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2653 New file.
2654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2655 New file.
2656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2657 New file.
2658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2659 New file.
2660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2661 New file.
2662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2663 New file.
2664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2665 New file.
2666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2667 New file.
2668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2669 New file.
2670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2671 New file.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2673 file.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2675 New file.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2677 New file.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2679 file.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2681 New file.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2683 New file.
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2685 file.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2687 New file.
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2689 New file.
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2691 New file.
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2693 New file.
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2695 New file.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2697 New file.
2698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2700 file.
2701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2702 New file.
2703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2704 file.
2705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2706 file.
2707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2708 file.
2709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2710 file.
2711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2712 file.
2713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2714 New file.
2715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2716 file.
2717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2718 file.
2719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2720 New file.
2721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2722 file.
2723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2725 file.
2726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2727 New file.
2728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2729 file.
2730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2731 file.
2732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2733 file.
2734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2735 file.
2736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2737 file.
2738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2739 New file.
2740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2741 file.
2742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2743 file.
2744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2745 New file.
2746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2747 file.
2748 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2749 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2750 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2751 file.
2752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2753 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2754 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2755 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2756 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2757 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2758 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2759 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2760 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2761 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2764 file.
2765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2766 New file.
2767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2768 file.
2769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2770 file.
2771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2772 file.
2773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2774 file.
2775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2776 file.
2777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2778 New file.
2779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2780 New file.
2781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2782 file.
2783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2784 New file.
2785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2786 file.
2787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2789 file.
2790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2791 New file.
2792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2793 file.
2794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2795 file.
2796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2797 file.
2798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2799 file.
2800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2801 file.
2802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2803 New file.
2804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2805 New file.
2806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2807 file.
2808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2809 New file.
2810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2811 file.
2812
41d73a1b
JM
28132012-04-28 Joseph Myers <joseph@codesourcery.com>
2814
2815 * conform/conformtest.pl: Fix typo in handling typed-constant from
2816 allow-header.
2817
28aeeda4
JM
28182012-04-27 Joseph Myers <joseph@codesourcery.com>
2819
adae8f5e
JM
2820 * README: Cut down references to pre-2.6 Linux kernels and
2821 Linuxthreads. Update lists of configurations in libc and ports
2822 and sort alphabetically. Say "or newer" with Linux kernel version
2823 requirements.
2824
28aeeda4
JM
2825 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2826
a462cb63
RA
28272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2828
2829 [BZ #887]
2830 * math/libm-test.inc (logb_test_downward): New test to expose
2831 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2832 rounding mode.
2833
6ad3493e
JM
28342012-04-27 Joseph Myers <joseph@codesourcery.com>
2835
2836 [BZ #14027]
2837 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2838 to be done.
2839 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2840 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2841
2ce4f015
JM
28422012-04-26 Joseph Myers <joseph@codesourcery.com>
2843
5aeb141a
JM
2844 * sysdeps/unix/i386/brk.S: Remove file.
2845 * sysdeps/unix/i386/dl-brk.S: Likewise.
2846 * sysdeps/unix/i386/pipe.S: Likewise.
2847 * sysdeps/unix/i386/sigreturn.S: Likewise.
2848 * sysdeps/unix/i386/syscall.S: Likewise.
2849 * sysdeps/unix/i386/vfork.S: Likewise.
2850 * sysdeps/unix/i386/wait.S: Likewise.
2851
7143acae
JM
2852 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2853 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2854
2ce4f015
JM
2855 * configure.in (arm*-none*): Do not allow without
2856 --enable-hacker-mode.
2857 (netbsd*): Remove case setting base_os.
2858 (386bsd*): Likewise.
2859 (freebsd*): Likewise.
2860 (bsdi*): Likewise.
2861 (osf*): Likewise.
2862 (sunos*): Likewise.
2863 (ultrix*): Likewise.
2864 (newsos*): Likewise.
2865 (dynix*): Likewise.
2866 (*bsd*): Likewise.
2867 (sysv*): Likewise.
2868 (isc*): Likewise.
2869 (esix*): Likewise.
2870 (sco*): Likewise.
2871 (minix*): Likewise.
2872 (irix4*): Likewise.
2873 (irix6*): Likewise.
2874 (solaris[2-9]*): Likewise.
2875 (none): Likewise.
2876 * configure: Regenerated.
2877
0ac229c8
AZ
28782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2879
2880 [BZ #11521]
2881 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2882 overflow or cancellation in calculating denominator.
2883 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2884 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2885 down expression to avoid unexpected rounding in newer GCCs.
2886 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2887
33f244f4
DM
28882012-04-26 David S. Miller <davem@davemloft.net>
2889
2890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2891 long-double compat symbols.
2892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2905
cfa1f3e8
DM
29062012-04-25 David S. Miller <davem@davemloft.net>
2907
2908 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2909 HWCAP_* values only after the memory barriers have been defined.
2910 (atomic_full_barrier): Define.
2911 (atomic_read_barrier): Define.
2912 (atomic_write_barrier): Define.
2913
6e236b92
SP
29142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2915
2916 * shlib-versions: Add libgcc_s version information.
2917 * sysdeps/generic/libgcc_s.h: Remove.
2918 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2919 libgcc_s.h.
2920 * sysdeps/gnu/unwind-resume.c: Likewise.
2921 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2922
aab39a09
DM
29232012-04-25 David S. Miller <davem@davemloft.net>
2924
2925 * sysdeps/unix/sparc/brk.S: Delete.
2926 * sysdeps/unix/sparc/dl-brk.S: Delete.
2927 * sysdeps/unix/sparc/pipe.S: Delete.
2928 * sysdeps/unix/sparc/sysdep.S: Delete.
2929 * sysdeps/unix/sparc/sysdep.h: Delete.
2930 * sysdeps/unix/sparc/vfork.S: Delete.
2931 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2932 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2933 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2934 ret_ERRVAL, r0, r1, MOVE): Define.
2935 (JUMPTARGET): Remove.
2936 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2937 sysdeps/unix/sparc/sysdep.h
2938 (ENTRY, END): Remove.
2939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2940
a3cc4f48
JM
29412012-04-25 Joseph Myers <joseph@codesourcery.com>
2942
2ed8cda2
JM
2943 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2944 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2945 -DIS_IN_build.
2946
35d76d59
JM
2947 * timezone/README: Update upstream location and email address for
2948 tzcode and tzdata.
2949 * timezone/zdump.c: Update from tzcode 2012b.
2950 * timezone/zic.c: Likewise.
2951
a3cc4f48
JM
2952 * configure.in (libc_cv_as_needed): Remove test.
2953 * configure: Regenerated.
2954 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2955 conditional definition.
2956 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2957 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2958 * config.make.in (have-as-needed): Remove variable.
2959
ceab42c3
SP
29602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2961 Paul Pluzhnikov <ppluzhnikov@google.com>
2962
2963 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2964 strings correctly.
2965
3ce2865f
CLT
29662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2967
2968 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2969 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2970 * sysdeps/sh/strlen.S: Likewise.
2971
f37e0d68
JM
29722012-04-24 Joseph Myers <joseph@codesourcery.com>
2973
ae186e9a
JM
2974 * sysdeps/unix/fork.S: Remove file.
2975 * sysdeps/unix/i386/fork.S: Likewise.
2976 * sysdeps/unix/sparc/fork.S: Likewise.
2977
b96914af
JM
2978 * sysdeps/unix/system.c: Remove file.
2979 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2980
f37e0d68
JM
2981 * sysdeps/unix/getegid.S: Remove file.
2982 * sysdeps/unix/geteuid.S: Likewise.
2983
87ef29ca
RM
29842012-04-24 Roland McGrath <roland@hack.frob.com>
2985
83bcd236
RM
2986 * scripts/check-localplt.awk: New file.
2987 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2988 of diff.
2989 * scripts/data/localplt-generic.data: Add a comment.
2990
87ef29ca
RM
2991 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2992 NODE when __dir_mkfile failed.
2993 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2994 Reported by Ludovic Courtès <ludo@gnu.org>.
2995
e5a6e567
AJ
29962012-04-24 Andreas Jaeger <aj@suse.de>
2997
2998 * Makerules (common-clean): Also remove gen-as-const-headers
2999 files.
3000
c1820385
JM
30012012-04-24 Joseph Myers <joseph@codesourcery.com>
3002
3003 * Makerules (native-compile): Do not change working directory for
3004 build. Use $(OUTPUT_OPTION) in command.
3005 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3006
94e02fc4
AZ
30072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3008
3009 [BZ #13886]
3010 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3011 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3012 * math/libm-test.inc (floor_test): Add more tests.
3013 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3014
3a533ca3
JM
30152012-04-24 Joseph Myers <joseph@codesourcery.com>
3016
940ab4b3
JM
3017 * sysdeps/unix/getdents.c: Remove file.
3018 * sysdeps/unix/sysv/getdents.c: Likewise.
3019 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3020
90e037bd
JM
3021 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3022 sysdeps/unix/mman/syscalls.list.
3023 (mmap): Likewise.
3024 (mprotect): Likewise.
3025 (msync): Likewise.
3026 (munmap): Likewise.
3027 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3028 * sysdeps/unix/mman/syscalls.list: Remove.
3029 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3030
3a533ca3
JM
3031 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3032 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3033 * configure: Regenerated.
3034 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3035 $(libgcc_s_suffix).
3036 * config.make.in (libgcc_s_suffix): Remove variable.
3037
1ad743de
JM
30382012-04-23 Joseph Myers <joseph@codesourcery.com>
3039
4ad451e2
JM
3040 * sysdeps/unix/sysv/gethostname.c: Move to ...
3041 * sysdeps/posix/gethostname.c: ... here.
3042
5e37ce39
JM
3043 * sysdeps/unix/execve.S: Remove file.
3044
1ad743de
JM
3045 * sysdeps/unix/_exit.S: Remove file.
3046
4e681b5b
AJ
30472012-04-23 Andreas Jaeger <aj@suse.de>
3048
3049 [BZ #13739]
3050 * manual/Makefile: Remove make dist support, there's no
3051 need for a stand-alone documentation tar ball.
3052 (TEXI2DVI): Define always, it's not in Makeconfig.
3053 (dist): Removed.
3054 (tar-it): Removed.
3055 (edition): Removed.
3056 (glibc-doc-$(edition).tar): Removed
3057 (%.Z): Removed.
3058 (%.gz): Removed.
3059 (%.uu): Removed.
3060 (ETAGS): Remove, it's in Makeconfig.
3061 (move-if-change): Remove, it's in Makeconfig.
3062
c0baea34
PE
30632013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3064
3065 [BZ #13970]
3066 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3067 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3068 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3069 (strtod_l, strtof_l, strtold_l): Remove __wur.
3070 It is not necessarily an error to ignore strtol's return value.
3071 One can reliably look at the stored endptr to decide whether
3072 the number had valid syntax.
3073
7c0616fa
AJ
30742012-04-21 Andreas Jaeger <aj@suse.de>
3075
803cb6b7 3076 [BZ #13739]
7c0616fa
AJ
3077 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3078
b0fe253f
JM
30792012-04-21 Joseph Myers <joseph@codesourcery.com>
3080
3081 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3082 * sysdeps/unix/sysv/Versions: Remove file.
3083
8280f22d
MT
30842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3085
3086 [BZ #13927]
3087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3088
75ce411f 30892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3090
3091 [BZ #7064]
3092 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3093 version from __vm86.
3094
097d59fa
JM
30952012-04-20 Joseph Myers <joseph@codesourcery.com>
3096
a90f3bcb
JM
3097 * sysdeps/unix/common/lxstat.c: Remove file.
3098 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3099
edc7ea78
JM
3100 * sysdeps/unix/sysv/Makefile: Remove file.
3101
cb78c221
JM
3102 * sysdeps/unix/sysv/direct.h: Remove file.
3103
efa6a45f
JM
3104 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3105 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3106 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3107 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3108 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3109 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3110 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3111
9c9f2d0c
JM
3112 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3113
4541c83b
JM
3114 * sysdeps/unix/xmknod.c: Remove file.
3115 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3116
f5d153a0
JM
3117 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3118
aa746595
JM
3119 * sysdeps/unix/sysv/i386/time.S: Remove file.
3120
cce5905e
JM
3121 * sysdeps/unix/fxstat.c: Remove file.
3122 * sysdeps/unix/xstat.c: Likewise.
3123 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3124
37fa3841
JM
3125 * sysdeps/unix/sysv/sigaction.c: Remove file.
3126
ff1962a3
JM
3127 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3128 (sysdep_headers): Remove variable.
3129 [termio.h not in sysdep_headers] (generated): Likewise.
3130 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3131 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3132 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3133 * sysdeps/unix/sysv/tcflow.c: Likewise.
3134 * sysdeps/unix/sysv/tcflush.c: Likewise.
3135 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3136 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3137 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3138 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3139 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3140
e7740d31
JM
3141 * sysdeps/unix/siglist.c: Remove file.
3142
ee06f18b
JM
3143 * sysdeps/unix/getppid.S: Remove file.
3144
097d59fa
JM
3145 * sysdeps/unix/mkdir.c: Remove file.
3146 * sysdeps/unix/rmdir.c: Likewise.
3147
ff3d51ec
AS
31482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3149
3150 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3151 ERR_MAX value.
3152 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3153 errlist-compat value.
3154
50f81fd7
DM
31552012-04-18 David S. Miller <davem@davemloft.net>
3156
3157 * sysdeps/generic/memcopy.h (reg_char): Delete.
3158 * debug/strcat_chk.c: Use char, not reg_char.
3159 * debug/strcpy_chk.c: Likewise.
3160 * debug/strncat_chk.c: Likewise.
3161 * debug/strncpy_chk.c: Likewise.
3162 * string/memchr.c: Likewise.
3163 * string/memrchr.c: Likewise.
3164 * string/rawmemchr.c: Likewise.
3165 * string/strcat.c: Likewise.
3166 * string/strchr.c: Likewise.
3167 * string/strchrnul.c: Likewise.
3168 * string/strcmp.c: Likewise.
3169 * string/strcpy.c: Likewise.
3170 * string/strncat.c: Likewise.
3171 * string/strncmp.c: Likewise.
3172 * string/strncpy.c: Likewise.
3173
8ff41c46
WS
31742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3175
3176 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3177 __builtin_memcopy is called when src and dest ranges are known to not
3178 overlap.
3179
6b652f46
WS
31802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3181
3182 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3183 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3184 fwd_align_merge macro call.
3185 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3186 bwd_align_merge macro call.
3187 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3188
b282631e
WS
31892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3190
3191 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3192 bwd_align_merge macros.
3193 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3194 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3195 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3196
95aa737c
DM
31972012-04-18 David S. Miller <davem@davemloft.net>
3198
3199 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3200
7a99a614
AJ
32012012-04-18 Andreas Jaeger <aj@suse.de>
3202
3203 [BZ# 6794]
3204 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3205 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3206 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3207
3208 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3209 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3210 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3211
3212 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3213 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3214 Adjust for changed ldbl-128 files.
3215
3216 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3217 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3218 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3219
e5270c23
DM
32202012-04-17 David S. Miller <davem@davemloft.net>
3221
3222 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3223
fb5e92c9
AS
32242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3225
3226 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3227 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3228 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3229 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3230 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3231 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3232
76da7265
AZ
32332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3234
3235 [BZ #6794]
3236 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3237 * math/libm-test.inc: Add ilogb errno and exception tests.
3238 * math/w_ilogb.c: New file: ilogb wrapper.
3239 * math/w_ilogbf.c: New file: ilogbf wrapper.
3240 * math/w_ilogbl.c: New file: ilogbl wrapper.
3241 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3242 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3243 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3244 exception being thrown with 0.0 as argument.
3245 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3246 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3247 exception being thrown with 0.0 as argument.
3248 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3249 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3250 exception being thrown with 0.0 as argument.
3251 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3252 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3253 exception being thrown with 0.0 as argument.
3254 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3255 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3256 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3257 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3258 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3259 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3260 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3261 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3262 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3263
0396e69d
PB
32642012-04-17 Petr Baudis <pasky@ucw.cz>
3265
3266 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3267 with altivec.
3268
750b5926
MP
32692012-04-16 Marek Polacek <polacek@redhat.com>
3270
3271 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3272
751728a1
MP
32732012-04-16 Marek Polacek <polacek@redhat.com>
3274
3275 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3276 operands of fdivp instruction.
3277
34a27407
L
32782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3279
3280 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3281 * elf/tst-auditmod3b.c: Likewise.
3282 * elf/tst-auditmod4b.c: Likewise.
3283 * elf/tst-auditmod5b.c: Likewise.
3284 * elf/tst-auditmod6b.c: Likewise.
3285 * elf/tst-auditmod6c.c: Likewise.
3286 * elf/tst-auditmod7b.c: Likewise.
3287 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3288 * sysdeps/x86_64/preconfigure.in: Likewise.
3289 * sysdeps/x86_64/preconfigure: Regenerated.
3290
7e73e17d
L
32912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3292
3293 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3294 __ILP32__.
3295
c7a6ab72
AB
32962012-04-13 Antoine Balestrat <merkil33@gmail.com>
3297
3298 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3299 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3300
a9e8e0e0
CL
33012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3302
3303 [BZ #13973]
3304 * locale/iso-639.def: Fix gl language name. Spotted by
3305 Yaron Shahrabani.
3306
ec98af7d
RM
33072012-04-12 Roland McGrath <roland@hack.frob.com>
3308
3309 [BZ #2074]
3310 * libio/libio.h (__io_write_fn): Update comment.
3311
247c3ede
PB
33122012-04-12 Petr Baudis <pasky@ucw.cz>
3313
3314 [BZ #2074]
3315 * stdio.texi (Hook Functions): The user provided writer function
3316 is not allowed to return -1.
3317
55939d6d
DM
33182012-04-11 David S. Miller <davem@davemloft.net>
3319
3320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3321
90020f5a
MF
33222012-04-11 Mike Frysinger <vapier@gentoo.org>
3323
3324 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3325 Add a leading slash to rtkaio.
3326
288f9098
JM
33272012-04-11 Jim Meyering <meyering@redhat.com>
3328
90020f5a
MF
3329 [BZ #11959]
3330 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3331 It is not necessarily an error to ignore fwrite's return
3332 value. One can reliably use ferror to test for errors after
3333 the fact.
288f9098 3334
4be2b570
L
33352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3336
3337 * bits/types.h (__snseconds_t): New type.
3338 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3339
3340 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3342 (__SNSECONDS_T_TYPE): Likewise.
3343 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3344 (__SNSECONDS_T_TYPE): Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3346 (__SNSECONDS_T_TYPE): Likewise.
3347
288f9098 33482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
3349
3350 [BZ #2636]
3351 * manual/time.texi (Processor Time): Return type of times is
3352 elapsed real time since an arbitrary point in the past.
3353 (CPU Time): Move CLK_TCK from here...
3354 (Processor Time): ...to here. Correct description.
3355 * manual/conf.texi (Constants for Sysconf): Correct description of
3356 _SC_CLK_TCK.
3357
d7dd4413
DM
33582012-04-10 David S. Miller <davem@davemloft.net>
3359
3360 [BZ #13967]
3361 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3362 where the is a gap between DT_REL(A) and DT_JMPREL.
3363
b46068fc
L
33642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3365
3366 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3367 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3368 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3369
73d65cc3
SP
33702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3371
3372 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3373 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3374 (dl_main): Handle --inhibit-cache.
3375 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3376 _dl_inhibit_cache.
3377 * elf/dl-load.c (_dl_map_object): Use it.
3378 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3379
bcc8d661
JM
33802012-04-09 Joseph Myers <joseph@codesourcery.com>
3381
8f9a2fae
JM
3382 [BZ #13872]
3383 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3384 (__ieee754_powl): Saturate large exponents rather than testing for
3385 overflow of y*log2(x).
3386 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3387 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3388 exceptions.
3389
bcc8d661
JM
3390 [BZ #11521]
3391 * math/s_ctan.c: Include <float.h>.
3392 (__ctan): Avoid internal overflow or cancellation in calculating
3393 denominator.
3394 * math/s_ctanf.c: Likewise.
3395 * math/s_ctanl.c: Likewise.
3396 * math/s_ctanh.c: Likewise.
3397 * math/s_ctanhf.c: Likewise.
3398 * math/s_ctanhl.c: Likewise.
3399 * math/libm-test.inc (ctan_test): Add more tests.
3400 (ctanh_test): Likewise.
3401 * sysdeps/i386/fpu/libm-test-ulps: Update.
3402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3403
823fbbb4
AJ
34042012-04-09 Andreas Jaeger <aj@suse.de>
3405
03879793
AJ
3406 [BZ #6894]
3407 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3408 is an optional BSD extension.
3409
823fbbb4
AJ
3410 [BZ #10254]
3411 * manual/stdio.texi (Opening Streams): Document additional fopen
3412 parameters.
3413
8de131cb
RM
34142012-04-09 Roland McGrath <roland@hack.frob.com>
3415
3416 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3417 %eax without telling the compiler.
3418
c0ed9d7d
CD
34192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3420
3421 [BZ # 13963]
3422 * manual/install.texi: Use sourceware.org.
3423
c483f6b4
JM
34242012-04-09 Joseph Myers <joseph@codesourcery.com>
3425
d7dd9453
JM
3426 [BZ #13873]
3427 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3428 (__ieee754_pow): Generate overflow and underflow using huge*huge
3429 and tiny*tiny rather than just returning constant infinity or zero
3430 for large exponents.
3431 * math/libm-test.inc (pow_test): Require overflow exceptions for
3432 applicable cases of large exponents.
3433
c483f6b4
JM
3434 [BZ #706]
3435 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3436 (__ieee754_pow): Use iterative multiplication algorithm only for
3437 integer exponents with absolute value below 1024. Check for odd
3438 integer exponents when using algorithm for real exponents.
3439 * math/libm-test.inc (pow_test): Add more tests.
3440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3441
d2de7579
JM
34422012-04-08 Joseph Myers <joseph@codesourcery.com>
3443
3444 [BZ #13705]
3445 * math/libm-test.inc (exp_test): Do not allow overflow exception
3446 on underflow test.
3447
f77f1232
AJ
34482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3449
3450 [BZ #13705]
3451 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3452 instead of __kernel_standard_f.
3453
3884932b
MF
34542012-04-08 Mike Frysinger <vapier@gentoo.org>
3455
3456 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3457 * sysdeps/x86_64/memset_chk.S: Likewise.
3458
54472e9c
AJ
34592012-04-08 Andreas Jaeger <aj@suse.de>
3460
6ab0fbfc
AJ
3461 [BZ #10153]
3462 * manual/startup.texi (Environment Access): Describe return value
3463 for putenv and setenv.
3464
61efba8c
AJ
3465 [BZ #6895]
3466 * manual/filesys.texi (Directory Entries): Add description for
3467 DT_LNK.
3468
95c3f29a
AJ
3469 [BZ #6890]
3470 * manual/filesys.texi (Directory Entries): Clarify that it's file
3471 system not operating system in the description of DT_UNKNOWN.
3472
54472e9c
AJ
3473 [BZ #6578]
3474 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3475
624254b1
SC
34762012-04-08 Stephen Compall <s11@member.fsf.org>
3477
3478 [BZ #6649]
3479 * manual/llio.texi (Opening and Closing Files): Add cross
3480 reference to explain mode argument.
3481
1e4920e0
MF
34822012-04-07 Mike Frysinger <vapier@gentoo.org>
3483
3484 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3485 * sysdeps/x86_64/memset_chk.S: Likewise.
3486
5ed848f3
DM
34872012-04-07 David S. Miller <davem@davemloft.net>
3488
3489 * elf/elf.h (R_SPARC_WDISP10): Define.
3490 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3491 R_SPARC_SIZE32.
3492 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3493 R_SPARC_SIZE64 and R_SPARC_H34.
3494
96154cd8
CD
34952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3496
3497 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3498 conditions and remove no longer applicable assertion.
3499
9904dc47
L
35002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3501
3502 * bits/byteswap.h: Include <features.h>.
3503 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3504 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3505
f8887d0a
L
35062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3507
3508 * bits/byteswap.h (__bswap_16): Removed.
3509 Include <bits/byteswap-16.h> to get __bswap_16.
3510 * sysdeps/i386/bits/byteswap.h: Likewise.
3511 * sysdeps/s390/bits/byteswap.h: Likewise.
3512 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3513 * bits/byteswap-16.h: New file.
3514 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3515 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3516 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3517 * string/Makefile (headers): Add bits/byteswap-16.h.
3518
62470f60
PP
35192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3520
3521 [BZ #13895]
3522 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3523 extra indirection.
3524 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3525 * nss/tst-nss-static.c: New.
3526
4dad7bab
RM
35272012-04-06 Robert Millan <rmh@gnu.org>
3528
3529 [BZ #6486]
3530 * manual/llio.texi (File Position Primitive): lseek
3531 refers to WHENCE when it really means OFFSET.
3532
e9142a17
AJ
35332012-04-06 Andreas Jaeger <aj@suse.de>
3534
2c040eff
AJ
3535 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3536 strncmp declarations.
3537
e9142a17
AJ
3538 * abilist/libc.abilist: Add __poll and __ppoll.
3539
ff9f1c5f
DM
35402012-04-05 David S. Miller <davem@davemloft.net>
3541
dcd2ae90
DM
3542 * scripts/check-local-headers.sh: Accept a host triplet in the
3543 path matched by the exclude regexp.
3544
993eb054
DM
3545 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3546 definition.
3547 * sysdeps/powerpc/powerpc32/dl-machine.h
3548 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3549 * sysdeps/s390/s390-32/dl-machine.h
3550 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3551 * sysdeps/sparc/sparc32/dl-machine.h
3552 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3553 * sysdeps/sparc/sparc64/dl-machine.h
3554 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3555
ff9f1c5f
DM
3556 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3557 lazy binding.
48e2e132 3558 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
3559 undefined symbol errors.
3560
48e2e132 3561 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
3562 DT_NEEDED entries.
3563
e80d6f94
MM
35642012-04-05 Michael Matz <matz@suse.de>
3565
3566 [BZ #13592]
3567 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3568
349fa79f
AJ
35692012-04-05 Andreas Jaeger <aj@suse.de>
3570
3571 [BZ #13908]
3572 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3573 comment.
3574
f402708f
KK
35752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3576
3577 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3578 which ROUND is no valid rounding mode.
3579
2ecccfc9
KK
35802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3581
3582 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3583 read again.
3584 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3585
8a53f50f
KK
35862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3587
3588 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3589 an exception using FPU order intentionally.
3590
35912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3592
3593 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3594 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3595 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3596 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3597
d653abb7
SJ
35982012-04-05 Simon Josefsson <simon@josefsson.org>
3599
3600 [BZ #12340]
3601 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3602 EINVAL when BUFLEN is too smal.
3603
c3b1bf7d
TS
36042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3605
3606 [BZ #13553]
3607 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3608 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3609
b1aa60f3
AJ
36102012-04-03 Andreas Jaeger <aj@suse.de>
3611
c3b1bf7d 3612 [BZ #13938]
67f60a26
AJ
3613 * manual/setjmp.texi (System V contexts): Fix sentence.
3614
b1aa60f3
AJ
3615 [BZ #13926]
3616 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3617 New macro for this case.
3618 [!__GNUC__] (__bswap_64): New inline function for this case.
3619 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3620 * bits/byteswap.h: Likewise.
3621 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3622 ull, guard with __GLIBC_HAVE_LONG_LONG.
3623
3624 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3625 __GLIBC_HAVE_LONG_LONG.
3626
3627 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3628 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3629
39c59c35
TMQMF
36302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3631
3632 [BZ #13691]
3633 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3634 inptr and inend, rather than using last_ch.
3635
135ffda8
DM
36362012-04-02 David S. Miller <davem@davemloft.net>
3637
3638 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3639 * stdio-common/printf-parse.h (read_int): Change return type to
3640 'int', return -1 on INT_MAX overflow.
3641 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3642 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3643 overflows INT_MAX. Check for overflow of in-format-string precision
3644 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3645 SIZE_MAX not INT_MAX for integer overflow test.
3646 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3647 skip the construct in the format string but do not record anything.
3648 * stdio-common/bug22.c: Adjust to test both width/prevision
3649 INT_MAX overflow as well as total length INT_MAX overflow. Check
3650 explicitly for proper errno values.
3651
228c019e
TS
36522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3653
302cadd3
TS
3654 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3655 CHAR_MAX.
3656 * string/test-strcmp.c [! WIDE]: Likewise.
3657 * time/tst-mktime2.c: Likewise for INT_MAX.
3658 * string/test-string.h: #include <sys/param.h> for MIN.
3659
228c019e
TS
3660 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3661 * sysdeps/i386/init-first.c (init): Likewise.
3662 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3663 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3664 * sysdeps/sh/init-first.c (init): Likewise.
3665
cfa633f5
UD
36662012-04-01 Ulrich Drepper <drepper@gmail.com>
3667
3668 * po/ru.po: Update from translation team.
d1635ef8 3669 * po/vi.po: Likewise.
cfa633f5 3670
6cd0a5ea
SP
36712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3672
3673 * resolv/nss_dns/dns-host.c: Merge copyright years.
3674
4b43400f
LD
36752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3676
3677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3678 Optimize memcpy with prefetch if
3679 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3680 src, dst pointers have unequal 16 byte alignments.
3681
48c41d04
SP
36822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3683
3684 [BZ #13928]
3685 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3686 from a CNAME entry and return the minimum ttl for the query.
3687 (gaih_getanswer_slice): Likewise.
3688
b8dc394d
JL
36892012-03-30 Jeff Law <law@redhat.com>
3690
3691 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3692 due to long keys.
3693 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3694 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3695
2f5a5ed0
JL
3696 * resolv/nss_dns/dns-host.c: Update copyright year.
3697
1d39e359
UD
36982012-03-30 Ulrich Drepper <drepper@gmail.com>
3699
c030f70c 3700 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3701 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3702
1d39e359
UD
3703 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3704 comments for sendmmsg.
3705
37062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3707
3708 [BZ #13691]
3709 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3710 with only 1 character between 0x0041 and 0x01b0.
3711 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3712 * wcsmbs/tst-mbsnrtowcs.c: New file.
3713
20fde227
DM
37142012-03-29 David S. Miller <davem@davemloft.net>
3715
3716 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3717 small copies by hand.
3718
984a4237
JL
37192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3720
3721 [BZ #13761]
3722 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3723 _nss_compat_initgroups_dyn): Fall back to malloc/free
3724 for large group memberships.
3725
18c9d62b
DM
37262012-03-28 David S. Miller <davem@davemloft.net>
3727
88d85d4f
DM
3728 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3729 that branches into memcpy.
3730 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3731 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3732 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3733 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3735 bits.
3736 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3737 implementation too.
3738 * sysdeps/sparc/mempcpy.S: New file.
3739
e5aa83e1
DM
3740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3741 the IFUNC routine in the libc case.
3742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3743
88570753
DM
3744 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3745 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3746 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3747 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3748 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3749 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3750 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3751 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3752
249d7567
DM
3753 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3754 loop to 256 bytes instead of 64 bytes and fix test signedness.
3755
18c9d62b
DM
3756 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3757 * sysdeps/sparc/sparc32/Makefile: rather than here...
3758 * sysdeps/sparc/sparc64/Makefile: and here.
3759
05f3d1f6
UD
37602012-03-28 Ulrich Drepper <drepper@gmail.com>
3761
3762 * malloc/mallocbug.c: Avoid warnings about unused variables.
3763
86ae07a8
JL
37642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3765
3766 [BZ #13760]
3767 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3768 in the right place. Discard and retry query if response is
3769 larger than input buffer size.
3770
41bf21a1
JM
37712012-03-28 Joseph Myers <joseph@codesourcery.com>
3772
d6270972
JM
3773 [BZ #369]
3774 [BZ #2678]
3775 [BZ #3866]
3776 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3777 x for large integer exponent.
3778 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3779 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3780 sign of result as needed afterwards.
3781 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3782 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3783 result for underflowing pow the same as for overflow.
3784 (__kernel_standard_l): Handle powl overflow and underflow here
3785 rather than calling __kernel_standard.
3786 * math/libm-test.inc (pow_test): Add more tests.
3787
414fca03 3788 [BZ #3868]
41bf21a1
JM
3789 [BZ #13879]
3790 [BZ #13910]
3791 [BZ #13911]
3792 [BZ #13912]
3793 [BZ #13913]
3794 [BZ #13915]
3795 [BZ #13916]
3796 [BZ #13917]
3797 [BZ #13918]
3798 [BZ #13919]
3799 [BZ #13920]
3800 [BZ #13921]
3801 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3802 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3803 (__kernel_standard_l): New function.
3804 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3805 __kernel_standard.
3806 * math/w_acosl.c (__acosl): Likewise.
3807 * math/w_asinl.c (__asinl): Likewise.
3808 * math/w_atan2l.c (__atan2l): Likewise.
3809 * math/w_atanhl.c (__atanhl): Likewise.
3810 * math/w_coshl.c (__coshl): Likewise.
3811 * math/w_exp10l.c (__exp10l): Likewise.
3812 * math/w_exp2l.c (__exp2l): Likewise.
3813 * math/w_fmodl.c (__fmodl): Likewise.
3814 * math/w_hypotl.c (__hypotl): Likewise.
3815 * math/w_j0l.c (__j0l, __y0l): Likewise.
3816 * math/w_j1l.c (__j1l, __y1l): Likewise.
3817 * math/w_jnl.c (__jnl, __ynl): Likewise.
3818 * math/w_lgammal.c (__lgammal): Likewise.
3819 * math/w_log10l.c (__log10l): Likewise.
3820 * math/w_log2l.c (__log2l): Likewise.
3821 * math/w_logl.c (__logl): Likewise.
3822 * math/w_powl.c (__powl): Likewise.
3823 * math/w_remainderl.c (__remainderl): Likewise.
3824 * math/w_scalbl.c (sysv_scalbl): Likewise.
3825 * math/w_sinhl.c (__sinhl): Likewise.
3826 * math/w_sqrtl.c (__sqrtl): Likewise.
3827 * math/w_tgammal.c (__tgammal): Likewise.
3828 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3829 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3830 * math/libm-test.inc (acos_test): Add more tests.
3831 (acosh_test): Likewise.
3832 (asin_test): Likewise.
3833 (atanh_test): Likewise.
3834 (exp_test): Likewise.
3835 (exp10_test): Likewise.
3836 (exp2_test): Likewise.
3837 (expm1_test): Likewise.
3838 (lgamma_test): Likewise.
3839 (log_test): Likewise.
3840 (log10_test): Likewise.
3841 (log1p_test): Likewise.
3842 (log2_test): Likewise.
3843 (pow_test): Do not allow some spurious overflow exceptions.
3844 (sqrt_test): Add more tests.
3845 (tgamma_test): Likewise.
3846 (y0_test): Likewise.
3847 (y1_test): Likewise.
3848 (yn_test): Likewise.
3849
dd62fda6
AB
38502012-03-27 Anton Blanchard <anton@samba.org>
3851
3852 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3853 MAP_HUGETLB.
3854 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3855 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3856 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3857
1e3cdfda
AJ
38582012-03-27 David S. Miller <davem@davemloft.net>
3859
b855ab85
DM
3860 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3861
1e3cdfda
AJ
3862 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3863 have-as-vis3 check.
3864
38652012-03-27 Andreas Jaeger <aj@suse.de>
3866
3867 * sysdeps/x86_64/elf/configure.in: Moved to ...
3868 * sysdeps/x86_64/configure.in: ... here.
3869 * sysdeps/x86_64/elf/start.S: Moved to ...
3870 * sysdeps/x86_64/start.S: ... here.
3871 * sysdeps/x86_64/elf/configure: Delete.
3872
3873 * sysdeps/x86_64/configure.in: Merge contents from
3874 sysdeps/i386/configure.in (without i686 check).
3875
3876 * sysdeps/i386/elf/Versions: Merge into ...
3877 * sysdeps/i386/Versions: ... this.
3878 * sysdeps/i386/elf/Versions: Delete file.
3879 * sysdeps/i386/elf/start.S: Moved to ...
3880 * sysdeps/i386/start.S: ...here.
3881 * sysdeps/i386/elf/configure.in: Merge into...
3882 * sysdeps/i386/configure.in: ...here.
3883 * sysdeps/i386/elf/configure.in: Delete file.
3884 * sysdeps/i386/elf/configure: Delete file.
3885
3886 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3887 * debug/backtracesyms.c: ... here.
3888 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3889 * debug/backtracesymsfd.c: ... here.
3890 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3891 * sysdeps/generic/ifunc-sel.h: ... here.
3892
3893 * sysdeps/unix/i386/start.c: Delete file.
3894 * sysdeps/unix/sparc/start.c: Delete file.
3895 * sysdeps/unix/start.c: Delete file.
3896
3897 * sysdeps/sh/elf/configure.in: Moved to ...
3898 * sysdeps/sh/configure.in: ... here.
3899 * sysdeps/sh/elf/start.S: Moved to ...
3900 * sysdeps/sh/start.S: ... here.
3901 * sysdeps/sh/elf/configure: Delete file.
3902
3903 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3904 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3905 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3906 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3907 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3908 * sysdeps/powerpc/powerpc64/start.S: here.
3909 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3910 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3911 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3912 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3913 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3914
3915 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3916 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3917 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3918 * sysdeps/powerpc/powerpc32/start.S: ... here.
3919 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3920 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3921 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3922
3923 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3924 * sysdeps/powerpc/ifunc-sel.h: ... here.
3925 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3926 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3927
3928 * sysdeps/sparc/elf/configure.in: Moved to ...
3929 * sysdeps/sparc/configure.in: ... here.
3930 * sysdeps/sparc/elf/configure: Delete file.
3931 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3932 * sysdeps/sparc/sparc32/start.S: ... here.
3933 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3934 * sysdeps/sparc/sparc64/start.S: ... here.
3935 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3936 * sysdeps/sparc/sparc32/Makefile: ... this.
3937 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3938 * sysdeps/sparc/sparc64/Makefile: ... this.
3939
3940 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3941 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3942 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3943 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3944 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3945 * sysdeps/s390/s390-32/setjmp.S: ... here.
3946 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3947 * sysdeps/s390/s390-32/configure.in: ... here.
3948 * sysdeps/s390/s390-32/elf/configure: Delete file.
3949 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3950 * sysdeps/s390/s390-32/start.S: ... here.
3951
3952 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3953 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3954 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3955 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3956 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3957 * sysdeps/s390/s390-64/setjmp.S: ... here.
3958 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3959 * sysdeps/s390/s390-64/configure.in: ... here
3960 * sysdeps/s390/s390-64/elf/configure: Delete file.
3961 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3962 * sysdeps/s390/s390-64/start.S: ... here.
3963 * sysdeps/s390/s390-64/elf/configure: Delete.
3964
3965 * configure.in: Remove support for elf directories in sysdeps.
3966
3967 * configure: Regenerated.
3968 * sysdeps/i386/configure: Regenerated.
3969 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3970 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3971 * sysdeps/s390/s390-32/configure: Regenerated.
3972 * sysdeps/s390/s390-64/configure: Regenerated.
3973 * sysdeps/sh/configure: Regenerated.
3974 * sysdeps/sparc/configure: Regenerated.
3975 * sysdeps/x86_64/configure: Regenerated.
3976
a3f61311
AS
39772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3978
c876e002
AS
3979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3980
a3f61311
AS
3981 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3982 denormal result into account.
3983
ac4c54f0
RM
39842012-03-25 Roland McGrath <roland@hack.frob.com>
3985
3986 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3987 Reported by Allan McRae <allan@archlinux.org>.
3988
6a9b9c02
JL
39892012-03-23 Jeff Law <law@redhat.com>
3990
3991 * nss/getnssent.c (__nss_getent): Fix typo.
3992
4c42a0c1
DM
39932012-03-23 David S. Miller <davem@davemloft.net>
3994
3995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3996
1532c7ac
L
39972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3998
3999 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4000 to pad to uint64_t for each field.
4001 (dl_tls_index): Replace unsigned long with uint64_t.
4002
3ff42526
PP
40032012-03-23 Daniel Jacobowitz <dmj@google.com>
4004 Paul Pluzhnikov <ppluzhnikov@google.com>
4005
4006 [BZ #6528]
4007 * grp/Makefile (otherlibs): Don't set it.
4008 * inet/Makefile (otherlibs): Likewise.
4009 * login/Makefile (otherlibs): Likewise.
4010 * nscd/Makefile (otherlibs): Likewise.
4011 * posix/Makefile (otherlibs): Likewise.
4012 * pwd/Makefile (otherlibs): Likewise.
4013 * rt/Makefile (otherlibs): Likewise.
4014 * sunrpc/Makefile (otherlibs): Likewise.
4015 * nss/Makefile (otherlibs): Likewise.
4016 Add libnss_files to routines and static-only-routines.
4017 ($(objpfx)getent): Remove rule.
4018 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4019 static-only-routines.
4020
7c69cd14
JM
40212012-03-22 Joseph Myers <joseph@codesourcery.com>
4022
4023 [BZ #13892]
4024 * math/s_cexp.c: Include <float.h>.
4025 (__cexp): Handle exp result overflowing not necessarily
4026 overflowing both real and imaginary parts of result.
4027 * math/s_cexpf.c: Likewise.
4028 * math/s_cexpl.c: Likewise.
4029 * math/libm-test.inc (cexp_test): Add more tests.
4030 * sysdeps/i386/fpu/libm-test-ulps: Update.
4031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4032
81b035fe
L
40332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4034
4035 * include/link.h (ELFW): New macro.
4036 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4037 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4038
1da7940c
L
40392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4040
4041 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4042 with uint64_t.
4043
b749dbb9
L
40442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4045
4046 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4047 declaration.
4048 (struct La_x32_retval): Likewise.
4049
2ff87f3f
L
40502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 * sysdeps/x86_64/preconfigure.in: New file.
4053 * sysdeps/x86_64/preconfigure: New generated file.
4054
c0df8e69
JM
40552012-03-22 Joseph Myers <joseph@codesourcery.com>
4056
48e44791
JM
4057 [BZ #13824]
4058 * math/e_exp2l.c: Include <float.h>.
4059 (__ieee754_exp2l): Handle overflow and underflow cases
4060 separately. Only pass fractional part of argument to
4061 __ieee754_expl.
4062 * math/libm-test.inc (exp2_test): Add more tests.
4063
c0df8e69
JM
4064 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4065 negating x to take absolute value.
4066 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4067 Likewise.
4068 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4069 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4070 Likewise.
4071 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4072 computing low part if x was negated.
4073 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4074
c8e43ba7
L
40752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4076
4077 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4078 la_x32_gnu_pltexit.
4079 (pltexit): Cast int_retval to ptrdiff_t.
4080 * elf/tst-auditmod3b.c: Likewise.
4081 * elf/tst-auditmod4b.c: Likewise.
4082 * elf/tst-auditmod5b.c: Likewise.
4083 * elf/tst-auditmod6b.c: Likewise.
4084 * elf/tst-auditmod6c.c: Likewise.
4085 * elf/tst-auditmod7b.c: Likewise.
4086
4087 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4088 and x32_gnu_pltexit.
4089
4090 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4091 __ELF_NATIVE_CLASS.
4092 (La_x32_regs): New macro.
4093 (La_x32_retval): Likewise.
4094 (la_x32_gnu_pltenter): New function prototype.
4095 (la_x32_gnu_pltexit): Likewise.
4096
7998fa78
AS
40972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4098
dcb33988
AS
4099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4100 exponent.
4101
233fc563
AS
4102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4103
7998fa78
AS
4104 * configure.in (libc_cv_cc_nofma): Check for option to disable
4105 generation of FMA instructions.
4106 * configure: Regenerate.
4107 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4108 * sysdeps/ieee754/dbl-64/Makefile: New file.
4109 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4110 Remove brandred-fma4.
4111 (CFLAGS-brandred-fma4.c): Remove.
4112 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4113 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4114 define.
4115 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4116 define.
4117
8e95c99a
L
41182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4119
4120 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4121 LLONG_MAX != LONG_MAX.
4122 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4123 (_fitoa_word): Likewise.
4124 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4125 LLONG_MAX != LONG_MAX.
4126 * stdio-common/_itowa.h: Include <_itoa.h>.
4127 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4128 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4129 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4130 only if not defined.
4131 (_ITOA_WORD_TYPE): Likewise.
4132 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4133 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4134
6f4db457
DM
41352012-03-21 David S. Miller <davem@davemloft.net>
4136
4137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4138
7785fe5a
L
41392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4140
4141 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4142 of x86_64 when setting libc_cv_slibdir, libdir and
4143 libc_cv_localedir.
4144 * sysdeps/unix/sysv/linux/configure: Regenerated.
4145
4535cd55
JM
41462012-03-21 Joseph Myers <joseph@codesourcery.com>
4147
4148 * manual/lang.texi (Old Varargs): Remove section.
4149 (How Variadic): Update menu.
4150 (va_start): Do not mention varargs.h.
4151
17228132
TS
41522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4153 Joseph Myers <joseph@codesourcery.com>
4154
4155 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4156 link test.
4157 * configure: Regenerated.
4158
8149f976
TS
41592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4160
05f3d1f6
UD
4161 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4162 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4163 conformtest.pl
8149f976 4164
1a4ac776
JM
41652012-03-21 Joseph Myers <joseph@codesourcery.com>
4166
be22ce65
JM
4167 * NOTES: Remove.
4168 * Makefile (files-for-dist): Remove NOTES.
4169 (NOTES): Remove rule.
4170 * README: Don't refer to NOTES.
4171 * manual/creature.texi: Don't include macros.texi.
4172 * manual/intro.texi (creature.texi): Remove comment referring to
4173 NOTES.
4174
40b601fb
JM
4175 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4176 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4177 * configure: Regenerated.
4178 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4179 LIBC_TRY_CC_OPTION.
4180 (libc_cv_as_i686): Likewise.
4181 (libc_cv_cc_avx): Likewise.
4182 (libc_cv_cc_sse2avx): Likewise.
4183 (libc_cv_cc_fma4): Likewise.
4184 (libc_cv_cc_novzeroupper): Likewise.
4185 * sysdeps/i386/configure: Regenerated.
4186
1a4ac776
JM
4187 [BZ #13883]
4188 * sysdeps/i386/fpu/s_cexp.S: Remove.
4189 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4190 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4191 * math/libm-test.inc (cexp_test): Add more tests.
4192 * sysdeps/i386/fpu/libm-test-ulps: Update.
4193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4194
a458e7fe
AM
41952012-03-21 Allan McRae <allan@archlinux.org>
4196
4197 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4198
0cb7efc5
JM
41992012-03-21 Joseph Myers <joseph@codesourcery.com>
4200
4201 [BZ #13871]
4202 * math/w_exp2.c: Do not include <float.h>.
4203 (o_threshold, u_threshold): Remove.
4204 (__exp2): Calculate result before checking finiteness and calling
4205 __kernel_standard.
4206 * math/w_exp2f.c: Likewise.
4207 * math/w_exp2l.c: Likewise.
4208 * math/libm-test.inc (exp2_test): Require overflow exception for
4209 1e6 input.
2460d3aa
JM
4210
4211 [BZ #3866]
4212 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4213 range of signed 64-bit integers before using fistpll. Remove
4214 checks for whether integers fit in mantissa bits.
4215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4216 the range of signed 32-bit integers before using fistpl. Remove
4217 checks for whether integers fit in mantissa bits.
4218 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4219 (__ieee754_powl): Test for y outside the range of signed 64-bit
4220 integers before using fistpll. Reduce 64-bit values to 63-bit
4221 ones as needed.
4222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4223 divide-by-zero is raised for zero to large negative powers.
4224 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4225 (__ieee754_powl): Test for y outside the range of signed 64-bit
4226 integers before using fistpll. Reduce 64-bit values to 63-bit
4227 ones as needed.
4228 * math/libm-test.inc (pow_test): Add more tests.
4229
eb96ffb0
L
42302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4231
4232 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4233 <stdio-common/_itoa.h>.
4234 * debug/segfault.c: Likewise.
4235 * elf/dl-cache.c: Likewise.
4236 * elf/dl-minimal.c: Likewise.
4237 * elf/dl-misc.c: Likewise.
4238 * elf/dl-sysdep.c: Likewise.
4239 * elf/dl-version.c: Likewise.
4240 * elf/rtld.c: Likewise.
4241 * hurd/hurdsock.c: Likewise.
4242 * hurd/lookup-retry.c: Likewise.
4243 * malloc/malloc.c: Likewise.
4244 * malloc/mtrace.c: Likewise.
4245 * nscd/nscd_getgr_r.c: Likewise.
4246 * nscd/nscd_getpw_r.c: Likewise.
4247 * nscd/nscd_getserv_r.c: Likewise.
4248 * posix/getopt_init.c: Likewise.
4249 * posix/wordexp.c: Likewise.
4250 * stdio-common/_itoa.c: Likewise.
4251 * stdio-common/printf_fphex.c: Likewise.
4252 * stdio-common/vfprintf.c: Likewise.
4253 * string/_strerror.c: Likewise.
4254 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4255 * sysdeps/i386/i686/hp-timing.h: Likewise.
4256 * sysdeps/mach/_strerror.c: Likewise.
4257 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4258 * sysdeps/mach/hurd/sethostid.c: Likewise.
4259 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4260 * sysdeps/mach/xpg-strerror.c: Likewise.
4261 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4262 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4263 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4264 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4265 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4266 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4267 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4268 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4269 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4270 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4271 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4272 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4273 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4274 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4275 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4276 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4277 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4279 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4280 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4281 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4282
4283 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4284
4285 * stdio-common/_itoa.h: Moved to ...
4286 * sysdeps/generic/_itoa.h: Here.
4287
4288 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4289
4290 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4291 instead of "_itoa.h" and "_itowa.h".
4292 * stdio-common/vfprintf.: Likewise.
4293
d1af992d
L
42942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4295
4296 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4297 <bits/wordsize.h>.
4298 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4299 (__signbit): Likwise.
4300 (llrintf): Likwise.
4301 (llrint): Likwise.
4302
114883e0
L
43032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4304
4305 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4306 __WORDSIZE != 64.
4307
c135cc1b
JM
43082012-03-20 Joseph Myers <joseph@codesourcery.com>
4309
4310 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4311 OVERFLOW_EXCEPTION_OK.
4312 * math/libm-test.inc ("Philosophy"): Update comment about
4313 exception testing.
4314 (OVERFLOW_EXCEPTION): Define.
4315 (OVERFLOW_EXCEPTION_OK): Likewise.
4316 (INVALID_EXCEPTION_OK): Renumber.
4317 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4318 (IGNORE_ZERO_INF_SIGN): Likewise.
4319 (test_exceptions): Handle FE_OVERFLOW.
4320 (exp10_test): Expect overflow exceptions.
4321 (exp2_test): Likewise.
4322 (expm1_test): Likewise.
4323 (nextafter_test): Likewise.
4324 (pow_test): Likewise.
4325 (scalbn_test): Likewise.
4326 (scalbln_test): Likewise.
4327
95443d88
L
43282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4329
4330 * sysdeps/x86_64/bits/atomic.h
4331 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4332 64bit integer.
4333 (atomic_exchange_acq): Likewise.
4334 (__arch_exchange_and_add_body): Likewise.
4335 (__arch_add_body): Likewise.
4336 (atomic_add_negative): Likewise.
4337 (atomic_add_zero): Likewise.
4338
490df6c4
L
43392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4340
c2722551 4341 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
4342 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4343
5e52b189
L
43442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4345
4346 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4347 Check __x86_64__ instead of __WORDSIZE.
4348
a9879d4c
L
43492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4350
4351 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4352
5df98260
DM
43532012-03-19 David S. Miller <davem@davemloft.net>
4354
e1497744
DM
4355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4356
5df98260
DM
4357 * sysdeps/sparc/fpu/fenv_private.h: New file.
4358 * sysdeps/sparc/fpu/math_private.h: Use it.
4359 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4360 Remove.
4361 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4362 (libc_feholdexcept_setroundl): Remove.
4363 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4364 Remove.
4365 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4366 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4367
b4c35121
L
43682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4369
4370 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4371 int64_t instead of long int.
4372 (INSERT_WORDS64): Likwise.
4373
56965fd7
L
43742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4375
4376 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4377 _Unwind_GetCFA return to _Unwind_Ptr first.
4378
83d1aec8
JM
43792012-03-19 Joseph Myers <joseph@codesourcery.com>
4380
1897ad44
JM
4381 [BZ #13629]
4382 * math/s_clog.c: Include <float.h>.
4383 (__clog): Scale large or subnormal inputs.
4384 * math/s_clogf.c: Likewise.
4385 * math/s_clogl.c: Likewise.
4386 * math/s_clog10.c: Include <float.h>.
4387 (M_LOG10_2): Define.
4388 (__clog10): Scale large or subnormal inputs.
4389 * math/s_clog10f.c: Likewise.
4390 * math/s_clog10l.c: Likewise.
4391 * math/libm-test.inc (clog_test): Add more tests.
4392 (clog10_test): Likewise.
4393 * sysdeps/i386/fpu/libm-test-ulps: Update.
4394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4395
7726d6a9
JM
4396 [BZ #11451]
4397 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4398 x and y.
4399 * math/libm-test.inc (atan2_test): Add another test.
4400
83d1aec8
JM
4401 * Makerules (common-objdir-compile): Remove.
4402 * sysdeps/unix/Makefile (config-generated): Do not add
4403 $(unix-generated) to variable.
4404 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4405 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4406 Remove rule.
4407 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4408 Likewise.
4409 [generic bits/local_lim.h] (before-compile): Do not append to
4410 variable.
4411 [generic bits/local_lim.h] (common-generated): Likewise.
4412 [generic sys/param.h] (before-compile): Do not append to variable.
4413 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4414 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4415 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4416 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4417 include.
4418 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4419 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4420 [generic sys/param.h] ($(addprefix
4421 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4422 [generic sys/param.h] (common-generated): Do not append to
4423 variable.
4424 [generic sys/param.h] (sysdep_headers): Likewise.
4425 [generic bits/errno.h] (before-compile): Do not append to
4426 variable.
4427 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4428 rule.
4429 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4430 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4431 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4432 [generic bits/errno.h] (common-generated): Do not append to
4433 variable.
4434 [generic bits/ioctls.h] (before-compile): Do not append to
4435 variable.
4436 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4437 rule.
4438 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4439 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4440 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4441 rule.
4442 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4443 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4444 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4445 [generic bits/ioctls.h] (common-generated): Do not append to
4446 variable.
4447 [generic sys/syscall.h] (syscall.h): Remove variable.
4448 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4449 rule.
4450 [generic sys/syscall.h] (before-compile): Do not append to
4451 variable.
4452 [generic sys/syscall.h] (common-generated): Likewise.
4453 * sysdeps/unix/errnos-tmpl.c: Remove file.
4454 * sysdeps/unix/errnos.awk: Likewise.
4455 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4456 * sysdeps/unix/ioctls.awk: Likewise.
4457 * sysdeps/unix/mk-local_lim.c: Likewise.
4458 * sysdeps/unix/snarf-ioctls: Likewise.
4459
4851a949
RH
44602012-03-19 Richard Henderson <rth@twiddle.net>
4461
bd37f2ee
RH
4462 * sysdeps/i386/fpu/fenv_private.h: New file.
4463 * sysdeps/i386/fpu/math_private.h: Use it.
4464 (math_opt_barrier, math_force_eval): Remove.
4465 (libc_feholdexcept_setround_53bit): Remove.
4466 (libc_feupdateenv_53bit): Remove.
4467 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4468 (math_opt_barrier, math_force_eval): Remove.
4469 (libc_feholdexcept): Remove.
4470 (libc_feholdexcept_setround): Remove.
4471 (libc_fetestexcept, libc_fesetenv): Remove.
4472 (libc_feupdateenv_test): Remove.
4473 (libc_feupdateenv, libc_feholdsetround): Remove.
4474 (libc_feresetround): Remove.
4475
d0adc922
RH
4476 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4477 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4478
0fe0f1f8
RH
4479 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4480 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4481 (libc_feupdateenv_testl): New.
4482 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4483 (libc_feupdateenv_testf): New.
4484 (libc_feupdateenv): Use libc_feupdateenv_test.
4485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4486 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4487
eb92c487
RH
4488 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4489 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4490 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4491 (libc_feresetround_noex): New.
4492 (libc_feresetround_noexf): New.
4493 (libc_feresetround_noexl): New.
4494 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4495 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4496 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4497 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4498 SET_RESTORE_ROUND.
4499 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4501 (__cos): Likewise.
4502 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4503 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4504 SET_RESTORE_ROUND_NOEX.
4505 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4506 SET_RESTORE_ROUND_NOEXF.
4507 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4508 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4509 (libc_feholdsetroundf): New.
4510 (libc_feresetround, libc_feresetroundf): New.
4511
7d2e8012
RH
4512 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4513 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4514 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4515
b4dabbb4
RH
4516 * sysdeps/generic/math_private.h: Include <fenv.h>.
4517 (default_libc_feholdexcept): New.
4518 (default_libc_feholdexcept_setround): New.
4519 (default_libc_fesetenv, default_libc_feupdateenv): New.
4520 (libc_feholdexcept): Only define if undefined.
4521 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4522 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4523 (libc_feholdexcept_setroundl): Likewise.
4524 (libc_feholdexcept_setround_53bit): Likewise.
4525 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4526 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4527 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4528 (libc_feupdateenv_53bit): Likewise.
4529 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4530 (libc_feholdexcept): Convert from macro to inline function.
4531 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4532 (libc_fesetenv, libc_feupdateenv): Likewise.
4533
4851a949
RH
4534 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4535 not previously defined.
4536 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4537 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4538 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4539 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4540 * sysdeps/ieee754/flt-32/math_private.h: New file.
4541 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4542 math_private.h below SET_FLOAT_WORD.
4543 (__isnan, __isinf_ns, __finite): Remove.
4544 (__isnanf, __isinf_nsf, __finitef): Remove.
4545
e79d442e
AS
45462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4547
4548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4549
90b80344
DM
45502012-03-17 David S. Miller <davem@davemloft.net>
4551
4552 [BZ #6471]
4553 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4554 for 2.16.
4555
edc21804
DM
45562012-03-16 David S. Miller <davem@davemloft.net>
4557
77e927af
DM
4558 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4559 warnings.
4560
374976dd
DM
4561 [BZ #6471]
4562 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4563 properly.
4564 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4565 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4566 sysdep_routines when subdir is sysvipc.
4567 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4568 __getshmlba helper.
4569
edc21804
DM
4570 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4571
473c3ef3
L
45722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4573
4574 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4575 [__LP64__].
4576
eb0f39b6
L
45772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4578
4579 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4580 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4581 (__lround): Renamed to ...
4582 (__llround): This. Replace long int with long long int.
4583 Define lround functions as aliases of llround functions.
4584 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4585
6b6cd74b
L
45862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4587
4588 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4589 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4590 adresses to uintptr_t. Replace "long int" and "unsigned long
4591 int" with "greg_t" on va_arg.
4592
f1a77b01
L
45932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4594
4595 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4596 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4597
4598 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4599 Move e_machine check before EI_CLASS check. Handle x32
4600 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4601 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4602 SKIP_EM_IA_64 and include
4603 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4604
4605 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4606 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4607 (add_system_dir): New macro.
4608
4609 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4610 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4611
11b90b9f
JM
46122012-03-16 Joseph Myers <joseph@codesourcery.com>
4613
c36e1d23
JM
4614 [BZ #2551]
4615 [BZ #2552]
4616 [BZ #2553]
4617 [BZ #2554]
4618 [BZ #2562]
4619 [BZ #2563]
4620 [BZ #2565]
4621 [BZ #2566]
4622 [BZ #2576]
4623 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4624 (y0): Likewise.
4625 * math/w_j0f.c (j0f): Likewise.
4626 (y0f): Likewise.
4627 * math/w_j0l.c (__j0l): Likewise.
4628 (__y0l): Likewise.
4629 * math/w_j1.c (j1): Likewise.
4630 (y1): Likewise.
4631 * math/w_j1f.c (j1f): Likewise.
4632 (y1f): Likewise.
4633 * math/w_j1l.c (__j1l): Likewise.
4634 (__y1l): Likewise.
4635 * math/w_jn.c (jn): Likewise.
4636 (yn): Likewise.
4637 * math/w_jnf.c (jnf): Likewise.
4638 (ynf): Likewise.
4639 * math/w_jnl.c (__jnl): Likewise.
4640 (__ynl): Likewise.
4641 * math/libm-test.inc (j0_test): Add more tests.
4642 (j1_test): Likewise.
4643 (jn_test): Likewise. Add trailing semicolon to existing test.
4644 (y0_test): Likewise.
4645 (y1_test): Likewise.
4646 * sysdeps/i386/fpu/libm-test-ulps: Update.
4647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4648
11b90b9f
JM
4649 [BZ #13851]
4650 [BZ #13854]
4651 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4652 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4653 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4654 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4655 (__tanl): Set errno for infinite argument.
4656 * sysdeps/i386/fpu/mptan.c: Remove.
4657 * sysdeps/i386/fpu/s_tan.S: Likewise.
4658 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4659 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4660 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4661 * math/libm-test.inc (tan_test): Add more tests and enable more
4662 tests for double and long double.
4663 * sysdeps/i386/fpu/libm-test-ulps: Update.
4664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4665
6a1bd2a1
JK
46662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4667
4668 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4669 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4670
10a803e0
RM
46712012-03-16 Roland McGrath <roland@hack.frob.com>
4672
4673 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4674 * configure.in: Use it for both main tree and add-ons.
4675 * configure: Regenerated.
4676
f196c7f7
L
46772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4678
4679 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4680
8848d99d
JM
46812012-03-16 Joseph Myers <joseph@codesourcery.com>
4682
96cbe7f4
JM
4683 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4684 in comment.
4685
8848d99d
JM
4686 [BZ #13851]
4687 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4688 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4689 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4692 infinite argument.
4693 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4694 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4695 != 0 for prec == 2.
4696 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4697 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4698 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4699 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4700 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4701 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4702 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4703 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4704 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4705 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4706 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4707 * math/libm-test.inc (cos_test): Add more tests and enable more
4708 tests for long double.
4709 (sin_test): Likewise.
4710 (sincos_test): Likewise.
4711 * sysdeps/i386/fpu/libm-test-ulps: Update.
4712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4713
dd7f4703
DM
47142012-03-16 David S. Miller <davem@davemloft.net>
4715
4716 * sysdeps/sparc/fpu/math_private.h: New file.
4717
006f1daa
DM
47182012-03-15 David S. Miller <davem@davemloft.net>
4719
c0c83bc8
DM
4720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4721 file.
e6a62e18 4722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4724 file.
e6a62e18
DM
4725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4731 sysdep routines.
4732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4733
88cb87d9
DM
4734 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4735 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4736
006f1daa 4737 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4739 sparc-ifunc.h
006f1daa 4740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4742 Likewise.
4743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4744 Likewise.
006f1daa
DM
4745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4749 Likewise.
006f1daa
DM
4750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4755 Likewise.
4756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4757 Likewise.
006f1daa
DM
4758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4764 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4765 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4779 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4782
11e0098e
AS
47832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4784
4785 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4786 scaling.
4787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4788
e85b09d0
AJ
47892012-03-15 Andreas Jaeger <aj@suse.de>
4790
4791 [BZ #13852]
4792 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4793 ieee754/flt-32 implementation for sin, cos and sincos.
4794 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4795 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4796 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4797 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4798 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4799 ieee754/flt-32 implementation for tan.
4800
4801 * math/libm-test.inc (cos_test): Enable some large input tests for
4802 float as well
4803 (sin_test): Likewise.
4804 (sincos_test): Likewise.
4805 (tan_test): Add tests for large input.
4806
4807 * sysdeps/i386/fpu/libm-test-ulps: Update.
4808
81c64153
AJ
48092012-03-15 Andreas Jaeger <aj@suse.de>
4810
4811 [BZ #13658]
4812 * math/libm-test.inc (cos_test): Add more test cases.
4813 (sin_test): Likewise.
4814 (sincos_test): Likewise.
4815
7bbfa5c6
AJ
48162012-03-15 Andreas Jaeger <aj@suse.de>
4817
4818 [BZ #13837]
4819 * math/libm-test.inc (cos_test): Add a test case for large input
4820 value.
4821 (sin_test): Likewise.
4822 (sincos_test): Likewise.
4823
48242012-03-15 Andreas Jaeger <aj@suse.de>,
4825 Joseph Myers <joseph@codesourcery.com>
4826
4827 [BZ #13658]
0671f479 4828 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4829 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4830 * sysdeps/i386/fpu/branred.c: Likewise.
4831 * sysdeps/i386/fpu/dosincos.c: Likewise.
4832 * sysdeps/i386/fpu/mpa.c: Likewise.
4833 * sysdeps/i386/fpu/s_cos.S: Likewise.
4834 * sysdeps/i386/fpu/s_sin.S: Likewise.
4835 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4836 * sysdeps/i386/fpu/sincos32.c: Likewise.
4837
4838 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4839 Define.
4840 (libc_feupdateenv_53bit): Define.
4841 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4842 Define.
4843 (libc_feupdateenv_53bit): Define.
4844
4845 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4846 53 bit (without extend i386 double precision).
4847
4848 * math/libm-test.inc (sincos_test): Add tests for large input.
4849 (sin): Likewise.
4850 (cos): Likewise.
4851
4852 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4853
9cad04ea
AS
48542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4855
4856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4857
f7062b9a
DM
48582012-03-15 David S. Miller <davem@davemloft.net>
4859
4860 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4861 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4862 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4863 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4876 file.
f7062b9a 4877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4879 file.
f7062b9a 4880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4882 file.
f7062b9a 4883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4885 file.
f7062b9a
DM
4886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4888 fmin/fmax sysdep routines.
4889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4890
7bd951ff
DM
48912012-03-14 David S. Miller <davem@davemloft.net>
4892
559398ab
DM
4893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4897 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4898 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4899 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4918 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4922 routines.
4923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4924 file.
559398ab 4925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4927 file.
559398ab 4928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4930 file.
559398ab 4931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4933 file.
559398ab 4934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4936 file.
559398ab 4937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4939 file.
4940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4941 file.
4942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4943 file.
4944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4945 file.
4946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4947 New file.
4948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4949 file.
4950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4951 file.
559398ab 4952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4954 file.
559398ab 4955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4957 file.
559398ab 4958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4960 file.
559398ab 4961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4963 VIS3 routines.
559398ab
DM
4964
4965 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4966 New file.
4967
5a1c1e32
DM
4968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4969
eae47a36
DM
4970 * sysdeps/sparc/configure.in: New file.
4971 * sysdeps/sparc/configure: Generate.
4972 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4973 * configure: Regenerate.
4974 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4975 * config.make.in (have-as-vis3): New.
4976 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4977 available use -Av9d instead of -Av9a.
4978 * sysdeps/sparc/sparc64/Makefile: Likewise.
4979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4981 New file.
4982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4983 file.
4984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4985 New file.
4986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4987 file.
eae47a36
DM
4988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4990 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4993
c0c83bc8
DM
4994 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4995 fzeros/fnegs to load 0x80000000 into a float register instead of
4996 using the stack.
7bd951ff
DM
4997 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4998
bd951ccb
JM
49992012-03-14 Joseph Myers <joseph@codesourcery.com>
5000
5001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5002 bits/syscall.h.
5003 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5004 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5005 ($(inst_includedir)/bits/syscall.h): Remove rule.
5006 ($(objpfx)bits/syscall.d): Include instead of
5007 $(objpfx)syscall-list.d.
5008 (generated): Change syscall-list.h and syscall-list.d to
5009 bits/syscall.h and bits/syscall.d.
5010
bb4e6db2
RM
50112012-03-14 Roland McGrath <roland@hack.frob.com>
5012
5013 [BZ #13846]
5014 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5015
aa4a2ae1
JM
50162012-03-14 Joseph Myers <joseph@codesourcery.com>
5017
e456826d
JM
5018 [BZ #13841]
5019 * math/s_csqrt.c: Include <float.h>.
5020 (__csqrt): Scale large or subnormal inputs.
5021 * math/s_csqrtf.c: Likewise.
5022 * math/s_csqrtl.c: Likewise.
5023 * math/libm-test.inc (csqrt_test): Add more tests.
5024 * sysdeps/i386/fpu/libm-test-ulps: Update.
5025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5026
aa4a2ae1
JM
5027 [BZ #13840]
5028 * math/libm-test.inc (hypot_test): Add more tests.
5029
7c10fd35
DM
50302012-03-13 David S. Miller <davem@davemloft.net>
5031
5032 [BZ #13840]
5033 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5034 double-precision for the calculation instead of scaling.
5035
f453b98b
JM
50362012-03-13 Joseph Myers <joseph@codesourcery.com>
5037
5038 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5039 manipulate bits before adding and subtracting TWO52[sx].
5040 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5041 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5042 Likewise.
5043 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5044
09a3453f
DM
50452012-03-13 David S. Miller <davem@davemloft.net>
5046
8e59da90
DM
5047 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5048 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5049 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5050 rtld-global-offsets.h
5051 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5052
2a8ab7f2
DM
5053 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5054 large parameters.
5055
10f62770
DM
5056 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5057
5f0bdb18
DM
5058 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5059 'err' in the ifdef scope in which it is actually used.
5060
09a3453f
DM
5061 * nss/nss_db/db-init.c: Include string.h
5062
b4b2eb5e
DM
50632012-03-12 David S. Miller <davem@davemloft.net>
5064
98bb2f1c
DM
5065 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5066 masking out of the most significant byte of random value used.
5067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5068 Fix coding style in previous change.
5069
b4b2eb5e
DM
5070 * sysdeps/unix/sysv/linux/kernel-features.h
5071 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5072 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5073 expression.
5074 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5075 later.
5076
6e226b09
DM
50772012-03-11 David S. Miller <davem@davemloft.net>
5078
a1bcbd40
DM
5079 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5080 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5082 for 'resultvar' otherwise things get truncated on 64-bit.
5083
cb9d6174
DM
5084 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5085 Fix masking out of the most significant byte of random value used.
5086
6e226b09
DM
5087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5088
058c132d
AS
50892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5090
5091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5092
2d2cd515
DM
50932012-03-09 David S. Miller <davem@davemloft.net>
5094
5095 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5096 variables with appropriate CPP guards.
5097 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5098 frame pointer, not the stack pointer. Correct layout comments. Fix test
5099 on resulting framesize and the management of the outregs buffer for pltexit.
5100 Preserve floating point return values across _dl_call_pltexit call.
5101 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5102 framesize and the management of the outregs buffer for pltexit.
5103 Preserve floating point return values across _dl_call_pltexit
5104 call.
5105 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5106 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5107 (print_exit): Fix format string for return register value.
5108
9a07f9d0
JM
51092012-03-10 Joseph Myers <joseph@codesourcery.com>
5110
5111 * sunrpc/Makefile (others): Add rpcgen.
5112 ($(objpfx)rpcgen): Remove special build rule and dependency on
5113 libc.
5114 * sunrpc/rpcgen.c: New file.
5115
547b5e30
PE
51162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5117
c524201a
PE
5118 [BZ #13673]
5119 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5120 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5121 * sysdeps/i386/crti.S: Likewise.
5122 * sysdeps/i386/crtn.S: Likewise.
5123 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5124 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5125 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5126 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5127 * sysdeps/sh/crti.S: Likewise.
5128 * sysdeps/sh/crtn.S: Likewise.
5129 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5130
7b6235f2
PE
5131 [BZ #13673]
5132 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5133 with URL.
5134 * locale/programs/locfile-kw.gperf: Likewise.
5135 * locale/programs/charmap-kw.h: Regenerated.
5136 * locale/programs/locfile-kw.h: Likewise.
5137
547b5e30
PE
5138 [BZ #13673]
5139 * intl/plural.y: Replace FSF snail mail address with URL.
5140 * intl/plural.c: Regenerated.
5141
5f0a5dae
RH
51422012-03-09 Richard Henderson <rth@twiddle.net>
5143
5144 * include/math_private.h: Remove file.
5145 * math/math_private.h: Move file ...
5146 * sysdeps/generic/math_private.h: ... here.
5147
b8c03620
RH
5148 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5149 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5150 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5151
4e234f5d 5152 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5153 and <math_private.h>.
5154 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5155 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5156 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5157 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5158 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5159 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5160 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5161 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5162 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5163 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5165 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5166 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5167 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5168 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5169 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5170 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5171 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5172 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5173 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5174 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5175 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5176 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5178 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5179 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5180 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5181 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5184 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5185 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5186 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5187 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5188 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5190 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5191 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5192 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5193 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5194 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5195 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5196 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5197 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5198 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5199 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5200 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5201 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5202 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5203 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5204 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5205 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5206 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5207 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5208 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5209 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5210 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5211 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5212 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5213 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5216 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5217 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5221 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5222 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5223 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5224 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5225 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5226 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5227 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5228 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5231 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5232 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5233 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5234 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5235 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5238 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5239 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5240 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5241 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5242 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5243 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5244 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5245 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5246 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5247 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5248 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5249 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5250 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5251 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5252 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5253 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5254 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5255 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5256 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5257 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5258 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5259 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5260 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5261 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5262 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5263 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5264 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5265 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5266 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5267 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5268 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5269 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5270 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5271 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5272 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5273 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5274 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5275 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5276 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5277 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5278 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5279 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5280 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5281 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5282 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5283 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5284 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5285 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5286 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5287 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5288 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5289 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5290 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5291 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5292 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5293 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5294 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5295 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5296 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5297 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5298 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5299 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5300 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5301 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5302 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5303 * sysdeps/ieee754/k_standard.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5308 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5312 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5313 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5314 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5316 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5317 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5318 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5319 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5320 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5321 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5322 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5324 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5325 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5326 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5328 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5329 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5330 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5331 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5332 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5333 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5334 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5335 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5336 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5337 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5338 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5340 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5341 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5343 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5344 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5345 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5346 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5347 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5348 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5349 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5351 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5354 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5355 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5356 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5357 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5358 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5359 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5360 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5361 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5362 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5363 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5364 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5365 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5366 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5367 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5368 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5369 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5371 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5372 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5373 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5375 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5376 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5377 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5378 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5379 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5381 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5382 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5383 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5389 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5390 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5407 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5408 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5419 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5423 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5424 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5426 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5431 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5436 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5437 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5438 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5444 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5449 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5452 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5453 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5454 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5455 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5464 * sysdeps/ieee754/s_lib_version.c: Likewise.
5465 * sysdeps/ieee754/s_matherr.c: Likewise.
5466 * sysdeps/ieee754/s_signgam.c: Likewise.
5467 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5469 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5470 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5471 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5472 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5473 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5474 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5475 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5476 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5477 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5478 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5479 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5480 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5481 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5482 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5483 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5484 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5485 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5486 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5487 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 5488
1991fa03
JM
54892012-03-09 Joseph Myers <joseph@codesourcery.com>
5490
5491 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5492 * sunrpc/rpc_main.c: Likewise.
5493 * sunrpc/rpc_svcout.c: Likewise.
5494
60d6f5a6
DM
54952012-03-09 David S. Miller <davem@davemloft.net>
5496
5497 * include/math_private.h: New file.
5498
4962050e
JM
54992012-03-09 Joseph Myers <joseph@codesourcery.com>
5500
02a6f887
JM
5501 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5502 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5503 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5504 from <bits/socket_type.h>.
5505 (enum __socket_type): Don't define here.
5506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5508 bits/socket_type.h.
5509
c6e013c1
JM
5510 [BZ #13566]
5511 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5512 checking __USE_GNU.
5513
4962050e
JM
5514 * Makerules ($(inst_includedir)/%.h): New rule.
5515 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5516 (install-others): Remove variable setting.
5517 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5518
38842f45
RH
55192012-03-08 Richard Henderson <rth@twiddle.net>
5520
67bb6da6
RH
5521 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5522 from macro to inline function; merge with the
5523 !__LIBC_INTERNAL_MATH_INLINES version.
5524 (__ieee754_sqrtf): Likewise.
5525
15194b4b
RH
5526 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5527 to inline function.
5528 (__rintf, __floor, __floorf): Likewise.
5529
64e21ede
RH
5530 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5531 macro to inline function.
5532 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5533
38842f45
RH
5534 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5535 not <math/math_private.h>.
5536
c64bf5fe
DM
55372012-03-08 David S. Miller <davem@davemloft.net>
5538
5539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5540 copyright year.
5541 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5542
82d86f28
TS
55432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5544
5545 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5546 normalization.
5547 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5548 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5549
aea5d727
UD
55502012-03-08 Ulrich Drepper <drepper@gmail.com>
5551
5552 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5553 be defined individually, they must be defined as a block. Define
5554 S for printing a string instead of hidint the different by using a
5555 macro for adding the 'l'.
5556 * stdio-common/tst-fphex-wide.c: Adjust.
5557
70bca0a3
MP
55582012-03-07 Marek Polacek <polacek@redhat.com>
5559
5560 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5561
65b81130
MP
55622012-03-08 Marek Polacek <polacek@redhat.com>
5563
5564 [BZ #13806]
5565 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5566 * stdio-common/tst-fphex.c: Define a few macros to make the
5567 test reusable. Use them.
5568 * stdio-common/tst-fphex-wide.c: New file.
5569
07037eeb
JM
55702012-03-08 Joseph Myers <joseph@codesourcery.com>
5571
a7a93d50
JM
5572 [BZ #6911]
5573 * manual/macros.texi (gnusystems): New macro.
5574 (nongnusystems): Likewise.
5575 (gnulinuxhurdsystems): Likewise.
5576 (gnuhurdsystems): Likewise..
5577 (gnulinuxsystems): Likewise.
5578 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5579 variants of the GNU system, not "GNU system".
5580 * manual/conf.texi: Likewise.
5581 * manual/errno.texi: Likewise. Update example of errno macro
5582 expansion.
5583 * manual/filesys.texi: Likewise.
5584 (getumask): Document as specific to GNU/Hurd.
5585 * manual/install.texi: Likewise. Reword some references to
5586 GNU/Linux.
5587 * manual/intro.texi: Likewise.
5588 * manual/io.texi: Likewise.
5589 (File Name Portability): Detail which constraints are inapplicable
5590 to all GNU systems and which are only inapplicable to GNU/Hurd.
5591 * manual/job.texi: Likewise.
5592 * manual/llio.texi: Likewise.
5593 (O_NOCTTY): Document as present on GNU/Linux.
5594 * manual/maint.texi: Likewise.
5595 * manual/memory.texi: Likewise.
5596 * manual/pattern.texi: Likewise.
5597 * manual/pipe.texi: Likewise.
5598 * manual/process.texi: Likewise.
5599 * manual/resource.texi: Likewise.
5600 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5601 child on GNU/Hurd.
5602 * manual/setjmp.texi: Likewise.
5603 * manual/signal.texi: Likewise.
5604 * manual/startup.texi: Likewise.
5605 * manual/stdio.texi: Likewise.
5606 * manual/terminal.texi: Likewise.
5607 (ONLCR): Document as POSIX.
5608 (OXTABS): Document availability on GNU/Linux as XTABS.
5609 (ONOEOT): Document availability separately from other bits.
5610 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5611 * manual/time.texi: Likewise.
5612 * manual/users.texi: Likewise.
5613 * INSTALL: Regenerated.
5614 * sysdeps/gnu/errlist.c: Regenerated.
5615
07037eeb
JM
5616 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5617 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5618 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5619 puts.
5620 * configure: Regenerated.
5621
d1d3431a
JM
56222012-03-07 Joseph Myers <joseph@codesourcery.com>
5623
af6a1e37
JM
5624 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5625 default includes instead of AC_HEADER_CHECK.
5626 * sysdeps/i386/configure: Regenerated.
5627
d1d3431a
JM
5628 [BZ #10716]
5629 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5630 * math/s_cacoshf.c (__cacoshf): Likewise.
5631 * math/s_cacoshl.c (__cacoshl): Likewise.
5632 * math/s_casinh.c (__casinh): Set signs of result from argument.
5633 * math/s_casinhf.c (__casinhf): Likewise.
5634 * math/s_casinhl.c (__casinhl): Likewise.
5635 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5636 (casinh_test): Add more tests.
5637 * sysdeps/i386/fpu/libm-test-ulps: Update.
5638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5639
482ff4da
UD
56402012-03-07 Ulrich Drepper <drepper@gmail.com>
5641
872fda05
UD
5642 * po/zh_TW.po: Update from translation team.
5643
a4300c7a
UD
5644 * login/Makefile (distribute): Remove variable.
5645 * catgets/Makefile: Likewise.
5646 * mach/Makefile: Likewise.
5647 * malloc/Makefile: Likewise.
5648 * misc/Makefile: Likewise.
5649 * iconv/Makefile: Likewise.
5650 * nscd/Makefile: Likewise.
5651 * hurd/Makefile: Likewise.
5652 * manual/Makefile: Likewise.
5653 * locale/Makefile: Likewise.
5654 * intl/Makefile: Likewise.
5655 * conform/Makefile: Likewise.
5656 * nss/Makefile: Likewise.
5657 * time/Makefile: Likewise.
5658 * soft-fp/Makefile: Likewise.
5659 * dirent/Makefile: Likewise.
5660 * gmon/Makefile: Likewise.
5661 * po/Makefile: Likewise.
5662 * rt/Makefile: Likewise.
5663 * socket/Makefile: Likewise.
5664 * math/Makefile: Likewise.
5665 * signal/Makefile: Likewise.
5666 * debug/Makefile: Likewise.
5667 * elf/Makefile: Likewise.
5668 * timezone/Makefile: Likewise.
5669 * stdlib/Makefile: Likewise.
5670 * iconvdata/Makefile: Likewise.
5671 * sunrpc/Makefile: Likewise.
5672 * io/Makefile: Likewise.
5673 * argp/Makefile: Likewise.
5674 * inet/Makefile: Likewise.
5675 * hesiod/Makefile: Likewise.
5676 * grp/Makefile: Likewise.
5677 * csu/Makefile: Likewise.
5678 * wctype/Makefile: Likewise.
5679 * crypt/Makefile: Likewise.
5680 * libio/Makefile: Likewise.
5681 * string/Makefile: Likewise.
5682 * nis/Makefile: Likewise.
5683 * resolv/Makefile: Likewise.
5684 * stdio-common/Makefile: Likewise.
5685 * wcsmbs/Makefile: Likewise.
5686 * dlfcn/Makefile: Likewise.
5687 * posix/Makefile: Likewise.
5688
3b7c4e74 5689 [BZ #6959]
482ff4da
UD
5690 * timezone/Makefile: Don't install timezone files, just the programs
5691 and scripts.
5692
f72ed77d
UD
56932012-03-06 Ulrich Drepper <drepper@gmail.com>
5694
a000466f
UD
5695 * nss/databases.def: Add missing gshadow entry.
5696
f72ed77d
UD
5697 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5698
a53b7a4e
MP
56992012-03-06 Marek Polacek <polacek@redhat.com>
5700
5701 [BZ #13726]
5702 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5703 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5704 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5705 * stdio-common/tst-long-dbl-fphex.c: New file.
5706
e9258400
DM
57072012-03-06 David S. Miller <davem@davemloft.net>
5708
5709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5710 (set_obp_int): New function.
5711 (get_obp_int): New function.
5712 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5713 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5714 Avoid unused variable warnings on 'val' and use builtin_expect.
5715 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5716 __builtin_expect.
e9258400
DM
5717 (INLINE_CLONE_SYSCALL): Likewise.
5718
3bd2c723
DM
57192012-03-05 David S. Miller <davem@davemloft.net>
5720
5721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5722
bbb78d03
AS
57232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5724
884c5db4
AS
5725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5726
bbb78d03
AS
5727 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5728 only for |x| >= 40.
5729 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5730
1c9f702a 57312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5732
5733 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5734 Replace gettimeofday with __vdso_gettimeofday.
5735
7be16f82
RM
5736 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5737 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5738 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5739
5740 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5741 time with __vdso_time.
5742
ed58a00f
JM
57432012-03-05 Joseph Myers <joseph@codesourcery.com>
5744
5745 * manual/lang.texi (size_t): Note types to which size_t may be
5746 equivalent with the GNU C Library, but do not describe when
5747 differences between them are significant.
5748
30ee4ced
AJ
57492012-03-05 Andreas Jaeger <aj@suse.de>
5750
5751 * sysdeps/i386/fpu/libm-test-ulps: Update.
5752
b7cd39e8
JM
57532012-03-05 Joseph Myers <joseph@codesourcery.com>
5754
5755 [BZ #3976]
5756 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5757 (__ieee754_pow): Save and restore rounding mode and use
5758 round-to-nearest for main computations.
5759 * math/libm-test.inc (pow_test_tonearest): New function.
5760 (pow_test_towardzero): Likewise.
5761 (pow_test_downward): Likewise.
5762 (pow_test_upward): Likewise.
5763 (main): Call the new functions.
5764 * sysdeps/i386/fpu/libm-test-ulps: Update.
5765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5766
5767 [BZ #3976]
5768 * math/libm-test.inc (cosh_test_tonearest): New function.
5769 (cosh_test_towardzero): Likewise.
5770 (cosh_test_downward): Likewise.
5771 (cosh_test_upward): Likewise.
5772 (sinh_test_tonearest): Likewise.
5773 (sinh_test_towardzero): Likewise.
5774 (sinh_test_downward): Likewise.
5775 (sinh_test_upward): Likewise.
5776 (main): Call the new functions.
5777 * sysdeps/i386/fpu/libm-test-ulps: Update.
5778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5779
6c6a98c9
TV
57802012-03-05 Tom de Vries <tom@codesourcery.com>
5781
5782 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5783 default stack guard is set in last bytes.
5784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5785
21bb2d2e 57862012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5787
21bb2d2e 5788 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5789
21bb2d2e
AJ
5790 [BZ #13656]
5791 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5792 possibly allocate from heap instead of stack.
5793 * stdio-common/bug-vfprintf-nargs.c: New file.
5794 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5795
c6922934
AS
57962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5797
5798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5799
bc957d53
MP
58002012-03-03 Marek Polacek <polacek@redhat.com>
5801
5802 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5803 * math/math_private.h: Likewise.
5804 * stdlib/tst-strtod.c: Likewise.
5805 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5806 * sysdeps/x86_64/bits/atomic.h: Likewise.
5807
6358490d
DM
58082012-03-02 David S. Miller <davem@davemloft.net>
5809
5810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5814 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5815 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5816 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5817 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5818
01ae168d
RM
58192012-03-02 Roland McGrath <roland@hack.frob.com>
5820
d9a17c07
RM
5821 [BZ #13792]
5822 * manual/examples/README: New file, says the example source files
5823 can be used under GPL>=2.
5824 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5825 line containing just "*/".
5826 * manual/examples/add.c: Add copyright header (GPL>=2).
5827 * manual/examples/argp-ex1.c: Likewise.
5828 * manual/examples/argp-ex2.c: Likewise.
5829 * manual/examples/argp-ex3.c: Likewise.
5830 * manual/examples/argp-ex4.c: Likewise.
5831 * manual/examples/atexit.c: Likewise.
5832 * manual/examples/db.c: Likewise.
5833 * manual/examples/dir.c: Likewise.
5834 * manual/examples/dir2.c: Likewise.
5835 * manual/examples/execinfo.c: Likewise.
5836 * manual/examples/filecli.c: Likewise.
5837 * manual/examples/filesrv.c: Likewise.
5838 * manual/examples/fmtmsgexpl.c: Likewise.
5839 * manual/examples/genpass.c: Likewise.
5840 * manual/examples/inetcli.c: Likewise.
5841 * manual/examples/inetsrv.c: Likewise.
5842 * manual/examples/isockad.c: Likewise.
5843 * manual/examples/longopt.c: Likewise.
5844 * manual/examples/memopen.c: Likewise.
5845 * manual/examples/memstrm.c: Likewise.
5846 * manual/examples/mkfsock.c: Likewise.
5847 * manual/examples/mkisock.c: Likewise.
5848 * manual/examples/mygetpass.c: Likewise.
5849 * manual/examples/pipe.c: Likewise.
5850 * manual/examples/popen.c: Likewise.
5851 * manual/examples/rprintf.c: Likewise.
5852 * manual/examples/search.c: Likewise.
5853 * manual/examples/select.c: Likewise.
5854 * manual/examples/setjmp.c: Likewise.
5855 * manual/examples/sigh1.c: Likewise.
5856 * manual/examples/sigusr.c: Likewise.
5857 * manual/examples/stpcpy.c: Likewise.
5858 * manual/examples/strdupa.c: Likewise.
5859 * manual/examples/strftim.c: Likewise.
5860 * manual/examples/strncat.c: Likewise.
5861 * manual/examples/subopt.c: Likewise.
5862 * manual/examples/swapcontext.c: Likewise.
5863 * manual/examples/termios.c: Likewise.
5864 * manual/examples/testopt.c: Likewise.
5865 * manual/examples/testpass.c: Likewise.
5866 * manual/examples/timeval_subtract.c: Likewise.
5867
01ae168d
RM
5868 [BZ #13792]
5869 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5870 function to ...
5871 * manual/timeval_subtract.c.texi: ... here, new file.
5872
49efa33d
DM
58732012-03-02 David S. Miller <davem@davemloft.net>
5874
5875 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5876
28afd92d
JM
58772012-03-02 Joseph Myers <joseph@codesourcery.com>
5878
804360ed
JM
5879 [BZ #3976]
5880 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5881 (__sin): Save and restore rounding mode and use round-to-nearest
5882 for all computations.
5883 (__cos): Save and restore rounding mode and use round-to-nearest
5884 for all computations.
5885 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5886 <fenv.h>.
5887 (tan): Save and restore rounding mode and use round-to-nearest for
5888 all computations.
5889 * math/libm-test.inc (cos_test_tonearest): New function.
5890 (cos_test_towardzero): Likewise.
5891 (cos_test_downward): Likewise.
5892 (cos_test_upward): Likewise.
5893 (sin_test_tonearest): Likewise.
5894 (sin_test_towardzero): Likewise.
5895 (sin_test_downward): Likewise.
5896 (sin_test_upward): Likewise.
5897 (tan_test_tonearest): Likewise.
5898 (tan_test_towardzero): Likewise.
5899 (tan_test_downward): Likewise.
5900 (tan_test_upward): Likewise.
5901 (main): Call the new functions.
5902 * sysdeps/i386/fpu/libm-test-ulps: Update.
5903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5904
a6d06d7b
JM
5905 [BZ #10135]
5906 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5907 small n, then large n, before computing and testing k+n.
5908 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5910 Likewise.
5911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5912 Likewise.
5913 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5914 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5915 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5916 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5917 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5918 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5919 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5920 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5921 * math/libm-test.inc (scalbn_test): Add more tests.
5922 (scalbln_test): Likewise.
5923
07e12bb3
JM
5924 * manual/filesys.texi (mode_t): Describe constraints on size and
5925 signedness, not exact equivalence to a particular type.
5926 (ino_t): Likewise.
5927 (ino64_t): Likewise.
5928 (dev_t): Likewise.
5929 (nlink_t): Likewise.
5930 (blkcnt_t): Likewise.
5931 (blkcnt64_t): Likewise.
5932 * manual/llio.texi (off_t): Likewise.
5933
28afd92d
JM
5934 [BZ #3976]
5935 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5936 (__ieee754_exp): Save and restore rounding mode and use
5937 round-to-nearest for all computations.
5938 * math/libm-test.inc (exp_test_tonearest): New function.
5939 (exp_test_towardzero): Likewise.
5940 (exp_test_downward): Likewise.
5941 (exp_test_upward): Likewise.
5942 (main): Call the new functions.
5943 * sysdeps/i386/fpu/libm-test-ulps: Update.
5944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5945
b1eeb65d
CD
59462012-03-01 Chris Demetriou <cgd@google.com>
5947
5948 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5949 have predictable order.
5950
53362a4b
DM
59512012-03-01 David S. Miller <davem@davemloft.net>
5952
3c969083
DM
5953 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5954
759707de
DM
5955 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5956 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5957 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5958 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5959
dfdb8ff2
DM
5960 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5961 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5962 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5964 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5965 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5966 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5967 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5968 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5969
ead89f96
DM
5970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5971
7f66bd07
DM
5972 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5973 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5974 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5975
53362a4b
DM
5976 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5977 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5978 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5979 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5980 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5981 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5982 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5983 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5984 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5985 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5986 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5987 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5988 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5989 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5990 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5992 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5993 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5994 * sysdeps/sparc/elf/configure: Regenerated.
5995
7b1902cb
JM
59962012-03-01 Joseph Myers <joseph@codesourcery.com>
5997
bec039bc
JM
5998 * configure.in (AS, LD): Require binutils 2.20 or later.
5999 * configure: Regenerated.
6000 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6001 as required minimum version.
6002 * INSTALL: Regenerated.
6003
7b1902cb
JM
6004 [BZ #2541]
6005 [BZ #4108]
6006 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6007 before squaring exponent.
6008 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6009 bottom long double and 27 bits of top long double before squaring
6010 exponent.
6011 * math/libm-test.inc (erfc_test): Add more tests.
6012 * sysdeps/i386/fpu/libm-test-ulps: Update.
6013 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6015
f775c276
KT
60162012-03-01 Kai Tietz <ktietz@redhat.com>
6017
6018 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6019 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6020 containing bit-fields.
6021 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6022 * soft-fp/single.h (_FP_UNION_S): Likewise.
6023 * soft-fp/double.h (_FP_UNION_D): Likewise.
6024
5b8a4d4a
JM
60252012-02-29 Joseph Myers <joseph@codesourcery.com>
6026
0bab47b6
JM
6027 [BZ #13786]
6028 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6029 not include ../strcmp.S.
6030 [USE_AS_STRNCASECMP_L]: Likewise.
6031 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6032 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6033 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6034 (__strncasecmp_l_ia32): Define as alias to
6035 __strncasecmp_l_nonascii.
6036
0fcad3e2
JM
6037 [BZ #5794]
6038 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6039 * sysdeps/i386/fpu/libm-test-ulps: Update.
6040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6041
5b8a4d4a
JM
6042 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6044
8fdceb2e
JL
60452012-02-29 Jeff Law <law@redhat.com>
6046
6047 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6048 out of bounds read.
6049
1f393a11
MP
60502012-02-29 Marek Polacek <polacek@redhat.com>
6051
6052 [BZ #13706]
6053 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6054 * elf/Makefile: Add rules to run tst-unused-dep.out.
6055
8847f037
DM
60562012-02-28 David S. Miller <davem@davemloft.net>
6057
6058 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6059 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6060 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6061 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6062 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6063 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6064
169d7f11
JM
60652012-02-29 Joseph Myers <joseph@codesourcery.com>
6066
6067 * math/libm-test.inc (llround_test): Move one test from
6068 lround_test. Use TEST_f_L in moved test.
6069 (lround_test): Move misplaced test to llround_test. Add testcase
6070 from bug 2561.
6071
39adf059
UD
60722012-02-28 Ulrich Drepper <drepper@gmail.com>
6073
6074 * sysdeps/x86_64/fpu/e_expf.S: New file.
6075 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6076
71b5d1c5
SB
60772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6078
6079 [BZ #13637]
6080 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6081 of remain_len that may cause incomplete multi-byte character and
6082 false match.
6083 * posix/bug-regex33.c: New file.
6084 * posix/Makefile (tests): Add bug-regex33.
6085
1f77f049
JM
60862012-02-28 Joseph Myers <joseph@codesourcery.com>
6087
6088 * manual/macros.texi: New file.
6089 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6090 * manual/libc.texinfo: Include macros.texi.
6091 * manual/creatute.texi: Likewise.
6092 * manual/install.texi: Likewise.
6093 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6094 @glibcadj{} in references to the GNU C Library.
6095 * manual/charset.texi: Likewise.
6096 * manual/conf.texi: Likewise.
6097 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6098 when not using those macros.
6099 * manual/creature.texi: Likewise.
6100 * manual/crypt.texi: Likewise.
6101 * manual/errno.texi: Likewise.
6102 * manual/filesys.texi: Likewise.
6103 * manual/header.texi: Likewise.
6104 * manual/install.texi: Likewise.
6105 * manual/intro.texi: Likewise.
6106 * manual/io.texi: Likewise.
6107 * manual/job.texi: Likewise.
6108 * manual/lang.texi: Likewise.
6109 * manual/libc.texiinfo: Likewise.
6110 * manual/llio.texi: Likewise.
6111 * manual/locale.texi: Likewise.
6112 * manual/maint.texi: Likewise.
6113 * manual/math.texi: Likewise.
6114 * manual/memory.texi: Likewise.
6115 * manual/message.texi: Likewise.
6116 * manual/nss.texi: Likewise.
6117 * manual/pattern.texi: Likewise.
6118 * manual/process.texi: Likewise.
6119 * manual/resource.texi: Likewise.
6120 * manual/search.texi: Likewise.
6121 * manual/setjmp.texi: Likewise.
6122 * manual/signal.texi: Likewise.
6123 * manual/socket.texi: Likewise.
6124 * manual/startup.texi: Likewise.
6125 * manual/stdio.texi: Likewise.
6126 * manual/string.texi: Likewise.
6127 * manual/sysinfo.texi: Likewise.
6128 * manual/syslog.texi: Likewise.
6129 * manual/terminal.texi: Likewise.
6130 * manual/time.texi: Likewise.
6131 * manual/users.texi: Likewise.
6132 * INSTALL: Regenerated.
6133 * NOTES: Regenerated.
d40c5d54 6134 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6135
450bf206
AS
61362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6137
6138 * include/dirent.h: Include <dirstream.h> before
6139 <dirent/dirent.h>.
6140
741a235b
DM
61412012-02-28 David S. Miller <davem@davemloft.net>
6142
6143 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6144 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6145 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6146 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6147
d6b5aa58
DM
61482012-02-27 David S. Miller <davem@davemloft.net>
6149
1aff59a3
DM
6150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6152 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6153 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6154
d6b5aa58
DM
6155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6156 frame pointer instead of stack pointer relative arg slot.
6157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6158 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6159 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6160
433f48bf
CD
61612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6162
6163 [BZ #3992]
6164 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6165
d674b76d
DM
61662012-02-27 David S. Miller <davem@davemloft.net>
6167
6168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6172 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6173 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6174 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6175 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6176
0e7727f7
JM
61772012-02-27 Joseph Myers <joseph@codesourcery.com>
6178
6179 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6180 later. Allow versions 5-9.
43be4ca2 6181 * configure: Regenerated.
0e7727f7
JM
6182 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6183 required minimum version and 4.6 as recommended version. Do not
6184 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6185 * INSTALL: Regenerated.
0e7727f7 6186
a78bc654
DM
61872012-02-27 David S. Miller <davem@davemloft.net>
6188
428d5830
DM
6189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6193 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6194 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6195 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6196 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6197
a78bc654
DM
6198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6199 manipulate bits before adding and subtracting TWO112[sx].
6200 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6201
4579f81c
RM
62022012-02-27 Roland McGrath <roland@hack.frob.com>
6203
36c8acb4
RM
6204 [BZ #13775]
6205 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6206 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6207 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6208 being in POSIX, because they are in 1003.1-2008.
6209
84ad622b
RM
6210 * rt/tst-aio.c: Include <fcntl.h>.
6211 * rt/tst-aio7.c: Likewise.
6212 * rt/tst-aio64.c: Likewise.
6213
4579f81c
RM
6214 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6215
abd923db
JM
62162012-02-27 Joseph Myers <joseph@codesourcery.com>
6217
6218 * manual/install.texi (--with-headers): Describe headers as
6219 interface headers, not private headers.
6220 (Specific advice for GNU/Linux systems): Describe use of headers
6221 from "make headers_install", not private headers from older
6222 kernels.
43be4ca2 6223 * INSTALL: Regenerated.
abd923db
JM
6224 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6225 Change to 2.6.19.
6226 * sysdeps/unix/sysv/linux/configure: Regenerated.
6227
6664049b
JM
6228 * manual/llio.texi (fclean): Remove documentation.
6229
bb8b6697
JM
6230 * manual/Makefile (libc-texi-generated): New variable. Include
6231 version.texi.
6232 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6233 $(libc-texi-generated), not duplicated list of files.
6234 (version.texi, stamp-version): New rules.
6235 (realclean): Remove $(libc-texi-generated), not individual files
6236 from that list. Do not remove dir-add.texinfo.
6237 * manual/libc.texinfo: Comment out uses of edition numbers and
6238 references to printed manual. Remove last-updated dates.
6239 (EDITION): Comment out.
6240 (ISBN): Likewise.
6241 (VERSION, UPDATED): Remove.
6242 (version.texi): Include.
6243
12e5c3b9
AS
62442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6245
6246 * sysdeps/posix/spawni.c: Include <signal.h>.
6247 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6248 * sysdeps/pthread/aio_fsync.c: Likewise.
6249
4efeffc1 62502012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6251
ba63ba08
UD
6252 * conform/Makefile (tests): Run only when not cross-compiling and
6253 when fast-check is not defined.
6254
d94a4670
UD
6255 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6256 * conform/data/limits.h-data: Fixes for POSIX2008.
6257 * conform/run-conformtest.sh: Run all tests.
6258 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6259 headers.
6260 * include/bits/dlfcn.h: Likewise.
6261 * include/langinfo.h: Likewise.
6262 * include/monetary.h: Likewise.
6263 * include/sys/poll.h: Likewise.
6264
6265 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6266 for __USE_GNU.
6267 * posix/spawn.h: Define __need_sigset_t.
6268 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6269 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6270 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6271 to get sigevent_t only.
6272 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6273 only for __USE_GNU.
6274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6275 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6276 process_vm_writev only for __USE_GNU.
6277 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6278
6279 * conform/Makefile: For now ignore errors from run-conformtest.
6280 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6281 POSIX to avoid namespace pollution. Don't prepend headers.
6282 * conform/data/aio.h-data: Fixes for POSIX testing.
6283 * conform/data/fcntl.h-data: Likewise.
6284 * conform/data/glob.h-data: Likewise.
6285 * conform/data/grp.h-data: Likewise.
6286 * conform/data/pthread.h-data: Likewise.
6287 * conform/data/pwd.h-data: Likewise.
6288 * conform/data/signal.h-data: Likewise.
6289 * conform/data/spawn.h-data: Likewise.
6290 * conform/data/stdio.h-data: Likewise.
6291 * conform/data/stdlib.h-data: Likewise.
6292 * conform/data/stropts.h-data: Likewise.
6293 * conform/data/sys/mman.h-data: Likewise.
6294 * conform/data/sys/stat.h-data: Likewise.
6295 * conform/data/sys/types.h-data: Likewise.
6296 * conform/data/sys/wait.h-data: Likewise.
6297 * conform/data/time.h-data: Likewise.
6298 * conform/data/unistd.h-data: Likewise.
6299 * conform/data/utime.h-data: Likewise.
6300
6301 * io/sys/stat.h: fchmod was always in POSIX.
6302 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6303 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6304 * rt/aio.h: Define __need_timespec before including <time.h>.
6305 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6306 struct. Add forward declaration of pthread_attr_t and use it in
6307 sigevent.
6308 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6309 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6310 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6311 always remove CLK_TCK definition.
6312
c20105c3
AS
63132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6314
6315 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6316
7a270350
UD
63172012-02-25 Ulrich Drepper <drepper@gmail.com>
6318
31341567
UD
6319 * conform/run-conformtest.sh: New file.
6320 * conform/Makefile: Run run-conformtest for tests.
6321 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6322 support.
6323
6324 * conform/data/uchar.h-data: New file.
6325 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6326 * conform/data/arpa/inet.h-data: Likewise.
6327 * conform/data/assert.h-data: Likewise.
6328 * conform/data/complex.h-data: Likewise.
6329 * conform/data/cpio.h-data: Likewise.
6330 * conform/data/ctype.h-data: Likewise.
6331 * conform/data/dirent.h-data: Likewise.
6332 * conform/data/dlfcn.h-data: Likewise.
6333 * conform/data/errno.h-data: Likewise.
6334 * conform/data/fcntl.h-data: Likewise.
6335 * conform/data/float.h-data: Likewise.
6336 * conform/data/fmtmsg.h-data: Likewise.
6337 * conform/data/fnmatch.h-data: Likewise.
6338 * conform/data/ftw.h-data: Likewise.
6339 * conform/data/glob.h-data: Likewise.
6340 * conform/data/grp.h-data: Likewise.
6341 * conform/data/iconv.h-data: Likewise.
6342 * conform/data/inttypes.h-data: Likewise.
6343 * conform/data/langinfo.h-data: Likewise.
6344 * conform/data/libgen.h-data: Likewise.
6345 * conform/data/limits.h-data: Likewise.
6346 * conform/data/locale.h-data: Likewise.
6347 * conform/data/math.h-data: Likewise.
6348 * conform/data/monetary.h-data: Likewise.
6349 * conform/data/mqueue.h-data: Likewise.
6350 * conform/data/ndbm.h-data: Likewise.
6351 * conform/data/net/if.h-data: Likewise.
6352 * conform/data/netdb.h-data: Likewise.
6353 * conform/data/netinet/in.h-data: Likewise.
6354 * conform/data/nl_types.h-data: Likewise.
6355 * conform/data/poll.h-data: Likewise.
6356 * conform/data/pthread.h-data: Likewise.
6357 * conform/data/pwd.h-data: Likewise.
6358 * conform/data/regex.h-data: Likewise.
6359 * conform/data/sched.h-data: Likewise.
6360 * conform/data/search.h-data: Likewise.
6361 * conform/data/semaphore.h-data: Likewise.
6362 * conform/data/setjmp.h-data: Likewise.
6363 * conform/data/signal.h-data: Likewise.
6364 * conform/data/spawn.h-data: Likewise.
6365 * conform/data/stdarg.h-data: Likewise.
6366 * conform/data/stdio.h-data: Likewise.
6367 * conform/data/stdlib.h-data: Likewise.
6368 * conform/data/string.h-data: Likewise.
6369 * conform/data/strings.h-data: Likewise.
6370 * conform/data/stropts.h-data: Likewise.
6371 * conform/data/sys/ipc.h-data: Likewise.
6372 * conform/data/sys/mman.h-data: Likewise.
6373 * conform/data/sys/msg.h-data: Likewise.
6374 * conform/data/sys/resource.h-data: Likewise.
6375 * conform/data/sys/select.h-data: Likewise.
6376 * conform/data/sys/sem.h-data: Likewise.
6377 * conform/data/sys/shm.h-data: Likewise.
6378 * conform/data/sys/socket.h-data: Likewise.
6379 * conform/data/sys/stat.h-data: Likewise.
6380 * conform/data/sys/statvfs.h-data: Likewise.
6381 * conform/data/sys/time.h-data: Likewise.
6382 * conform/data/sys/timeb.h-data: Likewise.
6383 * conform/data/sys/times.h-data: Likewise.
6384 * conform/data/sys/types.h-data: Likewise.
6385 * conform/data/sys/uio.h-data: Likewise.
6386 * conform/data/sys/un.h-data: Likewise.
6387 * conform/data/sys/utsname.h-data: Likewise.
6388 * conform/data/sys/wait.h-data: Likewise.
6389 * conform/data/syslog.h-data: Likewise.
6390 * conform/data/tar.h-data: Likewise.
6391 * conform/data/termios.h-data: Likewise.
6392 * conform/data/utime.h-data: Likewise.
6393 * conform/data/utmpx.h-data: Likewise.
6394 * conform/data/varargs.h-data: Likewise.
6395 * conform/data/wchar.h-data: Likewise.
6396 * conform/data/wctype.h-data: Likewise.
6397 * conform/data/wordexp.h-data: Likewise.
6398
6399 * include/stropts.h: New file.
6400 * include/uchar.h: New file.
6401 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6402 * include/assert.h: Likewise.
6403 * include/ctype.h: Likewise.
6404 * include/dirent.h: Likewise.
6405 * include/dlfcn.h: Likewise.
6406 * include/fcntl.h: Likewise.
6407 * include/fnmatch.h: Likewise.
6408 * include/glob.h: Likewise.
6409 * include/grp.h: Likewise.
6410 * include/libio.h: Likewise.
6411 * include/locale.h: Likewise.
6412 * include/math.h: Likewise.
6413 * include/net/if.h: Likewise.
6414 * include/netdb.h: Likewise.
6415 * include/netinet/in.h: Likewise.
6416 * include/pthread.h: Likewise.
6417 * include/pwd.h: Likewise.
6418 * include/regex.h: Likewise.
6419 * include/sched.h: Likewise.
6420 * include/search.h: Likewise.
6421 * include/setjmp.h: Likewise.
6422 * include/signal.h: Likewise.
6423 * include/stdio.h: Likewise.
6424 * include/stdlib.h: Likewise.
6425 * include/string.h: Likewise.
6426 * include/sys/cdefs.h: Likewise.
6427 * include/sys/mman.h: Likewise.
6428 * include/sys/msg.h: Likewise.
6429 * include/sys/resource.h: Likewise.
6430 * include/sys/select.h: Likewise.
6431 * include/sys/socket.h: Likewise.
6432 * include/sys/stat.h: Likewise.
6433 * include/sys/statvfs.h: Likewise.
6434 * include/sys/time.h: Likewise.
6435 * include/sys/times.h: Likewise.
6436 * include/sys/uio.h: Likewise.
6437 * include/sys/utsname.h: Likewise.
6438 * include/sys/wait.h: Likewise.
6439 * include/termios.h: Likewise.
6440 * include/time.h: Likewise.
6441 * include/ulimit.h: Likewise.
6442 * include/unistd.h: Likewise.
6443 * include/utime.h: Likewise.
6444 * include/wchar.h: Likewise.
6445 * include/wctype.h: Likewise.
6446 * include/wordexp.h: Likewise.
6447
6448 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6449
7a270350
UD
6450 * time/time.h: TIME_UTC must be a macro.
6451 Make timespec_get available for ISO C11 only as well.
6452
7724defc
UD
64532012-02-24 Ulrich Drepper <drepper@gmail.com>
6454
6455 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6456 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6457
6b1d1d46
JM
64582012-02-24 Joseph Myers <joseph@codesourcery.com>
6459
6460 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 6461
0f8bbd69
JM
64622012-02-24 Joseph Myers <joseph@codesourcery.com>
6463
6464 * manual/texinfo.tex: Update to version 2012-01-19.16.
6465
66ab80bc
JM
64662012-02-24 Joseph Myers <joseph@codesourcery.com>
6467
6468 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6469
74981cc5
RM
64702012-02-24 Roland McGrath <roland@hack.frob.com>
6471
ee968201
RM
6472 [BZ #13738]
6473 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6474 * manual/fdl-1.3.texi: New file.
6475 * manual/fdl-1.1.texi: File removed.
6476
74981cc5
RM
6477 [BZ #13738]
6478 * manual/libc.texinfo (FDL_VERSION): New @set.
6479 Use it for mention of FDL in cover text.
6480 (Documentation License): Use it in @include file name.
6481
7bb764bc
JM
64822012-02-22 Joseph Myers <joseph@codesourcery.com>
6483 Roland McGrath <roland@hack.frob.com>
6484
6485 [BZ #5461]
6486 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6487 not LONG_LONG_MAX and LONG_LONG_MIN.
6488 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6489 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6490 name.
6491 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6492
6cbeae47
JM
64932012-02-22 Joseph Myers <joseph@codesourcery.com>
6494
6495 [BZ #2547]
6496 [BZ #11365]
6497 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6498 manipulate bits before adding and subtracting TWO23[sx].
6499 * math/libm-test.inc (nearbyint_test): Add more tests.
6500
fe45ce09
JM
65012012-02-22 Joseph Myers <joseph@codesourcery.com>
6502
6503 [BZ #2548]
6504 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6505 bits before adding and subtracting TWO23[sx].
6506 * math/libm-test.inc (rint_test): Add more tests.
6507 (rint_test_tonearest): Likewise.
6508 (rint_test_towardzero): Likewise.
6509 (rint_test_downward): Likewise.
6510 (rint_test_upward: Likewise.
6511
ff3b3d82
JM
65122012-02-22 Joseph Myers <joseph@codesourcery.com>
6513
6514 [BZ #10110]
6515 * include/stdc-predef.h: New file. Extracted from features.h.
6516 * include/features.h: Include stdc-predef.h.
6517 * Makefile (headers): Add stdc-predef.h.
6518 * CONFORMANCE (Compiler limitations): Update.
6519
ef0aab35
JM
65202012-02-22 Joseph Myers <joseph@codesourcery.com>
6521
6522 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6523
58639409
DM
65242012-02-21 David S. Miller <davem@davemloft.net>
6525
6526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6527 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6528
c0e70b25
DM
65292012-02-20 David S. Miller <davem@davemloft.net>
6530
6531 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6532 using a normal save/restore sequence, rather than allocating a
6533 dummy stack frame just to store a frame pointer and restore.
6534 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6535
fb06851d
JM
65362012-02-21 Joseph Myers <joseph@codesourcery.com>
6537
6538 * manual/install.texi: Fix stray word in line-wrapped comment.
6539
7a8b71c3
DM
65402012-02-20 David S. Miller <davem@davemloft.net>
6541
d510c123
DM
6542 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6543 both binutils and gcc support GOTDATA.
6544
0722d7c2
DM
6545 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6546 "rd %pc" in the PIC register setup sequences.
6547
3d2b3019
DM
6548 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6549 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6550 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6551 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6552 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6554 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6555 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6557 (SYSCALL_ERROR_HANDLER): Likewise.
6558 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6559 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6561 (SYSCALL_ERROR_HANDLER): Likewise.
6562
c80098a9
DM
6563 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6564 (HAVE_GCC_GOTDATA): New.
6565 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6566 relocation support in both binutils and gcc.
6567 * sysdeps/sparc/elf/configure: Regenerate.
6568
3a2545a0
DM
6569 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6570 * sysdeps/sparc/sparc32/elf/configure: Delete.
6571 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6572 * sysdeps/sparc/sparc64/elf/configure: Delete.
6573 * sysdeps/sparc/elf/configure.in: New file.
6574 * sysdeps/sparc/elf/configure: Generate.
6575
7a8b71c3
DM
6576 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6577 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6578 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6579 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6580 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6581
f1e86fca
JM
65822012-02-21 Joseph Myers <joseph@codesourcery.com>
6583
6584 * manual/install.texi: Do not mention specific glibc version
6585 numbers.
6586 * manual/libc.texinfo (VERSION, UPDATED): Update.
6587 (@copying): Use @copyright{} and range of years.
6588
0e7dfaef
JM
65892012-02-21 Joseph Myers <joseph@codesourcery.com>
6590
6591 [BZ #13695]
6592 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6593 [crti.S not in sysdirs] (generated): Do not append.
6594 [crti.S not in sysdirs] (omit-deps): Likewise.
6595 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6596 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6597 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6598 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6599 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6600 Likewise.
6601 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6602 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6603 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6604 * csu/defs.awk: Remove file.
6605 * sysdeps/generic/initfini.c: Likewise.
6606 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6607 variable.
6608 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6609 Likewise.
6610
599af3ca
JM
66112012-02-20 Joseph Myers <joseph@codesourcery.com>
6612
6613 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6614 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6615 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6616 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6617 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6618 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6619 <bits/epoll.h>.
6620 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6621 (__EPOLL_PACKED): Define to empty if not defined by
6622 <bits/epoll.h>.
6623 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6625 bits/epoll.h.
6626
0e499750
JM
66272012-02-20 Joseph Myers <joseph@codesourcery.com>
6628
6629 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6630 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6631 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6632 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6633 <bits/timerfd.h>.
6634 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6636 bits/timerfd.h.
6637
5ad91f6e
JM
66382012-02-20 Joseph Myers <joseph@codesourcery.com>
6639
6640 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6641 in C locale.
6642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6643 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6644 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6646
06b99b02
AJ
66472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6648
6649 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6650 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6651
7638c0fd
AS
66522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6653
6654 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6655 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6656 defined.
6657 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6658 Likewise.
6659 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6660 entry for 2.16.
6661
92221550
AJ
66622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6663
6664 * math/w_acos.c: Use non-signaling floating-point comparisons.
6665 * math/w_acosf.c: Likewise.
6666 * math/w_acosh.c: Likewise.
6667 * math/w_acoshf.c: Likewise.
6668 * math/w_acoshl.c: Likewise.
6669 * math/w_acosl.c: Likewise.
6670 * math/w_asin.c: Likewise.
6671 * math/w_asinf.c: Likewise.
6672 * math/w_asinl.c: Likewise.
6673 * math/w_atanh.c: Likewise.
6674 * math/w_atanhf.c: Likewise.
6675 * math/w_atanhl.c: Likewise.
6676 * math/w_exp2.c: Likewise.
6677 * math/w_exp2f.c: Likewise.
6678 * math/w_exp2l.c: Likewise.
6679 * math/w_j0.c: Likewise.
6680 * math/w_j0f.c: Likewise.
6681 * math/w_j0l.c: Likewise.
6682 * math/w_j1.c: Likewise.
6683 * math/w_j1f.c: Likewise.
6684 * math/w_j1l.c: Likewise.
6685 * math/w_jn.c: Likewise.
6686 * math/w_jnf.c: Likewise.
6687 * math/w_log.c: Likewise.
6688 * math/w_log10.c: Likewise.
6689 * math/w_log10f.c: Likewise.
6690 * math/w_log10l.c: Likewise.
6691 * math/w_log2.c: Likewise.
6692 * math/w_log2f.c: Likewise.
6693 * math/w_log2l.c: Likewise.
6694 * math/w_logf.c: Likewise.
6695 * math/w_logl.c: Likewise.
6696 * math/w_sqrt.c: Likewise.
6697 * math/w_sqrtf.c: Likewise.
6698 * math/w_sqrtl.c: Likewise.
6699 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6700 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6701 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6702 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6703 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6704
ebaf36eb
JM
67052012-02-19 Joseph Myers <joseph@codesourcery.com>
6706
6707 [BZ #9739]
6708 * manual/string.texi (strnlen): Use correct parameter name in
6709 equivalent expression.
6710
71c254a6
JM
67112012-02-19 Joseph Myers <joseph@codesourcery.com>
6712
6713 [BZ #11174]
6714 * manual/users.texi (seteuid): Consistently use neweuid for
6715 argument name.
6716
16d2c631
JM
67172012-02-19 Joseph Myers <joseph@codesourcery.com>
6718
6719 [BZ #13704]
6720 * manual/nss.texi (Services in the NSS configuration): Correct
6721 list of services in example configuration file.
6722
cd837b09
NB
67232012-02-19 Nick Bowler <nbowler@draconx.ca>
6724
6725 [BZ #11322]
6726 * manual/arith.texi: Remove statements about negative zero
6727 behaving identically to zero.
6728
02c4bbad
JM
67292012-02-18 Joseph Myers <joseph@codesourcery.com>
6730
6731 [BZ #5993]
6732 * manual/install.texi: Do not document upgrading from libc5.
6733
366842e7
JM
67342012-02-18 Joseph Myers <joseph@codesourcery.com>
6735
6736 [BZ #4596]
6737 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6738
dd54084d
DM
67392012-02-18 David S. Miller <davem@davemloft.net>
6740
6741 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6742 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6743 %o7 across the call.
6744 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6745 instead.
6746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6747 SETUP_PIC_REG_LEAF.
6748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6749 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6750 * sysdeps/sparc/crtn.S: Likewise.
6751
2bcc53a3
UD
67522012-02-17 Ulrich Drepper <drepper@gmail.com>
6753
6754 * aout/Makefile: Remove.
6755
09c093b5
RK
67562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6757
6758 [BZ #13058]
6759 * manual/examples/argp-ex1.c (main): Format definition in GNU
6760 style.
6761 * manual/examples/argp-ex2.c (main): Likewise.
6762 * manual/examples/argp-ex3.c (main): Likewise.
6763 * manual/examples/argp-ex4.c (main): Likewise.
6764 * manual/examples/longopt.c (main): Use new-style prototype
6765 definition.
6766 * manual/examples/strncat.c (main): Specify return type and use
6767 (void) for arguments.
6768 * manual/examples/subopt.c (main): Use char **argv argument.
6769
2ee633a2
JM
67702012-02-17 Joseph Myers <joseph@codesourcery.com>
6771
6772 [BZ #5077]
6773 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6774 rounding modes.
6775
0520adde
FB
67762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6777
6778 [BZ #6907]
6779 * manual/string.texi (strchr): Change when strchrnul is
6780 recommended.
6781
3f4081cd
DGM
67822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6783
6784 [BZ #174]
6785 * manual/locale.texi (setlocale): Document LOCPATH.
6786
d1b10e78
JM
67872012-02-17 Joseph Myers <joseph@codesourcery.com>
6788
6789 [BZ #10210]
6790 * manual/process.texi (execle): Move @dots{} before last argument.
6791
79c6869c
PB
67922012-02-17 Paul Bolle <pebolle@tiscali.nl>
6793
6794 [BZ #12047]
6795 * manual/charset.texi (Generic Charset Conversion): Fix typo
6796 (LC_TYPE -> LC_CTYPE).
6797
cc6e48bc
NB
67982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6799
6800 [BZ #5805]
6801 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6802 (scalbnf): Likewise.
6803 (scalbnl): Likewise.
6804 (scalbln): Likewise.
6805 (scalblnf): Likewise.
6806 (scalblnl): Likewise.
6807 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6808 (vwarnx): Likewise.
6809 (verr): Likewise.
6810 (verrx): Likewise.
6811 * manual/filesys.texi (telldir): Use braces around return type.
6812 * manual/llio.texi (mmap): Add space after comma.
6813 (mmap64): Likewise.
6814 * manual/math.texi (jn): Use @var{} on parameter names.
6815 (jnf): Likewise.
6816 (jnl): Likewise.
6817 (yn): Likewise.
6818 (ynf): Likewise.
6819 (ynl): Likewise.
6820 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6821 line.
6822 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6823 "...".
6824 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6825 (sched_get_priority_max): Likewise.
6826 * manual/signal.texi (sigvec): Add space after comma.
6827 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6828 names.
6829 (if_indextoname): Likewise.
6830 (if_freenameindex): Likewise.
6831 (sendto): Use ',' instead of '.' in prototype.
6832 * manual/startup.texi (syscall): Use @dots{} instead of literal
6833 "...".
6834 * manual/stdio.texi (__fpending): Separate initial words of
6835 paragraph from @deftypefun line.
6836 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6837 "...".
6838 (vsyslog): Use @var{} on parameter names.
6839 * manual/terminal.texi (stty): Use @var{} on parameter names.
6840 * manual/users.texi (getutmp): Use @var{} on parameter names.
6841 (getutmpx): Likewise.
6842
5b23062f
JM
68432012-02-17 Joseph Myers <joseph@codesourcery.com>
6844
6845 [BZ #6884]
6846 * manual/stdio.texi (fopen): Fix typos in description of
6847 ",ccs=STRING".
6848
8dee4833
AJ
68492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6850
6851 [BZ #4026]
6852 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6853 get clock_id definition.
6854
9078ce93
TS
68552012-02-17 Thomas Schwinge <thomas@schwinge.name>
6856
6857 [BZ #4822]
6858 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6859 (madvise): Cast every argument to void on its own.
6860
3835c55f
JM
68612012-02-17 Joseph Myers <joseph@codesourcery.com>
6862
6863 [BZ #9902]
6864 * manual/startup.texi (Exit Status): Fix typo.
6865
35c47e37
JM
68662012-02-17 Joseph Myers <joseph@codesourcery.com>
6867
6868 [BZ #10140]
6869 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6870 * manual/examples/argp-ex2.c: Likewise.
6871 * manual/examples/argp-ex3.c: Likewise.
6872
e3b69ca7
RH
68732012-02-16 Richard Henderson <rth@redhat.com>
6874
6875 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6876 * sysdeps/s390/s390-32/initfini.c: Remove.
6877 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6878 * sysdeps/s390/s390-64/initfini.c: Remove.
6879
df83af67
KK
68802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6881
6882 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6883 compiler output for sysdeps/generic/initfini.c.
6884 * sysdeps/sh/elf/initfini.c: Remove file.
6885
f63f3380
DM
68862012-02-16 David S. Miller <davem@davemloft.net>
6887
fb59b3a4
DM
6888 [BZ #11494]
6889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6890
f63f3380
DM
6891 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6892 * sysdeps/sparc/crti.S: New file.
6893 * sysdeps/sparc/crtn.S: New file.
6894 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6895 * sysdeps/sparc/sparc64/Makefile: Likewise.
6896
df6a4a4a
MF
68972012-02-15 Mike Frysinger <vapier@gentoo.org>
6898
6dd8f3dc 6899 [BZ #3335]
df6a4a4a
MF
6900 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6901
1cac7236
RM
69022012-02-15 Roland McGrath <roland@hack.frob.com>
6903
d2c736f8
RM
6904 [BZ #4822]
6905 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6906
1cac7236
RM
6907 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6908 (write, read, close): Likewise.
6909 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6910
8e475601
JM
69112012-02-15 Joseph Myers <joseph@codesourcery.com>
6912
6913 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6914 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6915 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6916 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6917 <bits/signalfd.h>.
6918 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6919 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6920 bits/signalfd.h.
6921
ed656b40
MP
69222012-02-14 Marek Polacek <polacek@redhat.com>
6923
6924 * sysdeps/x86_64/crti.S: New file.
6925 * sysdeps/x86_64/crtn.S: New file.
6926 * sysdeps/x86_64/elf/initfini.c: Remove file.
6927
2a979d3a
JM
69282012-02-13 Joseph Myers <joseph@codesourcery.com>
6929
6930 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6931 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6932 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6933 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6934 <bits/inotify.h>.
6935 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6937 bits/inotify.h.
6938
2a418ac3
JM
69392012-02-13 Joseph Myers <joseph@codesourcery.com>
6940
6941 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6942 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6943 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6944 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6945 <bits/eventfd.h>.
6946 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6948 bits/eventfd.h.
6949
fb779be7
TS
69502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6951
e19e83c5
RM
6952 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6953 __feraiseexcept instead of feraiseexcept.
7c35ffed 6954
fb779be7
TS
6955 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6956 nanosleep invocations.
6957 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6958 strings, and add error checking for a nanosleep invocations.
6959
59ba27a6
PE
69602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6961
6962 Replace FSF snail mail address with URLs, as per GNU coding standards.
6963 Most of the snail mail addresses were wrong anyway, and omitting
6964 them makes the source code easier to maintain. Almost all of the
6965 changes are to license notices and to locale LC_IDENTIFICATION
6966 addresses, except for this one:
6967 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6968 not its snail mail address.
6969
57b957eb
RH
69702012-02-09 Richard Henderson <rth@twiddle.net>
6971
af850b1c
RH
6972 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6973 of kernel-features.h.
6974
57b957eb
RH
6975 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6976
6b73181a
MP
69772012-02-08 Marek Polacek <polacek@redhat.com>
6978
6979 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6980 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6981 * sysdeps/gnu/_G_config.h: Likewise.
6982 * sysdeps/generic/_G_config.h: Likewise.
6983
26ecc33a
AS
69842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6985
6c6dbc63
AS
6986 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6987 tests.
6988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6989
e216c012
AS
6990 * sysdeps/powerpc/powerpc32/crti.S: New file.
6991 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6992 * sysdeps/powerpc/powerpc64/crti.S: New file.
6993 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6994
26ecc33a
AS
6995 * Makeconfig (have-initfini): Don't set.
6996 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6997 * configure.in (nopic_initfini): Don't substitute.
6998 * config.h.in (HAVE_INITFINI): Don't #undef.
6999 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7000 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7001
3add8e13
JM
70022012-02-08 Joseph Myers <joseph@codesourcery.com>
7003
7004 Support crti.S and crtn.S provided directly by architectures.
7005 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7006 [crti.S in sysdirs] (omit-deps): Likewise.
7007 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7008 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7009 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7010 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7011 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7012 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7013 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7014 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7015 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7016 compiler output for sysdeps/generic/initfini.c.
7017 * sysdeps/i386/elf/Makefile: Remove file.
7018 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7019
a22f12b4
MP
70202012-02-07 Marek Polacek <polacek@redhat.com>
7021
7022 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7023 * sysdeps/gnu/_G_config.h: Likewise.
7024 * sysdeps/mach/hurd/_G_config.h: Likewise.
7025
148cf100
MP
70262012-02-07 Marek Polacek <polacek@redhat.com>
7027
7028 * math/Makefile (tests): Add tst-CMPLX2.
7029 * math/tst-CMPLX2.c: New file.
7030
cfdc0dd7
AS
70312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7032
84ba42c4
AS
7033 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7034
cfdc0dd7
AS
7035 * math/libm-test.inc (jn_test): Add missing L suffix.
7036
622c86f4
MP
70372012-02-06 Marek Polacek <polacek@redhat.com>
7038
7039 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7040 * sysdeps/i386/fpu/e_powf.S: Likewise.
7041 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7042 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7043 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7044 * sysdeps/i386/fpu/e_pow.S: Likewise.
7045 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7046 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7047 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7048 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7049 * sysdeps/i386/fpu/e_log2.S: Likewise.
7050 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7051 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7052 * sysdeps/i386/fpu/e_powl.S: Likewise.
7053 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7054 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7055 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7056 * sysdeps/i386/fpu/e_logl.S: Likewise.
7057 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7058 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7059 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7060 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7061 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7062 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7063 * sysdeps/i386/fpu/e_log.S: Likewise.
7064 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7065 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7066 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7067 * sysdeps/i386/fpu/e_logf.S: Likewise.
7068 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7070 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7071 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7072 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7073 * sysdeps/i386/fpu/e_log10.S: Likewise.
7074 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7075 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7076 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7077 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7078 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7079 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7080 * sysdeps/i386/asm-syntax.h: Likewise.
7081 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7082 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7083 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7084 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7085 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7086 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7087 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7088 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7089 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7090 * sysdeps/powerpc/sysdep.h: Likewise.
7091 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7092 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7093
d4a54ac6
JM
70942012-02-06 Joseph Myers <joseph@codesourcery.com>
7095
7096 [BZ #411]
7097 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7098
314054ea
JM
70992012-02-06 Joseph Myers <joseph@codesourcery.com>
7100
7101 * sysdeps/i386/sysdep.h: Include <features.h>.
7102 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7103 version.
7104
d8e0ca50
JM
71052012-02-05 Joseph Myers <joseph@codesourcery.com>
7106
7107 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7108 Define.
7109 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7110 LOAD_PIC_REG_STR.
7111
b1da7dd9
JM
71122012-02-03 Joseph Myers <joseph@codesourcery.com>
7113
7114 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7115 (SETUP_PIC_REG): Use GET_PC_THUNK.
7116 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7117 macro.
7118
9a1d9254
JM
71192012-02-03 Joseph Myers <joseph@codesourcery.com>
7120
7121 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7122 for non-PIC compilation.
7123 (SETUP_PIC_REG): Add .p2align directive.
7124 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7125 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7126 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7127 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7128 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7129 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7130 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7131 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7132 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7133 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7134 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7135 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7136 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7137 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7138 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7139 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7140 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7141 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7142 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7143 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7144 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7145 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7146 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7147 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7148 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7150 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7151 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7152 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7153 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7154 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7155 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7156 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7157 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7158 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7159 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7160 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7161 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7162 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7163 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7164 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7165
65dc3b75
JM
71662012-02-03 Joseph Myers <joseph@codesourcery.com>
7167
7168 * math/tst-CMPLX.c: Include <stdio.h>.
7169
d55bf177
JM
71702012-01-31 Joseph Myers <joseph@codesourcery.com>
7171
7172 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7173 float.
7174 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7175 * sysdeps/sparc/bits/mathdef.h: Likewise.
7176
69db4f8f
MP
71772012-01-31 Marek Polacek <polacek@redhat.com>
7178
7179 * libio/libio.h: Don't define _PARAMS.
7180 * locale/programs/config.h: Don't define PARAMS.
7181 * stdlib/strtol_l.c: Likewise.
7182 (__strtol_l): Remove PARAMS from the prototype.
7183
41b81892
UD
71842012-01-31 Ulrich Drepper <drepper@gmail.com>
7185
3b49edc0
UD
7186 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7187 names. Just use the correct names. Remove unnecessary wrapper
7188 functions.
7189 * malloc/arena.c: Likewise.
7190 * malloc/hooks.c: Likewise.
7191
41b81892
UD
7192 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7193 ARENA_TEST says not to. Simplify test for creation of a new arena.
7194 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7195
27a25b6e
UD
71962012-01-30 Ulrich Drepper <drepper@gmail.com>
7197
7198 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7199 into tail calls.
7200 (update_get_addr): New function.
7201 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7202 GET_ADDR_MODULE parameter.
7203
c8a89e7d
JM
72042012-01-30 Joseph Myers <joseph@codesourcery.com>
7205
7206 * crypt/cert.c: Remove __STDC__ conditionals.
7207 * crypt/crypt-entry.c: Likewise.
7208 * crypt/crypt_util.c: Likewise.
7209 * libio/filedoalloc.c: Likewise.
7210 * libio/fileops.c: Likewise.
7211 * libio/genops.c: Likewise.
7212 * libio/iofclose.c: Likewise.
7213 * libio/iofdopen.c: Likewise.
7214 * libio/iofopen.c: Likewise.
7215 * libio/iofopen64.c: Likewise.
7216 * libio/iogetdelim.c: Likewise.
7217 * libio/iopopen.c: Likewise.
7218 * libio/obprintf.c: Likewise.
7219 * libio/oldfileops.c: Likewise.
7220 * libio/oldiofclose.c: Likewise.
7221 * libio/oldiofdopen.c: Likewise.
7222 * libio/oldiofopen.c: Likewise.
7223 * libio/oldiopopen.c: Likewise.
7224 * libio/wfiledoalloc.c: Likewise.
7225 * libio/wgenops.c: Likewise.
7226 * locale/programs/xmalloc.c: Likewise.
7227 * misc/syslog.c: Likewise.
7228 * stdio-common/xbug.c: Likewise.
7229 * string/memchr.c: Likewise.
7230 * string/memcmp.c: Likewise.
7231 * string/memrchr.c: Likewise.
7232 * string/rawmemchr.c: Likewise.
7233 * sysdeps/posix/getcwd.c: Likewise.
7234 * time/strftime_l.c: Likewise.
7235
3b100462
JM
72362012-01-30 Joseph Myers <joseph@codesourcery.com>
7237
7238 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7239 * config.make.in (config-cflags-sse2avx): Define.
7240 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7241 Fix typo.
7242
607998af
CM
72432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7244
7245 * scripts/config.guess: Update from upstream config git repository.
7246 * scripts/config.sub: Likewise.
7247
3601428f
CM
72482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7249
3ac8b282
CM
7250 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7251 (EM_NUM): Update.
7252 (R_TILEPRO_*, R_TILEGX_*): New macros.
7253
e034841e
CM
7254 * scripts/firstversions.awk: Fix bug in version range handling.
7255
540d7568
CM
7256 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7257
3601428f
CM
7258 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7259
463de862
CM
7260 * include/sys/epoll.h: New file.
7261 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7262 libc_hidden_def.
7263
73139a76
UD
72642012-01-28 Ulrich Drepper <drepper@gmail.com>
7265
96bc5b45
UD
7266 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7267 Avoid unnecessary __WORDSIZE == 64 test.
7268 (fmaxf): Use VEX format if possible.
7269 (fmax): Likewise.
7270 (fminf): Likewise.
7271 (fmin): Likewise.
7272
56f6f6a2
UD
7273 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7274 * math/math_private.h: Remove libc_fegetround* and
7275 libc_fesetround*.
7276 * sysdeps/i386/configure.in: Check for -msse2avx.
7277 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7278 also if SSE2AVX is defined.
7279 Remove libc_fegetround* and libc_fesetround*.
7280 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7281 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7282 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7283 of HAS_YMM_USABLE.
7284 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7285 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7286 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7287 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7288 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7289
73139a76
UD
7290 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7291
d73f93a4
AZ
72922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7293
7294 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7295 size is not set.
7296 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7297
6ee65ed6
UD
72982012-01-27 Ulrich Drepper <drepper@gmail.com>
7299
7300 [BZ #13618]
7301 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7302 relocation.
7303 * Makeconfig (libm): Define.
7304 * elf/Makefile: Add rules to build and run tst-relsort1.
7305 * elf/tst-relsort1.c: New file.
7306 * elf/tst-relsort1mod1.c: New file.
7307 * elf/tst-relsort1mod2.c: New file.
7308
8db21882
JM
73092012-01-27 Joseph Myers <joseph@codesourcery.com>
7310
7311 * math/s_ldexp.c: Remove __STDC__ conditionals.
7312 * math/s_ldexpf.c: Likewise.
7313 * math/s_ldexpl.c: Likewise.
7314 * math/s_nextafter.c: Likewise.
7315 * math/s_nexttowardf.c: Likewise.
7316 * math/s_significand.c: Likewise.
7317 * math/s_significandf.c: Likewise.
7318 * math/s_significandl.c: Likewise.
7319 * math/w_jnl.c: Likewise.
7320 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7321 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7322 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7323 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7324 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7326 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7327 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7328 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7329 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7330 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7331 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7332 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7333 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7334 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7335 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7336 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7337 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7338 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7339 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7340 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7341 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7342 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7344 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7345 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7346 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7347 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7348 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7349 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7350 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7351 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7352 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7353 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7354 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7355 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7356 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7357 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7358 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7359 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7360 * sysdeps/ieee754/k_standard.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7377 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7379 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7380 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7390 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7393 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7400 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7401 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7406 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7410 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7411 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7422 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7427 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7430 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7435 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7436 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7438 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7439 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7440 * sysdeps/ieee754/s_matherr.c: Likewise.
7441 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7442 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7444 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7445
965a54a4
JM
74462012-01-26 Joseph Myers <joseph@codesourcery.com>
7447
7448 * crypt/md5.h: Remove __STDC__ conditionals.
7449 * libio/libioP.h: Likewise.
7450 * locale/programs/config.h: Likewise.
7451 * sysdeps/generic/sysdep.h: Likewise.
7452 * sysdeps/i386/asm-syntax.h: Likewise.
7453 * sysdeps/s390/asm-syntax.h: Likewise.
7454 * sysdeps/unix/sysdep.h: Likewise.
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7457
7071ad79
JM
74582012-01-26 Joseph Myers <joseph@codesourcery.com>
7459
7460 * libio/libio.h: Remove __STDC__ conditionals.
7461 * malloc/obstack.h: Likewise.
7462 * math/complex.h: Likewise.
7463 * math/math.h: Likewise.
7464 * sysdeps/generic/_G_config.h: Likewise.
7465 * sysdeps/gnu/_G_config.h: Likewise.
7466 * sysdeps/mach/hurd/_G_config.h: Likewise.
7467 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7468 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7469 * sysdeps/sparc/bits/mathdef.h: Likewise.
7470
afc5ed09
UD
74712012-01-26 Ulrich Drepper <drepper@gmail.com>
7472
7473 [BZ #13583]
7474 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 7475 Clean up HAS_* macros.
afc5ed09 7476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
7477 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7478 possible.
7479 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7480 HAS_AVX.
7481 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7482 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7483 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7484 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7485 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 7486
bdb6de1d
JM
74872012-01-25 Joseph Myers <joseph@codesourcery.com>
7488
7489 * elf/tst-unique3.cc (gets): Remove declaration.
7490 * elf/tst-unique3lib.cc (gets): Likewise.
7491 * elf/tst-unique3lib2.cc (gets): Likewise.
7492 * elf/tst-unique4.cc (gets): Likewise.
7493
b15549e6
UD
74942012-01-24 Ulrich Drepper <drepper@gmail.com>
7495
7496 * include/stdio.h: Add C++ protection. Add gets declarations and
7497 definitions.
7498 * debug/tst-chk1.c: Don't declare gets here.
7499 * stdio-common/tst-gets.c: Likewise.
7500
a037381f
JM
75012012-01-24 Joseph Myers <joseph@codesourcery.com>
7502
7503 * posix/glob: Remove directory.
7504
f1d4aa75
JM
75052012-01-24 Joseph Myers <joseph@codesourcery.com>
7506
7507 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7508
81c0c964
PT
75092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7510
7511 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7512 of the non-standard EPFNOSUPPORT.
7513
0ea698ae
ST
75142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7515
7516 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7517 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7518 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7519
d220b117
UD
75202012-01-21 Ulrich Drepper <drepper@gmail.com>
7521
7522 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7523
3e1aa84e
UD
75242012-01-20 Ulrich Drepper <drepper@gmail.com>
7525
7526 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7527 transient errors.
7528 * nscd/grpcache.c (cache_addgr): Likewise.
7529 * nscd/hstcache.c (cache_addhst): Likewise.
7530 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7531 * nscd/pwdcache.c (cache_addpw): Likewise.
7532 * nscd/servicescache.c (cache_addserv): Likewise.
7533
400aa020
UD
75342012-01-16 Ulrich Drepper <drepper@gmail.com>
7535
d77e7869
UD
7536 * malloc/malloc.c: Various cleanups.
7537 * malloc/hooks.c: Likewise.
7538
400aa020
UD
7539 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7540 * stdlib/bug-fmtmsg1.c: New file.
7541
7542 * stdlib/fmtmsg.c (init): Add missing unlock.
7543 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7544
e0a309cf
MP
75452012-01-12 Marek Polacek <polacek@redhat.com>
7546
7547 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7548 and _GNU_SOURCE.
7549
929d11c7
WS
75502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7551
7552 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7553 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7554 macro to ensure uniqueness of label name.
7555 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7556 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7557
41d0e869
UD
75582012-01-11 Ulrich Drepper <drepper@gmail.com>
7559
0cc5ed3b
UD
7560 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7561
41d0e869
UD
7562 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7563 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7564 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7566
a47a831a
UD
75672012-01-10 Ulrich Drepper <drepper@gmail.com>
7568
daa891c0
UD
7569 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7570
7571 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7572 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7573 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7574
e58ef0f2
UD
7575 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7576
a47a831a 7577 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
7578 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7579 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 7580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
7581
7582 * math/bits/math-finite.h: Add ldexp support.
7583
a0bfc9c7
MP
75842012-01-10 Marek Polacek <polacek@redhat.com>
7585
7586 * locale/programs/localedef.h (show_archive_content): Add noreturn
7587 attribute.
7588
d6e97a1d
UD
75892012-01-09 Ulrich Drepper <drepper@gmail.com>
7590
7591 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7592
d5835c26
UD
75932012-01-08 Ulrich Drepper <drepper@gmail.com>
7594
e5f484c6
UD
7595 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7596
d5835c26
UD
7597 * io/Makefile (headers): Add bits/poll2.h.
7598
d1f741e9
WS
75992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7600
7601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7602 typo #include statement.
7603
ec09c1c4
UD
76042012-01-08 Ulrich Drepper <drepper@gmail.com>
7605
7606 * include/sys/cdefs.h: Define __attribute_alloc_size.
7607 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7608 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7609 * elf/pldd.c: Likewise.
7610 * iconv/iconv_charmap.c: Likewise.
7611 * iconv/iconvconfig.c: Likewise.
7612 * iconv/strtab.c: Likewise.
7613 * locale/programs/locale.c: Likewise.
7614 * locale/programs/localedef.h: Likewise.
7615 * locale/programs/simple-hash.c: Likewise.
7616 * nscd/nscd.h: Likewise.
7617 * nss/makedb.c: Likewise.
7618 * sysdeps/generic/ldconfig.h: Likewise.
7619 * locale/programs/localedef.c: Remove xmalloc prototype.
7620 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7621
20b38e03
PP
76222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7623
7624 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7625 appropriate.
7626
a0da5fe1
UD
76272012-01-08 Ulrich Drepper <drepper@gmail.com>
7628
1d5a644a 7629 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7630 * math/tst-CMPLX.c: New file.
1d5a644a 7631
8784a6db
UD
7632 * math/complex.h (CMPLXL): Fix typo.
7633
d9a216c0
UD
7634 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7635 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7636 GLIBC_2.16.
7637 * debug/tst-chk1.c: Add poll and ppoll tests.
7638 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7639 * include/sys/poll.h: Add hidden proto for ppoll.
7640 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7641 * sysdeps/mach/hurd/ppoll.c: Likewise.
7642 * io/ppoll.c: Likewise.
7643 * debug/poll_chk.c: New file.
7644 * debug/ppoll_chk.c: New file.
7645 * include/bits/poll2.h: New file.
7646 * io/bits/poll2.h: New file.
7647
ac097f5c
UD
7648 [BZ #1350]
7649 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7650
2119dcfa
UD
7651 * configure.in: static is always set to yes. Remove.
7652 * config.make.in: Don't set build-static.
7653 * Makeconfig: Remove use of build-static.
7654 * dlfcn/Makefile: Likewise.
7655 * elf/Makefile: Likewise.
7656 * math/Makefile: Likewise.
7657 * misc/Makefile: Likewise.
7658 * nptl/Makefile: Likewise.
7659 * sysdeps/mach/hurd/Makefile: Likewise.
7660
121766a9
UD
7661 * configure.in: PWD_P is not used anymore.
7662 * config.make.in: Remove PWD_P entry.
7663
51a1d39c 7664 * configure.in: Remove last remnants of RANLIB.
8720d066 7665 No need to check for signed size_t anymore.
215f4bdc
UD
7666 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7667 and IA-64.
3857022a 7668 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7669 * aclocal.m4: Likewise.
7670
d3ed7225
UD
7671 * wcsmbs/mbrtoc16.c: Implement using towc function.
7672 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7673 * wcsmbs/wcsmbsload.c: Likewise.
7674 * iconv/gconv_simple.c: Likewise.
7675 * iconv/gconv_int.h: Likewise.
7676 * iconv/gconv_builtin.h: Likewise.
7677 * iconv/iconv_prog.c: Remove CHAR16 handling.
7678
7679 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7680
7681 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7682
a0da5fe1
UD
7683 * configure.in: Remove --with-elf and --enable-bounded options.
7684 Dont set base_machine for ia64. More non-ELF conditions removed.
7685 Remove testing and setting of leading underscore information.
7686 * config.make.in (build-bounded): Set to no.
7687 * config.h.in: Remove NO_UNDERSCORES entry.
7688 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7689 them.
7690 * csu/start.c: Remove !NO_UNDERSCORE code.
7691 * locale/localeinfo.h: Likewise.
7692 * sysdeps/generic/machine-gmon.h: Likewise.
7693 * sysdeps/generic/sysdep.h: Likewise.
7694 * sysdeps/i386/sysdep.h: Likewise.
7695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7696 * sysdeps/mach/sysdep.h: Likewise.
7697 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7698 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7699 * sysdeps/sh/sysdep.h: Likewise.
7700 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7701 * sysdeps/unix/i386/sysdep.S: Likewise.
7702 * sysdeps/unix/sparc/start.c: Likewise.
7703 * sysdeps/unix/sparc/sysdep.S: Likewise.
7704 * sysdeps/unix/sparc/sysdep.h: Likewise.
7705 * sysdeps/unix/start.c: Likewise.
7706 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7707 * sysdeps/x86_64/sysdep.h: Likewise.
7708
df78418a
UD
77092012-01-07 Ulrich Drepper <drepper@gmail.com>
7710
a784e502
UD
7711 [BZ #13553]
7712 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7713 for non-gcc.
7714 * argp/argp-fmtstream.h: Use const instead __const.
7715 * argp/argp.h: Likewise.
7716 * assert/assert.h: Likewise.
7717 * bits/fenv.h: Likewise.
7718 * bits/sched.h: Likewise.
7719 * bits/sigset.h: Likewise.
7720 * bits/sigthread.h: Likewise.
7721 * catgets/nl_types.h: Likewise.
7722 * conform/data/pthread.h-data: Likewise.
7723 * crypt/crypt-private.h: Likewise.
7724 * crypt/crypt.h: Likewise.
7725 * crypt/crypt_util.c: Likewise.
7726 * ctype/ctype.h: Likewise.
7727 * debug/execinfo.h: Likewise.
7728 * debug/mbsnrtowcs_chk.c: Likewise.
7729 * debug/mbsrtowcs_chk.c: Likewise.
7730 * debug/wcsnrtombs_chk.c: Likewise.
7731 * debug/wcsrtombs_chk.c: Likewise.
7732 * debug/wcstombs_chk.c: Likewise.
7733 * dirent/dirent.h: Likewise.
7734 * dlfcn/dlfcn.h: Likewise.
7735 * elf/neededtest4.c: Likewise.
7736 * grp/grp.h: Likewise.
7737 * gshadow/gshadow.h: Likewise.
7738 * iconv/gconv.h: Likewise.
7739 * iconv/gconv_int.h: Likewise.
7740 * iconv/gconv_simple.c: Likewise.
7741 * iconv/iconv.h: Likewise.
7742 * iconv/loop.c: Likewise.
7743 * iconv/skeleton.c: Likewise.
7744 * include/aio.h: Likewise.
7745 * include/aliases.h: Likewise.
7746 * include/argz.h: Likewise.
7747 * include/arpa/inet.h: Likewise.
7748 * include/assert.h: Likewise.
7749 * include/dirent.h: Likewise.
7750 * include/dlfcn.h: Likewise.
7751 * include/execinfo.h: Likewise.
7752 * include/fcntl.h: Likewise.
7753 * include/fenv.h: Likewise.
7754 * include/glob.h: Likewise.
7755 * include/grp.h: Likewise.
7756 * include/libintl.h: Likewise.
7757 * include/mntent.h: Likewise.
7758 * include/netdb.h: Likewise.
7759 * include/pwd.h: Likewise.
7760 * include/rpc/netdb.h: Likewise.
7761 * include/sched.h: Likewise.
7762 * include/search.h: Likewise.
7763 * include/shadow.h: Likewise.
7764 * include/signal.h: Likewise.
7765 * include/stdio.h: Likewise.
7766 * include/stdlib.h: Likewise.
7767 * include/string.h: Likewise.
7768 * include/sys/socket.h: Likewise.
7769 * include/sys/stat.h: Likewise.
7770 * include/sys/statfs.h: Likewise.
7771 * include/sys/statvfs.h: Likewise.
7772 * include/sys/syslog.h: Likewise.
7773 * include/sys/time.h: Likewise.
7774 * include/sys/uio.h: Likewise.
7775 * include/time.h: Likewise.
7776 * include/unistd.h: Likewise.
7777 * include/utmp.h: Likewise.
7778 * include/wchar.h: Likewise.
7779 * include/wctype.h: Likewise.
7780 * inet/aliases.h: Likewise.
7781 * inet/arpa/inet.h: Likewise.
7782 * inet/netinet/ether.h: Likewise.
7783 * inet/netinet/in.h: Likewise.
7784 * intl/libintl.h: Likewise.
7785 * io/bits/fcntl2.h: Likewise.
7786 * io/fcntl.h: Likewise.
7787 * io/ftw.h: Likewise.
7788 * io/sys/poll.h: Likewise.
7789 * io/sys/stat.h: Likewise.
7790 * io/sys/statfs.h: Likewise.
7791 * io/sys/statvfs.h: Likewise.
7792 * io/utime.h: Likewise.
7793 * libio/bits/stdio.h: Likewise.
7794 * libio/bits/stdio2.h: Likewise.
7795 * libio/libio.h: Likewise.
7796 * libio/libioP.h: Likewise.
7797 * libio/stdio.h: Likewise.
7798 * locale/lc-ctype.c: Likewise.
7799 * locale/locale.h: Likewise.
7800 * login/utmp.h: Likewise.
7801 * malloc/arena.c: Likewise.
7802 * malloc/malloc.c: Likewise.
7803 * malloc/malloc.h: Likewise.
7804 * malloc/mcheck.c: Likewise.
7805 * malloc/mtrace.c: Likewise.
7806 * math/bits/mathcalls.h: Likewise.
7807 * math/fenv.h: Likewise.
7808 * math/math_private.h: Likewise.
7809 * misc/bits/error.h: Likewise.
7810 * misc/bits/syslog.h: Likewise.
7811 * misc/err.h: Likewise.
7812 * misc/error.h: Likewise.
7813 * misc/fstab.h: Likewise.
7814 * misc/mntent.h: Likewise.
7815 * misc/regexp.h: Likewise.
7816 * misc/search.h: Likewise.
7817 * misc/sgtty.h: Likewise.
7818 * misc/sys/mman.h: Likewise.
7819 * misc/sys/syslog.h: Likewise.
7820 * misc/sys/uio.h: Likewise.
7821 * misc/sys/xattr.h: Likewise.
7822 * misc/ttyent.h: Likewise.
7823 * nis/rpcsvc/ypclnt.h: Likewise.
7824 * nss/nss.h: Likewise.
7825 * posix/bits/unistd.h: Likewise.
7826 * posix/fnmatch.h: Likewise.
7827 * posix/glob.h: Likewise.
7828 * posix/sched.h: Likewise.
7829 * posix/spawn.h: Likewise.
7830 * posix/sys/wait.h: Likewise.
7831 * posix/unistd.h: Likewise.
7832 * posix/wordexp.h: Likewise.
7833 * pwd/pwd.h: Likewise.
7834 * resolv/netdb.h: Likewise.
7835 * resource/sys/resource.h: Likewise.
7836 * rt/aio.h: Likewise.
7837 * rt/bits/mqueue2.h: Likewise.
7838 * rt/mqueue.h: Likewise.
7839 * shadow/shadow.h: Likewise.
7840 * signal/signal.h: Likewise.
7841 * socket/send.c: Likewise.
7842 * socket/sendto.c: Likewise.
7843 * socket/sys/socket.h: Likewise.
7844 * stdio-common/printf.h: Likewise.
7845 * stdlib/bits/stdlib.h: Likewise.
7846 * stdlib/fmtmsg.h: Likewise.
7847 * stdlib/monetary.h: Likewise.
7848 * stdlib/stdlib.h: Likewise.
7849 * stdlib/ucontext.h: Likewise.
7850 * streams/stropts.h: Likewise.
7851 * string/argz.h: Likewise.
7852 * string/bits/string2.h: Likewise.
7853 * string/string.h: Likewise.
7854 * string/strings.h: Likewise.
7855 * sunrpc/rpc/auth.h: Likewise.
7856 * sunrpc/rpc/auth_des.h: Likewise.
7857 * sunrpc/rpc/clnt.h: Likewise.
7858 * sunrpc/rpc/netdb.h: Likewise.
7859 * sunrpc/rpc/pmap_clnt.h: Likewise.
7860 * sunrpc/rpc/xdr.h: Likewise.
7861 * sysdeps/generic/inttypes.h: Likewise.
7862 * sysdeps/generic/net/if.h: Likewise.
7863 * sysdeps/generic/sys/swap.h: Likewise.
7864 * sysdeps/gnu/net/if.h: Likewise.
7865 * sysdeps/gnu/utmpx.h: Likewise.
7866 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7867 * sysdeps/i386/i486/bits/string.h: Likewise.
7868 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7869 * sysdeps/s390/bits/string.h: Likewise.
7870 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7871 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7872 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7873 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7874 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7875 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7876 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7877 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7878 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7879 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7880 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7881 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7882 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7883 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7884 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7885 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7886 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7888 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7889 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7890 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7891 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7892 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7893 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7894 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7895 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7896 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7898 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7899 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7900 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7901 * sysvipc/sys/ipc.h: Likewise.
7902 * sysvipc/sys/msg.h: Likewise.
7903 * sysvipc/sys/sem.h: Likewise.
7904 * sysvipc/sys/shm.h: Likewise.
7905 * termios/termios.h: Likewise.
7906 * time/sys/time.h: Likewise.
7907 * time/time.h: Likewise.
7908 * wcsmbs/bits/wchar2.h: Likewise.
7909 * wcsmbs/uchar.h: Likewise.
7910 * wcsmbs/wchar.h: Likewise.
7911 * wctype/wctype.h: Likewise.
7912
0269750c
UD
7913 [BZ #13551]
7914 * Makeconfig: Remove all but ELF support including AIX support.
7915 * Makerules: Likewise.
7916 * config.h.in: Likewise.
7917 * config.make.in: Likewise.
7918 * configure: Likewise.
7919 * configure.in: Likewise.
7920 * csu/Makefile: Likewise.
7921 * csu/version.c: Likewise.
7922 * debug/Makefile: Likewise.
7923 * dlfcn/Makefile: Likewise.
7924 * elf/Makefile: Likewise.
7925 * extra-lib.mk: Likewise.
7926 * iconv/Makefile: Likewise.
7927 * include/libc-symbols.h: Likewise.
7928 * include/shlib-compat.h: Likewise.
7929 * resolv/Makefile: Likewise.
7930 * resolv/res_libc.c: Likewise.
7931 * rt/Makefile: Likewise.
7932 * sysdeps/i386/asm-syntax.h: Likewise.
7933 * sysdeps/i386/sysdep.h: Likewise.
7934 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7935 * sysdeps/mach/sysdep.h: Likewise.
7936 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7937 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7938 * sysdeps/s390/asm-syntax.h: Likewise.
7939 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7940 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7941 * sysdeps/sh/sysdep.h: Likewise.
7942 * sysdeps/unix/sparc/sysdep.h: Likewise.
7943 * sysdeps/wordsize-32/divdi3.c: Likewise.
7944 * sysdeps/x86_64/sysdep.h: Likewise.
7945
00bbd29b
UD
7946 * argp/Versions: Remove _argp_unlock_xxx.
7947
7948 [BZ #13559]
7949 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7950 * abilist/libBrokenLocale.abilist: Likewise.
7951 * abilist/libanl.abilist: Likewise.
7952 * abilist/libc.abilist: Likewise.
7953 * abilist/libcrypt.abilist: Likewise.
7954 * abilist/libdl.abilist: Likewise.
7955 * abilist/libm.abilist: Likewise.
7956 * abilist/libnsl.abilist: Likewise.
7957 * abilist/libpthread.abilist: Likewise.
7958 * abilist/libresolv.abilist: Likewise.
7959 * abilist/librt.abilist: Likewise.
7960 * abilist/libthread_db.abilist: Likewise.
7961 * abilist/libutil.abilist: Likewise.
7962 * abilist/libnss_db.abilist: New file.
7963
7964 * scripts/abilist.awk: Add support for indirect functions.
7965
a2693a0e
UD
7966 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7967
3f05895f
UD
7968 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7969
ecb6fb48
UD
7970 * shlib-versions: Remove entries for ports architectures.
7971
664f8cb9
UD
7972 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7973 files in ports.
7974 * elf/stackguard-macros.h: Remove support for IA-64.
7975 * elf/tst-auditmod1.c: Likewise.
7976 * sysdeps/generic/ldsodefs.h: Likewise.
7977
7ae81d88
UD
7978 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7979 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7980 configure files.
7981
bdeba135
UD
7982 [BZ #13552]
7983 * configure.in: Remove --enable-omitfp support.
7984 * FAQ.in: Adjust.
7985 * config.make.in: Likewise.
7986 * Makeconfig: Likewise.
7987 * manual/install.texi: Likewise.
7988
d75a0a62
UD
7989 In case anyone cares, the IA-64 architecture could move to ports.
7990 * sysdeps/ia64/*: Removed.
7991 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7992 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7993
dcc9756b
UD
7994 [BZ #13555]
7995 * configure.in: Remove entries for unsupported architectures.
7996
d3761ebc 7997 [BZ #13533]
9954432e
UD
7998 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7999 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8000 routines.
8001 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8002 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8003 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8004 fall back to using wcrtomb.
8005 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8006 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8007 renaming.
8008 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8009 * wcsmbs/tst-c16c32-1.c: New file.
8010
8011 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8012 local variable.
8013
c3a87236
UD
8014 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8015
28926a1b
UD
8016 * elf/tst-unique3.cc: Add explicit declaration of gets.
8017 * elf/tst-unique3lib.cc: Likewise.
8018 * elf/tst-unique3lib2.cc: Likewise.
8019 * elf/tst-unique4.cc: Likewise.
8020
df78418a
UD
8021 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8022
8ecd6b2a
JM
80232012-01-06 Joseph Myers <joseph@codesourcery.com>
8024
8025 [BZ #13566]
8026 * assert/assert.h (static_assert): Don't define for C++.
8027 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8028 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8029
9f115170
UD
80302012-01-03 Ulrich Drepper <drepper@gmail.com>
8031
5e0d0300
UD
8032 * iconv/loop.c (single loop): Fix assertion in storing of
8033 remaining bytes.
8034
9f115170
UD
8035 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8036
81fb02b0
UD
80372012-01-01 Ulrich Drepper <drepper@gmail.com>
8038
8039 * posix/getconf.c: Update copyright year.
8040 * nss/getent.c: Likewise.
a316c1f6 8041 * nss/makedb.c: Likewise.
81fb02b0
UD
8042 * iconv/iconvconfig.c: Likewise.
8043 * iconv/iconv_prog.c: Likewise.
8044 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8045 * elf/pldd.c: Likewise.
8046 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8047 * catgets/gencat.c: Likewise.
8048 * csu/version.c: Likewise.
8049 * elf/ldd.bash.in: Likewise.
8050 * elf/sprof.c (print_version): Likewise.
8051 * locale/programs/locale.c: Likewise.
8052 * locale/programs/localedef.c: Likewise.
a316c1f6 8053 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8054 * nscd/nscd.c (print_version): Likewise.
8055 * debug/xtrace.sh: Likewise.
8056 * malloc/memusage.sh: Likewise.
8057 * malloc/mtrace.pl: Likewise.
8058 * debug/catchsegv.sh: Likewise.
8059
2ba92745
JJ
80602011-12-30 Jakub Jelinek <jakub@redhat.com>
8061
8062 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8063 pure attribute.
8064
dadebdae
UD
80652011-12-24 Ulrich Drepper <drepper@gmail.com>
8066
d3761ebc 8067 [BZ #13533]
db6af3eb
UD
8068 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8069 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8070 transformations.
8071 * iconv/gconv_int.h: Likewise.
8072 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8073 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8074 from libc for GLIBC_2.16.
8075 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8076 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8077 * wcsmbs/uchar.h: Really define mbstate_t.
8078 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8079 * wcsmbs/c16rtomb.c: New file.
8080 * wcsmbs/mbrtoc16.c: New file.
8081 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8082 for C/POSIX locale.
8083 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8084 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8085
dadebdae
UD
8086 * wcsmbs/wchar.h: Add missing __restrict.
8087
67371b56
UD
80882011-12-23 Ulrich Drepper <drepper@gmail.com>
8089
74033a25
UD
8090 [BZ #13532]
8091 * time/Makefile (routines): Add timespec_get.
8092 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8093 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8094 timespec for ISO C11.
8095 * time/timespec_get.c: New file.
8096 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8097 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8098
380d7e87
UD
8099 [BZ #13531]
8100 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8101 * stdlib/stdlib.h: Declare aligned_alloc.
8102 * Versions.def: Add GLIBC_2.16 for libc.
8103 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8104
4e9e7a35
UD
8105 [BZ 13527]
8106 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8107 ISO C11.
8108
380d7e87 8109 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8110 code.
8111
03a71829
UD
8112 [BZ #13528]
8113 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8114
839e283e
UD
8115 [BZ #13529]
8116 * assert/assert.h (static_assert): Define.
8117
ce5294e2 8118 * version.h: Update for 2.16 development version.
90fa7312 8119
8d44e150 8120 [BZ #13526]
d7809905
UD
8121 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8122 _ISOC11_SOURCE.
8123
c0da14cd
UD
8124 * version.h (RELEASE): Bump for 2.15 release.
8125 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8126
530a3249
MP
8127 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8128 Patch by Marek Polacek <mpolacek@redhat.com>.
8129
67371b56
UD
8130 * bits/byteswap.h: Protect long long constants with __extension__.
8131 * sysdeps/i386/bits/byteswap.h: Likewise.
8132 * sysdeps/ia64/bits/byteswap.h: Likewise.
8133 * sysdeps/s390/bits/byteswap.h: Likewise.
8134 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8135
15db4de1
LD
81362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8137
8138 [BZ #13540]
bbe315ea
LD
8139 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8140 destination buffer.
15db4de1
LD
8141 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8142
2b2596b1
MP
81432011-12-23 Marek Polacek <polacek@redhat.com>
8144
8145 * elf/dl-addr.c (determine_info): Add inline keyword.
8146 * elf/tst-auditmod4b.c (check_avx): Likewise.
8147 * elf/tst-auditmod6b.c (check_avx): Likewise.
8148 * elf/tst-auditmod6c.c (check_avx): Likewise.
8149 * elf/tst-auditmod7b.c (check_avx): Likewise.
8150
70c6c246
UD
81512011-12-23 Ulrich Drepper <drepper@gmail.com>
8152
8153 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8154 !__SSE_MATH__.
8155
c044cf14
LD
81562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8157
15db4de1 8158 [BZ #13540]
c044cf14
LD
8159 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8160 processing for last bytes.
8161
6b13d9d9
BH
81622011-08-06 Bruno Haible <bruno@clisp.org>
8163
d455f537
BH
8164 [BZ #13061]
8165 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8166 U+0385, not to U+1FEE.
8167
6b13d9d9
BH
8168 [BZ #13062]
8169 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8170 entry for U+00A5 U+0301.
8171
db910efd
UD
81722011-12-22 Ulrich Drepper <drepper@gmail.com>
8173
27deeafc
UD
8174 [BZ #13166]
8175 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8176 buffer for the output is too small.
8177
aed9d171
UD
8178 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8179 optimization.
8180
db910efd
UD
8181 [BZ #13185]
8182 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8183 SSE flags if possible.
8184
2bd779ae
LD
81852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8186
e7f9dac3 8187 [BZ #13540]
2bd779ae
LD
8188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8189 processing for last bytes.
8190
154bfc16
JM
81912011-12-22 Joseph Myers <joseph@codesourcery.com>
8192
8193 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8194 (syscall-list-default-options, syscall-list-default-condition)
8195 (syscall-list-includes): Define.
8196 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8197 list of ABIs and options and #if conditions for each ABI. Do not
8198 handle common syscalls between ABIs specially.
8199 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8200 Remove.
8201 (syscall-list-variants, syscall-list-32bit-options)
8202 (syscall-list-32bit-condition, syscall-list-64bit-options)
8203 (syscall-list-64bit-condition): Define.
8204 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8205 (syscall-list-variants, syscall-list-32bit-options)
8206 (syscall-list-32bit-condition, syscall-list-64bit-options)
8207 (syscall-list-64bit-condition): Define.
8208 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8209 Remove.
8210 (syscall-list-variants, syscall-list-32bit-options)
8211 (syscall-list-32bit-condition, syscall-list-64bit-options)
8212 (syscall-list-64bit-condition): Define.
8213 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8214 Remove.
8215 (syscall-list-variants, syscall-list-32bit-options)
8216 (syscall-list-32bit-condition, syscall-list-64bit-options)
8217 (syscall-list-64bit-condition): Define.
8218
21eaf3a5
UD
82192011-12-22 Ulrich Drepper <drepper@gmail.com>
8220
16c6f992
UD
8221 * locale/iso-639.def: Add brx entry.
8222
41043168
UD
8223 [BZ #13328]
8224 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8225 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8226
21eaf3a5
UD
8227 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8228 __feraiseexcept_renamed.
8229
e3a851a2
UD
82302011-12-21 Ulrich Drepper <drepper@gmail.com>
8231
4920765e
UD
8232 [BZ #13538]
8233 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8234 EPOLLET with unsigned values.
8235 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8236 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8237
e3a851a2
UD
8238 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8239 to large cancellation.
8240 * math/s_cacoshf.c: Likewise.
8241 * math/s_cacoshl.c: Likewise.
8242
b27e24b8
RK
82432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8244
8245 [BZ #13305]
aebefeee 8246 [BZ #12786]
b27e24b8
RK
8247 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8248 * math/s_cacoshf.c: Likewise.
8249 * math/s_cacoshl.c: Likewise.
8250
ee190f67
UD
82512011-12-21 Ulrich Drepper <drepper@gmail.com>
8252
8253 [BZ #13439]
8254 * iconv/gconv.h: Define __GCONV_SWAP.
8255 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8256 * iconvdata/utf-16.c: Likewise.
8257 * iconvdata/utf-32.c: Likewise.
8258
707f25df
AS
82592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8260
8261 [BZ #13524]
8262 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8263 numerator after shifting it by one limb.
8264
d2daaa1e
RÁE
82652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8266
8267 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8268 under [__USE_EXTERN_INLINES].
8269
a4647e72
UD
82702011-12-17 Ulrich Drepper <drepper@gmail.com>
8271
8272 [BZ #13446]
8273 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8274
f0b264f1
AZ
82752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8276
8277 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8278 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8279 optimized code.
8280 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8281 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8282 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8283 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8284 for strncasecmp/strncasecmp_l compilation.
8285 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8286 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8287
8ef4f244
MP
82882011-12-08 Marek Polacek <mpolacek@redhat.com>
8289
8290 [BZ #13484]
8291 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8292 of __asm__.
8293
97ac2654
UD
82942011-12-17 Ulrich Drepper <drepper@gmail.com>
8295
8296 [BZ #13506]
8297 * time/tzfile.c (__tzfile_read): Check values from file header.
8298
91d2a845
WS
82992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8300
8301 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8302 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8303 * powerpc/powerpc32/dl-start.S: Likewise.
8304 * powerpc/powerpc32/elf/start.S: Likewise.
8305 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8306 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8307 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8308 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8309 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8310 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8311 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8312 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8313 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8314 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8315 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8316 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8317 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8318 * powerpc/powerpc32/memset.S: Likewise.
8319 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8320 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8321 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8322 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8323 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8324 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8325 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8326 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8327 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8328 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8329 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8330 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8331 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8332
a1267ba1
AZ
83332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8334
8335 * math/libm-test.inc: Added more nearbyint tests.
8336 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8337 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8338 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8339 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8340
ad8ac1bd
RL
83412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8342
8343 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8344 FD_CLOEXEC.
8345
1d3e4b61
UD
83462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8347
8348 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8349 Add wcscpy-ssse3 wcscpy-c.
8350 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8351 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8352 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8353 * sysdeps/x86_64/wcschr.S: New file.
8354 * sysdeps/x86_64/wcsrchr.S: New file.
8355 * string/test-strcmp.c: Remove checking of wcscmp function for
8356 wrong alignments.
8357 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8358 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8359 wcsrchr-sse2 wcsrchr-c.
8360 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8361 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8362 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8363 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8364 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8365 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8366 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8367 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8368 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8369 * wcsmbc/wcschr.c (WCSCHR): New macro.
8370
5b330a2d
UD
83712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8372
8373 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8374 * wcsmbs/test-wcsrchr.c: New file.
8375 * string/test-strrchr.c: Add wcsrchr support.
8376 (WIDE): New macro.
8377 * wcsmbs/test-wcscpy.c: New file.
8378 * string/test-strcpy.c: Add wcscpy support.
8379 (WIDE): New macro.
26428b7c 8380
f039c043
UD
83812011-12-10 Ulrich Drepper <drepper@gmail.com>
8382
8383 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8384 the inner loop.
8385
850fb039
AS
83862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8387
8388 [BZ #13472]
8389 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8390
4efbd5cb
UD
83912011-12-04 Ulrich Drepper <drepper@gmail.com>
8392
52ff5dd0 8393 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 8394 Minor optimizations.
52ff5dd0 8395
4efbd5cb
UD
8396 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8397 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8398 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8399
8a426e12
UD
84002011-12-03 Ulrich Drepper <drepper@gmail.com>
8401
aff2453d
UD
8402 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8403 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8404 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8405 for gcc to avoid warnings.
8406 * inet/Makefile (tests): Add tst-checks.
8407 * inet/tst-checks.c: New file.
8408
8409 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8410 warning.
8411
8412 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8413 __wmemcmp_sse2.
8414
8415 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8416 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8417
8a426e12
UD
8418 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8419
9bea3473
UD
84202011-12-02 Ulrich Drepper <drepper@gmail.com>
8421
3a965496
UD
8422 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8423 problem.
8424
9bea3473
UD
8425 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8426
f101631b
UD
84272011-11-29 Joseph Myers <joseph@codesourcery.com>
8428
8429 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8430 conditional on GCC version.
8431 (__arch_compare_and_exchange_val_8_acq)
8432 (__arch_compare_and_exchange_val_16_acq)
8433 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8434 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8435 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8436
a98275aa
UD
84372011-12-02 Joseph Myers <joseph@codesourcery.com>
8438
8439 * sysdeps/sh/backtrace.c: New file.
8440
d4cc29a2
AS
84412011-12-02 Andreas Schwab <schwab@redhat.com>
8442
8443 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8444 parenthesis.
8445
6257af2d
AS
84462011-12-01 Andreas Schwab <schwab@redhat.com>
8447
8448 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8449 falling back to utime.
8450
b5f44c1a
AS
84512011-11-30 Andreas Schwab <schwab@redhat.com>
8452
8453 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8454 expectations for float.
8455
f3a6cc0a
AS
84562011-11-29 Andreas Schwab <schwab@redhat.com>
8457
8458 * locale/weight.h (findidx): Add parameter len.
8459 * locale/weightwc.h (findidx): Likewise.
8460 * posix/fnmatch_loop.c (FCT): Adjust caller.
8461 * posix/regcomp.c (build_equiv_class): Likewise.
8462 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8463 * posix/regexec.c (check_node_accept_bytes): Likewise.
8464 * string/strcoll_l.c (STRCOLL): Likewise.
8465 * string/strxfrm_l.c (STRXFRM): Likewise.
8466
9d65ea3a
UD
84672011-11-17 Ulrich Drepper <drepper@gmail.com>
8468
8469 * Makefile.in: Remove CVSOPT handling.
8470 * configure.in: Remove use of AC_REVISION.
8471 * iconvdata/Makefile (distribute): No need to filter out CVS.
8472 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8473 handling.
8474
5583a086
AS
84752011-11-16 Andreas Schwab <schwab@redhat.com>
8476
8477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8478 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8479 [USE_AS_STRNCASECMP_L]: Likewise.
8480 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8481 NO_TLS_DIRECT_SEG_REFS.
8482 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8483 Fix argument offsets for non-PIC.
8484 [USE_AS_STRNCASECMP_L]: Likewise.
8485 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8486 NO_TLS_DIRECT_SEG_REFS.
8487
d62a8200
UD
84882011-11-15 Ulrich Drepper <drepper@gmail.com>
8489
9d65ea3a 8490 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
8491 O_CLOEXEC.
8492 * locale/loadlocale.c (_nl_load_locale): Likewise.
8493
09f93bd3
AS
84942011-11-15 Andreas Schwab <schwab@redhat.com>
8495
446514f9
AS
8496 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8497 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8498 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8499 (SYSCALL_GETTIME): Set errno on error.
8500
09f93bd3
AS
8501 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8502 count references to noai6ai_cached.
8503
312be3f9
UD
85042011-11-15 Ulrich Drepper <drepper@gmail.com>
8505
8506 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8507
8508 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8509 FD_CLOEXEC for /proc/self/maps.
8510
8511 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8512 FD_CLOEXEC for /proc/meminfo.
8513
8514 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8515 gai.conf.
8516
8517 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8518 FD_CLOEXEC for given file.
8519
8520 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8521
8522 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8523 FD_CLOEXEC for /etc/hosts.
8524 (_gethtent): Likewise.
8525
8526 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8527
8528 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8529 cancellation and set FD_CLOEXEC for /etc/netgroup.
8530
8531 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8532 reading /etc/publickey.
8533
8534 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8535 allow cancellation when reading /etc/group.
8536
8537 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8538 cancellation.
8539 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8540
8541 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8542 when using data file.
8543
8544 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8545
8546 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8547 (write_nis_obj): Use "c" and "e" in fopen.
8548
8549 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8550
8551 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8552
8553 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8554
8555 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8556
8557 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8558 locale.alias.
8559
8560 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8561
8562 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8563
8564 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8565
8566 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8567 file parsing and set FD_CLOEXEC.
8568
82af0fa8
UD
85692011-11-14 Ulrich Drepper <drepper@gmail.com>
8570
8571 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8572
a5fb313c
AS
85732011-11-14 Andreas Schwab <schwab@redhat.com>
8574
8575 * malloc/arena.c (arena_get2): Don't call reused_arena when
8576 _int_new_arena failed.
8577
6abf3465
UD
85782011-11-14 Ulrich Drepper <drepper@gmail.com>
8579
8580 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8581 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8582 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8583 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8584 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8585 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8586 to compile strcasecmp and strncasecmp.
8587 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8588 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8589
8590 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8591
76e3966e
UD
85922011-11-13 Ulrich Drepper <drepper@gmail.com>
8593
8594 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8595 locale-defines.sym to gen-as-const-headers.
8596 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8597 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8599 to compile strcasecmp and strncasecmp.
8600 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8601 strcasecmp_l and strncasecmp_l.
8602 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8603 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8604 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8605 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8606 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8607 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8608 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8609 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8610 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8611 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8612 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8613
ab26144e
UD
86142011-11-12 Ulrich Drepper <drepper@gmail.com>
8615
7edb22ef
UD
8616 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8617 result of SYSDEP_GETTIME_CPU to retval.
8618 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8619 parameter list to macro. Remove trailing semicolon. Adjust users.
8620
9694fc44
UD
8621 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8622 variable.
8623
8ad89ef8
UD
8624 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8625 mantissa words.
8626 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8627
0c822ef9
UD
8628 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8629 from unused variable.
8630
874e0564
UD
8631 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8632 DWARF definitions.
8633 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8634 for assembling.
8635
3a2edc79
UD
8636 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8637 over namespaces.
8638
f3c2577f
UD
8639 * sunrpc/rpc_prot.c (rejected): Fix case value.
8640
294ce126
UD
8641 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8642 unsigned long long int to avoid warnings in shift.
8643
5e2b63c6
UD
8644 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8645 of use of trans.
8646 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8647 variable tmp.
8648
e7f4b08e
UD
8649 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8650 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8651 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8652
ab26144e
UD
8653 * nis/nis_table.c (nis_list): Use variable of correct type for
8654 result of __follow_path call.
8655
8a6d5255
AZ
86562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8657
8658 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8659 of math functions ceil, trunc, floor, round, and sqrt, when
8660 avaliable on the platform.
8661 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8662 name clash.
8663 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8664 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8665 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8666
aaddc98c
MP
86672011-10-30 Marek Polacek <mpolacek@redhat.com>
8668
8669 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8670 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8671
95b7042b
RM
86722011-11-11 Roland McGrath <roland@hack.frob.com>
8673
8674 * include/unistd.h: Fix __readlink return type.
8675 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8676
57769839
UD
86772011-11-11 Ulrich Drepper <drepper@gmail.com>
8678
8679 * stdlib/ucontext.h: Undo last change for makecontext.
8680
edc5984d
AS
86812011-11-11 Andreas Schwab <schwab@redhat.com>
8682
98591e58
AS
8683 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8684
edc5984d
AS
8685 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8686 * setjmp/setjmp.h: Mark functions as non-leaf.
8687 * setjmp/bits/setjmp2.h: Likewise.
8688 * stdlib/ucontext.h: Likewise.
8689
77cdc054
AS
86902011-11-10 Andreas Schwab <schwab@redhat.com>
8691
8692 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8693 (reused_arena): Don't check arena limit.
8694 (arena_get2): Atomically check arena limit.
8695
fe72eebd
UD
86962011-11-08 Ulrich Drepper <drepper@gmail.com>
8697
5f078c32
UD
8698 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8699 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8700
fe72eebd
UD
8701 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8702 instructions.
8703
ae1bc2fa
AS
87042011-11-07 Andreas Schwab <schwab@redhat.com>
8705
7583a88d
AS
8706 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8707 handler when locking.
8708
ae1bc2fa
AS
8709 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8710 Fix size of allocated buffer.
8711
10fb0bfa
AS
87122011-11-04 Andreas Schwab <schwab@redhat.com>
8713
998832a4
AS
8714 [BZ #10103]
8715 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8716 declarations for long double functions.
8717 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8718
10fb0bfa
AS
8719 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8720
3d7ba52b
AS
87212011-11-03 Andreas Schwab <schwab@redhat.com>
8722
a9ae54a1
AS
8723 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8724 installed.
8725
3d7ba52b
AS
8726 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8727 is disabled.
8728
bc8db248
ST
87292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8730
8731 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8732
45b96dd6
AS
87332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8734
647776f6
AS
8735 * include/alloca.h (stackinfo_alloca_round): Define.
8736 (extend_alloca): Use it.
8737 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8738 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8739 here.
8740
d91a8b93
AS
8741 * scripts/check-local-headers.sh: Ignore libaudit.h.
8742
45b96dd6
AS
8743 * nscd/Makefile (extra-objs): Make recursively expanded.
8744
432d41ce
UD
87452011-11-01 Ulrich Drepper <drepper@gmail.com>
8746
34372fc6
UD
8747 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8748 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8749
fadb59f8
UD
8750 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8751 * posix/tst-rfc3484-2.c: Likewise.
8752 * posix/tst-rfc3484-3.c: Likewise.
8753
78239589
UD
8754 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8755 process_vm_writev.
8756 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8757 process_vm_writev.
8758 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8759 process_vm_writev from libc using GLIBC_2.15 version.
8760
432d41ce
UD
8761 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8762
02f9c6cf
PP
87632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8764
8765 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8766 stack usage.
8767
3a2c0242
UD
87682011-10-31 Ulrich Drepper <drepper@gmail.com>
8769
f4ec4833
UD
8770 [BZ #13367]
8771 * nss/getent.c (initgroups_keys): Show error message in case no group
8772 names are given.
8773
3a2c0242
UD
8774 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8775 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8776 __bump_nl_timestamp.
8777 * nscd/connections (nscd_init): When host database is served open
8778 netlink socket and request notification about configuration changes.
8779 (main_loop_poll): Track netlink file descriptor and bump timestamp
8780 in case data becomes available.
8781 (main_loop_epoll): Likewise.
8782 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8783 (database_pers_head): Add extra_data fileds.
8784 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8785 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8786 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8787 Adjust caller.
8788 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8789 in6ai data, call __free_in6ai.
8790 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8791 Add -DHAVE_NETLINK.
8792 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8793 interface information. Reuse previous data if netlink timestamp
8794 is not changed.
8795 (__bump_nl_timestamp): New function.
8796 (__free_in6ai): New function.
8797
636064eb
UD
87982011-10-30 Ulrich Drepper <drepper@gmail.com>
8799
8800 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8801 close_not_cancel_no_status here.
8802 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8803
9beb2334
UD
88042011-10-29 Ulrich Drepper <drepper@gmail.com>
8805
6ef76f3b
UD
8806 [BZ #13276]
8807 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8808 return value.
8809
0ffc4f3e 8810 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8811 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8812 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8813
cb95113e
UD
88142011-07-03 Andreas Jaeger <aj@suse.de>
8815
8816 [BZ #10709]
8817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8818 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8819 * math/libm-test.inc (sin_test): Add test case.
8820
a1b560ff
UD
88212011-10-29 Ulrich Drepper <drepper@gmail.com>
8822
c9aaface
UD
8823 [BZ #13337]
8824 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8825 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8826
d272e7f1
UD
8827 * elf/chroot_canon.c (chroot_canon): Cleanups.
8828
1bc33071
UD
8829 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8830
1760874d
TJ
8831 [BZ #13335]
8832 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8833 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8834
51d91b18
UD
8835 * string/test-strchr.c: Make usable for strchrnul testing.
8836 * string/test-strchrnul.c: New file.
8837 * string/Makefile (strop-tests): Add strchrnul.
8838
a1b560ff 8839 * po/it.po: Update from translation team.
b611fb81 8840 * po/es.po: Likewise.
a1b560ff 8841
a5b81e1f
UD
88422011-10-28 Ulrich Drepper <drepper@gmail.com>
8843
fd52bc6d
UD
8844 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8845 the three constants needed as parameters. Drop the others.
8846 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8847 __m128i_strloadu_tolower.
52e4b9eb
UD
8848 Create and initialize variable zero and use it in all the places
8849 where _mm_setzero_si128 was used.
fd52bc6d 8850
a5b81e1f
UD
8851 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8852 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8853 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8854 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8855 anymore.
8856 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8857 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8858 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8859 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8860 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8861 __mpranred, __mptan.
8862 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8863 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8864 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8865 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8866 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8867 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8868 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8869 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8870 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8871
b4343346
AS
88722011-10-28 Andreas Schwab <schwab@redhat.com>
8873
0c92d8a8
AS
8874 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8875 redefine if SHARED.
8876 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8877
b4343346
AS
8878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8879 wide char related routines to wcsmbs subdir.
8880
3871f58f
AS
88812011-10-27 Andreas Schwab <schwab@redhat.com>
8882
8883 [BZ #13344]
8884 * misc/sys/cdefs.h (__THROWNL): Define.
8885 * posix/unistd.h: Use __THREADNL instead of __THREAD
8886 for memory synchronization functions.
8887
94d44d9f
RM
88882011-10-26 Roland McGrath <roland@hack.frob.com>
8889
21b64b15 8890 [BZ #13349]
94d44d9f
RM
8891 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8892 doesn't exist.
8893 * manual/stdio.texi (Obstack Streams): Node removed.
8894
f6ce9294
AS
88952011-10-26 Andreas Schwab <schwab@redhat.com>
8896
80479147
AS
8897 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8898 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8899 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8900
f6ce9294
AS
8901 * math/math_private.h (math_force_eval): Allow non-addressable
8902 arguments.
8903 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8904
618280a1
UD
89052011-10-25 Ulrich Drepper <drepper@gmail.com>
8906
e0016b11
UD
8907 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8908 file is not needed.
8909
8910 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8911 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8912 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8913 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8914 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8915 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8916 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8917 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8918 Add AVX variants.
8919 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8920 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8921 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8922 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8923 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8924 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8925 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8926 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8927 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8928 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8929 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8930 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8931 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8932 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8933 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8934 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8935 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8936 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8937 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8938
8939 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8940 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8941
618280a1
UD
8942 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8943 place. Use VEX encoding when compiling for AVX.
8944
37822576
AS
89452011-10-25 Andreas Schwab <schwab@redhat.com>
8946
1f1e1947
AS
8947 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8948 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8949
37822576
AS
8950 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8951
31ea014d
UD
89522011-10-25 Ulrich Drepper <drepper@gmail.com>
8953
d7826aa1 8954 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8955 useless if() expression.
d7826aa1
UD
8956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8957 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8959 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8961 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8962 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8963 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8964 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8965 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8966 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8967 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8968 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8969 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8970 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8971 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8972 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8974 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8975
31ea014d
UD
8976 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8977
16437fec
AS
89782011-10-25 Andreas Schwab <schwab@redhat.com>
8979
8980 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8981 condition.
8982 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8983
31d3cc00
UD
89842011-10-25 Ulrich Drepper <drepper@gmail.com>
8985
8986 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8987 .text section. Avoid duplicate constants.
8988 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8998 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9000 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9003 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9005 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9011 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9012 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9013 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9014 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9015 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9016 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9017 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9018 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9019 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9020 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9021 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9022 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9023 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9024 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9025 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9026 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9027 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9028 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9029 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9030 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9031 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9032 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9033
58985aa9
UD
90342011-10-24 Ulrich Drepper <drepper@gmail.com>
9035
202c9deb
UD
9036 * sysdeps/x86_64/dla.h: Move to ...
9037 * sysdeps/x86_64/fpu/dla.h: ...here.
9038 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9039 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9040
af968f62
UD
9041 * config.make.in: Add have-mfma4 entry.
9042 * configure.in: Substitute libc_cv_cc_fma4.
9043 * math/Makefile (dbl-only-routines): Add sincostab.
9044 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9045 Use __sincostab not sincos.
9046 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9047 name is a macro.
9048 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9052 using __copysign.
9053 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9054 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9055 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9056 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9057 and __inv.
9058 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9059 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9060 __copysign.
9061 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9062 define aliases when function name is a macro.
9063 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9064 sysdeps/ieee754/dbl-64/sincos.tbl.
9065 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9066 fma4-enabled routines.
9067 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9068 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9069 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9070 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9071 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9072 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9073 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9074 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9075 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9076 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9077 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9078 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9079 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9080 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9081 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9082 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9083 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9084 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9085 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9086 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9087 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9088 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9089 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9090 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9091 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9092 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9094 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9095 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9096 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9097
58985aa9
UD
9098 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9099 rename.
9100 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9102 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9106 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9108
a201fbcf
AS
91092011-10-24 Andreas Schwab <schwab@redhat.com>
9110
9111 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9112
fc2ee42a
LD
91132011-10-23 Ulrich Drepper <drepper@gmail.com>
9114
bb3129bd
UD
9115 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9116
0275fff8
UD
9117 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9118 prediction.
9119 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9120
2fa2ae85
UD
9121 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9122 Remove unused variable magic_bits.
9123 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9124
fc2ee42a
LD
9125 * string/strnlen.c: Define and use STRNLEN macro.
9126 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9127 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9128 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9129 * wcsmbs/wcslen.c: Define and use WCSLEN.
9130 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9131 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9132 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9133 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9134 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9135 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9136 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9137
ce7dd29f
LD
91382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9139
9140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9141 strnlen-sse2-no-bsf.
9142 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9143 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9144 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9145 Add strnlen support.
9146 (USE_AS_STRNLEN): New macro.
9147 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9148 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9149 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9150 * sysdeps/x86_64/wcslen.S: New file.
9151
979c70a3
MZ
91522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9153
9154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9155 XMM-moves are used for copying on small sizes.
9156
2d09f82f
LD
91572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9158
9159 * wcsmbs/Makefile (strop-tests): Add wcschr.
9160 * wcsmbs/test-wcschr.c: New file.
9161 * string/test-strchr.c: Update.
9162 Add wcschr support.
9163 (WIDE): New macro.
9164
619fccca
LD
91652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9166
2d09f82f 9167 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9168 * wcsmbs/test-wcslen.c: New file.
9169 * string/test-strlen.c: Update.
9170 Add wcslen support.
9171 (WIDE): New macro.
9172
09f699ea
UD
91732011-10-23 Ulrich Drepper <drepper@gmail.com>
9174
9175 * po/it.po: Update from translation team.
9176
95584d3b
LD
91772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9178
9179 * sysdeps/x86_64/wcscmp.S: Update.
9180 Fix wrong comparison semantics.
9181 wcscmp shall use signed comparison not unsigned.
9182 Don't use substraction to avoid overflow bug.
9183 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9184 * wcsmbc/wcscmp.c: Likewise.
9185 * string/test-strcmp.c: Likewise.
9186 Add new tests to check cases with negative values.
9187
c8b3296b
UD
91882011-10-23 Ulrich Drepper <drepper@gmail.com>
9189
9190 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9191 * sysdeps/x86_64/dla.h: ...here. New file.
9192 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9194 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9201
246ad57a
AS
92022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9203
9204 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9205 __ynl_finite aliases.
9206
a1a87169
UD
92072011-10-22 Ulrich Drepper <drepper@gmail.com>
9208
0d355eb7
UD
9209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9210
a1a87169
UD
9211 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9212 define DLA_FMA.
9213 [DLA_FMA] (EMULV): Use DLA_FMA.
9214 [DLA_FMA] (MUL12): Use EMULV.
9215 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9216 that are not needed.
9217 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9224
ee2aafe0
AS
92252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9226
9227 * math/s_nan.c: Undef __nan.
9228 * math/s_nanf.c: Undef __nanf.
9229 * math/s_nanl.c: Undef __nanl.
9230 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9231 "math_private.h".
9232
bc62c2fb
UD
92332011-10-22 Ulrich Drepper <drepper@gmail.com>
9234
77425c63
UD
9235 * math/s_catan.c: Add branch predictions.
9236 * math/s_catanf.c: Likewise.
9237 * math/s_catanh.c: Likewise.
9238 * math/s_catanhf.c: Likewise.
9239 * math/s_catanhl.c: Likewise.
9240 * math/s_catanl.c: Likewise.
9241 * math/s_cexp.c: Likewise.
9242 * math/s_cexpf.c: Likewise.
9243 * math/s_cexpl.c: Likewise.
9244 * math/s_clog.c: Likewise.
9245 * math/s_clog10.c: Likewise.
9246 * math/s_clog10f.c: Likewise.
9247 * math/s_clog10l.c: Likewise.
9248 * math/s_clogf.c: Likewise.
9249 * math/s_clogl.c: Likewise.
9250 * math/s_csqrt.c: Likewise.
9251 * math/s_csqrtf.c: Likewise.
9252 * math/s_csqrtl.c: Likewise.
9253 * math/s_ctanf.c: Likewise.
9254 * math/s_ctanh.c: Likewise.
9255 * math/s_ctanhf.c: Likewise.
9256 * math/s_ctanhl.c: Likewise.
9257 * math/s_ctanl.c: Likewise.
9258
bc62c2fb
UD
9259 * math/math_private.h: Define __nan, __nanf, __nanl.
9260 * math/s_cacosh.c: Include <math_private.h>.
9261 * math/s_cacoshl.c: Likewise.
9262 * math/s_casinh.c: Likewise.
9263 * math/s_casinhf.c: Likewise.
9264 * math/s_casinhl.c: Likewise.
9265 * math/s_ccos.c: Rely entire on ccosh.
9266 * math/s_ccosf.c: Rely entire on ccoshf.
9267 * math/s_ccosl.c: Rely entirely on ccoshl.
9268 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9269 Remove tests for FE_INVALID.
9270 * math/s_ccoshf.c: Likewise.
9271 * math/s_ccoshl.c: Likewise.
9272 * math/s_csin.c: Likewise.
9273 * math/s_csinf.c: Likewise.
9274 * math/s_csinh.c Likewise.
9275 * math/s_csinhf.c: Likewise.
9276 * math/s_csinhl.c: Likewise.
9277 * math/s_csinl.c: Likewise.
9278 * math/s_ctan.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9280 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9281 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9282
8ec250a4
UD
92832011-10-21 Ulrich Drepper <drepper@gmail.com>
9284
c196fed8
UD
9285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9286 compilation problems.
9287
8ec250a4
UD
9288 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9289 __builtin_expect.
9290
8d4f46c6
UD
92912011-10-20 Ulrich Drepper <drepper@gmail.com>
9292
ed72b654
UD
9293 * sysdeps/i386/configure.in: Test for -mfma4 option.
9294 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9295 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9296 COMMON_CPUID_INDEX_80000001.
9297 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9298 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9299 use it if FMA3 is not supported.
9300 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9301
8d4f46c6
UD
9302 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9303 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9304
d45c60c2
AS
93052011-10-20 Andreas Schwab <schwab@redhat.com>
9306
9307 [BZ #12892]
9308 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9309 it would create a cycle with a link time dependency.
9310
d9a4d2ab
UD
93112011-10-19 Ulrich Drepper <drepper@gmail.com>
9312
855d1560
UD
9313 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9314 instruction.
9315 * string/Makefile (strop-tests): Add rawmemchr.
9316 * string/test-rawmemchr.c: New file.
9317
d9a4d2ab
UD
9318 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9319 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9320 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9321 when compiling str{,n}casecmp and when AVX is available. Hook up
9322 new optimized code in initializers.
9323
8f3b1ffe
AS
93242011-10-19 Andreas Schwab <schwab@redhat.com>
9325
9326 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9327 __feraiseexcept instead of feraiseexcept.
9328
d38f1dba
UD
93292011-10-18 Ulrich Drepper <drepper@gmail.com>
9330
d9a8d0ab
UD
9331 * math/math_private.h: Define defaults for libc_fetestexcept and
9332 libc_feupdateenv.
9333 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9334 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9335 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9336 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9337 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9338 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9339 libc_fetestexcept and libc_feupdateenv.
9340
4855e3dd
UD
9341 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9342 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9343 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9344 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9345 libc_feholdexcept_setround.
9346
581d30e3
UD
9347 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9348 Add s_nearbyint-c and s_nearbyintf-c.
9349 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9350 nearbyintf inlines.
9351 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9352 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9353 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9354 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9355
d38f1dba
UD
9356 * math/math_private.h: Define defaults for libc_fegetround,
9357 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9358 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9359 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9360 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9361 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9362 standard functions.
9363 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9364 Remove comments and hacks for old compiler versions.
9365 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9366 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9367 libc_feholdexceptl.
9368
caa6c9d8
AS
93692011-10-18 Andreas Schwab <schwab@redhat.com>
9370
9371 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
9372 (__feraiseexcept_renamed): Add __NTH.
9373 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
9374 namespace violations.
9375
97c066e6
UD
93762011-10-17 Ulrich Drepper <drepper@gmail.com>
9377
99ce7b04
UD
9378 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9379
1004d182
UD
9380 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9381
228a984d
UD
9382 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9383 recently added interfaces.
9384 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9385
c8553a6a
UD
9386 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9387 about macro parameter expansion.
9388
ed22dcf6
UD
9389 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9390 __NO_MATH_INLINES is defined. Cleanups.
9391
9392 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9393 and __floorf is target has SSE4.1.
9394 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9395 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9396 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9397 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9398
b171c137
UD
9399 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9400 name.
9401 (floorf): Likewise.
9402
97c066e6
UD
9403 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9404
629f62ef
AS
94052011-10-17 Andreas Schwab <schwab@redhat.com>
9406
49a43d80
AS
9407 * misc/sys/cdefs.h: Fix last change.
9408
629f62ef
AS
9409 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9410 database lookup.
9411
e453f6cd
UD
94122011-10-16 Ulrich Drepper <drepper@gmail.com>
9413
aa78043a
UD
9414 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9415
ad0f5cad
UD
9416 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9417 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9422 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9423 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9424 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9425 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9426 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9427 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9428 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9429 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9430 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9431 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9432 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9433 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9434 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9435 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9436 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9437 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9438
9439 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9440 ceil, ceilf, floor, floorf.
9441
9442 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9443 Perform IRELATIVE relocations last.
9444
e453f6cd
UD
9445 * elf/do-rel.h: Add another parameter nrelative, replacing the
9446 local variable with the same name. Change name of the function
9447 to end in Rel or Rela (uppercase).
9448 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9449 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9450 elf_dynamic_do_##reloc function.
9451
fd5bdc09
UD
94522011-10-15 Ulrich Drepper <drepper@gmail.com>
9453
79b195b5
UD
9454 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9455 is sufficient, at least on modern CPUs.
9456
d4a28569
UD
9457 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9458
b61099b5
UD
9459 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9460 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9461
bcf01e6d
UD
9462 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9463 __expl_finite.
9464 * math/bits/math-finite.h: Add entries for exp.
9465 * math/e_expl.c: Add __*_finite alias.
9466 * sysdeps/i386/fpu/e_exp.S: Likewise.
9467 * sysdeps/i386/fpu/e_expf.S: Likewise.
9468 * sysdeps/i386/fpu/e_expl.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9470 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9471 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9472 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9474 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9475 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9476
ba1a0d59
UD
9477 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9478 is sufficient, at least on modern CPUs.
9479
fd5bdc09
UD
9480 * ctype/ctype-info.c (__ctype_init): Define.
9481 * include/ctype.h (__ctype_init): Declare.
9482 (__ctype_b_loc): The variable is always initialized.
9483 (__ctype_toupper_loc): Likewise.
9484 (__ctype_tolower_loc): Likewise.
9485 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9486 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9487
7872cfb0
AS
94882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9489
b468825a
AS
9490 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9491
7872cfb0
AS
9492 * configure.in: Also look in $cxxmachine/include for C++ system
9493 headers.
9494
be13f7bf
LD
94952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9496
9497 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9498 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9499 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9500 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9501 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9502 (USE_AS_WMEMCMP): New macro.
9503 Fixing indents.
9504 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9505 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9506 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9507 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9509 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9510 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9511 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9512 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9513 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9514 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9515 (USE_AS_WMEMCMP): New macro.
9516 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9517 * sysdeps/string/test-memcmp.c: Update.
9518 Fix simple_wmemcmp.
9519 Add new tests.
9520 * wcsmbs/wmemcmp.c: Update.
9521 (WMEMCMP): New macro.
9522 Fix overflow bug.
9523
556a2007
AJ
95242011-10-12 Andreas Jaeger <aj@suse.de>
9525
9526 [BZ #13268]
9527 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9528
538faaa7
UD
95292011-10-15 Ulrich Drepper <drepper@gmail.com>
9530
ab6737ff
UD
9531 * libio/iofwide.c (do_length): Avoid warning.
9532
538faaa7
UD
9533 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9534
396a21b1
UD
95352011-10-14 Ulrich Drepper <drepper@gmail.com>
9536
cdf2901f
UD
9537 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9538
38ad40ce
UD
9539 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9540 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9541 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9542 * sysdeps/i386/i686/fpu/e_log.S: New file.
9543 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9544 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9545
396a21b1
UD
9546 * ctype/ctype.h: Add support for inlined isXXX functions when
9547 compiling C++ code.
9548
6b1f68c9
AS
95492011-10-14 Andreas Schwab <schwab@redhat.com>
9550
349290c0
AS
9551 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9552
6b1f68c9
AS
9553 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9554
f2282d42
RM
95552011-10-13 Roland McGrath <roland@hack.frob.com>
9556
9557 [BZ #13291]
9558 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9559
5298ffa8
AS
95602011-10-13 Andreas Schwab <schwab@redhat.com>
9561
714fad23
AS
9562 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9563 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9564 feraiseexcept.
9565
81dcc7fb
AS
9566 * sysdeps/x86_64/memrchr.S: Check for zero size.
9567
5298ffa8
AS
9568 * string/stratcliff.c: Add memrchr tests.
9569
951fbcec
LD
95702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9571
9572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9573 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9574 rawmemchr-sse2 rawmemchr-sse2-bsf.
9575 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9576 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9577 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9578 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9579 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9580 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9581 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9582 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9583 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9584 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9585 * string/memrchr.c (MEMRCHR): New macro.
9586
0ac5ae23
UD
95872011-10-12 Ulrich Drepper <drepper@gmail.com>
9588
9589 Add integration with gcc's -ffinite-math-only and optimize wrapper
9590 functions in libm.
9591 * Versions.def: Define GLIBC_2.15 version for libm.
9592 * math/Makefile (headers): Add bits/math-finite.h.
9593 * math/bits/math-finite.h: New file.
9594 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9595 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9596 * math/e_acoshl.c: Add __*_finite alias.
9597 * math/e_acosl.c: Likewise.
9598 * math/e_asinl.c: Likewise.
9599 * math/e_atan2l.c: Likewise.
9600 * math/e_atanhl.c: Likewise.
9601 * math/e_coshl.c: Likewise.
9602 * math/e_exp10.c: Likewise.
9603 * math/e_exp10f.c: Likewise.
9604 * math/e_exp10l.c: Likewise.
9605 * math/e_exp2l.c: Likewise.
9606 * math/e_fmodl.c: Likewise.
9607 * math/e_gammal_r.c: Likewise.
9608 * math/e_hypotl.c: Likewise.
9609 * math/e_j0l.c: Likewise.
9610 * math/e_j1l.c: Likewise.
9611 * math/e_jnl.c: Likewise.
9612 * math/e_lgammal_r.c: Likewise.
9613 * math/e_log10l.c: Likewise.
9614 * math/e_log2l.c: Likewise.
9615 * math/e_logl.c: Likewise.
9616 * math/e_powl.c: Likewise.
9617 * math/e_sinhl.c: Likewise.
9618 * math/e_sqrtl.c: Likewise.
9619 * math/e_scalb.c: Completely rewritten and optimized.
9620 * math/e_scalbf.c: Likewise.
9621 * math/e_scalbl.c: Likewise.
9622 * math/w_acos.c: Likewise.
9623 * math/w_acosf.c: Likewise.
9624 * math/w_acosl.c: Likewise.
9625 * math/w_acosh.c: Likewise.
9626 * math/w_acoshf.c: Likewise.
9627 * math/w_acoshl.c: Likewise.
9628 * math/w_asin.c: Likewise.
9629 * math/w_asinf.c: Likewise.
9630 * math/w_asinl.c: Likewise.
9631 * math/w_atan2.c: Likewise.
9632 * math/w_atan2f.c: Likewise.
9633 * math/w_atan2l.c: Likewise.
9634 * math/w_atanh.c: Likewise.
9635 * math/w_atanhf.c: Likewise.
9636 * math/w_atanhl.c: Likewise.
9637 * math/w_exp10.c: Likewise.
9638 * math/w_exp10f.c: Likewise.
9639 * math/w_exp10l.c: Likewise.
9640 * math/w_fmod.c: Likewise.
9641 * math/w_fmodf.c: Likewise.
9642 * math/w_fmodl.c: Likewise.
9643 * math/w_j0.c: Likewise.
9644 * math/w_j0f.c: Likewise.
9645 * math/w_j0l.c: Likewise.
9646 * math/w_j1.c: Likewise.
9647 * math/w_j1f.c: Likewise.
9648 * math/w_j1l.c: Likewise.
9649 * math/w_jn.c: Likewise.
9650 * math/w_jnf.c: Likewise.
9651 * math/w_log.c: Likewise.
9652 * math/w_logf.c: Likewise.
9653 * math/w_logl.c: Likewise.
9654 * math/w_log10.c: Likewise.
9655 * math/w_log10f.c: Likewise.
9656 * math/w_log10l.c: Likewise.
9657 * math/w_log2.c: Likewise.
9658 * math/w_log2f.c: Likewise.
9659 * math/w_log2l.c: Likewise.
9660 * math/w_pow.c: Likewise.
9661 * math/w_powf.c: Likewise.
9662 * math/w_powl.c: Likewise.
9663 * math/w_remainder.c: Likewise.
9664 * math/w_remainderf.c: Likewise.
9665 * math/w_remainderl.c: Likewise.
9666 * math/w_scalb.c: Likewise.
9667 * math/w_scalbf.c: Likewise.
9668 * math/w_scalbl.c: Likewise.
9669 * math/w_sqrt.c: Likewise.
9670 * math/w_sqrtf.c: Likewise.
9671 * math/w_sqrtl.c: Likewise.
9672 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9673 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9674 used.
9675 * math/math_private.h: Declare __kernel_standard_f.
9676 * math/w_cosh.c: Remove cruft and optimize a bit.
9677 * math/w_coshf.c: Likewise.
9678 * math/w_coshl.c: Likewise.
9679 * math/w_exp2.c: Likewise.
9680 * math/w_exp2f.c: Likewise.
9681 * math/w_exp2l.c: Likewise.
9682 * math/w_hypot.c: Likewise.
9683 * math/w_hypotf.c: Likewise.
9684 * math/w_hypotl.c: Likewise.
9685 * math/w_lgamma.c: Likewise.
9686 * math/w_lgamma_r.c: Likewise.
9687 * math/w_lgammaf.c: Likewise.
9688 * math/w_lgammaf_r.c: Likewise.
9689 * math/w_lgammal.c: Likewise.
9690 * math/w_lgammal_r.c: Likewise.
9691 * math/w_sinh.c: Likewise.
9692 * math/w_sinhf.c: Likewise.
9693 * math/w_sinhl.c: Likewise.
9694 * math/w_tgamma.c: Likewise.
9695 * math/w_tgammaf.c: Likewise.
9696 * math/w_tgammal.c: Likewise.
9697 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9699 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9700 Minor optimizations. Pretty printing. Remove cruft.
9701 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9702 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9703 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9704 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9705 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9706 * sysdeps/i386/fpu/e_asin.S: Likewise.
9707 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9708 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9709 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9710 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9711 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9712 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9713 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9714 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9715 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9716 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9717 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9718 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9719 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9720 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9721 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9722 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9723 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9724 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9725 * sysdeps/i386/fpu/e_log.S: Likewise.
9726 * sysdeps/i386/fpu/e_log10.S: Likewise.
9727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9728 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9729 * sysdeps/i386/fpu/e_log2.S: Likewise.
9730 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9731 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9732 * sysdeps/i386/fpu/e_logf.S: Likewise.
9733 * sysdeps/i386/fpu/e_logl.S: Likewise.
9734 * sysdeps/i386/fpu/e_pow.S: Likewise.
9735 * sysdeps/i386/fpu/e_powf.S: Likewise.
9736 * sysdeps/i386/fpu/e_powl.S: Likewise.
9737 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9738 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9739 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9740 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9741 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9742 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9743 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9744 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9745 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9746 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9747 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9750 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9751 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9752 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9753 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9754 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9755 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9756 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9757 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9758 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9759 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9760 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9761 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9762 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9763 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9764 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9765 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9766 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9767 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9768 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9769 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9770 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9771 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9772 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9773 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9774 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9775 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9776 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9777 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9778 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9779 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9780 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9781 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9782 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9783 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9784 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9785 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9786 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9787 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9797 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9799 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9801 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9802 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9803 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9807 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9808 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9811 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9812 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9813 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9815 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9816 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9817 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9818 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9819 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9823 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9824 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9826 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9827 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9828 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9829 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9831 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9832 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9833 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9834 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9835 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9837 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9838 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9839 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9840 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9841 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9842 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9843 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9844 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9845 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9846 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9847 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9848 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9849 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9850 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9851 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9852 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9853 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9854 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9855 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9856 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9857 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9858 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9859 (__isnanf): Likewise.
9860 (__isinf_ns): Likewise.
9861 (__isinf_nsf): Likewise.
9862 (__finite): Likewise.
9863 (__finitef): Likewise.
9864 (__ieee754_sqrt): Define as macro.
9865 (__ieee754_sqrtf): Define as macro.
9866 (__ieee754_sqrtl): Define as macro.
9867 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9868 inlined copy.
9869 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9870 __FINITE_MATH_ONLY__ consistent.
9871 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9872
12cc2fcd
AS
98732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9874
a843a204
AS
9875 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9876 of rawmemchr.
9877
12cc2fcd
AS
9878 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9879
c853acd5
UD
98802011-10-09 Ulrich Drepper <drepper@gmail.com>
9881
9882 * po/ja.po: Update from translation team.
9883
c658d255
RM
98842011-10-08 Roland McGrath <roland@hack.frob.com>
9885
110946e4
RM
9886 * locale/programs/locarchive.c (prepare_address_space): New function.
9887 (create_archive, enlarge_archive, open_archive): Use it.
9888
50604220
RM
9889 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9890 inside [SHARED], where it is used.
9891
c658d255
RM
9892 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9893
9894 * nss/getent.c (netgroup_keys): Remove unused variable.
9895 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9896
6a621eb7
UD
98972011-10-08 Ulrich Drepper <drepper@gmail.com>
9898
7edb55ce
UD
9899 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9900 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9901 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9902 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9903 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9904 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9905 * math/Makefile (libm-calls): Add s_isinf_ns.
9906 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9907 * math/multc3.c: Likewise.
9908 * math/s_casin.c: Likewise.
9909 * math/s_casinf.c: Likewise.
9910 * math/s_casinl.c: Likewise.
9911 * math/s_ccos.c: Likewise.
9912 * math/s_ccosf.c: Likewise.
9913 * math/s_ccosl.c: Likewise.
9914 * math/s_ctan.c: Likewise.
9915 * math/s_ctanf.c: Likewise.
9916 * math/s_ctanh.c: Likewise.
9917 * math/s_ctanhf.c: Likewise.
9918 * math/s_ctanhl.c: Likewise.
9919 * math/s_ctanl.c: Likewise.
9920 * math/w_fmod.c: Likewise.
9921 * math/w_fmodf.c: Likewise.
9922 * math/w_fmodl.c: Likewise.
9923 * math/w_remainder.c: Likewise.
9924 * math/w_remainderf.c: Likewise.
9925 * math/w_remainderl.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9927 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9928 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9930 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9931 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9932 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9933 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9934
187da0ae
UD
9935 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9936 of the number.
9937 * stdio-common/printf_fphex.c: Likewise.
9938 * stdio-common/printf_size.c: Likewise.
9939
9277c064
UD
9940 * math/e_exp10.c: Include math_private.h using <...> not "...".
9941 * math/e_exp10f.c: Likewise.
9942 * math/e_exp10l.c: Likewise.
9943 * math/e_exp2l.c: Likewise.
9944 * math/e_j0l.c: Likewise.
9945 * math/e_j1l.c: Likewise.
9946 * math/e_jnl.c: Likewise.
9947 * math/e_lgammal_r.c: Likewise.
9948 * math/e_rem_pio2l.c: Likewise.
9949 * math/e_scalb.c: Likewise.
9950 * math/e_scalbf.c: Likewise.
9951 * math/e_scalbl.c: Likewise.
9952 * math/k_cosl.c: Likewise.
9953 * math/k_sinl.c: Likewise.
9954 * math/k_tanl.c: Likewise.
9955 * math/s_cacoshf.c: Likewise.
9956 * math/s_catan.c: Likewise.
9957 * math/s_catanf.c: Likewise.
9958 * math/s_catanh.c: Likewise.
9959 * math/s_catanhf.c: Likewise.
9960 * math/s_catanhl.c: Likewise.
9961 * math/s_catanl.c: Likewise.
9962 * math/s_ccosh.c: Likewise.
9963 * math/s_ccoshf.c: Likewise.
9964 * math/s_ccoshl.c: Likewise.
9965 * math/s_cexp.c: Likewise.
9966 * math/s_cexpf.c: Likewise.
9967 * math/s_cexpl.c: Likewise.
9968 * math/s_clog.c: Likewise.
9969 * math/s_clog10.c: Likewise.
9970 * math/s_clog10f.c: Likewise.
9971 * math/s_clog10l.c: Likewise.
9972 * math/s_clogf.c: Likewise.
9973 * math/s_clogl.c: Likewise.
9974 * math/s_csin.c: Likewise.
9975 * math/s_csinf.c: Likewise.
9976 * math/s_csinh.c: Likewise.
9977 * math/s_csinhf.c: Likewise.
9978 * math/s_csinhl.c: Likewise.
9979 * math/s_csinl.c: Likewise.
9980 * math/s_csqrt.c: Likewise.
9981 * math/s_csqrtf.c: Likewise.
9982 * math/s_csqrtl.c: Likewise.
9983 * math/s_ctan.c: Likewise.
9984 * math/s_ctanf.c: Likewise.
9985 * math/s_ctanh.c: Likewise.
9986 * math/s_ctanhf.c: Likewise.
9987 * math/s_ctanhl.c: Likewise.
9988 * math/s_ctanl.c: Likewise.
9989 * math/s_ldexp.c: Likewise.
9990 * math/s_ldexpf.c: Likewise.
9991 * math/s_ldexpl.c: Likewise.
9992 * math/s_significand.c: Likewise.
9993 * math/s_significandf.c: Likewise.
9994 * math/s_significandl.c: Likewise.
9995 * math/w_acos.c: Likewise.
9996 * math/w_acosf.c: Likewise.
9997 * math/w_acosh.c: Likewise.
9998 * math/w_acoshf.c: Likewise.
9999 * math/w_acoshl.c: Likewise.
10000 * math/w_acosl.c: Likewise.
10001 * math/w_asin.c: Likewise.
10002 * math/w_asinf.c: Likewise.
10003 * math/w_asinl.c: Likewise.
10004 * math/w_atan2.c: Likewise.
10005 * math/w_atan2f.c: Likewise.
10006 * math/w_atan2l.c: Likewise.
10007 * math/w_atanh.c: Likewise.
10008 * math/w_atanhf.c: Likewise.
10009 * math/w_atanhl.c: Likewise.
10010 * math/w_cosh.c: Likewise.
10011 * math/w_coshf.c: Likewise.
10012 * math/w_coshl.c: Likewise.
10013 * math/w_dremf.c: Likewise.
10014 * math/w_exp10.c: Likewise.
10015 * math/w_exp10f.c: Likewise.
10016 * math/w_exp10l.c: Likewise.
10017 * math/w_exp2.c: Likewise.
10018 * math/w_exp2f.c: Likewise.
10019 * math/w_fmod.c: Likewise.
10020 * math/w_fmodf.c: Likewise.
10021 * math/w_fmodl.c: Likewise.
10022 * math/w_hypot.c: Likewise.
10023 * math/w_hypotf.c: Likewise.
10024 * math/w_hypotl.c: Likewise.
10025 * math/w_j0.c: Likewise.
10026 * math/w_j0f.c: Likewise.
10027 * math/w_j0l.c: Likewise.
10028 * math/w_j1.c: Likewise.
10029 * math/w_j1f.c: Likewise.
10030 * math/w_j1l.c: Likewise.
10031 * math/w_jn.c: Likewise.
10032 * math/w_jnf.c: Likewise.
10033 * math/w_jnl.c: Likewise.
10034 * math/w_lgamma.c: Likewise.
10035 * math/w_lgamma_r.c: Likewise.
10036 * math/w_lgammaf.c: Likewise.
10037 * math/w_lgammaf_r.c: Likewise.
10038 * math/w_lgammal.c: Likewise.
10039 * math/w_lgammal_r.c: Likewise.
10040 * math/w_log.c: Likewise.
10041 * math/w_log10.c: Likewise.
10042 * math/w_log10f.c: Likewise.
10043 * math/w_log10l.c: Likewise.
10044 * math/w_log2.c: Likewise.
10045 * math/w_log2f.c: Likewise.
10046 * math/w_log2l.c: Likewise.
10047 * math/w_logf.c: Likewise.
10048 * math/w_logl.c: Likewise.
10049 * math/w_pow.c: Likewise.
10050 * math/w_powf.c: Likewise.
10051 * math/w_powl.c: Likewise.
10052 * math/w_remainder.c: Likewise.
10053 * math/w_remainderf.c: Likewise.
10054 * math/w_remainderl.c: Likewise.
10055 * math/w_scalb.c: Likewise.
10056 * math/w_scalbf.c: Likewise.
10057 * math/w_scalbl.c: Likewise.
10058 * math/w_sinh.c: Likewise.
10059 * math/w_sinhf.c: Likewise.
10060 * math/w_sinhl.c: Likewise.
10061 * math/w_sqrt.c: Likewise.
10062 * math/w_sqrtf.c: Likewise.
10063 * math/w_sqrtl.c: Likewise.
10064 * math/w_tgamma.c: Likewise.
10065 * math/w_tgammaf.c: Likewise.
10066 * math/w_tgammal.c: Likewise.
10067
6a621eb7
UD
10068 * po/ja.po: Update from translation team.
10069
bf582445
AJ
100702011-09-29 Andreas Jaeger <aj@suse.de>
10071
f9efbf3a
AJ
10072 [BZ #13179]
10073 * sunrpc/netname.c (netname2host): Fix logic.
10074
bf582445
AJ
10075 [BZ #6779]
10076 [BZ #6783]
10077 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10078 correctly.
10079 * math/w_remainder.c (__remainder): Likewise.
10080 * math/w_remainderf.c (__remainderf): Likewise.
10081 * math/libm-test.inc (remainder_test): Add test cases.
10082
48693bea
AK
100832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10084
10085 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10086 sdiv_qrnnd.
10087
42622229
LD
100882011-10-07 Ulrich Drepper <drepper@gmail.com>
10089
10090 * string/test-memcmp.c: Avoid unncessary #defines.
10091 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10092
093ecf92
LD
100932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10094
10095 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10096 Use new sse2 version for core i3 - i7 as it's faster
10097 than sse42 version.
10098 (bit_Prefer_PMINUB_for_stringop): New.
10099 * sysdeps/x86_64/rawmemchr.S: Update.
10100 Replace with faster SSE2 version.
10101 * sysdeps/x86_64/memrchr.S: New file.
10102 * sysdeps/x86_64/memchr.S: Update.
10103 Replace with faster SSE2 version.
10104
fde56e5c
MP
101052011-09-12 Marek Polacek <mpolacek@redhat.com>
10106
10107 * elf/dl-load.c (lose): Add cast to avoid warning.
10108
21fd49a9
UD
101092011-10-07 Ulrich Drepper <drepper@gmail.com>
10110
5a06e643
UD
10111 * po/ca.po: Update from translation team.
10112
684ae515
UD
10113 * inet/getnetgrent_r.c: Hook up nscd.
10114 * nscd/Makefile (routines): Add nscd_netgroup.
10115 (nscd-modules): Add netgroupcache.
10116 (CFLAGS-netgroupcache.c): Define.
10117 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10118 (cache_search): Add const to second parameter.
10119 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10120 INNETGR.
10121 (dbs): Add netgrdb entry.
10122 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10123 (verify_persistent_db): Handle netgrdb.
10124 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10125 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10126 GETFDNETGR.
10127 (netgroup_response_header): Define.
10128 (innetgroup_response_header): Define.
10129 (datahead): Add netgroup_response_header and innetgroup_response_header
10130 elements.
10131 * nscd/nscd.conf: Add entries for netgroup cache.
10132 * nscd/nscd.h (dbtype): Add netgrdb.
10133 (_PATH_NSCD_NETGROUP_DB): Define.
10134 (netgroup_iov_disabled): Declare.
10135 (xmalloc, xcalloc, xrealloc): Move declarations here.
10136 (cache_search): Adjust prototype.
10137 Add netgroup-related prototypes.
10138 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10139 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10140 (__nscd_innetgr): Declare.
10141 * nscd/selinux.c (perms): Use access_vector_t as element type and
10142 add netgroup-related initializers.
10143 * nscd/netgroupcache.c: New file.
10144 * nscd/nscd_netgroup.c: New file.
10145 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10146 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10147 For four parameters use innetgr.
10148 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10149 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10150 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10151 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10152
21fd49a9
UD
10153 * nscd/connections.c (register_traced_file): Don't register file
10154 for disabled databases.
10155
054c0457
UD
101562011-10-06 Ulrich Drepper <drepper@gmail.com>
10157
32b63198
UD
10158 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10159
054c0457
UD
10160 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10161 from tree and freeing node.
10162
64031225
JO
101632011-09-25 Jiri Olsa <jolsa@redhat.com>
10164
10165 * nss/nsswitch.c (__nss_database_lookup): Handle
10166 nss_parse_service_list out of memory case.
10167
0490345c
JO
101682011-09-15 Jiri Olsa <jolsa@redhat.com>
10169
10170 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10171 out of memory case.
10172
3a62d00d
AS
101732011-10-04 Andreas Schwab <schwab@redhat.com>
10174
10175 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10176 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10177 pass it down.
10178 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10179 elf_machine_rela, elf_machine_lazy_rel.
10180 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10181 (ELF_DYNAMIC_DO_REL): Likewise.
10182 (ELF_DYNAMIC_DO_RELA): Likewise.
10183 (ELF_DYNAMIC_RELOCATE): Likewise.
10184 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10185 to ELF_DYNAMIC_DO_REL.
10186 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10187 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10188 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10189 elf_machine_rela.
10190 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10191 skip_ifunc, don't call ifunc function if non-zero.
10192 (elf_machine_rela): Likewise.
10193 (elf_machine_lazy_rel): Likewise.
10194 (elf_machine_lazy_rela): Likewise.
10195 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10196 (elf_machine_lazy_rel): Likewise.
10197 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10198 Likewise.
10199 (elf_machine_lazy_rel): Likewise.
10200 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10201 Likewise.
10202 (elf_machine_lazy_rel): Likewise.
10203 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10204 (elf_machine_lazy_rel): Likewise.
10205 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10206 (elf_machine_lazy_rel): Likewise.
10207 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10208 (elf_machine_lazy_rel): Likewise.
10209 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10210 (elf_machine_lazy_rel): Likewise.
10211 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10212 (elf_machine_lazy_rel): Likewise.
10213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10214 (elf_machine_lazy_rel): Likewise.
10215
68577918
UD
102162011-09-28 Ulrich Drepper <drepper@gmail.com>
10217
10218 * nss/nss_files/files-init.c (_nss_files_init): Use static
10219 initialization for all the *_traced_file variables.
10220
68822d74
AS
102212011-09-28 Andreas Schwab <schwab@redhat.com>
10222
10223 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10224
2056100b
RM
102252011-09-27 Roland McGrath <roland@hack.frob.com>
10226
10227 [BZ #13226]
10228 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10229
32c76b63
AS
102302011-09-27 Andreas Schwab <schwab@redhat.com>
10231
10232 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10233 Reread the line before reparsing it.
10234
bf972c9d
AS
102352011-09-26 Andreas Schwab <schwab@redhat.com>
10236
10237 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10238
e057a1b5
JM
102392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10240 Maxim Kuvyrkov <maxim@codesourcery.com>
10241 Joseph Myers <joseph@codesourcery.com>
10242
10243 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10244 if needed for __stack_chk_guard.
10245
bc7e1c36
RM
102462011-09-19 Roland McGrath <roland@hack.frob.com>
10247
ecb1482f
RM
10248 * sysdeps/posix/spawni.c (script_execute): Always define it.
10249 It will be optimized away if unused.
10250 (maybe_script_execute): New function.
10251 (__spawni): Call it.
10252
bc7e1c36
RM
10253 * Makerules: Don't include tls.make.
10254 (config-tls): Always set to thread.
10255 * tls.make.c: File removed.
10256
1c3b002b
MF
102572011-09-19 Mike Frysinger <vapier@gentoo.org>
10258
10259 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10260 * config.make.in (CPPFLAGS-config): New substituted variable.
10261
2840865d
UD
102622011-09-15 Ulrich Drepper <drepper@gmail.com>
10263
88738eb6
UD
10264 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10265
cbf645a6 10266 [BZ #13192]
2840865d
UD
10267 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10268 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10269
b402e91a
RM
102702011-09-15 Roland McGrath <roland@hack.frob.com>
10271
10272 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10273 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10275 (CALL_FAIL): Likewise.
10276 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10277 (CALL_FAIL): Macro removed.
10278 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10279
4c1a1f71
UD
102802011-09-15 Ulrich Drepper <drepper@gmail.com>
10281
10282 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10283 for __FINITE_MATH_ONLY__ == 1.
10284
edc121be
AS
102852011-09-15 Andreas Schwab <schwab@redhat.com>
10286
10287 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10288 __ieee754_sqrt instead of sqrt.
10289 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10290 __ieee754_sqrtf instead of sqrtf.
10291 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10292 __floorf instead of floorf.
10293 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10294 __floorf, __truncf instead of floorf, truncf.
10295
cd205654
UD
102962011-09-14 Ulrich Drepper <drepper@gmail.com>
10297
ee4d0315
UD
10298 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10299
cd205654
UD
10300 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10301 __extern_always_inline.
10302 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10303 32-bit.
10304
48b67d71
AS
103052011-09-14 Andreas Schwab <schwab@redhat.com>
10306
10307 * elf/rtld.c (dl_main): Also relocate in dependency order when
10308 doing symbol dependency testing.
10309
1ae12c75
AS
103102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10311
10312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10313 Always define `refsym'.
10314
995a80df
AS
103152011-09-13 Andreas Schwab <schwab@redhat.com>
10316
e529793b
AS
10317 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10318 (__FD_ELT): Renamed from __FDELT.
10319 * misc/bits/select2.h (__FD_ELT): Likewise.
10320 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10321 __FD_MASK instead of __FDELT, __FDMASK.
10322 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10323 Likewise.
10324 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10325 Likewise.
10326
52d4fef8
AS
10327 * elf/Makefile (gen-ldd): Fix pattern.
10328
995a80df
AS
10329 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10330 (init_tls): Likewise.
10331
8682f8b0
UD
103322011-09-12 Ulrich Drepper <drepper@gmail.com>
10333
10334 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10335
de82006d
AS
103362011-09-12 Andreas Schwab <schwab@redhat.com>
10337
a7c8e6a1
AS
10338 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10339 `struct cmsghdr *' instead of `void *'.
10340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10341 Likewise.
10342
0f31fe77
AS
103432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10344
10345 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10346 if non-absolute.
10347 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10348 ldd_rewrite_script.
0f31fe77 10349
32b4c839
UD
103502011-09-11 Ulrich Drepper <drepper@gmail.com>
10351
83cd1420
UD
10352 * configure.in: Remove --with-tls option.
10353 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10354 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10355 out in case it is missing.
10356 * sysdeps/ia64/elf/configure.in: Likewise.
10357 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10358 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10359 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10360 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10361 * sysdeps/sh/elf/configure.in: Likewise.
10362 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10363 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10364 * sysdeps/x86_64/elf/configure.in: Likewise.
10365 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10366 * sysdeps/mach/hurd/tls.h: Likewise.
10367
633f745d
UD
10368 [BZ #13067]
10369 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10370
f318beb8
UD
10371 [BZ #13090]
10372 * configure.in: Fix use of AC_INIT.
10373
32b4c839
UD
10374 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10375
3ce1f295
UD
103762011-09-10 Ulrich Drepper <drepper@gmail.com>
10377
bb016596
UD
10378 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10379 __set_errno.
8e58439c
UD
10380 * malloc/hooks.c: Likewise.
10381
aebae053 10382 [BZ #11929]
02d46fc4
UD
10383 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10384 variables statically.
10385 (narenas): Initialize.
10386 (list_lock): Initialize.
bb016596
UD
10387 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10388 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
10389 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10390 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10391 Add initializers to main_arena and mp_.
10392 (malloc_state): Remove pagesize member. Change all users to use
10393 GLRO(dl_pagesize).
10394
10395 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10396 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10397 is always initialized.
10398
22a89187
UD
10399 * malloc/malloc.c: Removed unused configurations and dead code.
10400 * malloc/arena.c: Likewise.
10401 * malloc/hooks.c: Likewise.
02d46fc4 10402 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 10403
d063d164
UD
10404 * include/tls.h: Removed. USE___THREAD must always be defined.
10405 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10406 * elf/dl-libc.c: Likewise.
10407 * elf/dl-tsd.c: Likewise.
10408 * include/errno.h: Likewise.
10409 * include/netdb.h: Likewise.
10410 * include/resolv.h: Likewise.
10411 * inet/herrno-loc.c: Likewise.
10412 * inet/herrno.c: Likewise.
10413 * malloc/arena.c: Likewise.
10414 * malloc/hooks.c: Likewise.
10415 * malloc/malloc.c: Likewise.
10416 * resolv/res-state.c: Likewise.
10417 * resolv/res_libc.c: Likewise.
10418 * sysdeps/i386/dl-machine.h: Likewise.
10419 * sysdeps/ia64/dl-machine.h: Likewise.
10420 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10421 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10422 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10423 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10424 * sysdeps/sh/dl-machine.h: Likewise.
10425 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10426 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10427 * sysdeps/unix/i386/sysdep.S: Likewise.
10428 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10429 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10430 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10431 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10432 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10433 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10434 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10435 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10438 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10439 * sysdeps/x86_64/dl-machine.h: Likewise.
10440 * tls.make.c: Likewise.
10441
3ce1f295
UD
10442 * configure.in: Remove --with-__thread option. Make tests for
10443 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10444 tls_model attribute fail if no support is available. Remove
10445 USE_IN_LIBIO.
10446 * Makeconfig: Adjust for dropped configure option. All features are
10447 now mandatory.
10448 * Makerules: Likewise.
10449 * Versions.def: Likewise.
10450 * argp/argp-fmtstream.c: Likewise.
10451 * argp/argp-fmtstream.h: Likewise.
10452 * argp/argp-help.c: Likewise.
10453 * assert/assert.c: Likewise.
10454 * config.h.in: Likewise.
10455 * config.make.in: Likewise.
10456 * configure: Likewise.
10457 * configure.in: Likewise.
10458 * csu/Versions: Likewise.
10459 * csu/init.c: Likewise.
10460 * elf/tst-audit2.c: Likewise.
10461 * elf/tst-tls10.c: Likewise.
10462 * elf/tst-tls10.h: Likewise.
10463 * elf/tst-tls11.c: Likewise.
10464 * elf/tst-tls12.c: Likewise.
10465 * elf/tst-tls14.c: Likewise.
10466 * elf/tst-tlsmod11.c: Likewise.
10467 * elf/tst-tlsmod12.c: Likewise.
10468 * elf/tst-tlsmod13.c: Likewise.
10469 * elf/tst-tlsmod13a.c: Likewise.
10470 * elf/tst-tlsmod14a.c: Likewise.
10471 * elf/tst-tlsmod15b.c: Likewise.
10472 * elf/tst-tlsmod16a.c: Likewise.
10473 * elf/tst-tlsmod16b.c: Likewise.
10474 * elf/tst-tlsmod7.c: Likewise.
10475 * elf/tst-tlsmod8.c: Likewise.
10476 * elf/tst-tlsmod9.c: Likewise.
10477 * gmon/gmon.c: Likewise.
10478 * grp/fgetgrent_r.c: Likewise.
10479 * grp/putgrent.c: Likewise.
10480 * hurd/fopenport.c: Likewise.
10481 * include/libc-symbols.h: Likewise.
10482 * include/tls.h: Likewise.
10483 * intl/gettextP.h: Likewise.
10484 * intl/loadinfo.h: Likewise.
10485 * locale/global-locale.c: Likewise.
10486 * locale/localeinfo.h: Likewise.
10487 * mach/devstream.c: Likewise.
10488 * malloc/arena.c: Likewise.
10489 * malloc/set-freeres.c: Likewise.
10490 * misc/err.c: Likewise.
10491 * misc/getttyent.c: Likewise.
10492 * misc/mntent_r.c: Likewise.
10493 * posix/getopt.c: Likewise.
10494 * posix/wordexp.c: Likewise.
10495 * pwd/fgetpwent_r.c: Likewise.
10496 * resolv/Versions: Likewise.
10497 * resolv/res_hconf.c: Likewise.
10498 * shadow/fgetspent_r.c: Likewise.
10499 * shadow/putspent.c: Likewise.
10500 * stdio-common/printf_fphex.c: Likewise.
10501 * stdio-common/tmpfile.c: Likewise.
10502 * stdlib/abort.c: Likewise.
10503 * stdlib/fmtmsg.c: Likewise.
10504 * sunrpc/auth_unix.c: Likewise.
10505 * sunrpc/clnt_perr.c: Likewise.
10506 * sunrpc/clnt_tcp.c: Likewise.
10507 * sunrpc/clnt_udp.c: Likewise.
10508 * sunrpc/clnt_unix.c: Likewise.
10509 * sunrpc/openchild.c: Likewise.
10510 * sunrpc/svc_simple.c: Likewise.
10511 * sunrpc/svc_tcp.c: Likewise.
10512 * sunrpc/svc_udp.c: Likewise.
10513 * sunrpc/svc_unix.c: Likewise.
10514 * sunrpc/xdr.c: Likewise.
10515 * sunrpc/xdr_array.c: Likewise.
10516 * sunrpc/xdr_rec.c: Likewise.
10517 * sunrpc/xdr_ref.c: Likewise.
10518 * sunrpc/xdr_stdio.c: Likewise.
10519
1248c1c4
PB
105202011-09-09 Ulrich Drepper <drepper@gmail.com>
10521
10522 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10523
105242011-07-03 Andreas Jaeger <aj@suse.de>
10525
10526 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10527 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10528 regenerate with gen-libm-tests.pl.
10529
105302010-05-12 Petr Baudis <pasky@suse.cz>
10531
10532 [BZ #11589]
10533 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10534 around j0() zero points by switching to j1().
10535 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10538 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10539
f22e1074
UD
105402011-09-09 Ulrich Drepper <drepper@gmail.com>
10541
f19009c1
UD
10542 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10543 instead of 0.
10544 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10545 instead of 0. .
10546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10547 Patch in part by Pavel Roskin <proski@gnu.org>.
10548
3f8cc204
UD
10549 [BZ #13138]
10550 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10551 realloc.
10552 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10553 Free memory block if necessary.
10554
f22e1074
UD
10555 [BZ #12847]
10556 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10557 be NULL. Don't lock in this case.
10558
0a2349f9
RM
105592011-09-09 Roland McGrath <roland@hack.frob.com>
10560
10561 * elf/elf.h (ELFOSABI_GNU): New macro.
10562 (ELFOSABI_LINUX): Define to that.
10563
f3cdd467
DZ
105642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10565
10566 * string/strncat.c (strncat): Undef the symbol in case it has been
10567 defined in bits/string.h.
10568
74718d13
UD
105692011-09-09 Ulrich Drepper <drepper@gmail.com>
10570
633e9e0f
UD
10571 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10572
0a2349f9 10573 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
10574 link map.
10575
f9924780
AJ
105762011-08-17 Andreas Jaeger <aj@suse.de>
10577
10578 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10579
7f5517aa
PP
105802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10581 Ian Lance Taylor <iant@google.com>
10582
10583 * math/libm-test.inc (lround_test): New testcase.
10584 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10585
762011fe
UD
105862011-09-08 Ulrich Drepper <drepper@gmail.com>
10587
92963737
UD
10588 * Makefile: Remove support for automatic cvs check-ins.
10589 * Makerules: Likewise.
10590 * config.make.in: Likewise.
10591 * configure.in: Likewise.
10592 * intl/Makefile: Likewise.
10593 * locale/Makefile: Likewise.
10594 * po/Makefile: Likewise.
10595 * posix/Makefile: Likewise.
10596 * sysdeps/gnu/Makefile: Likewise.
10597 * sysdeps/mach/hurd/Makefile: Likewise.
10598 * sysdeps/sparc/sparc32/Makefile: Likewise.
10599
b0727fd8
JS
10600 [BZ #13118]
10601 * posix/Makefile (bug-regex32-ENV): Define.
10602 Patch by John Stanley <jpsinthemix@verizon.net>.
10603
a0f33f99
UD
10604 * misc/Makefile (headers): Add bits/select2.h.
10605 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10606 * misc/bits/select2.h: New file.
10607 * include/bits/select2.h: New file.
10608 * debug/Makefile (routines): Add fdelt_chk.
10609 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10610 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10611 FD_ISSET.
10612 * debug/fdelt_chk.c: New file.
10613
762011fe
UD
10614 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10615 * wcsmbs/test-wmemcmp.c: Likewise.
10616 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10617 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10618
106192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10620
10621 * string/Makefile (strop-tests): Add memcmp.
10622 * string/test-wmemcmp.c: New file.
10623 * string/test-memcmp.c: Add wmemcmp support.
10624
7f513ec8
RM
106252011-09-08 Roland McGrath <roland@hack.frob.com>
10626
0442afb4
RM
10627 [BZ #13153]
10628 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10629 2011-07-19 change.
10630
7f513ec8
RM
10631 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10632 garbage value in a __mach_port_mod_refs call in the cases of the
10633 task-self and thread-self ports.
10634
a12b2239
ST
106352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10636
10637 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10638
610f9ab4
AS
106392011-09-08 Andreas Schwab <schwab@redhat.com>
10640
7f513ec8 10641 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10642
48882a1a
LD
106432011-09-07 Ulrich Drepper <drepper@gmail.com>
10644
b49865be
UD
10645 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10646
fdc86bc9
UD
10647 * elf/dl-libc.c (dlerror_run): Pass back error code from
10648 dl_catch_error.
10649
c966526a
UD
10650 [BZ #13123]
10651 * elf/dl-load.c (lose): Free l_origin if it is valid.
10652
48882a1a
LD
10653 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10654 names.
10655 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10656 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10657 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10658 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10659 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10660 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10661
77a2a8b4
AZ
106622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10663
10664 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10665 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10666 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10667 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10668 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10669 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10670 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10671 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10672 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10673 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10674
24f579d8
AM
106752011-08-15 Alan Modra <amodra@gmail.com>
10676
10677 [BZ #13092]
10678 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10679 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10680 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10681 ppc_mcount to static-only-routines.
10682 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10683 __mcount_internal.
10684 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10685 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10686
3d4837df
UD
106872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10688
10689 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10690 for finite and infinity parameters.
10691
22700377
WS
106922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10693
10694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10695 and add nop instructions for throughput optimization.
10696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10697
5025581e
WS
106982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10699
10700 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10701 aligned copy for power7 with vector-scalar instructions.
10702 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10703
08a300c9
L
107042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10705
10706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10707 AVX check.
10708
59178ef9
AS
107092011-09-07 Andreas Schwab <schwab@redhat.com>
10710
10711 [BZ #13144]
10712 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10713 last change.
10714
e38ba7ab
UD
107152011-09-07 Ulrich Drepper <drepper@gmail.com>
10716
10717 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10718 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10719 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10720 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10721 clock_gettime.
10722
d53a73ac
UD
107232011-09-06 Ulrich Drepper <drepper@gmail.com>
10724
fc8bffcc
UD
10725 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10726 Forgot to demangle the pointer.
10727
ceaa0c5d
UD
10728 * sysdeps/i386/sysdep.h: Define atom_text_section.
10729 * sysdeps/x86_64/sysdep.h: Likewise.
10730 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10731 section with atom_text_section.
10732 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10733 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10734 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10735 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10736 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10737
a77d3c17
UD
10738 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10739 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10740 already be defined. Change to take two parameters and don't assign
10741 result to variable. Adjust all users.
10742 Define INTERNAL_GETTIME if not already defined.
10743 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10744 call.
10745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10746 HAVE_CLOCK_GETTIME_VSYSCALL.
10747 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10748
d53a73ac
UD
10749 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10750 gettimeofday vsyscall, just use time.
10751
a8f84144
AS
107522011-09-06 Andreas Schwab <schwab@redhat.com>
10753
10754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10755 <errno.h>.
10756
ef606249
UD
107572011-09-06 Ulrich Drepper <drepper@gmail.com>
10758
10759 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10760 syscall on x86-64.
10761 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10762 syscall.
10763 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10764 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10765 syscall if possible.
10766
6585cb60
UD
107672011-09-05 Ulrich Drepper <drepper@gmail.com>
10768
10769 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10770 e_ident. Don't pass to find_mapsXX.
10771 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10772
a5f524e4
LD
107732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10774
10775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10776 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10777 * sysdeps/x86_64/multiarch/strchr.S: Update.
10778 Check bit_slow_BSF bit.
10779 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10780 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10781 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10782
554881ef
UD
107832011-09-05 Ulrich Drepper <drepper@gmail.com>
10784
d96de963
UD
10785 [BZ #13134]
10786 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10787 before glibc 2.15.
10788 (tryshell): Define.
10789 (__spawni): Change last parameter to be flag. Test
10790 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10791 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10792 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10793 * posix/spawni.c: Likewise.
10794 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10795 * posix/spawnp.c: Likewise. Change normal version to use
10796 SPAWN_XFLAGS_USE_PATH.
10797 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10798 SPAWN_XFLAGS_TRY_SHELL.
10799
d48e5868
UD
10800 [BZ #13150]
10801 * posix/glob.h: Remove gcc 1.x support.
10802
554881ef
UD
10803 [BZ #13068]
10804 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10805
693fb948
LD
108062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10807
10808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10809 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10810 strrchr-sse2-bsf
10811 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10812 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10813 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10814 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10815 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10816 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10817
1b48c537
UD
108182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10819
49d42c37
UD
10820 * sysdeps/x86_64/wcscmp.S: New file.
10821
1b48c537
UD
10822 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10823 wcscmp-c wcscmp-sse2
10824 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10825 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10826 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10827 * wcsmbs/wcscmp.c: Allow renaming.
10828
15c95c5d
DM
108292011-09-05 David S. Miller <davem@davemloft.net>
10830
10831 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10832 stack slot, rather than the struct return pointer slot.
10833 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10834 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10836 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10837
2f0ad8f3
UD
108382011-09-05 Ulrich Drepper <drepper@gmail.com>
10839
d88ae418
UD
10840 * po/ja.po: Update from translation team.
10841
2f0ad8f3
UD
10842 [BZ #13144]
10843 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10844 kernel in 64-bit binaries.
10845
5f4318d1
DM
108462011-09-01 David S. Miller <davem@davemloft.net>
10847
10848 * elf/elf.h (HWCAP_SPARC_*): Move to..
10849 * sysdeps/sparc/sysdep.h: this new file and add new values.
10850 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10851 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10852 _DL_HWCAP_COUNT to 24.
10853 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10854 entries.
10855 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10856 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10857 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10859 instead of magic constants.
10860 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10861
3ba57516
DM
108622011-08-31 David S. Miller <davem@davemloft.net>
10863
10864 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10866 Reimplement to do errno handling inline.
10867 (SYSCALL_ERROR_HANDLER): New macro.
10868 (__SYSCALL_STRING): Do not do errno handling in asm.
10869 (__CLONE_SYSCALL_STRING): Delete.
10870 (__INTERNAL_SYSCALL_STRING): Delete.
10871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10872 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10873 (PSEUDO): Reimplement to do errno handling inline.
10874 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10875 (SYSCALL_ERROR_HANDLER): New macro.
10876 (__SYSCALL_STRING): Do not do errno handling in asm.
10877 (__CLONE_SYSCALL_STRING): Delete.
10878 (__INTERNAL_SYSCALL_STRING): Delete.
10879 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10880 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10881 i386.
10882 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10883 (inline_syscall*): Add 'err' argument.
10884 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10885 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10886 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10887 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10888
10889 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10890 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10891
2bc17433
AS
108922011-08-30 Andreas Schwab <schwab@redhat.com>
10893
10894 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10895
fbeb5f4d
JO
108962011-08-29 Jiri Olsa <jolsa@redhat.com>
10897
10898 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10899 directive.
10900
ad69cc26
DM
109012011-08-24 David S. Miller <davem@davemloft.net>
10902
10903 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10904
39dd69df
AS
109052011-08-24 Andreas Schwab <schwab@redhat.com>
10906
10907 * elf/Makefile: Add rules to build and run unload8 test.
10908 * elf/unload8.c: New file.
10909 * elf/unload8mod1.c: New file.
10910 * elf/unload8mod1x.c: New file.
10911 * elf/unload8mod2.c: New file.
10912 * elf/unload8mod3.c: New file.
10913
10914 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10915 it wasn't used.
10916
2c0b250a
DM
109172011-08-23 David S. Miller <davem@davemloft.net>
10918
10919 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10920 subtract stack bias.
10921 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10922 %sp not %fp in calculations.
10923 (_JMPBUF_UNWINDS_ADJ): Likewise.
10924
22044b48
DM
10925 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10926 (aio_suspend): Call it to force an exception region around the
10927 AIO_MISC_WAIT() invocation.
10928
2cae4995
AS
109292011-08-23 Andreas Schwab <schwab@redhat.com>
10930
10931 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10932 backslash.
10933
873a772e
AJ
109342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10935
10936 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10937 protection macro.
10938 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10939 and <dl-machine.h>.
10940 (Elf64_FuncDesc): Remove.
10941
25ad0df1
DM
109422011-08-22 David S. Miller <davem@davemloft.net>
10943
10944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10945 sigaltstack check, add missing cfi directives.
10946 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10947 missing cfi directives, and sigaltstack handling.
10948
e888bcbe
AS
109492011-08-16 Andreas Schwab <schwab@redhat.com>
10950
10951 [BZ #11724]
10952 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10953 object is seen twice.
10954 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10955
10956 * elf/Makefile (distribute): Add tst-initorder2.c.
10957 (tests): Add tst-initorder2.
10958 (modules-names): Add tst-initorder2a tst-initorder2b
10959 tst-initorder2c tst-initorder2d. Add rules to build them.
10960 ($(objpfx)tst-initorder2.out): New rule.
10961 * elf/tst-initorder2.c: New file.
10962 * elf/tst-initorder2.exp: New file.
10963
87162f46
AS
109642011-08-22 Andreas Schwab <schwab@redhat.com>
10965
70538b7f
AS
10966 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10967
f55ffe58
AS
10968 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10969 dependencies back to end of function.
10970
87162f46
AS
10971 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10972 $(elfobjdir)/ld.so.
10973
91b392a4
UD
109742011-08-21 Ulrich Drepper <drepper@gmail.com>
10975
10976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10977 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10979 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10980 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10981 of __vdso_gettimeofday.
10982 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10983 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10984 attribute_hidden.
10985 (_libc_vdso_platform_setup): Remove initialization of
10986 __vdso_gettimeofday and __vdso_time.
10987
5c43483f
UD
109882011-08-20 Ulrich Drepper <drepper@gmail.com>
10989
775a77e7
UD
10990 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10991 and fgetc_unlocked.
10992 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10993 getc_unlocked.
89f447ed 10994
49c74ba9
UD
10995 * elf/dl-open.c (add_to_global): Report additions to the global scope
10996 for LD_DEBUG=scopes.
10997 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10998 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10999
5c43483f
UD
11000 [BZ #13114]
11001 * stdio-common/Makefile (tests): Add bug24.
11002 * stdio-common/bug24.c: New file.
11003
a101b025
AJ
110042011-08-19 Andreas Jaeger <aj@suse.de>
11005
11006 [BZ #13114]
11007 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11008 non-existant file when using close-on-exec mode.
11009
c88f1766
UD
110102011-08-20 Ulrich Drepper <drepper@gmail.com>
11011
0276a718
UD
11012 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11013 the very first instruction.
11014
c88f1766
UD
11015 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11016 the CFI state in the end.
11017 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11018 inclusion of dl-trampoline.h.
11019 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11020
51ccffa0
AS
110212011-08-19 Andreas Schwab <schwab@redhat.com>
11022
94d7165f
AS
11023 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11024 expectations for long double.
11025
51ccffa0
AS
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11027 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11028
fd708658 110292011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11030
11031 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11032 artificual limit depends upon the system page size.
11033
44f0a71e
UD
110342011-08-17 Ulrich Drepper <drepper@gmail.com>
11035
11036 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11037 * resolv/Makefile: Define CFLAGS-libresolv.
11038
8de79a24
AS
110392011-08-17 Andreas Schwab <schwab@redhat.com>
11040
11041 * nss/makedb.c (compute_tables): Make variables used in nested
11042 function static.
11043
27724598
UD
110442011-08-17 Ulrich Drepper <drepper@gmail.com>
11045
c5305d88
UD
11046 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11047 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11048 if buffer was too small.
11049
27724598
UD
11050 * elf/pldd.c (main): Attach to all threads in the process.
11051 Rewrite /proc handling to use *at functions.
11052
076fe015
UD
110532011-08-16 Ulrich Drepper <drepper@gmail.com>
11054
174baab3
UD
11055 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11056 specifies first scope to show.
11057 (dl_open_worker): Update callers. Move printing scope of new
11058 object to before the relocation.
44f0a71e 11059 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11060 * sysdeps/generic/ldsodefs.h: Update declaration.
11061
076fe015
UD
11062 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11063 string for the scope number.
11064
a60df2c3
UD
110652011-08-14 Ulrich Drepper <drepper@gmail.com>
11066
11067 * nscd/servicescache.c (cache_addserv): Make sure written is always
11068 initialized.
11069
5e4287d1
RM
110702011-08-14 Roland McGrath <roland@hack.frob.com>
11071
85ae0589
RM
11072 * sysdeps/i386/i486/bits/atomic.h
11073 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11074 statement expression, so as to suppress "set but not used" warning.
11075 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11076
69f63097
RM
11077 * string/strncat.c (STRNCAT): Use prototype definition.
11078
675456ef
RM
11079 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11080 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11081 -Iprograms here.
11082 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11083 (localedef-modules): Add localedef.
11084 (locale-modules): Add locale.
11085
5e4287d1
RM
11086 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11087 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11088 to avoid a warning.
11089
9c96ff23
DM
110902011-08-14 David S. Miller <davem@davemloft.net>
11091
11092 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11093 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11094
f9ddf089
UD
110952011-08-13 Ulrich Drepper <drepper@gmail.com>
11096
44f0a71e 11097 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11098 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11099 * elf/rtld.c (dl_main): Set l_name of vDSO.
11100 Call _dl_show_scope when DL_DEBUG_SCOPES.
11101 (process_dl_debug): Recognize scopes flag and also set it for all.
11102 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11103 Declare _dl_show_scope.
11104
1dc27704
UD
11105 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11106 (do_dlopen): Pass caller_dlopen to dl_open.
11107 (__libc_dlopen_mode): Initialize caller_dlopen.
11108
f9ddf089
UD
11109 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11110 of libc. Make tolower call locale-independent. Optimize a bit by
11111 using isdigit instead of isalnum.
11112 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11113
9ac533d3
UD
111142011-08-12 Ulrich Drepper <drepper@gmail.com>
11115
11116 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11117 was a dependency or dynamically loaded.
11118
89edf2e9
UD
111192011-08-11 Ulrich Drepper <drepper@gmail.com>
11120
8e999d29
UD
11121 * intl/l10nflist.c: Allow architecture-specific pop function.
11122 * sysdeps/x86_64/l10nflist.c: New file.
11123
89edf2e9
UD
11124 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11125 classification.
11126
14d96785
AS
111272011-08-10 Andreas Schwab <schwab@redhat.com>
11128
11129 * include/dirent.h: Add libc_hidden_proto for scandirat and
11130 scandirat64. Don't declare __scandirat64.
11131 * dirent/scandirat.c: Add libc_hidden_def.
11132 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11133 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11134
6761ac04
DM
111352011-08-10 David S. Miller <davem@davemloft.net>
11136
11137 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11138 enum.
11139 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11140 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11142
c55fbd1e
UD
111432011-08-09 Ulrich Drepper <drepper@gmail.com>
11144
11145 * Versions.def [libc]: Add GLIBC_2.15.
11146 * dirent/Makefile (routines): Add scandirat and scandirat64.
11147 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11148 GLIBC_2.15.
11149 * dirent/dirent.h: Declare scandirat and scandirat64.
11150 * dirent/scandirat.c: New file.
11151 * dirent/scandirat64.c: New file.
11152 * sysdeps/wordsize-64/scandirat.c: New file.
11153 * sysdeps/wordsize-64/scandirat64.c: New file.
11154 * dirent/opendir.c: Define opendirat.
11155 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11156 using scandirat.
11157 * dirent/scandir64.c: Adjust for scandir.c change.
11158 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11159 __scandirat64, and __scandir_cancel_handler.
11160 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11161 additional parameter and use openat instead of open (outside of ld.so).
11162 Add new __opendir as wrapper around __opendirat.
11163 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11164 here without requiring old scandirat implementation.
11165
879165f2
UD
111662011-08-08 Ulrich Drepper <drepper@gmail.com>
11167
11168 * dirent/scandir.c (cancel_handler): Renamed to
11169 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11170 defined. Adjust users.
11171 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11172 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11173
cb7e923b
UD
111742011-08-04 Ulrich Drepper <drepper@gmail.com>
11175
16292edd
UD
11176 * string/test-string.h (IMPL): Use __STRING to expand name and then
11177 stringify it.
11178
cb7e923b
UD
11179 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11180 of cleanups.
11181
cff82933
LD
111822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11183
11184 * string/Makefile: Update.
11185 (strop-tests): Append strncat.
11186 * string/test-wcscmp.c: New file.
11187 New comprehensive test for wcscmp.
11188 * string/test-strcmp.c: Update.
11189 (WIDE): New define.
11190
9be9bfcc
AS
111912011-07-22 Andreas Schwab <schwab@redhat.com>
11192
11193 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11194 line.
11195
2e96f1c7
AS
111962011-07-26 Andreas Schwab <schwab@redhat.com>
11197
11198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11199 encoding to ACE if AI_IDN.
11200
85188888
JJ
112012011-08-01 Jakub Jelinek <jakub@redhat.com>
11202
11203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11204 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11205
5fa16e9b
LD
112062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11207
11208 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11209 Fix overflow bug in strncat.
11210 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11211
11212 * string/test-strncat.c: Update.
11213 Add new tests for checking overflow bugs.
11214
112152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11216
11217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11218 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11219 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11220 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11221 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11222 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11223 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11224 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11225 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11226
11227 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11228 (USE_AS_STRCAT): Define.
11229 Add strcat and strncat support.
11230 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11231
8c1a459f
AS
112322011-07-25 Andreas Schwab <schwab@redhat.com>
11233
11234 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11235 __n bigger than INT_MAX+1.
11236 (__strncmp_g): Likewise.
11237
bba33c28
UD
112382011-07-23 Ulrich Drepper <drepper@gmail.com>
11239
798be72d
UD
11240 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11241 * libio/stido.h: Likewise.
11242
8accd4dc
UD
11243 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11244 (AF_NFC): Define.
11245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11246 (AF_NFC): Define.
11247
cbff0d96
UD
11248 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11249 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11250 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11251 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11252 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11253
9191c04a
UD
11254 [BZ #13021]
11255 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11256 installed.
11257
bba33c28
UD
11258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11259 typo.
11260 (_dl_x86_64_save_sse): Likewise.
11261
90f139dd
UD
112622011-07-22 Ulrich Drepper <drepper@gmail.com>
11263
1aae088a
UD
11264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11265 OSXSAVE.
11266 (_dl_x86_64_save_sse): Likewise.
11267
8e2045f5
UD
11268 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11269
90f139dd
UD
11270 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11271
1d002f25
AS
112722011-07-21 Andreas Schwab <schwab@redhat.com>
11273
11274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11275 change.
11276 (_dl_x86_64_save_sse): Use correct AVX check.
11277
21137f89
UD
112782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11279
11280 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11281 bug in strncpy/strncat.
11282 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11283
a65c0b7a
UD
112842011-07-21 Ulrich Drepper <drepper@gmail.com>
11285
11286 * string/tester.c (test_strcat): Add tests for different alignments
11287 of source and destination.
11288 (test_strncat): Likewise.
11289
6986b98a
UD
112902011-07-20 Ulrich Drepper <drepper@gmail.com>
11291
90bb2039
UD
11292 [BZ #12852]
11293 * posix/glob.c (glob): Check passed in values before using them in
11294 expressions to avoid some overflows.
11295 (glob_in_dir): Likewise.
11296
5644ef54
UD
11297 [BZ #13007]
11298 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11299 check for AVX enablement so that we don't crash with old kernels and
11300 new hardware.
11301 * elf/tst-audit4.c: Add same checks here.
11302 * elf/tst-audit6.c: Likewise.
11303
11304 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 11305
bfc9dc9b
AS
113062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11307
11308 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11309
702e64bb
UD
113102011-07-20 Ulrich Drepper <drepper@gmail.com>
11311
11312 * po/cs.po: Update from translation team.
11313 * po/bg.po: Likewise.
11314
295e904f
MP
113152011-07-12 Marek Polacek <mpolacek@redhat.com>
11316
11317 * misc/sys/cdefs.h: Add support for const attribute.
11318 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11319 to gnu_dev_{major,minor,makedev} functions.
11320
3ff94596
MP
113212011-07-20 Marek Polacek <mpolacek@redhat.com>
11322
11323 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11324
28b59fca
AS
113252011-07-20 Andreas Schwab <schwab@redhat.com>
11326
11327 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11328 strlen results.
11329
19df733e
AK
113302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11331
11332 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11333 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11334 register in order to avoid conflicts with the soft frame pointer
11335 being held in r11 when necessary.
11336 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11337 (INTERNAL_VSYSCALL_NCS): Likewise.
11338
c8835729
MP
113392011-07-14 Marek Polacek <mpolacek@redhat.com>
11340
11341 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11342 * elf/dl-fini.c (_dl_fini): Adjust caller.
11343 * elf/dl-close.c (_dl_close_worker): Likewise.
11344 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11345
b902330c
MP
113462011-07-15 Marek Polacek <mpolacek@redhat.com>
11347
8991e135
MP
11348 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11349 "aux_cache->nlibs < 0".
11350
b902330c
MP
11351 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11352 in the reload-count case.
11353
99710781
LD
113542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11355
11356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11357 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11358 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11359 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11360 * sysdeps/x86_64/multiarch/strcat.S: New file.
11361 * sysdeps/x86_64/multiarch/strncat.S: New file.
11362 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11363 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11364 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11365 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11366 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11367 (USE_AS_STRCAT): Define.
11368 Add strcat and strncat support.
11369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11370 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11371 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11372 * string/strncat.c: Update.
11373 (USE_AS_STRNCAT): Define.
11374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11375 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11376 and i7.
11377 * sysdeps/x86_64/multiarch/init-arch.h
11378 (bit_Prefer_PMINUB_for_stringop): New.
11379 (index_Prefer_PMINUB_for_stringop): Likewise.
11380 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11381 bit_Prefer_PMINUB_for_stringop.
11382
7dc6bd90
UD
113832011-07-19 Ulrich Drepper <drepper@gmail.com>
11384
11385 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11386 buffer64.
11387 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11388 of casting of buffer.
11389 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11390 buffer32 and buffer64.
11391 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11392 writes instead of casting of buffer.
11393 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11394 buffer32.
11395 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11396 casting of buffer.
11397
e0e72284
AS
113982011-07-19 Andreas Schwab <schwab@redhat.com>
11399
11400 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11401
feb1eb0b
UD
114022011-07-19 Ulrich Drepper <drepper@gmail.com>
11403
11404 * nscd/nscd.c (termination_handler): Don't do anything for a database
11405 if it has not yet been initialized.
11406
298711ff
UD
114072011-07-18 Ulrich Drepper <drepper@gmail.com>
11408
11409 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11410
114112011-07-15 Marek Polacek <mpolacek@redhat.com>
11412
11413 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11414
f9d68389
UD
114152011-07-18 Ulrich Drepper <drepper@gmail.com>
11416
11417 * po/nl.po: Update from translation team.
11418 * po/sv.po: Likewise.
11419
db290cf5
RM
114202011-07-16 Roland McGrath <roland@hack.frob.com>
11421
11422 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11423 now disallowed by GCC.
5c550700 11424
fd5e21c7
RM
11425 * configure.in (use-default-link): Default to yes if a test -shared
11426 link meets our qualifications.
11427 * configure: Regenerated.
11428
5c550700
RM
11429 * config.make.in (output-format): New variable.
11430 * configure.in: Check for ld --print-output-format support.
11431 * configure: Regenerated.
11432 * Makerules ($(common-objpfx)format.lds)
11433 [$(output-format) != unknown]: Just use $(output-format),
11434 instead of the linker-script munging.
11435
9fa2c032
RM
114362011-07-14 Roland McGrath <roland@hack.frob.com>
11437
a6928d51
RM
11438 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11439 of $(common-objpfx)shlib.lds.
11440 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11441
661607b3
RM
11442 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11443 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11444
9fa2c032
RM
11445 * configure.in (-z relro check): Adjust test code to add a large
11446 writable data section after it.
11447 * configure: Regenerated.
11448
defe9061
RM
114492011-07-11 Roland McGrath <roland@hack.frob.com>
11450
11451 * configure.in (-z relro check): Fix test code to make the variable
11452 truly const.
11453 * configure: Regenerated.
11454
319b9ad4
UD
114552011-07-11 Ulrich Drepper <drepper@gmail.com>
11456
11457 * nscd/nscd.h (struct traced_file): Define.
11458 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11459 elements. Add traced_files.
11460 (inotify_fd): Declare.
11461 (register_traced_file): Declare.
11462 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11463 (inotify_fd): Export.
11464 (resolv_conf_descr): Remove.
11465 (nscd_init): Move inotify descriptor creation to main.
11466 Don't register files for notification here.
11467 (register_traced_file): New function.
11468 (invalidate_cache): Don't use reset_res to determine whether to call
11469 res_init, go through the list of registered files.
11470 (main_loop_poll): The inotify descriptors are now stored in the
11471 structures for the traced files.
11472 (main_loop_epoll): Likewise
11473 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11474 to __nss_disable_nscd.
11475 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11476 for a database anymore. Check the records for all the registered
11477 files instead.
11478 * nss/Makefile (libnss_files-routines): Add files-init.
11479 (libnss_db-routines): Add db-init.
11480 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11481 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11482 * nss/nss_db/db-init.c: New file.
11483 * nss/nss_files/files-init.c: New file.
11484 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11485 __nss_lookup_function.
11486 (__nss_lookup_function): Call nss_load_library.
11487 (nss_load_all_libraries): New function.
11488 (__nss_disable_nscd): Take parameter with callback function for files
11489 to register. Set is_nscd. Load all the DSOs for the NSS modules
11490 used for the cached services.
11491 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11492 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11493 options for features to all the files in nscd.
11494
11495 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11496
23bee3e8
RM
114972011-07-10 Roland McGrath <roland@hack.frob.com>
11498
11499 * csu/elf-init.c (__libc_csu_init): Comment typo.
11500
46a5b7f0
UD
115012011-07-09 Ulrich Drepper <drepper@gmail.com>
11502
11503 * po/pl.po: Update from translation team.
11504 * po/ja.po: Likewise.
11505 * po/ru.po: Likewise.
11506 * po/ko.po: Likewise.
11507 * po/fr.po: Likewise.
11508
d30cf5bb
RM
115092011-07-09 Roland McGrath <roland@hack.frob.com>
11510
113ddea4
RM
11511 * configure.in (.ctors/.dtors header and trailer check):
11512 Use an empirical test on a built program.
11513 * configure: Regenerated.
11514
574920b4
RM
11515 * configure.in (-z relro check): Use an empirical test on a built DSO.
11516 Detect, but do not require, on ia64.
11517 * configure: Regenerated.
11518
d30cf5bb
RM
11519 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11520 Update tests that use readelf to use $READELF instead.
11521 * configure: Regenerated.
11522
8538fdb3
UD
115232011-07-08 Ulrich Drepper <drepper@gmail.com>
11524
11525 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11526 if the result is not used.
11527
04d08991
AJ
115282011-07-05 Andreas Jaeger <aj@suse.de>
11529
11530 [BZ#9696]
11531 * stdlib/tst-strtod.c: Add testcase.
11532
de283087
AD
115332011-07-07 Ulrich Drepper <drepper@gmail.com>
11534
4e5f31c8 11535 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 11536 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
11537 The latter has a higher limit. Take additional parameter to pass to
11538 the new function.
11539 (__pathconf): Pass file to __statfs_link_max.
11540 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11541 __statfs_link_max.
11542 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11543 __statfs_link_max.
11544
de283087
AD
11545 [BZ #12868]
11546 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11547 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11548 Handle Lustre.
11549 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11550 (__statfs_filesize_max): Likewise.
11551 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11552
c75fa153
AJ
115532011-07-05 Andreas Jaeger <aj@suse.de>
11554
11555 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11556
1a544854
UD
115572011-07-06 Marek Polacek <mpolacek@redhat.com>
11558
11559 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11560 `status' variable.
11561 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11562 Likewise.
11563
6f0eec67
UD
115642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11565
11566 * Makefile (strop-tests): Add strncat.
11567 * string/test-strncat.c: New file.
11568
aae30307
UD
115692011-06-30 Marek Polacek <mpolacek@redhat.com>
11570
11571 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11572
c0cfb5eb
UD
115732011-06-21 Andreas Jaeger <aj@suse.de>
11574
11575 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11576 Copy rule from iconvdata/Makefile.
11577
01636b21
UD
115782011-07-06 Ulrich Drepper <drepper@gmail.com>
11579
11580 [BZ #12922]
11581 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11582 but no long options are defined, just return 'W'.
11583
9895c8bc
UD
115842011-06-22 Marek Polacek <mpolacek@redhat.com>
11585
11586 [BZ #9696]
11587 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11588
5d4cf042
UD
115892011-07-06 Ulrich Drepper <drepper@gmail.com>
11590
11591 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11592 netgroups to read.
960e5535 11593 (innetgr): Likewise.
5d4cf042 11594
751eb97e
RM
115952011-07-05 Roland McGrath <roland@hack.frob.com>
11596
11597 * config.make.in (install_root): Default to $(DESTDIR).
11598
f15f1e45
UD
115992011-07-05 Ulrich Drepper <drepper@gmail.com>
11600
11601 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11602
4e34ac6a
RM
116032011-07-02 Roland McGrath <roland@hack.frob.com>
11604
5e9b6af4
RM
11605 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11606
84f9ea0f
RM
11607 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11608 containing directory rather than embedding absolute directory names.
11609
ea5ee9f7
RM
11610 * scripts/check-local-headers.sh: Rewritten using awk.
11611 Match by word, not by line. Print error messages for matches.
11612 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11613
1b74661a
RM
11614 * Makerules [shlib-lds-flags empty]:
11615 ($(common-objpfx)libc_pic.opts): New target.
11616 ($(common-objpfx)libc_pic.os.clean): New target.
11617 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11618
11619 * config.make.in (OBJCOPY): New variable.
11620 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11621 * configure: Regenerated.
11622
f781ef40
RM
11623 * config.make.in (use-default-link): New variable.
11624 * configure.in (use_default_link): Grok --with-default-link to set it.
11625 * configure: Regenerated.
11626 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11627 (shlib-lds, shlib-lds-flags): Define to empty.
11628
2d4fa81e
RM
11629 * Makerules (shlib-lds): New variable.
11630 (shlib-lds-flags): New variable.
11631 (build-shlib, build-moduile, build-module-asneeded): Use it.
11632 ($(common-objpfx)libc.so): Use $(shlib-lds).
11633 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11634 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11635
31fffa6b
RM
11636 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11637 DT_FLAGS/DT_FLAGS_1 with zero flags.
11638
4e34ac6a
RM
11639 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11640 linker script munging.
11641
fcfc776b
UD
116422011-07-02 Ulrich Drepper <drepper@gmail.com>
11643
11644 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11645 as 128-bit value.
11646 * crypt/sha512.c (sha512_process_block): Perform total addition using
11647 128-bit if possible.
11648 (__sha512_finish_ctx): Likewise.
11649 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11650 as 64-bit value.
11651 * crypt/sha256.c (SWAP64): Define.
11652 (sha256_process_block): Perform total addition using 64-bit if
11653 possible.
11654 (__sha256_finish_ctx): Likewise.
11655
99231d9a
UD
116562011-07-01 Ulrich Drepper <drepper@gmail.com>
11657
11658 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11659 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11660 * nscd/hstcache.c (cache_addhst): Likewise.
11661 * nscd/grpcache.c (cache_addgr): Likewise.
11662 * nscd/aicache.c (addhstaiX): Likewise
11663 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11664
445b4a53
TK
116652011-07-01 Thorsten Kukuk <kukuk@suse.de>
11666
11667 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11668 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11669 * nscd/hstcache.c (cache_addhst): Likewise.
11670 * nscd/grpcache.c (cache_addgr): Likewise.
11671 * nscd/aicache.c (addhstaiX): Likewise
11672
6d4d8e8e
AS
116732011-07-01 Andreas Schwab <schwab@redhat.com>
11674
11675 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11676 domain only when needed.
11677
89f654c5
AS
116782011-06-30 Andreas Schwab <schwab@redhat.com>
11679
11680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11681 is always restored.
11682
cf3b23ff
UD
116832011-06-29 Ulrich Drepper <drepper@gmail.com>
11684
11685 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11686 are re-adding the entry.
11687 * nscd/servicescache.c (cache_addserv): Likewise.
11688
751626f9
AJ
116892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11690
11691 * sysdeps/generic/dl-irel.h: fix protection against multiple
11692 inclusions.
11693 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11694
9113ea1f
UD
116952011-06-28 Ulrich Drepper <drepper@gmail.com>
11696
5c0b8d90
UD
11697 [BZ #12935]
11698 * malloc/memusage.sh: Fix quoting in message.
11699 * debug/xtrace.sh: Likewise.
11700
9113ea1f
UD
11701 * configure.in: Remove support for --experimental-malloc option, make
11702 it the default.
11703 * config.make.in: Likewise.
11704 * malloc/Makefile: Likewise.
11705
a4172181
AS
117062011-06-27 Andreas Schwab <schwab@redhat.com>
11707
11708 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11709 two-byte characters.
11710
78a7eee7
RM
117112011-06-27 Roland McGrath <roland@hack.frob.com>
11712
62bede13
RM
11713 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11714 AC_CACHE_CHECK invocation.
11715 * configure: Regenerated.
11716
78a7eee7
RM
11717 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11718
5ce33a62
UD
117192011-06-27 Ulrich Drepper <drepper@gmail.com>
11720
034807a9
UD
11721 [BZ #12350]
11722 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11723 bit from old_res_options.
11724
4902da17
UD
11725 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11726
5ce33a62
UD
11727 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11728 value type for setfct.
11729
c2344f56
L
117302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11731
11732 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11733 __gettimeofday instead of gettimeofday.
11734
68468076
UD
117352011-06-26 Ulrich Drepper <drepper@gmail.com>
11736
11737 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11738
acb0d739
L
117392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11740
11741 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11742
11743 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11744 info.
11745
8912479f
L
117462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11747
11748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11749 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11750 strcpy-sse2-unaligned strncpy-sse2-unaligned
11751 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11752 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11753 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11754 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11755 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11756 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11757 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11758 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11759 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11760 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11761 (STRCPY): Support SSE2 and SSSE3 versions.
11762
d5495a11
UD
117632011-06-24 Ulrich Drepper <drepper@gmail.com>
11764
11765 [BZ #12874]
11766 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11767 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11768 kernels which artificially limit size of requests.
11769
0b1cbaae
L
117702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11771
11772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11773 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11774 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11775 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11776 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11777 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11778 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11779 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11780 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11781 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11782 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11783 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11784 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11785 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11786 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11788 Enable unaligned load optimization for Intel Core i3, i5 and i7
11789 processors.
11790 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11791 Define.
11792 (index_Fast_Unaligned_Load): Define.
11793 (HAS_FAST_UNALIGNED_LOAD): Define.
11794
07f494a0
MP
117952011-06-23 Marek Polacek <mpolacek@redhat.com>
11796
11797 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11798
fa3fc0fe
UD
117992011-06-22 Ulrich Drepper <drepper@gmail.com>
11800
11801 [BZ #12907]
11802 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11803 until it is clear that the information is realy needed.
11804 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11805
e12df166
AS
118062011-06-22 Andreas Schwab <schwab@redhat.com>
11807
11808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11809
852eb34d
UD
118102011-06-22 Ulrich Drepper <drepper@gmail.com>
11811
84e2a551
UD
11812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11813 /sys/devices/system/cpu/online if it is usable.
11814
852eb34d
UD
11815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11816 reading the information from the /proc filesystem to once a second.
11817
6e502e19
UD
118182011-06-21 Andreas Jaeger <aj@suse.de>
11819
11820 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11821 NULL after inclusion of kernel headers.
11822
75d39ff2
UD
118232011-06-21 Ulrich Drepper <drepper@gmail.com>
11824
51f9aa6a
UD
11825 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11826 calls to internal_setent.
11827
c0244a9d
UD
11828 [BZ #12885]
11829 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11830 addresses using gethostbyname4_r ignore IPv4 addresses.
11831
c5e3c2ae
UD
11832 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11833 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11834
75d39ff2
UD
11835 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11836
42675c6f
DM
118372011-06-20 David S. Miller <davem@davemloft.net>
11838
11839 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11840 inclusions.
11841 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11842
11843 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11844 (elf_irel): Use it.
11845 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11846 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11847 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11848 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11849 * sysdeps/x86_64/dl-irel.h: Likewise.
11850
11851 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11852 * elf/dl-sym.c: Likewise.
11853
57912a71
UD
118542011-06-15 Ulrich Drepper <drepper@gmail.com>
11855
11856 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11857 need to dereference resplen2.
11858
ee22793d
AS
118592011-06-14 Andreas Schwab <schwab@redhat.com>
11860
11861 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11862
a9e836b0
UD
118632011-06-15 Ulrich Drepper <drepper@gmail.com>
11864
77fb9117
UD
11865 * Makeconfig: Define vardbdir and inst_vardbdir.
11866 * nss/Makefile: Add rules to install db-Makefile.
11867
40c1b22c
UD
11868 * nss/nss_db/db-XXX.c: Cleanup.
11869
9f2da732
UD
11870 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11871 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11872 GLIBC_PRIVATE.
11873 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11874 * nss/makedb.c: Implement -g option to specify that value strings
11875 are generated and should not be added to table iterated over for
11876 get*ent calls.
11877 * nss/nss_db/db-initgroups.c: New file.
11878
82e9a1f7
UD
11879 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11880 interface.
11881
c41af17e
UD
11882 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11883 (internal_getgrouplist): Adjust to name change.
11884 Update use_initgroups_entry if this is not the first call.
11885 * nss/databases.def: Add initgroups entry.
11886
a9e836b0
UD
11887 * nss/makedb.c (compute_tables): Check result of multiple hash table
11888 sizes to minimize maximum chain length.
11889
2666d441
UD
118902011-06-14 Ulrich Drepper <drepper@gmail.com>
11891
11892 * Versions.def: Add entry for libnss_db.
11893 * shlib-versions: Likewise.
11894 * nss/Makefile: Add rules to build libnss_db.
11895 * nss/Versions: Add libnss_db information. Organize libnss_files
11896 entries better.
11897 * nss/db-Makefile: Add gshadow support. Change rules for the new
11898 makedb progra. Some minor improvements to generate smaller files.
11899 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11900 here from...
11901 * nss/makedb.c: ...here.
11902 Improve database format to be smaller and require less memory at
11903 runtime.
11904 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11905 db anymore.
11906 * nss/nss_db/db-netgrp.c: Likewise.
11907 * nss/nss_db/db-open.c: Likewise.
11908 * nss/nss_files/flies-XXX.x: Adjust comments.
11909 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11910 * nss/nss_files/files-grp.c: Likewise.
11911 * nss/nss_files/files-hosts.c: Likewise.
11912 * nss/nss_files/files-network.c: Likewise.
11913 * nss/nss_files/files-proto.c: Likewise.
11914 * nss/nss_files/files-pwd.c: Likewise.
11915 * nss/nss_files/files-rpc.c: Likewise.
11916 * nss/nss_files/files-service.c: Likewise.
11917 * nss/nss_files/files-sgrp.c: Likewise.
11918 * nss/nss_files/files-spwd.c: Likewise.
11919 * nss/nss_db/db-alias.c: Removed.
11920 * nss/nss_db/dummy-db.h: Removed.
11921
9ee76b5a
UD
119222011-06-02 Ulrich Drepper <drepper@gmail.com>
11923
11924 * nss/makedb.c: Rewritten to not use database library.
11925 * nss/Makefile: Update to build new makedb program.
11926
c71ca1f8
AJ
119272011-06-14 Andreas Jaeger <aj@suse.de>
11928
11929 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11930 memset declaration.
11931
3154bfb8
UD
119322011-06-10 Andreas Schwab <schwab@redhat.com>
11933
11934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11935 tmpbuf.
11936
b350afab
RM
119372011-06-10 Roland McGrath <roland@hack.frob.com>
11938
decd4e50
RM
11939 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11940 * elf/Makefile ($(objpfx)ld.so): Likewise.
11941
5615eaf2
RM
11942 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11943 Don't list ld.so twice in dependencies.
11944
11945 * posix/bug-regex31.c: Include <stdlib.h>.
11946
11947 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11948
11949 * nis/nss_compat/compat-spwd.c
11950 (getspent_next_nss_netgr): Remove unused variable.
11951 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11952
11953 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11954 nonmembers" output to use the right array.
11955
11956 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11957
11958 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11959
11960 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11961 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11962 * catgets/gencat.c (read_input_file): Likewise.
11963 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11964
11965 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11966 variable definition inside #if's controlling its use.
11967
11968 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11969
11970 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11971
11972 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11973
11974 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11975 unreachable code.
11976
11977 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11978
b68e08db
RM
11979 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11980 * configure: Regenerated.
11981
b350afab
RM
11982 * Makerules: Revert last change.
11983 * elf/Makefile: Likewise.
11984
28368601
RM
119852011-06-09 Roland McGrath <roland@hack.frob.com>
11986
11987 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11988 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11989 (reloc-link): Likewise.
11990
11988f8f
UD
119912011-06-09 Ulrich Drepper <drepper@gmail.com>
11992
11993 * elf/Makefile: Add rules to build pldd.
11994 * elf/pldd.c: New file.
11995 * elf/pldd-xx.c: New file.
11996
e80fab37
UD
119972011-06-07 Ulrich Drepper <drepper@gmail.com>
11998
11999 * version.h: Update for 2.15 development version.
12000
9b849836
DM
120012011-06-07 David S. Miller <davem@davemloft.net>
12002
12003 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12004 ifuncs.
12005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12006 elf_machine_lazy_rel): Likewise.
12007 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12008 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12009 elf_machine_lazy_rel): Likewise.
12010 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12011 dl_hwcap via passed in argument.
12012 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12013 Likewise.
12014
5a31b283
AK
120152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12016
12017 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12018
069e52f8
RM
120192011-06-06 Roland McGrath <roland@hack.frob.com>
12020
12021 [BZ #12849]
12022 * manual/fdl-1.1.texi: New file, verbatim from:
12023 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12024 * manual/lgpl-2.1.texi: New file, verbatim from:
12025 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12026 * manual/Makefile (licenses): New variable, list those new file names.
12027 (texis): Use it.
12028 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12029
12030 * manual/fdl.texi: File removed.
12031 * manual/lesser.texi: File removed.
12032 * manual/libc.texinfo (Copying, Documentation License):
12033 Use new @include file names, put @appendix directive before @include.
12034
f16846a5
JJ
120352011-06-04 Jakub Jelinek <jakub@redhat.com>
12036
12037 [BZ #12841]
12038 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12039 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12040 (mq_open): Add __NTH.
12041
3d29045b
L
120422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12043
12044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12045 Assume Intel Core i3/i5/i7 processor if AVX is available.
12046
8c297311
UD
120472011-05-31 Ulrich Drepper <drepper@gmail.com>
12048
12049 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12050 typo.
12051
c8fc0c91
UD
120522011-05-31 Andreas Schwab <schwab@redhat.com>
12053
12054 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12055 memory. Use alloca_account. Fix memory leak when retrying.
12056
5b27a807
UD
120572011-05-31 Ulrich Drepper <drepper@gmail.com>
12058
356f8bc6
UD
12059 * version.h (RELEASE): Bump for 2.14 release.
12060 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12061
5b27a807
UD
12062 * config.make.in (RANLIB): Remove entry.
12063
01f16ab0
UD
120642011-05-30 Ulrich Drepper <drepper@gmail.com>
12065
41fce8bd
UD
12066 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12067 (libc.pot): Work around missing support for .ksh extension in xgettext.
12068
4769ae77
UD
12069 [BZ #12684]
12070 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12071 if both request failed.
12072 (send_dg): In case of server errors clear resplen or *resplen2.
12073
6b1e7d19
UD
12074 [BZ #12454]
12075 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12076 when there are multiple maps.
12077 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12078 (_dl_fini): Remove test here.
12079
01f16ab0
UD
12080 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12081
b1ebd700
UD
120822011-05-29 Ulrich Drepper <drepper@gmail.com>
12083
7ae22829
UD
12084 [BZ #12350]
12085 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12086 bit from old_res_options.
12087 (gaih_inet): Likewise.
12088
553149f6 12089 [BZ #11099]
18a84741 12090 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12091 as signed.
12092
652ffab1
UD
12093 * resolv/res_init.c (res_setoptions): Make the code more compact.
12094
16985fd0
UD
12095 [BZ #11558]
12096 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12097 set RES_USEVC.
12098
0464f746
UD
12099 [BZ #11634]
12100 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12101
7d17596c
UD
12102 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12103
cf6bbbd7
UD
12104 [BZ #11781]
12105 * malloc/malloc.h: Declare malloc hook variables as volatile.
12106
13f1ab36
UD
12107 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12108 in last patch.
12109
b1ebd700
UD
12110 [BZ #11799]
12111 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12112 raise in the comment.
80e2212d
UD
12113 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12114 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12115 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12116
ce67228d
UD
121172011-05-28 Ulrich Drepper <drepper@gmail.com>
12118
8887a920
UD
12119 [BZ #12811]
12120 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12121 grow the buffers more if it already has to be sufficient.
12122 (build_wcs_upper_buffer): Likewise.
12123 * posix/regexec.c (check_matching): Likewise.
12124 (clean_state_log_if_needed): Likewise.
12125 (extend_buffers): Don't enlarge buffers beyond size of the input
12126 buffer.
12127 Patches mostly by Emil Wojak <emil@wojak.eu>.
12128 * posix/bug-regex32.c: New file.
12129 * posix/Makefile (tests): Add bug-regex32.
12130
4f031072
UD
12131 * locale/findlocale.c (_nl_find_locale): Return right away if
12132 _nl_explode_name failed.
12133 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12134
d0478f0c
UD
12135 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12136
de81b246
UD
12137 * debug/xtrace.sh: Unify messages.
12138 * malloc/memusage.sh: Likewise.
12139
c738465a
UD
12140 [BZ #12813]
12141 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12142 time symbol from vDSO. Substitute with vsyscall if not available.
12143 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12144 __vdso_time.
12145
f1f929d7
UD
12146 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12147 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12148 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12149 Add sendmmsg and internal_sendmmsg.
12150 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12151 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12152 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12153
ce67228d
UD
12154 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12155 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12156 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12157
e57420c6
UD
121582011-05-27 Ulrich Drepper <drepper@gmail.com>
12159
a8509ca5
UD
12160 [BZ #12813]
12161 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12162 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12163 available.
12164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12165 __vdso_getcpu.
12166
e57420c6
UD
12167 [BZ #12814]
12168 * iconvdata/Makefile (tests): Add bug-iconv9.
12169 * iconvdata/bug-iconv9.c: New file.
12170
4d07db15
AS
121712011-05-27 Andreas Schwab <schwab@redhat.com>
12172
12173 [BZ #12814]
12174 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12175
ea486f69
JJ
121762011-05-25 Jakub Jelinek <jakub@redhat.com>
12177
12178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12179 (struct user_regs_struct): Change intcs field back to cs.
12180
6f038433
UD
121812011-05-25 Ulrich Drepper <drepper@gmail.com>
12182
12183 * po/ja.po: Update from translation team.
12184
67f86a25
UD
121852011-05-23 Ulrich Drepper <drepper@gmail.com>
12186
12187 [BZ #12795]
12188 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12189 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12190
def7fbd6
AS
121912011-05-20 Andreas Schwab <schwab@redhat.com>
12192
12193 * stdlib/longlong.h: Update from GCC.
12194
f50ef8f1
AS
121952011-05-23 Andreas Schwab <schwab@redhat.com>
12196
12197 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12198 parameter name.
12199 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12200 Add parameter name.
12201 (__sysconf): Pass it down.
12202
de7ce8f1
UD
122032011-05-22 Ulrich Drepper <drepper@gmail.com>
12204
f2962a71
UD
12205 [BZ #12671]
12206 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12207 some situations.
12208 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12209 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12210 add in in __libc_use_alloca calls. Adjust callers.
12211 (glob): Use malloc in some situations.
12212
de7ce8f1
UD
12213 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12214 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12215 pltexit.
12216
aec84f53
UD
122172011-05-21 Ulrich Drepper <drepper@gmail.com>
12218
05bb4a68
UD
12219 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12220 and CLOCK_BOOTTIME_ALARM.
12221
7ea72f99
UD
12222 [BZ #12782]
12223 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12224 is returned.
12225
7e4afad5
UD
12226 * string/_strerror.c (__strerror_r): Print negative errors as signed
12227 numbers.
12228
8e211fec
UD
12229 [BZ #12777]
12230 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12231 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12232 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12233
f7d82dc9
UD
12234 * configure.in: Fix typo in redirection and correct removal of test
12235 files in two cases.
12236
cc9e536d
UD
12237 [BZ #12788]
12238 * locale/setlocale.c (new_composite_name): Fix test to check for
12239 identical name of all categories.
12240
aec84f53
UD
12241 [BZ #12792]
12242 * libio/filedoalloc.c (local_isatty): New function.
12243 (_IO_file_doallocate): Use local_isatty.
12244 * stdio-common/perror.c (perror): In case a new stream is used
12245 forward the stream error.
12246 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12247 error flag.
12248
78e64fdc
RT
122492011-05-20 Ulrich Drepper <drepper@gmail.com>
12250
34a9094f
UD
12251 [BZ #11869]
12252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12253 alloca.
12254 * include/alloca.h (extend_alloca_account): Define.
12255
78e64fdc
RT
12256 [BZ #11857]
12257 * posix/regex.h: Fix comments with documentation of user-accessible
12258 fields after compilation and describe correct free'ing of pattern
12259 after re_compile_pattern.
12260 Patch by Reuben Thomas <rrt@sc3d.org>.
12261
457bddfc
RA
122622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12263
12264 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12265 and -mno-altivec to prevent the compiler from using Altivec and/or
12266 VSX instructions when the corresponding registers are not available.
12267
a4527b51
AS
122682011-05-19 Andreas Schwab <schwab@redhat.com>
12269
12270 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12271
ed690b2f
UD
122722011-05-19 Ulrich Drepper <drepper@gmail.com>
12273
12274 * libio/freopen.c (freopen): Use __dup2, not dup2.
12275 * libio/freopen64.c (freopen64): Likewise.
12276
8db73634
L
122772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12278
12279 [BZ #12775]
12280 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12281 * math/Makefile (tests): Add test-powl.
12282 (CFLAGS-test-powl.c): Define.
12283 * math/test-powl.c: New file.
12284
0a197a9d
L
122852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12286
12287 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12288
ee30c380
UD
122892011-05-17 Ulrich Drepper <drepper@gmail.com>
12290
12291 [BZ #11837]
12292 * iconvdata/gb18030.c: Update to GB18020-2005.
12293
6ce75379
UD
122942011-05-16 Ulrich Drepper <drepper@gmail.com>
12295
a4b89fd8
AR
12296 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12297 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12298 Patch by Aharon Robbins <arnold@skeeve.com>.
12299
ea389b12
UD
12300 [BZ #11892]
12301 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12302 on the stack.
12303
68a3f91f
UD
12304 [BZ #11895]
12305 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12306 through underflows.
12307
15cc7dd1
UD
12308 [BZ #12766]
12309 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12310 point to strings before performing equality test for error_one_per_line
12311 mode.
12312
f3799213
UD
12313 [BZ #11697]
12314 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12315
d79a9c94
UD
12316 [BZ #11820]
12317 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12318 (struct user_fpregs_struct): Avoid __uint*_t types.
12319
56e5eb46
UD
12320 [BZ #6420]
12321 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12322 symbol info. Use it instead of calling _dl_addr locally.
12323 (lock_and_info): New function.
12324 (tr_freehook): Call lock_and_info and pass symbol info as additional
12325 parameter to tr_where.
12326 (tr_mallochook): Likewise.
12327 (tr_reallochook): Likewise.
12328 (tr_memalignhook): Likewise.
12329
6ce75379
UD
12330 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12331 used and couldn't be at all thread-safe.
12332
f8a3b5bf
UD
123332011-05-15 Ulrich Drepper <drepper@gmail.com>
12334
94b7cc37
UD
12335 * libio/freopen.c (freopen): Don't close old file descriptor
12336 before the new one is opened. Instead dup the new file descriptor
12337 to the old one after the new stream is created.
12338 * libio/freopen64.c (freopen64): Likewise.
12339 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12340 * libio/fileops.c (_IO_new_file_close_it): Handle new
12341 _IO_FLAGS2_NOCLOSE flag.
12342 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12343 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12344 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12345 _IO_FLAGS2_NOCLOSE flag.
12346 * include/unistd.h: Add hidden_proto for dup3.
12347 Define __have_dup3.
12348 * io/dup3.c: Define hidden symbol.
12349 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12350
bd25564e
UD
12351 [BZ #7101]
12352 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12353 when an incomplete long option is used.
12354 * posix/tst-getopt_long1.c: New file.
12355 * posix/Makefile (tests): Add tst-getopt_long1.
12356
c84cfef4
UD
12357 [BZ #10138]
12358 * scripts/config.guess: Update from autoconf-2.68.
12359 * scripts/config.sub: Likewise.
12360
3b85df27
UD
12361 [BZ #10157]
12362 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12363 tests into ...
12364 (has_cpuclock): ...this. New function.
12365 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12366 macro here based on has_cpuclock code.
12367
15a856b1
UD
12368 [BZ #10149]
12369 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12370 First byte (not low byte) is now always NUL.
12371 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12372
05f399e6
UD
12373 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12374 Use non-cancelable interfaces.
12375
10a52685 12376 [BZ #9809]
94ecc67d
UD
12377 * locale/iso-639.def: Add entry for Sorani.
12378
f8a3b5bf
UD
12379 [BZ #11901]
12380 * include/stdlib.h: Move include protection to the right place.
12381 Define abort_msg_s. Declare __abort_msg with it.
12382 * stdlib/abort.c (__abort_msg): Adjust type.
12383 * assert/assert.c (__assert_fail_base): New function. Majority
12384 of code from __assert_fail. Allocate memory for __abort_msg with
12385 mmap.
12386 (__assert_fail): Now call __assert_fail_base.
12387 * assert/assert-perr.c: Remove bulk of implementation. Use
12388 __assert_fail_base.
12389 * include/assert.hL Declare __assert_fail_base.
12390 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12391 mmap.
12392 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12393
1af4e298
UD
123942011-05-14 Ulrich Drepper <drepper@gmail.com>
12395
f8a3b5bf 12396 [BZ #11952]
d26dfc60
MG
12397 [BZ #12453]
12398 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12399 until all modules are registered in the DTV.
12400 * elf/Makefile: Add rules to build and run tst-tls19.
12401 * elf/tst-tls19.c: New file.
12402 * elf/tst-tls19mod1.c: New file.
12403 * elf/tst-tls19mod2.c: New file.
12404 * elf/tst-tls19mod3.c: New file.
12405 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12406
2fc54d6f
UD
12407 [BZ #12083]
12408 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12409 correctly.
12410
98d76b46
UD
12411 [BZ #12601]
12412 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12413 two-byte sequence errors.
12414 * iconvdata/Makefile (tests): Add bug-iconv8.
12415 * iconvdata/bug-iconv8.c: New file.
12416
da3c19ef
UD
12417 [BZ #12626]
12418 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12419 buf2 definition.
12420
ca408c15
UD
12421 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12422
d6f67f7d
UD
12423 [BZ #12432]
12424 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12425 (dummy_getcfa): New function.
12426 (init): Get _Unwind_GetCFA address, use dummy if not found.
12427 (backtrace_helper): In recursion check, also check whether CFA changes.
12428 (__backtrace): Completely initialize arg.
12429
1af4e298 12430 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
12431 storing incomplete byte sequence in state object. Avoid testing for
12432 guaranteed too small input if we know there is enough data available.
1af4e298 12433
da62f81b
AS
124342011-05-11 Andreas Schwab <schwab@redhat.com>
12435
12436 * Makeconfig (+link-pie): Indent.
12437 * Rules (binaries-pie): Define if $(have-fpie) and
12438 $(build-shared).
12439 (binaries-shared): Also filter out $(binaries-pie).
12440 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12441 * nscd/Makefile (others-pie): Add nscd.
12442 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12443 ($(objpfx)nscd): Remove command override.
12444 * login/Makefile (others-pie): Add pt_chown.
12445 ($(objpfx)pt_chown): Remove command override.
12446 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12447 remove command overrides.
12448
fcabc0f8
UD
124492011-05-13 Ulrich Drepper <drepper@gmail.com>
12450
20030ae6
UD
12451 * libio/tst_putwc.c: Fix error messages.
12452
fcabc0f8
UD
12453 [BZ #12724]
12454 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12455 currently writing and seek to current position when not.
12456 * libio/Makefile (tests): Add bug-fclose1.
12457 * libio/bug-fclose1.c: New file.
12458
320a5dc0
PB
124592011-05-12 Ulrich Drepper <drepper@gmail.com>
12460
12461 [BZ #12511]
12462 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12463 don't set DF_1_NODELETE here.
12464 (do_lookup_x): When entering new entry test for copy relocation
12465 and if necessary set DF_1_NODELETE flag.
12466 * elf/tst-unique4.cc: New file.
12467 * elf/tst-unique4.h: New file.
12468 * elf/tst-unique4lib.cc: New file.
12469 * elf/Makefile: Add rules to build and run tst-unique4.
12470 Patch by Piotr Bury <pbury@goahead.com>.
12471
22836f52
UD
124722011-05-11 Ulrich Drepper <drepper@gmail.com>
12473
f574184a
UD
12474 [BZ #12052]
12475 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12476
e1fb097f
UD
12477 [BZ #12625]
12478 * misc/mntent_r.c (addmntent): Flush the stream after the output
12479
22836f52
UD
12480 [BZ #12393]
12481 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12482 (is_trusted_path_normalize): Skip initial colon. Append slash
12483 to empty buffer. Duplicate is_trusted_path code but allow
12484 constructed patch to be prefix.
12485 (is_dst): Allow $ORIGIN followed by /.
12486 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12487 Correct testing of result of is_trusted_path_normalize
12488 (decompose_rpath): Fix warning.
12489
7b3b0b2a
UD
124902011-05-10 Ulrich Drepper <drepper@gmail.com>
12491
12492 [BZ #11257]
12493 * grp/initgroups.c (internal_getgrouplist): When we found the service
12494 list through the initgroups entry in nsswitch.conf do not always
12495 continue on a successful lookup. Don't always use the
eac80ce2 12496 __nss_group_database value if it is set.
7b3b0b2a
UD
12497 * nss/nsswitch.conf (initgroups): Change action for successful db
12498 lookup to continue for compatibility.
12499
2a81eaa5
UD
125002011-05-09 Ulrich Drepper <drepper@gmail.com>
12501
be97a69e
UD
12502 [BZ #11532]
12503 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12504 and CP774 modules.
12505 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12506 and CP774 modules.
12507 * iconvdata/tst-tables.sh: Likewise.
12508 * iconvdata/cp770.c: New file.
12509 * iconvdata/cp771.c: New file.
12510 * iconvdata/cp772.c: New file.
12511 * iconvdata/cp773.c: New file.
12512 * iconvdata/cp774.c: New file.
12513 * iconvdata/testdata/CP770: New file.
12514 * iconvdata/testdata/CP770..UTF8: New file.
12515 * iconvdata/testdata/CP771: New file.
12516 * iconvdata/testdata/CP771..UTF8: New file.
12517 * iconvdata/testdata/CP772: New file.
12518 * iconvdata/testdata/CP772..UTF8: New file.
12519 * iconvdata/testdata/CP773: New file.
12520 * iconvdata/testdata/CP773..UTF8: New file.
12521 * iconvdata/testdata/CP774: New file.
12522 * iconvdata/testdata/CP774..UTF8: New file.
12523
12524 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12525 END CHARMAP line.
12526 * iconvdata/gen-8bit-gap.sh: Likewise.
12527 * iconvdata/gen-8bit.sh: Likewise.
12528
c1e9e399
UD
12529 * locale/iso-639.def: Add ary entry.
12530
24c55fb3 12531 [BZ #11258]
96b4b1b0
UD
12532 * locale/C-translit.h.in: Add U20A1 transliteration.
12533
bdc2f971
KB
12534 [BZ #12178]
12535 * locale/iso-639.def: Add wae entry.
12536 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12537
2952b117
UD
12538 [BZ #12545]
12539 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12540 for n.
12541
2a81eaa5
UD
12542 [BZ #12711]
12543 * locale/C-translit.h.in: Add entry for U20B9.
12544 Patch by pravin.d.s@gmail.com.
12545
28377d1b
UD
125462011-05-08 Ulrich Drepper <drepper@gmail.com>
12547
7fb90fb8
UD
12548 [BZ #12713]
12549 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12550 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
12551 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12552 in rtld. Use *stat64.
7fb90fb8 12553 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 12554 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 12555 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
12556 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12557 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12558 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12559 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12560 __fstatat64 macros.
7fb90fb8
UD
12561 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12562 * dirent/rewinddir.c: Add libc_hidden_def.
12563 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 12564 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 12565
28377d1b
UD
12566 * include/dirent.h (__alloc_dir): Add flags parameter.
12567 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12568 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12569 __alloc_dir.
12570 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12571 from fdopendir if O_CLOEXEC is already set.
12572
66bdbaa4
AM
125732011-03-15 Alan Modra <amodra@gmail.com>
12574
12575 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12576 l_tls_firstbyte_offset non-zero. Save padding offset in
12577 l_tls_firstbyte_offset for later use.
12578 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12579 freeing static tls block.
12580
95721191
JN
125812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12582
12583 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12584 where #ifdef was intended. The intent is to prevent ARG_MAX from
12585 being defined by the kernel headers.
12586
f87dfb1f
UD
125872011-05-07 Ulrich Drepper <drepper@gmail.com>
12588
12589 [BZ #12734]
12590 * resolv/resolv.h: Define RES_NOTLDQUERY.
12591 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12592 no-tld-query and set RES_NOTLDQUERY.
12593 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12594 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12595 modern BIND to search name as TLD unless forbidden.
12596
47c3cd7a
UD
125972011-05-07 Petr Baudis <pasky@suse.cz>
12598 Ulrich Drepper <drepper@gmail.com>
12599
12600 [BZ #12393]
12601 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12602 (is_trusted_path): ...to here.
c1e9ea35 12603 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12604 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12605 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12606
8a35c912
PP
126072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12608
12609 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12610 __BEGIN/__END_DECLS.
12611
acd41f47
UD
126122011-05-06 Ulrich Drepper <drepper@gmail.com>
12613
12614 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12615 NSS_STATUS_NOTFOUND if no record was found.
12616
597df647
AS
126172011-05-05 Andreas Schwab <schwab@redhat.com>
12618
12619 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12620 (headers-not-in-tirpc): Remove rpc/netdb.h
12621 * resolv/netdb.h: Revert last change.
12622
b9af1301
PP
126232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12624
12625 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12626 circular dependency between libgcc.a and libc.a.
12627
4e34d5f5
AS
126282011-05-05 Andreas Schwab <schwab@redhat.com>
12629
12630 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12631 * nis/Makefile: Don't install rpcsvc/*.
12632 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12633 instead of <rpc/types.h>.
12634 (MAXHOSTNAMELEN): Define.
12635
00ee369c
AS
126362011-05-03 Andreas Schwab <schwab@redhat.com>
12637
12638 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12639
0b592a30
MB
126402011-04-28 Maciej Babinski <mbabinski@google.com>
12641
12642 [BZ #12714]
12643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12644 gethostbyname4_r when IPv6 results are possible.
12645
6e04cbbe
UD
126462011-05-02 Ulrich Drepper <drepper@gmail.com>
12647
12648 [BZ #12723]
12649 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12650 _PC_PIPE_BUF handling.
12651
e4ecafe0
BH
126522011-04-30 Bruno Haible <bruno@clisp.org>
12653
12654 [BZ #12717]
12655 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12656 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12657 to 'int'.
12658 * inet/getnameinfo.c (getnameinfo): Likewise.
12659
125ee683
UD
126602011-04-29 Ulrich Drepper <drepper@gmail.com>
12661
12662 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12663 to groups setting in database lookup.
12664 * nss/nsswitch.conf: Add initgroups entry.
12665
b722481a
EB
126662011-04-22 Ulrich Drepper <drepper@gmail.com>
12667
12668 [BZ #12685]
12669 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12670 mode string.
12671 Patch by Eric Blake <eblake@redhat.com>.
12672
4df46dbd
L
126732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12674
12675 * sunrpc/Makefile (need-export-routines): Add svc_run.
12676 (routines): Remove svc_run.
12677 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12678 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12679 * sunrpc/svc_run.c (svc_run): Likewise.
12680 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12681
e84142d2
UD
126822011-04-21 Ulrich Drepper <drepper@gmail.com>
12683
12684 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12685 problem in reallocation in last patch.
12686
877175d8
UD
126872011-04-20 Ulrich Drepper <drepper@gmail.com>
12688
12689 * sunrpc/Makefile: Move inclusion of Rules.
12690
ab8eed78
UD
126912011-04-19 Ulrich Drepper <drepper@gmail.com>
12692
12693 * nss/nss_files/files-initgroups.c: New file.
12694 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12695 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12696 _nss_files_initgroups_dyn.
12697
e3d8f584
RS
126982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12699
12700 * elf/elf.h (R_ARM_IRELATIVE): Define.
12701
af190f45
UD
127022011-04-19 Ulrich Drepper <drepper@gmail.com>
12703
12704 * po/ru.po: Update from translation team.
12705
53cf59ef
UD
127062011-04-17 Ulrich Drepper <drepper@gmail.com>
12707
12708 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12709 dependencies.
12710
4c559bcd
MF
127112011-02-06 Mike Frysinger <vapier@gentoo.org>
12712
12713 [BZ #12653]
12714 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12715 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12716 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12717 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12718 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12719
4420675c
AS
127202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12721
12722 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12723 differing bytes.
12724 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12725 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12726 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12727
75ea32ab
UD
127282011-04-17 Ulrich Drepper <drepper@gmail.com>
12729
12730 [BZ #12420]
12731 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12732 storing it.
12733 * stdlib/bug-getcontext.c: New file.
12734 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12735
27390476
AK
127362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12737
12738 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12739 instructions into .machine "z9-109".
12740 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12741 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12742
10442705
AK
127432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12744
12745 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12746 between environment variables and auxiliary vector.
12747
7b57bfe5
UD
127482011-04-16 Ulrich Drepper <drepper@gmail.com>
12749
12750 * Makefile: Add rules to build linkobj/libc.so.
12751 * include/libc-symbols.h: Define libc_hidden_nolink.
12752 * include/rpc/auth.h: Mark functions which are to be hidden.
12753 * include/rpc/auth_des.h: Likewise.
12754 * include/rpc/auth_unix.h: Likewise.
12755 * include/rpc/clnt.h: Likewise.
12756 * include/rpc/des_crypt.h: Likewise.
12757 * include/rpc/key_prot.h: Likewise.
12758 * include/rpc/pmap_clnt.h: Likewise.
12759 * include/rpc/pmap_prot.h: Likewise.
12760 * include/rpc/pmap_rmt.h: Likewise.
12761 * include/rpc/rpc_msg.h: Likewise.
12762 * include/rpc/svc.h: Likewise.
12763 * include/rpc/svc_auth.h: Likewise.
12764 * include/rpc/xdr.h: Likewise.
12765 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12766 * nss/Makefile: Likewise.
12767 * sunrpc/Makefile: Don't install headers. Build library with normal
12768 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12769 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12770 for the compat linking library. Remove use of INTDEF/INTUSE.
12771 * sunrpc/auth_none.c: Likewise.
12772 * sunrpc/auth_unix.c: Likewise.
12773 * sunrpc/authdes_prot.c: Likewise.
12774 * sunrpc/authuxprot.c: Likewise.
12775 * sunrpc/clnt_gen.c: Likewise.
12776 * sunrpc/clnt_perr.c: Likewise.
12777 * sunrpc/clnt_raw.c: Likewise.
12778 * sunrpc/clnt_simp.c: Likewise.
12779 * sunrpc/clnt_tcp.c: Likewise.
12780 * sunrpc/clnt_udp.c: Likewise.
12781 * sunrpc/clnt_unix.c: Likewise.
12782 * sunrpc/des_crypt.c: Likewise.
12783 * sunrpc/des_soft.c: Likewise.
12784 * sunrpc/get_myaddr.c: Likewise.
12785 * sunrpc/key_call.c: Likewise.
12786 * sunrpc/key_prot.c: Likewise.
12787 * sunrpc/netname.c: Likewise.
12788 * sunrpc/pm_getmaps.c: Likewise.
12789 * sunrpc/pm_getport.c: Likewise.
12790 * sunrpc/pmap_clnt.c: Likewise.
12791 * sunrpc/pmap_prot.c: Likewise.
12792 * sunrpc/pmap_prot2.c: Likewise.
12793 * sunrpc/pmap_rmt.c: Likewise.
12794 * sunrpc/publickey.c: Likewise.
12795 * sunrpc/rpc_cmsg.c: Likewise.
12796 * sunrpc/rpc_common.c: Likewise.
12797 * sunrpc/rpc_dtable.c: Likewise.
12798 * sunrpc/rpc_prot.c: Likewise.
12799 * sunrpc/rpc_thread.c: Likewise.
12800 * sunrpc/rtime.c: Likewise.
12801 * sunrpc/svc.c: Likewise.
12802 * sunrpc/svc_auth.c: Likewise.
12803 * sunrpc/svc_authux.c: Likewise.
12804 * sunrpc/svc_raw.c: Likewise.
12805 * sunrpc/svc_run.c: Likewise.
12806 * sunrpc/svc_simple.c: Likewise.
12807 * sunrpc/svc_tcp.c: Likewise.
12808 * sunrpc/svc_udp.c: Likewise.
12809 * sunrpc/svc_unix.c: Likewise.
12810 * sunrpc/svcauth_des.c: Likewise.
12811 * sunrpc/xcrypt.c: Likewise.
12812 * sunrpc/xdr.c: Likewise.
12813 * sunrpc/xdr_array.c: Likewise.
12814 * sunrpc/xdr_float.c: Likewise.
12815 * sunrpc/xdr_intXX_t.c: Likewise.
12816 * sunrpc/xdr_mem.c: Likewise.
12817 * sunrpc/xdr_rec.c: Likewise.
12818 * sunrpc/xdr_ref.c: Likewise.
12819 * sunrpc/xdr_sizeof.c: Likewise.
12820 * sunrpc/xdr_stdio.c: Likewise.
12821
e6c61494
UD
128222011-04-10 Ulrich Drepper <drepper@gmail.com>
12823
12824 [BZ #12650]
12825 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12826 * sysdeps/ia64/dl-tls.h: Likewise.
12827 * sysdeps/powerpc/dl-tls.h: Likewise.
12828 * sysdeps/s390/dl-tls.h: Likewise.
12829 * sysdeps/sh/dl-tls.h: Likewise.
12830 * sysdeps/sparc/dl-tls.h: Likewise.
12831 * sysdeps/x86_64/dl-tls.h: Likewise.
12832 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12833
34fe483e
AS
128342011-03-14 Andreas Schwab <schwab@redhat.com>
12835
12836 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12837 rpath element also skip the following colon.
12838 (expand_dynamic_string_token): Add is_path parameter and pass
12839 down to DL_DST_REQUIRED and _dl_dst_substitute.
12840 (decompose_rpath): Call expand_dynamic_string_token with
12841 non-zero is_path. Ignore empty rpaths.
12842 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12843 with zero is_path.
12844
f12a32e6
AS
128452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12846
12847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12848 Make cancelable.
12849
38a7d692
UD
128502011-04-09 Ulrich Drepper <drepper@gmail.com>
12851
12852 [BZ #12655]
12853 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12854 Patch by Filipe David Manana <fdmanana@apache.org>.
12855
e451d22b
AS
128562011-04-07 Andreas Schwab <schwab@redhat.com>
12857
12858 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12859 Maintain aligned stack.
12860 (CHECK_RSP): Remove unused macro.
12861
dedc7c7b
UD
128622011-04-03 Ulrich Drepper <drepper@gmail.com>
12863
12864 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12865 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12866
94521213
UD
128672011-04-02 Ulrich Drepper <drepper@gmail.com>
12868
12869 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12870
8cb700c0 12871 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12872
0354e355
L
128732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 [BZ #12518]
12876 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12877 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12878 * sysdeps/x86_64/memmove.c: New file.
12879 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12880 (memcpy): Renamed to ...
12881 (__new_memcpy): This.
12882 (memcpy): Provide GLIBC_2_14 memcpy.
12883 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12884 (memcpy): Provide GLIBC_2_2_5 memcpy.
12885
8593482f
UD
128862011-04-01 Ulrich Drepper <drepper@gmail.com>
12887
12888 [BZ #12631]
12889 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12890
81a5726b
AS
128912011-03-30 Andreas Schwab <schwab@redhat.com>
12892
12893 * misc/syncfs.c: New file.
12894 * misc/Makefile (routines): Add syncfs.
12895 * posix/unistd.h: Declare syncfs.
12896 * sysdeps/unix/syscalls.list: Add syncfs.
12897
00e5419f
AS
128982011-04-01 Andreas Schwab <schwab@redhat.com>
12899
12900 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12901 open_by_handle_at.
12902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12903 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12905 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12907 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12909
748876bf
UD
129102011-04-01 Ulrich Drepper <drepper@gmail.com>
12911
658e451d
UD
12912 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12913 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12914 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12915 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12916 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12918 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12919
748876bf
UD
12920 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12921 sync_file_range.c with -fexceptions.
12922 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12923 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12924 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12925 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12926 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12927 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12928 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12929 sync_file_range as cancellation point
12930 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12931 now a wrapper around __call_sync_file_range with cancellation handling.
12932 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12933 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12934 function name to __call_sync_file_range.
12935 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12936 Add call_sync_file_range.
748876bf 12937
6e63d5e1
AS
129382011-04-01 Andreas Schwab <schwab@redhat.com>
12939
12940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12941 bits/timex.h.
6e63d5e1 12942
46998f74
UD
129432011-04-01 Ulrich Drepper <drepper@gmail.com>
12944
4c1423ed
UD
12945 * iconv/iconv.h: Fix typo in comment.
12946 * io/fcntl.h: Likewise.
12947 * libio/stdio.h: Likewise.
12948 * posix/spawn.h: Likewise.
12949 * posix/unistd.h: Likewise.
12950 * stdlib/stdlib.h: Likewise.
12951 * time/time.h: Likewise.
12952 * wcsmbs/wchar.h: Likewise.
12953
158648c0
UD
12954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12955 open_by_handle): Add.
12956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12957 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12958 Augment a few comments.
12959 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12964 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12965 open_by_handle.
12966
46998f74
UD
12967 * io/fcntl.h (AT_EMPTY_PATH): Define.
12968
83fe108b
UD
129692011-03-30 Ulrich Drepper <drepper@gmail.com>
12970
12971 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12972 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12973 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12974 to...
12975 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12976 * Versions.def: Add GLIBC_2.14.
12977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12978 Export.
83fe108b 12979
bb242059
UD
129802011-03-22 Ulrich Drepper <drepper@gmail.com>
12981
12982 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12983 round counter.
12984 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12985
c97a1282
L
129862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12987
12988 [BZ #12597]
12989 * string/test-strncmp.c (do_page_test): New function.
12990 (check2): Likewise.
12991 (test_main): Call check2.
12992 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12993
2a115601
UD
129942011-03-20 Ulrich Drepper <drepper@gmail.com>
12995
12996 [BZ #12587]
12997 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12998 Handle cache information in CPU leaf 4.
12999 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13000
8126d904
UD
130012011-03-18 Ulrich Drepper <drepper@gmail.com>
13002
042c49c6 13003 [BZ #12583]
8126d904
UD
13004 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13005 character representation.
13006 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13007
ccfe366e
RA
130082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13009
13010 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13011 END(__isnan) to END(__isnanf) to match function entry point/label
13012 EALIGN(__isnanf,...).
13013
c6e13027
JJ
130142011-03-10 Jakub Jelinek <jakub@redhat.com>
13015
13016 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13017
33f85a3f
UD
130182011-03-10 Ulrich Drepper <drepper@gmail.com>
13019
028478fa
UD
13020 [BZ #12510]
13021 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13022 copy from the symbol referenced in the relocation to initialize the
13023 used variable.
13024 Patch by Piotr Bury <pbury@goahead.com>.
13025 * elf/Makefile: Add rules to build and tst-unique3.
13026 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13027 * elf/tst-unique3.cc: New file.
13028 * elf/tst-unique3.h: New file.
13029 * elf/tst-unique3lib.cc: New file.
13030 * elf/tst-unique3lib2.cc: New file.
13031
33f85a3f
UD
13032 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13033
03592fc7
MF
130342011-03-10 Mike Frysinger <vapier@gentoo.org>
13035
13036 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13037 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13038 to _start.
03592fc7 13039
6a5ee102
UD
130402011-03-06 Ulrich Drepper <drepper@gmail.com>
13041
13042 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13043 to-be-loaded object along a path to loader is ld.so.
13044
7e4ba49c
HJ
130452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13046 Ulrich Drepper <drepper@gmail.com>
13047
13048 * sysdeps/x86_64/memset.S: After aligning destination, code
13049 branches to different locations depending on the value of
13050 misalignment, when multiarch is enabled. Fix this.
13051
130522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13053
13054 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13055 Set _x86_64_preferred_memory_instruction for AMD processsors.
13056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13057 Set bit_Prefer_SSE_for_memop for AMD processors.
13058
13a804de
UD
130592011-03-04 Ulrich Drepper <drepper@gmail.com>
13060
13061 * libio/fmemopen.c (fmemopen): Optimize a bit.
13062
9d25c392
AS
130632011-03-03 Andreas Schwab <schwab@redhat.com>
13064
13065 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13066
a5543c6a
RM
130672011-03-03 Roland McGrath <roland@redhat.com>
13068
13069 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13070
012d35f7
DM
130712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13072
7e4ba49c 13073 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13074 __bzero_ultra1 instead of __memset_ultra1.
13075
4bff6e01
AS
130762011-02-23 Andreas Schwab <schwab@redhat.com>
13077 Ulrich Drepper <drepper@gmail.com>
13078
13079 [BZ #12509]
13080 * include/link.h (struct link_map): Add l_orig_initfini.
13081 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13082 returning unsuccessfully.
13083 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13084 close of a file loaded at startup, restore the original l_initfini
13085 list.
13086 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13087 list, store the pointer.
13088 * elf/Makefile ($(objpfx)noload-mem): New rule.
13089 (noload-ENV): Define.
13090 (tests): Add $(objpfx)noload-mem.
13091 * elf/noload.c: Include <memcheck.h>.
13092 (main): Call mtrace. Close all opened handles.
13093
f2092faf
AS
130942011-02-17 Andreas Schwab <schwab@redhat.com>
13095
13096 [BZ #12454]
13097 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13098 dependencies are missing.
13099
6c8a2e88
ST
131002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13101
f2092faf 13102 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13103 Hurd needs munmap.
13104 * sysdeps/mach/hurd/ifreq.h: New file.
13105
84a42118
PB
131062011-01-27 Petr Baudis <pasky@suse.cz>
13107 Ulrich Drepper <drepper@gmail.com>
13108
071f805e 13109 [BZ 12445]#
84a42118
PB
13110 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13111 to extend_alloca().
13112 * stdio-common/bug23.c: New file.
13113 * stdio-common/Makefile (tests): Add bug23.
13114
e23fe25b
AS
131152010-09-28 Andreas Schwab <schwab@redhat.com>
13116 Ulrich Drepper <drepper@gmail.com>
13117
13118 [BZ #12489]
13119 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13120 before performing relro protection. At old place add assertion
13121 to make sure nothing changed.
13122
d3f02e10
NS
131232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13124 Glauber de Oliveira Costa <glommer@gmail.com>
13125
13126 * elf/elf.h: Add new ARM TLS relocs.
13127
d55fd7a5
RA
131282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13129
13130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13131 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13132 cast from r3.
13133 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13134 'tests' variable.
13135 * sysdeps/wordsize-64/tst-writev.c: New file.
13136
2206397e
RA
131372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13138
13139 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13140 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13141 insns in _dl_start to prevent a TOC reference before relocs are
13142 resolved.
13143
e9433893
UD
131442011-02-15 Ulrich Drepper <drepper@gmail.com>
13145
13146 [BZ #12469]
13147 * Makeconfig: Remove RANLIB definition.
13148 * Makerules: Don't use RANLIB.
13149 * aclocal.m4: Remove ranlib test.
13150 * configure.in: No need to check for ranlib.
13151 * elf/rtld-Rules: Don't use RANLIB.
13152
f75286c6
ST
131532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13154
8e31c82d
ST
13155 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13156 protection macro.
13157 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13158 inclusion protection macro.
13159
f75286c6
ST
13160 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13161 SIGRTMIN and SIGRTMAX and print information in that case only when
13162 SIGRTMIN is defined.
13163
c1d0e639
JJ
131642011-02-11 Jakub Jelinek <jakub@redhat.com>
13165
13166 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13167 arginfo fn returning -1.
13168
13169 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13170 and thousands string is zero terminated.
13171
edf9294e
AS
131722011-02-03 Andreas Schwab <schwab@redhat.com>
13173
13174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13175 sysdeps/unix/sysv/linux/bits/socket.h.
13176
2b7e92df
ST
131772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13178
edf9294e
AS
13179 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13180 (__CPU_COUNT): Remove old macros.
13181 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13182 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13183 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13184 (__sched_cpualloc, __sched_cpufree): Add declarations.
13185
a4c7ea7b
UD
131862011-02-05 Ulrich Drepper <drepper@gmail.com>
13187
13188 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13189 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13190 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13191 (readdhstai): Return value of addhstaiX call.
13192 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13193 (addgrbyX): Return value returned by cache_addgr.
13194 (readdgrbyname): Return value returned by addgrbyX.
13195 (readdgrbygid): Likewise.
13196 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13197 (addpwbyX): Return value returned by cache_addpw.
13198 (readdpwbyname): Return value returned by addhstbyX.
13199 (readdpwbyuid): Likewise.
13200 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13201 (addservbyX): Return value returned by cache_addserv.
13202 (readdservbyname): Return value returned by addservbyX:
13203 (readdservbyport): Likewise.
13204 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13205 (addhstbyX): Return value returned by cache_addhst.
13206 (readdhstbyname): Return value returned by addhstbyX.
13207 (readdhstbyaddr): Likewise.
13208 (readdhstbynamev6): Likewise.
13209 (readdhstbyaddrv6): Likewise.
13210 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13211 (readdinitgroups): Return value returned by addinitgroupsX.
13212 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13213 (prune_cache): Keep track of timeout value of re-added entries.
13214 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13215 * nscd/nscd.h: Adjust prototypes of readd* functions.
13216
a0bf67cc
RM
132172011-02-04 Roland McGrath <roland@redhat.com>
13218
13219 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13220 (nis_stats): Likewise.
13221 * nis/nis_modify.c (nis_modify): Likewise.
13222 * nis/nis_remove.c (nis_remove): Likewise.
13223 * nis/nis_add.c (nis_add): Likewise.
13224
13225 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13226
13227 * posix/fnmatch_loop.c: Add some consts.
13228
13229 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13230
435b95eb
L
132312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13232
13233 [BZ #12460]
13234 * config.make.in (config-cflags-novzeroupper): Define.
13235 * configure.in: Substitute libc_cv_cc_novzeroupper.
13236 * elf/Makefile (AVX-CFLAGS): Define.
13237 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13238 (CFLAGS-tst-auditmod4a.c): Likewise.
13239 (CFLAGS-tst-auditmod4b.c): Likewise.
13240 (CFLAGS-tst-auditmod6b.c): Likewise.
13241 (CFLAGS-tst-auditmod6c.c): Likewise.
13242 (CFLAGS-tst-auditmod7b.c): Likewise.
13243 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13244
8517b15e
UD
132452011-02-02 Ulrich Drepper <drepper@gmail.com>
13246
13247 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13248 function to the callback.
13249 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13250
10a656fe
AS
132512011-02-02 Andreas Schwab <schwab@redhat.com>
13252
13253 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13254 of errno.
13255
968dad0a
UD
132562011-01-19 Ulrich Drepper <drepper@gmail.com>
13257
9f94d2ea 13258 [BZ #11724]
968dad0a
UD
13259 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13260 of constructors.
13261 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13262 of destructors.
13263 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13264
13265 [BZ #11724]
13266 * elf/Makefile: Add rules to build and run new test.
13267 * elf/tst-initorder.c: New file.
13268 * elf/tst-initorder.exp: New file.
13269 * elf/tst-initordera1.c: New file.
13270 * elf/tst-initordera2.c: New file.
13271 * elf/tst-initordera3.c: New file.
13272 * elf/tst-initordera4.c: New file.
13273 * elf/tst-initorderb1.c: New file.
13274 * elf/tst-initorderb2.c: New file.
13275 * elf/tst-order-a1.c: New file.
13276 * elf/tst-order-a2.c: New file.
13277 * elf/tst-order-a3.c: New file.
13278 * elf/tst-order-a4.c: New file.
13279 * elf/tst-order-b1.c: New file.
13280 * elf/tst-order-b2.c: New file.
13281 * elf/tst-order-main.c: New file.
13282 New test case by George Gensure <werkt0@gmail.com>.
13283
86e92359
UD
132842010-10-01 Andreas Schwab <schwab@redhat.com>
13285
13286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13287 decoding ACE if AI_CANONIDN.
13288
5d5732b0
UD
132892011-01-18 Ulrich Drepper <drepper@gmail.com>
13290
13291 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13292
a77e8cbc
UD
132932011-01-17 Ulrich Drepper <drepper@gmail.com>
13294
6392473f
UD
13295 * version.h (RELEASE): Bump for 2.13 release.
13296 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13297
620a0529
UD
13298 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13299
18ba70a5
UD
13300 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13301 MADV_NOHUGEPAGE.
32465c3e
UD
13302 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13304 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13305 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13306 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13308
c0dafcf1
UD
13309 * posix/getconf.c: Update copyright year.
13310 * catgets/gencat.c: Likewise.
13311 * csu/version.c: Likewise.
13312 * debug/catchsegv.sh: Likewise.
13313 * debug/xtrace.sh: Likewise.
13314 * elf/ldconfig.c: Likewise.
13315 * elf/ldd.bash.in: Likewise.
13316 * elf/sprof.c (print_version): Likewise.
13317 * iconv/iconv_prog.c: Likewise.
13318 * iconv/iconvconfig.c: Likewise.
13319 * locale/programs/locale.c: Likewise.
13320 * locale/programs/localedef.c: Likewise.
13321 * malloc/memusage.sh: Likewise.
13322 * malloc/mtrace.pl: Likewise.
13323 * nscd/nscd.c (print_version): Likewise.
13324 * nss/getent.c: Likewise.
13325
a77e8cbc
UD
13326 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13327 PF_CAIF, and PF_ALG.
13328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13329
77e8bddf
AS
133302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13331
1f20b93a
AS
13332 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13333 (modules-names): Use them.
13334 (ifunc-test-modules, ifunc-pie-tests): Define.
13335 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13336 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13337 (test-extras): Likewise.
13338 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13339 $(compile-command.c).
13340 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13341 (all-built-dso): Define.
13342 (check-textrel.out, check-execstack.out): Depend on it.
13343
77e8bddf
AS
13344 * configure.in: Don't override --enable-multi-arch.
13345
bc425b33
UD
133462011-01-15 Ulrich Drepper <drepper@gmail.com>
13347
13348 [BZ #6812]
13349 * nscd/hstcache.c (tryagain): Define.
13350 (cache_addhst): Return tryagain not notfound for temporary errors.
13351 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13352 failed.
13353
794c3ad3
UD
133542011-01-14 Ulrich Drepper <drepper@gmail.com>
13355
70181fdd
UD
13356 [BZ #10563]
13357 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13358 to make the syscall.
13359 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13360
794c3ad3
UD
13361 [BZ #12378]
13362 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13363 and fall back to matching as normal character if the string ends before
13364 the matching ']' is found. This is what POSIX requires.
13365 * posix/testfnm.c: Adjust test result.
13366 * posix/globtest.sh: Adjust test result. Add new test.
13367 * posix/tst-fnmatch.input: Likewise.
13368 * posix/tst-fnmatch2.c: Add new test.
13369
68dc9497
AS
133702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13371
13372 * elf/Makefile (check-execstack): Revert last change. Depend on
13373 check-execstack.h.
13374 (check-execstack.h): New target.
13375 (generated): Add check-execstack.h.
13376 * elf/check-execstack.c: Include "check-execstack.h".
13377 (main): Revert last change.
13378 (handle_file): Return zero if GNU_STACK is absent and
13379 DEFAULT_STACK_PERMS doesn't include PF_X.
13380
451f001b
UD
133812011-01-13 Ulrich Drepper <drepper@gmail.com>
13382
cfa28e56
UD
13383 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13384 in child fails because the descriptor is already closed.
8cf8ce17
UD
13385 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13386 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13387 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 13388
1086d70d
UD
13389 [BZ #12397]
13390 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13391 syscall.
13392
451f001b
UD
13393 [BZ #10484]
13394 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13395 temporary buffer used to handle multi lookups locally.
a85b5cb4 13396 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 13397
08769175
UD
133982011-01-12 Ulrich Drepper <drepper@gmail.com>
13399
13400 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13401 loader is ld.so.
13402
5e49c52e
UD
134032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13404
13405 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13406 alignment for SSE2.
13407
60522a5f
UD
134082011-01-12 Ulrich Drepper <drepper@gmail.com>
13409
13410 [BZ #12394]
13411 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13412 characters. When rounding increased number of integer digits recompute
13413 number of groups.
13414 * stdio-common/tst-grouping.c: New file.
13415 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13416
f257bbd7
UD
134172011-01-09 Ulrich Drepper <drepper@gmail.com>
13418
13419 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13420 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13421
13422 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13423 void.
13424 * bits/select.h: Likewise.
13425
fa9c15cb
UD
134262011-01-08 Ulrich Drepper <drepper@gmail.com>
13427
13428 * po/ja.po: Update from translation team.
13429
16c2895f
DM
134302011-01-04 David S. Miller <davem@sunset.davemloft.net>
13431
13432 [BZ #11155]
13433 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13434 implementation just like for lxstat, fxstatat, et al.
13435
2543fef2
JM
134362010-12-27 Jim Meyering <meyering@redhat.com>
13437
13438 [BZ #12348]
13439 * posix/regexec.c (build_trtable): Return failure indication upon
13440 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13441
98727dbe
UD
134422010-12-25 Ulrich Drepper <drepper@gmail.com>
13443
5bd6dc5c
UD
13444 [BZ #12201]
13445 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13446 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13447 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13448 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13449
97983464
UD
13450 [BZ #12207]
13451 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13452
98727dbe
UD
13453 [BZ #12204]
13454 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13455 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13456
4a531bb0
L
134572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13458
13459 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13460 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13461 script has SORT_BY_INIT_PRIORITY.
13462 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13463 NO_CTORS_DTORS_SECTIONS is defined.
13464 * elf/soinit.c: Likewise.
13465 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13466 NO_CTORS_DTORS_SECTIONS is defined.
13467 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13468 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13469 * sysdeps/sh/init-first.c: Likewise.
13470 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13471
07eb4b71
UD
134722010-12-24 Ulrich Drepper <drepper@gmail.com>
13473
13474 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13475 always use the slow path.
13476
30950a5f
RA
134772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13478
13479 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13480 similar rule which adds the sysdep directories to the header search in
13481 order to pick up the correct platform stackinfo.h.
13482 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13483 perform test if it is, otherwise return successfully without testing.
13484 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13485 DEFAULT_STACK_PERMS define in stackinfo.h.
13486 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13487 defined in stackinfo.h.
13488 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13489 DEFAULT_STACK_PERMS defined in stackinfo.h.
13490 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13491 * sysdeps/ia64/stackinfo.h: Likewise.
13492 * sysdeps/s390/stackinfo.h: Likewise.
13493 * sysdeps/sh/stackinfo.h: Likewise.
13494 * sysdeps/sparc/stackinfo.h: Likewise.
13495 * sysdeps/x86_64/stackinfo.h: Likewise.
13496 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13497 PF_X for powerpc64. Retain PF_X for powerpc32.
13498
db753e2c
UD
134992010-12-19 Ulrich Drepper <drepper@gmail.com>
13500
14b697f7
UD
13501 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13502 accurately.
db753e2c
UD
13503 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13504 GETDENTS_64BIT_ALIGNED.
13505
28300719
UD
135062010-12-14 Ulrich Drepper <dreper@gmail.com>
13507
14b697f7 13508 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 13509
4f197237
AS
135102010-12-10 Andreas Schwab <schwab@redhat.com>
13511
dbb0472f
AS
13512 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13513 _GNU_SOURCE.
13514
4f197237
AS
13515 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13516 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13517 Remove __restrict.
13518 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13519 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13520
fb88ac72
UD
135212010-12-09 Ulrich Drepper <drepper@gmail.com>
13522
13523 [BZ #11655]
13524 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13525 are initialized.
13526
42acbb92
JJ
135272010-12-09 Jakub Jelinek <jakub@redhat.com>
13528
13529 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13530
c038d98d
UD
135312010-12-03 Ulrich Drepper <drepper@gmail.com>
13532
13533 * po/it.po: Update from translation team.
13534
3a4a2499
L
135352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13536
13537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13538 unused codes.
13539
1e24cf6e
UD
135402010-11-30 Ulrich Drepper <drepper@gmail.com>
13541
13542 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13543
a7690819
AS
135442010-11-24 Andreas Schwab <schwab@redhat.com>
13545
13546 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13547 specially.
13548 (gaih_getanswer_slice): Likewise.
13549
3bf8d1b1
JJ
135502010-10-20 Jakub Jelinek <jakub@redhat.com>
13551
13552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13553
6db52fbb
PB
135542010-05-31 Petr Baudis <pasky@suse.cz>
13555
13556 [BZ #11149]
13557 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13558 silently even in the chroot mode.
13559
eaca7569
UD
135602010-11-22 Ulrich Drepper <drepper@gmail.com>
13561
13562 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13563 last patch a bit. Pretty printing
13564
3056dcdb
UD
135652010-05-31 Petr Baudis <pasky@suse.cz>
13566
13567 [BZ #10085]
13568 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13569 initialization of skip_initgroups_dyn.
13570
cf7c9078
UD
135712010-11-19 Ulrich Drepper <drepper@gmail.com>
13572
13573 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13574 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13575
a1fb5e3e
UD
135762010-11-16 Ulrich Drepper <drepper@gmail.com>
13577
13578 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13579
3540d66b
AS
135802010-11-11 Andreas Schwab <schwab@redhat.com>
13581
13582 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13583 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13584 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13585 ($(objpfx)tst-fnmatch-mem): New rule.
13586 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13587 * posix/tst-fnmatch.c (main): Call mtrace.
13588
13b69574
L
135892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13590
13591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13592 Support Intel processor model 6 and model 0x2c.
13593
da93d214
LM
135942010-11-10 Luis Machado <luisgpm@br.ibm.com>
13595
13596 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13597 signed comparison.
13598
8ca52c6e
L
135992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13600
13601 [BZ #12205]
13602 * string/test-strncasecmp.c (check_result): New function.
13603 (do_one_test): Use it.
13604 (check1): New function.
13605 (test_main): Use it.
13606 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13607 Support strcasecmp and strncasecmp.
13608
69da074d
UD
136092010-11-08 Ulrich Drepper <drepper@gmail.com>
13610
13611 [BZ #12194]
13612 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13613 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13614
ff02d528
L
136152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13616
13617 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13618 IFUNC support.
13619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13620 memset-x86-64.
13621 * sysdeps/x86_64/multiarch/bzero.S: New file.
13622 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13623 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13624 * sysdeps/x86_64/multiarch/memset.S: New file.
13625 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13627 Set bit_Prefer_SSE_for_memop for Intel processors.
13628 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13629 Define.
13630 (index_Prefer_SSE_for_memop): Define.
13631 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13632
344d0b54
LM
136332010-11-04 Luis Machado <luisgpm@br.ibm.com>
13634
13635 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13636 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13637
c0dde15b
UD
136382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13639
13640 [BZ #12191]
13641 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13642 (__x86_64_raw_data_cache_size_half): Likewise.
13643 (__x86_64_raw_shared_cache_size): Likewise.
13644 (__x86_64_raw_shared_cache_size_half): Likewise.
13645
13646 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13647 (__x86_64_raw_data_cache_size_half): Likewise.
13648 (__x86_64_raw_shared_cache_size): Likewise.
13649 (__x86_64_raw_shared_cache_size_half): Likewise.
13650 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13651 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13652 and __x86_64_raw_shared_cache_size_half. Round
13653 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13654 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13655 to multiple of 256 bytes.
13656
0e516e0e
MS
136572010-11-03 Ulrich Drepper <drepper@gmail.com>
13658
13659 [BZ #12167]
13660 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13661 of inacessible symlinks. Verify result of symlink before returning it.
13662 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13663 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13664
0e012e87
ER
136652010-10-28 Erich Ritz <erichritz@gmail.com>
13666
13667 * math/math.h (isinf): Fix typo in comment.
13668
de0ff7bc
UD
136692010-11-01 Ulrich Drepper <drepper@gmail.com>
13670
13671 * po/da.po: Update from translation team.
13672
fa41c84d
UD
136732010-10-26 Ulrich Drepper <drepper@gmail.com>
13674
13675 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13676 is added to the list.
13677
f0967738
AK
136782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13679 Ulrich Drepper <drepper@gmail.com>
13680
13681 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13682 the global list here. Move code to...
13683 (_dl_add_to_namespace_list): ...here. New function.
13684 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13685 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13686 * elf/dl-load.c (lose): Don't remove the element from the list.
13687 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13688 (_dl_map_object): Likewise.
13689
136902010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13691
13692 [BZ #12159]
13693 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13694 into all bytes of SSE register.
13695 Patch by Richard Li <richardpku@gmail.com>.
13696
f0967738 136972010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13698
13699 [BZ #12140]
13700 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13701 perturbing.
13702
d0b9e94f
MB
137032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13704
13705 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13706 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13707 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13708 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13710 submachine.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13712
8e9f92e9
AS
137132010-10-22 Andreas Schwab <schwab@redhat.com>
13714
13715 * include/dlfcn.h (__RTLD_SECURE): Define.
13716 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13717 mode & __RTLD_SECURE instead.
13718 (open_path): Rename preloaded parameter to secure.
13719 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13720 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13721 * elf/dl-deps.c (openaux): Likewise.
13722 * elf/rtld.c (struct map_args): Remove is_preloaded.
13723 (map_doit): Don't use it.
13724 (dl_main): Likewise.
13725 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13726 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13727
bc96fbda
AS
137282010-09-09 Andreas Schwab <schwab@redhat.com>
13729
13730 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13731 (sysd-rules-targets): Remove duplicates.
13732 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13733 rtld-%.$o dependency.
13734
22cd1c9b
AS
137352010-10-18 Andreas Schwab <schwab@redhat.com>
13736
13737 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13738 _dl_map_object do it.
13739
18edac48
UD
137402010-10-19 Ulrich Drepper <drepper@gmail.com>
13741
13742 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13743 fast fma builtins, define the macros in the C99 standard.
13744 (FP_FAST_FMAF): Likewise.
13745 (FP_FAST_FMAL): Likewise.
13746 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13747
13748 * bits/mathdef.h: Update copyright year.
13749 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13750
d2050124
MM
137512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13752
13753 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13754 builtins, define the macros in the C99 standard.
13755 (FP_FAST_FMAF): Likewise.
13756 (FP_FAST_FMAL): Likewise.
13757 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13758 multiply/add.
13759 (FP_FAST_FMAF): Likewise.
13760
475facd1
JJ
137612010-10-15 Jakub Jelinek <jakub@redhat.com>
13762
13763 [BZ #3268]
13764 * math/libm-test.inc (fma_test): Some new testcases.
13765 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13766 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13767 y and infinite z. Do multiplication by C already in long double.
13768 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13770 y and infinite z. Do bitwise or of inexact bit into u.d.
13771 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13772 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13773 * sysdeps/i386/fpu/s_fma.S: Removed.
13774 * sysdeps/i386/fpu/s_fmal.S: Removed.
13775
7c08a05c
JJ
137762010-10-16 Jakub Jelinek <jakub@redhat.com>
13777
13778 [BZ #3268]
13779 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13781 computation is not scheduled after fetestexcept. Fix value
13782 of minimum denormal long double.
13783
f3f7372d
JJ
137842010-10-14 Jakub Jelinek <jakub@redhat.com>
13785
13786 [BZ #3268]
13787 * math/libm-test.inc (fma_test): Add some more tests.
13788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13789 correctly.
13790
14d43591
AS
137912010-10-15 Andreas Schwab <schwab@redhat.com>
13792
13793 * scripts/data/localplt-s390-linux-gnu.data: New file.
13794 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13795
5e908464
JJ
137962010-10-13 Jakub Jelinek <jakub@redhat.com>
13797
13798 [BZ #3268]
13799 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13800 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13801 instead of dbl-64.
13802 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13803 inlines.
13804 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13806 if one of x and y is very large and the other is subnormal.
13807 * sysdeps/s390/fpu/s_fmaf.c: New file.
13808 * sysdeps/s390/fpu/s_fma.c: New file.
13809 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13810 * sysdeps/powerpc/fpu/s_fma.S: New file.
13811 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13812 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13813 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13814
138152010-10-12 Jakub Jelinek <jakub@redhat.com>
13816
13817 [BZ #3268]
13818 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13819 fma tests.
13820 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13821 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13822 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13823 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13824 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13825 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13827
b833d51f
UD
138282010-10-12 Ulrich Drepper <drepper@redhat.com>
13829
13830 [BZ #12078]
13831 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13832 * posix/bug-regex31.input: Add test case.
13833
1751705d
UD
138342010-10-11 Ulrich Drepper <drepper@gmail.com>
13835
e9b9cbf5
UD
13836 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13837 * posix/bug-regex31.input: New file.
13838
13839 [BZ #12078]
13840 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13841 (parse_sub_exp): Fix last change, use postorder.
13842
ef06edbe
UD
13843 * posix/bug-regex31.c: New file.
13844 * posix/Makefile: Add rules to build and run bug-regex31.
13845
a129c80d
UD
13846 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13847
13848 [BZ #12078]
13849 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13850
b76b818e
UD
13851 [BZ #12108]
13852 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13853 to have entries in sys_siglist.
13854
1751705d
UD
13855 [BZ #12093]
13856 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13857 be NULL.
13858
9ff8d36f
JJ
138592010-10-07 Jakub Jelinek <jakub@redhat.com>
13860
13861 [BZ #3268]
13862 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13863 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13864 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13865 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13866 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13867 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13868 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13869 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13870 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13871 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13872 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13873 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13874 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13875 * math/ftestexcept.c (fetestexcept): Likewise.
13876 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13877 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13878 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13879 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13880 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13881 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13882 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13883
af325969
UD
138842010-10-11 Ulrich Drepper <drepper@gmail.com>
13885
c579b202 13886 [BZ #12107]
af325969
UD
13887 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13888 newline.
13889
67a67b95
UD
138902010-10-06 Ulrich Drepper <drepper@gmail.com>
13891
13892 * string/bug-strstr1.c: New file.
13893 * string/Makefile: Add rules to build and run bug-strstr1.
13894
5fb308bc
EB
138952010-10-05 Eric Blake <eblake@redhat.com>
13896
13897 [BZ #12092]
13898 * string/str-two-way.h (two_way_long_needle): Always clear memory
13899 when skipping input due to the shift table.
13900
45db99c7
UD
139012010-10-03 Ulrich Drepper <drepper@gmail.com>
13902
3b111893
UD
13903 [BZ #12005]
13904 * malloc/mcheck.c: Handle large requests.
13905
45db99c7
UD
13906 [BZ #12077]
13907 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13908 for strncmp and strncasecmp.
13909 * string/stratcliff.c: Add tests for strcmp and strncmp.
13910 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13911
cf7a1eb8
NI
139122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13913
13914 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13915 __set_fpscr.
13916
6484ba5e
AJ
139172010-09-30 Andreas Jaeger <aj@suse.de>
13918
13919 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13920 (CGROUP_SUPER_MAGIC): Define.
13921 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13922 Handle btrfs and cgroup file systems.
13923 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13924 Likewise.
13925
91c42559
LM
139262010-09-27 Luis Machado <luisgpm@br.ibm.com>
13927
13928 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13929 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13930
87a97932
AK
139312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13932
13933 [BZ #12067]
13934 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13935 trying to locate the ELF header.
13936
c21cc9bc
AS
139372010-09-27 Andreas Schwab <schwab@redhat.com>
13938
13939 [BZ #11611]
13940 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13941 Mask out sign-bit copies when constructing f_fsid.
13942
315970f6
PB
139432010-09-24 Petr Baudis <pasky@suse.cz>
13944
13945 * debug/stack_chk_fail_local.c: Add missing licence exception.
13946 * debug/warning-nop.c: Likewise.
13947
1ac7a2c7
JM
139482010-09-15 Joseph Myers <joseph@codesourcery.com>
13949
13950 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13951 implementing getdents64 using getdents syscall, set d_type if
13952 __ASSUME_GETDENTS32_D_TYPE.
13953
56801c50
AS
139542010-09-16 Andreas Schwab <schwab@redhat.com>
13955
13956 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13957 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13958
dda51327
UD
139592010-09-21 Ulrich Drepper <drepper@redhat.com>
13960
13961 [BZ #12037]
13962 * posix/unistd.h: Undo change of feature selection for ftruncate from
13963 2010-01-11.
13964
8ffcee4a
UD
139652010-09-20 Ulrich Drepper <drepper@redhat.com>
13966
a545ecd9 13967 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13968 detection.
13969
e24f0a8b
AS
139702010-09-20 Andreas Schwab <schwab@redhat.com>
13971
13972 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13973 fanotify_mark.
13974 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13975
7291c56f
AS
139762010-09-14 Andreas Schwab <schwab@redhat.com>
13977
13978 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13979 variables after CHECK_SP call.
13980 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13981
bc5fb037
AS
139822010-09-13 Andreas Schwab <schwab@redhat.com>
13983 Ulrich Drepper <drepper@redhat.com>
13984
13985 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13986 re-relocationg ld.so.
13987 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13988 _dl_init_paths call.
13989 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13990 here anymore.
13991
e66e7419
UD
139922010-09-14 Ulrich Drepper <drepper@redhat.com>
13993
13994 * resolv/res_init.c (__res_vinit): Count the default server we added.
13995
c044aa75
CLT
139962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13997 Ulrich Drepper <drepper@redhat.com>
13998
13999 [BZ #11968]
14000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14001 (____longjmp_chk): Use %ebx for saving value across system call.
14002 Add unwind info.
14003
32cf4069
AS
140042010-09-06 Andreas Schwab <schwab@redhat.com>
14005
14006 * manual/Makefile: Don't mix pattern rules with normal rules.
14007
817328ee
AS
140082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14009
14010 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14011 operation.
14012 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14013 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14014 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14015 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14017 Likewise.
14018
29fddf61
UD
140192010-09-04 Ulrich Drepper <drepper@redhat.com>
14020
14021 [BZ #11979]
14022 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14023 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14024
0959ffc9
UD
140252010-09-02 Ulrich Drepper <drepper@redhat.com>
14026
14027 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14028 * sysdeps/x86_64/addmul_1.S: Likewise.
14029 * sysdeps/x86_64/lshift.S: Likewise.
14030 * sysdeps/x86_64/mul_1.S: Likewise.
14031 * sysdeps/x86_64/rshift.S: Likewise.
14032 * sysdeps/x86_64/sub_n.S: Likewise.
14033 * sysdeps/x86_64/submul_1.S: Likewise.
14034
ece29840
ST
140352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14036
0959ffc9
UD
14037 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14038 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14039 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14040 * bits/sched.h [__need_schedparam]
ece29840 14041 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14042 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14043 (__defined_schedparam): Define to 1.
ece29840
ST
14044 (__sched_param): New structure, identical to sched_param.
14045 (__need_schedparam): Undefine.
14046
e53a31fe
MF
140472010-08-31 Mike Frysinger <vapier@gentoo.org>
14048
fdc0c10d
MF
14049 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14050 (epoll_create1): Declare.
14051
e53a31fe
MF
14052 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14053
a726d796
AS
140542010-08-31 Andreas Schwab <schwab@redhat.com>
14055
14056 [BZ #7066]
14057 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14058 shifting retval into place.
14059
2f3e3dc7
UD
140602010-09-01 Ulrich Drepper <drepper@redhat.com>
14061
f2933da9
UD
14062 * nis/rpcsvc/nis.h: Update copyright notice.
14063 * nis/rpcsvc/nis.x: Likewise.
14064 * nis/rpcsvc/nis_callback.h: Likewise.
14065 * nis/rpcsvc/nis_callback.x: Likewise.
14066 * nis/rpcsvc/nis_object.x: Likewise.
14067 * nis/rpcsvc/nis_tags.h: Likewise.
14068 * nis/rpcsvc/yp.h: Likewise.
14069 * nis/rpcsvc/yp.x: Likewise.
14070 * nis/rpcsvc/ypupd.h: Likewise.
14071 * nis/yp_xdr.c: Likewise.
14072 * nis/ypupdate_xdr.c: Likewise.
14073
2f3e3dc7
UD
14074 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14075 mainly the body of pmap_getport. Add parameters to specify timeouts.
14076 (pmap_getport): Use __libc_rpc_getport.
14077 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14078 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14079 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14080
f3dcc2f9
AS
140812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14082
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14084 fanotify_mark.
14085
6d34eb5b
RM
140862010-08-27 Roland McGrath <roland@redhat.com>
14087
14088 * sysdeps/i386/i686/multiarch/Makefile
14089 (CFLAGS-varshift.c): New variable.
14090
9ea3de11
UD
140912010-08-27 Ulrich Drepper <drepper@redhat.com>
14092
c96d23fc
UD
14093 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14094 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14095
9ea3de11
UD
14096 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14097
14098 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14099
623aac7f
L
141002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14101
14102 * sysdeps/x86_64/strlen.S: Unroll the loop.
14103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14104 strlen-sse2 strlen-sse2-bsf.
14105 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14106 __strlen_no_bsf if bit_Slow_BSF is set.
14107 (__strlen_sse42): Removed.
14108 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14109 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14110
8b2b7715
RM
141112010-08-25 Roland McGrath <roland@redhat.com>
14112
14113 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14114 * sysdeps/x86_64/multiarch/varshift.c: New file.
14115 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14116 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14117 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14118 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14119
e73015f2
L
141202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14121
14122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14123 strlen-sse2 strlen-sse2-bsf.
14124 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14125 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14126 (__strlen_sse2): Removed.
14127 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14128 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14130 bit_Slow_BSF for Atom.
14131 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14132 (index_Slow_BSF): Define.
14133 (HAS_SLOW_BSF): Define.
14134
df24a73e
UD
141352010-08-25 Ulrich Drepper <drepper@redhat.com>
14136
14137 [BZ #10851]
14138 * resolv/res_init.c (__res_vinit): When no server address at all
14139 is given default to loopback.
14140
f2ac4868
RM
141412010-08-24 Roland McGrath <roland@redhat.com>
14142
09055553
RM
14143 * configure.in: Remove config-name.h generation.
14144 * configure: Regenerated.
14145 * config-name.in: File removed.
14146 * scripts/config-uname.sh: New file.
14147 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14148 ($(objdir)config-name.h): New target.
14149
f2ac4868
RM
14150 * sunrpc/rpc_parse.h: Avoid nested comment.
14151
73f27d5e
RH
141522010-08-24 Richard Henderson <rth@redhat.com>
14153 Ulrich Drepper <drepper@redhat.com>
14154 H.J. Lu <hongjiu.lu@intel.com>
14155
14156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14158 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14159 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14160 _mm_alignr_epi8 with _mm_loadu_si128.
14161 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14162 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14163 (__m128i_shift_right): Removed.
14164 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14165 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14166 * sysdeps/x86_64/multiarch/varshift.h: New file.
14167 * sysdeps/x86_64/multiarch/varshift.S: New file.
14168
84b9230c
MF
141692010-08-21 Mike Frysinger <vapier@gentoo.org>
14170
14171 * configure.in: Move assembler checks to before sysdep dir checking.
14172
9bbd0ddc
PB
141732010-08-20 Petr Baudis <pasky@suse.cz>
14174
14175 * LICENSES: Sync the sunrpc license.
14176
9da4bb31
UD
141772010-08-19 Ulrich Drepper <drepper@redhat.com>
14178
a7ab6ec8
UD
14179 * sunrpc/auth_des.c: Update copyright notice once again.
14180 * sunrpc/auth_none.c: Likewise.
14181 * sunrpc/auth_unix.c: Likewise.
14182 * sunrpc/authdes_prot.c: Likewise.
14183 * sunrpc/authuxprot.c: Likewise.
14184 * sunrpc/bindrsvprt.c: Likewise.
14185 * sunrpc/clnt_gen.c: Likewise.
14186 * sunrpc/clnt_perr.c: Likewise.
14187 * sunrpc/clnt_raw.c: Likewise.
14188 * sunrpc/clnt_simp.c: Likewise.
14189 * sunrpc/clnt_tcp.c: Likewise.
14190 * sunrpc/clnt_udp.c: Likewise.
14191 * sunrpc/clnt_unix.c: Likewise.
14192 * sunrpc/des_crypt.c: Likewise.
14193 * sunrpc/des_soft.c: Likewise.
14194 * sunrpc/get_myaddr.c: Likewise.
14195 * sunrpc/getrpcport.c: Likewise.
14196 * sunrpc/key_call.c: Likewise.
14197 * sunrpc/key_prot.c: Likewise.
14198 * sunrpc/openchild.c: Likewise.
14199 * sunrpc/pm_getmaps.c: Likewise.
14200 * sunrpc/pm_getport.c: Likewise.
14201 * sunrpc/pmap_clnt.c: Likewise.
14202 * sunrpc/pmap_prot.c: Likewise.
14203 * sunrpc/pmap_prot2.c: Likewise.
14204 * sunrpc/pmap_rmt.c: Likewise.
14205 * sunrpc/rpc/auth.h: Likewise.
14206 * sunrpc/rpc/auth_unix.h: Likewise.
14207 * sunrpc/rpc/clnt.h: Likewise.
14208 * sunrpc/rpc/des_crypt.h: Likewise.
14209 * sunrpc/rpc/key_prot.h: Likewise.
14210 * sunrpc/rpc/netdb.h: Likewise.
14211 * sunrpc/rpc/pmap_clnt.h: Likewise.
14212 * sunrpc/rpc/pmap_prot.h: Likewise.
14213 * sunrpc/rpc/pmap_rmt.h: Likewise.
14214 * sunrpc/rpc/rpc.h: Likewise.
14215 * sunrpc/rpc/rpc_des.h: Likewise.
14216 * sunrpc/rpc/rpc_msg.h: Likewise.
14217 * sunrpc/rpc/svc.h: Likewise.
14218 * sunrpc/rpc/svc_auth.h: Likewise.
14219 * sunrpc/rpc/types.h: Likewise.
14220 * sunrpc/rpc/xdr.h: Likewise.
14221 * sunrpc/rpc_clntout.c: Likewise.
14222 * sunrpc/rpc_cmsg.c: Likewise.
14223 * sunrpc/rpc_common.c: Likewise.
14224 * sunrpc/rpc_cout.c: Likewise.
14225 * sunrpc/rpc_dtable.c: Likewise.
14226 * sunrpc/rpc_hout.c: Likewise.
14227 * sunrpc/rpc_main.c: Likewise.
14228 * sunrpc/rpc_parse.c: Likewise.
14229 * sunrpc/rpc_parse.h: Likewise.
14230 * sunrpc/rpc_prot.c: Likewise.
14231 * sunrpc/rpc_sample.c: Likewise.
14232 * sunrpc/rpc_scan.c: Likewise.
14233 * sunrpc/rpc_scan.h: Likewise.
14234 * sunrpc/rpc_svcout.c: Likewise.
14235 * sunrpc/rpc_tblout.c: Likewise.
14236 * sunrpc/rpc_util.c: Likewise.
14237 * sunrpc/rpc_util.h: Likewise.
14238 * sunrpc/rpcinfo.c: Likewise.
14239 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14240 * sunrpc/rpcsvc/key_prot.x: Likewise.
14241 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14242 * sunrpc/rpcsvc/mount.x: Likewise.
14243 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14244 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14245 * sunrpc/rpcsvc/rex.x: Likewise.
14246 * sunrpc/rpcsvc/rstat.x: Likewise.
14247 * sunrpc/rpcsvc/rusers.x: Likewise.
14248 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14249 * sunrpc/rpcsvc/spray.x: Likewise.
14250 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14251 * sunrpc/rtime.c: Likewise.
14252 * sunrpc/svc.c: Likewise.
14253 * sunrpc/svc_auth.c: Likewise.
14254 * sunrpc/svc_authux.c: Likewise.
14255 * sunrpc/svc_raw.c: Likewise.
14256 * sunrpc/svc_run.c: Likewise.
14257 * sunrpc/svc_simple.c: Likewise.
14258 * sunrpc/svc_tcp.c: Likewise.
14259 * sunrpc/svc_udp.c: Likewise.
14260 * sunrpc/svc_unix.c: Likewise.
14261 * sunrpc/svcauth_des.c: Likewise.
14262 * sunrpc/xcrypt.c: Likewise.
14263 * sunrpc/xdr.c: Likewise.
14264 * sunrpc/xdr_array.c: Likewise.
14265 * sunrpc/xdr_float.c: Likewise.
14266 * sunrpc/xdr_mem.c: Likewise.
14267 * sunrpc/xdr_rec.c: Likewise.
14268 * sunrpc/xdr_ref.c: Likewise.
14269 * sunrpc/xdr_sizeof.c: Likewise.
14270 * sunrpc/xdr_stdio.c: Likewise.
14271
9da4bb31
UD
14272 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14273 handling.
14274
bdaa77bc
AS
142752010-08-19 Andreas Schwab <schwab@redhat.com>
14276
14277 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14278
fe2f79db
LM
142792010-08-19 Luis Machado <luisgpm@br.ibm.com>
14280
14281 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14282 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14283 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14284 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14285 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14286 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14287 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14288 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14289 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14290 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14291 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14292 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14293 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14294 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14295
b9b42ee0
AB
142962010-07-26 Anton Blanchard <anton@samba.org>
14297
14298 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14299 * malloc/arena.c (heap_trim): Likewise.
14300
1c06ba31
UD
143012010-08-16 Ulrich Drepper <drepper@redhat.com>
14302
14303 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14304 here. Not...
14305 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14306 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14307
f8392f40
L
143082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14309
14310 * sysdeps/i386/elf/Makefile: New file.
14311
3162f12e
AS
143122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14313
14314 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14315 from fanotify_init.
14316 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14318
28c90b2c
UD
143192010-08-15 Ulrich Drepper <drepper@redhat.com>
14320
14321 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14322 of strncasecmp_l.
1feccb6c 14323 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 14324
ca6bb004
UD
143252010-08-14 Ulrich Drepper <drepper@redhat.com>
14326
e9f82e0d
UD
14327 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14328 strncase_l-nonascii.
14329 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14330 Add strncase_l-ssse3.
14331 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14332 * sysdeps/x86_64/strcmp.S: Likewise.
14333 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14334 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14335 * sysdeps/x86_64/strncase.S: New file.
14336 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14337 * sysdeps/x86_64/strncase_l.S: New file.
14338 * string/Makefile (strop-tests): Add strncasecmp.
14339 * string/test-strncasecmp.c: New file.
14340
14341 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14342 warning.
14343
ca6bb004
UD
14344 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14345 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14346
052fa7b3
AS
143472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14348
14349 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14350
962dba78
UD
143512010-08-12 Ulrich Drepper <drepper@redhat.com>
14352
14353 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14354 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14355 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14356
bebff237
AM
143572010-05-01 Alan Modra <amodra@gmail.com>
14358
14359 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14360 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14361 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14362 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14363 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14364 tidying. Don't tail-call __sigjmp_save for static lib.
14365 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14366 save location.
14367 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14368 (CALL_MCOUNT): Add eh info, and nop after bl.
14369 (TAIL_CALL_SYSCALL_ERROR): New macro.
14370 (PSEUDO_RET): Use it.
14371 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14372 Correct save location of integer regs and cr.
14373 (_dl_profile_resolve): Correct cr save location. Delete nops
14374 after bl when SHARED. Reduce cfi size a little by better
14375 placement of cfi directives.
14376 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14377 make a stack frame. Instead use parm save area as a temp.
14378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14379 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14381 Don't make a stack frame for parent, use parm save area.
14382 Increase child stack frame to 112 bytes. Don't save unused reg,
14383 and adjust reg usage. Set up cfi on error recovery and
14384 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14386 (__makecontext): Add dummy nop after jump to exit.
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14388 Use correct parm save area and cr save, reduce stack frame.
14389 Correct cfi for possible PSEUDO_RET frame setup.
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14391 Branch to local label emitted by PSEUDO_RET rather than
14392 __syscall_error.
14393
02637374
AS
143942010-08-12 Andreas Schwab <schwab@redhat.com>
14395
14396 [BZ #11904]
14397 * locale/programs/locale.c (print_assignment): New function.
14398 (show_locale_vars): Use it.
14399
c3e2f19b
UD
144002010-08-11 Ulrich Drepper <drepper@redhat.com>
14401
3cdaa6ad
UD
14402 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14403 field.
14404 (struct statfs64): Likewise.
14405 (_STATFS_F_FLAGS): Define.
14406 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14407 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14408 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14409 (ST_VALID): Define locally.
14410 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14411 __statvfs_getflags, use the provided value.
14412 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14413 __ASSUME_STATFS_F_FLAGS.
14414
754f7da3
UD
14415 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14416
10b3bedc
UD
14417 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14418 Add sys/fanotify.h.
14419 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14420 fanotify_mask for GLIBC_2.13.
14421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14422 fanotify_init and fanotify_mark.
14423 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14424 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14425
c08fb0d7
UD
14426 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14427 Add prlimit.
14428 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14429 prlimit64 for GLIBC_2.13.
14430 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14431 prlimit64.
14432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14433 syscall.
14434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14435 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14436 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14437 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14438 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14439 add prlimit alias.
14440 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14441
15bac72b
UD
14442 [BZ #11903]
14443 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14444 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14445
c3e2f19b
UD
14446 * nss/Makefile: Add rules to build and run tst-nss-test1.
14447 * shlib-versions: Add entry for libnss_test1.
14448 * nss/nss_test1.c: New file.
14449 * nss/tst-nss-test1.c: New file.
14450
14451 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14452 (__nss_configure_lookup): Set appropriate entry in
14453 __nss_configure_lookup to true.
14454 * nss/nsswitch.h: Define enum with indeces of databases in
14455 databases and __nss_database_custom arrays. Declare
14456 __nss_database_custom.
14457 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14458 to avoid using nscd when custom rules are installed.
14459 * nss/getXXbyYY_r.c: Likewise.
14460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14461
14462 * nss/nss_files/files-parse.c: Whitespace fixes.
14463
f15ce4d8
UD
144642010-08-09 Ulrich Drepper <drepper@redhat.com>
14465
14466 [BZ #11883]
14467 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14468 * posix/fnmatch_loop.c: Likewise.
14469
d22e4cc9
AK
144702010-07-17 Andi Kleen <ak@linux.intel.com>
14471
14472 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14473 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14474 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14475 * Versions.def [GLIBC_2.13]: Add.
14476
805bc17d
UD
144772010-08-06 Ulrich Drepper <drepper@redhat.com>
14478
14479 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14480 Also fail if tpwd after pwuid call is NULL.
14481
5a42321d
ST
144822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14483
14484 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14485 when converting to ms.
14486
fd3ebeda
ST
144872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14488
14489 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14490 EOPNOTSUPP errors with ENOTTY.
14491 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14492 EOPNOTSUPP errors with ENOTTY.
14493
73507d3a
UD
144942010-07-31 Ulrich Drepper <drepper@redhat.com>
14495
14496 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14497 Add strcasecmp_l-ssse3.
14498 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14499 strcasecmp.
14500 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14501 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14502 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14503
fe36dd02
UD
145042010-07-30 Ulrich Drepper <drepper@redhat.com>
14505
66f6765a
UD
14506 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14507
42e08a54
UD
14508 * string/Makefile (strop-tests): Add strcasecmp.
14509 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14510 strcasecmp_l-nonascii.
14511 (gen-as-const-headers): Add locale-defines.sym.
14512 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14513 * sysdeps/x86_64/strcasecmp.S: New file.
14514 * sysdeps/x86_64/strcasecmp_l.S: New file.
14515 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14516 * sysdeps/x86_64/locale-defines.sym: New file.
14517 * string/test-strcasecmp.c: New file.
14518
fe36dd02
UD
14519 * string/test-strcasestr.c: Test both ends of the range of characters.
14520 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14521
48cbc0d6
RM
145222010-07-29 Roland McGrath <roland@redhat.com>
14523
76e6d6bc 14524 [BZ #11856]
48cbc0d6
RM
14525 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14526
880113d9
UD
145272010-07-27 Ulrich Drepper <drepper@redhat.com>
14528
14529 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14530 for ld.so.
14531
deb9cabb
AS
145322010-07-27 Andreas Schwab <schwab@redhat.com>
14533
14534 * manual/memory.texi (Malloc Tunable Parameters): Document
14535 M_PERTURB.
14536
1c7570ff
RM
145372010-07-26 Roland McGrath <roland@redhat.com>
14538
14539 [BZ #11840]
14540 * configure.in (-fgnu89-inline check): Set and substitute
14541 gnu89_inline, not libc_cv_gnu89_inline.
14542 * configure: Regenerated.
14543 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14544
24fb0f88
UD
145452010-07-26 Ulrich Drepper <drepper@redhat.com>
14546
14547 * string/test-strnlen.c: New file.
14548 * string/Makefile (strop-tests): Add strnlen.
14549 * string/tester.c (test_strnlen): Add a few more test cases.
14550 * string/tst-strlen.c: Better error reporting.
14551
14552 * sysdeps/x86_64/strnlen.S: New file.
14553
8e96b93a
UD
145542010-07-24 Ulrich Drepper <drepper@redhat.com>
14555
14556 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14557 lower-latency instructions.
14558
dbc676d4
UD
145592010-07-23 Ulrich Drepper <drepper@redhat.com>
14560
14561 * string/test-strcasestr.c: New file.
14562 * string/test-strstr.c: New file.
14563 * string/Makefile (strop-tests): Add strstr and strcasestr.
14564 * string/str-two-way.h: Don't undefine MAX.
14565 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14566
f6a31e0e
AS
145672010-07-21 Andreas Schwab <schwab@redhat.com>
14568
14569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14570 strcasestr-nonascii.
14571 (CFLAGS-strcasestr-nonascii.c): Define.
14572 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14574 Remove unused attribute.
14575
5dbc3b6c
RM
145762010-07-20 Roland McGrath <roland@redhat.com>
14577
14578 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14579 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14580 ld.so.cache was broken. With it, there is no way to disable dsocaps
14581 like LD_HWCAP_MASK can disable hwcaps.
14582
23d101d8
EPM
145832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14584
14585 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14586
cc9f2e47
UD
145872010-07-16 Ulrich Drepper <drepper@redhat.com>
14588
14589 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14590 call in strcasestr.
14591 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14592 __strcasestr_sse42_nonascii.
14593 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14594 strcasestr-nonascii.c.
14595 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14596
77c1b069
LM
145972010-06-15 Luis Machado <luisgpm@br.ibm.com>
14598
14599 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14600 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14601 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14602 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14603
440566c3
UD
146042010-07-09 Ulrich Drepper <drepper@redhat.com>
14605
14606 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14607 fcntl.
14608
5be9d05d
AS
146092010-07-06 Andreas Schwab <schwab@redhat.com>
14610
c30b7ee2 14611 [BZ #11577]
5be9d05d
AS
14612 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14613 dl_signal_cerror.
14614
8a492a67
UD
146152010-07-06 Ulrich Drepper <drepper@redhat.com>
14616
14617 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14618 _PC_PIPE_BUF using F_GETPIPE_SZ.
14619
713df3d5
RM
146202010-07-05 Roland McGrath <roland@redhat.com>
14621
14622 * manual/arith.texi (Rounding Functions): Fix rint description
14623 implicit in round description.
14624
702e8f14
UD
146252010-07-02 Ulrich Drepper <drepper@redhat.com>
14626
14627 * elf/Makefile: Fix linking for a few tests to make recent linker
14628 happy.
14629
52ed8be9
AS
146302010-06-30 Andreas Schwab <schwab@redhat.com>
14631
14632 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14633 $(common-objpfx)libc_nonshared.a.
14634
f47c9a11
LM
146352010-06-21 Luis Machado <luisgpm@br.ibm.com>
14636
14637 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14638 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14639 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14640 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14641 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14642 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14643 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14644 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14659 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14660 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14661 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14662 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14663 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14664 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14665 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14666 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14667 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14668 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14669 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14670 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14685
6fb8cbcb
L
146862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14687
14688 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14689 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14690 * string/memmove.c (memmove): Renamed to ...
14691 (MEMMOVE): ...this. Default to memmove.
14692 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14693 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14694 (END_CHK): Define.
14695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14696 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14697 mempcpy-ssse3-back memmove-ssse3-back.
14698 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14699 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14700 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14701 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14702 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14703 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14704 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14705 * sysdeps/x86_64/multiarch/memmove.c: New file.
14706 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14707 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14708 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14709 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14710 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14712 Define.
14713 (index_Fast_Copy_Backward): Define.
14714 (HAS_ARCH_FEATURE): Define.
14715 (HAS_FAST_REP_STRING): Define.
14716 (HAS_FAST_COPY_BACKWARD): Define.
14717
4e733bac 147182010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14719
14720 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14721 Restore proper fallback handling.
14722
63c4ed22
UD
147232010-06-19 Ulrich Drepper <drepper@redhat.com>
14724
ac2b484c
UD
14725 [BZ #11701]
14726 * posix/group_member.c (__group_member): Correct checking loop.
14727
63c4ed22
UD
14728 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14729 OOM in getpwuid_r correctly. Return error number when the caller
14730 should return, otherwise -1.
14731 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14732 call returning > 0 value.
14733 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14734
765ade4b
AS
147352010-06-07 Andreas Schwab <schwab@redhat.com>
14736
14737 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14738 libc_nonshared.a from targets in modules-names.
14739
80da2e09
KS
147402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14741
14742 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14743 requires it.
14744
158db122
LM
147452010-06-10 Luis Machado <luisgpm@br.ibm.com>
14746
14747 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14748 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14749 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14751
caa78cf8
AS
147522010-06-02 Andreas Schwab <schwab@redhat.com>
14753
14754 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14755
b2ef2c01
UD
147562010-06-14 Ulrich Drepper <drepper@redhat.com>
14757
14758 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14759 and F_GETPIPE_SZ.
14760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14764 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14765 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14766
fbd643b6
RM
147672010-06-14 Roland McGrath <roland@redhat.com>
14768
14769 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14770
f32f2869
JJ
147712010-06-07 Jakub Jelinek <jakub@redhat.com>
14772
14773 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14774 __REDIRECT followed by __THROW.
14775 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14776 * posix/getopt.h (getopt): Likewise.
14777
2a50c078
EPM
147782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14779
14780 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14781 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14782 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14783 in AT_FLAGS.
14784 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14785 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14786
eb5ad2eb
LM
147872010-05-28 Luis Machado <luisgpm@br.ibm.com>
14788
14789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14790
3c88fe1e
L
147912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14792
14793 [BZ #11640]
14794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14795 Properly check family and model.
14796
d2f73151
TY
147972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14798
14799 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14800
ebd2e13d
LM
148012010-05-24 Luis Machado <luisgpm@br.ibm.com>
14802
14803 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14804
b32b8b45
UD
148052010-05-21 Ulrich Drepper <drepper@redhat.com>
14806
14807 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14808 symbol reference.
14809
9acbe24d
AS
148102010-05-19 Andreas Schwab <schwab@redhat.com>
14811
14812 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14813 symbol reference.
14814
f0ccf6ea
AS
148152010-05-21 Andreas Schwab <schwab@redhat.com>
14816
3d04ff3a
AS
14817 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14818 and internal_recvmmsg.
14819 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14820 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14821 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14822 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14823
f0ccf6ea
AS
14824 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14825 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14826 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14827
5b08ac57
AS
148282010-05-20 Andreas Schwab <schwab@redhat.com>
14829
14830 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14831
4828935d
LM
148322010-05-17 Luis Machado <luisgpm@br.ibm.com>
14833
14834 POWER7 optimizations.
14835 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14836 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14837
373d545e
UD
148382010-05-19 Ulrich Drepper <drepper@redhat.com>
14839
14840 * version.h: Update for 2.13 development version.
14841
21a2b1ae
AS
148422010-05-12 Andrew Stubbs <ams@codesourcery.com>
14843
14844 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14845 exceptions. Return 0.
14846
3f7dcb2b
RM
148472010-05-07 Roland McGrath <roland@redhat.com>
14848
14849 * elf/ldconfig.c (main): Add a const.
14850
5f24d53a 148512010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14852
a160f8d8
UD
14853 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14854 (args_options): Add no-idn option.
14855 (ahosts_keys_int): Add idn_flags to ai_flags.
14856 (parse_option): Handle 'i' option to clear idn_flags.
14857
5f24d53a
UD
14858 * malloc/malloc.c (_int_free): Possible race in the most recently
14859 added check. Only act on the data if no current modification
14860 happened.
265bb1ce
UD
14861
14862See ChangeLog.17 for earlier changes.