]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update x86_64 bits/stat.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
67b6df78
L
12012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
4 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5 Defined to 1 if __x86_64__ isn't defined.
6 (_STAT_VER_LINUX_OLD): New.
7 (st_atime): Remove duplicate.
8 (st_mtime): Likewise.
9 (st_ctime): Likewise.
10
1c2cfe81
DM
112012-05-31 David S. Miller <davem@davemloft.net>
12
13 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14 entries.
15
5be8418c
AS
162012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17
e7725326
AS
18 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19 gen-libm-test.pl.
20
5be8418c
AS
21 [BZ #14132]
22 * elf/dl-reloc.c: Include <_itoa.h>.
23 (_dl_reloc_bad_type): Remove use of INTUSE.
24 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26 * stdio-common/psiginfo.c (psiginfo): Likewise.
27 * stdio-common/psignal.c (psignal): Likewise.
28 * string/strsignal.c (strsignal): Likewise.
29 * include/signal.h (_sys_siglist): Declare hidden proto.
30 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31 INTVARDEF with libc_hidden_data_def.
32 * stdio-common/itoa-udigits.c: Likewise.
33 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34 (_itoa_lower_digits_internal): Remove declaration.
35 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37 (_sys_sigabbrev_internal): Remove aliases.
38 (_sys_siglist): Define hidden alias.
39
507352f1
MT
402012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41
42 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43 bits/sysctl.h.
44
42bbb1c3
L
452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46
47 [BZ #14117]
6bd784b6
L
48 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50
8bca20f0
L
51 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
52 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
53 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
56 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57
f9e890a9
L
58 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
59 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61
471101a1
L
62 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63 with __addr.
64 (insw): Likewise.
65 (insl): Likewise.
66 (outsb): Likewise.
67 (outsw): Likewise.
68 (outsl): Likewise.
69
6451c862
L
70 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
72 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
73
a254b8c9
L
74 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
75 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
76 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
77 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
79 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80
b8dfdd92
L
81 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
82 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
83
578cd270
L
84 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
85 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
86
de662f5f
L
87 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
88 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
89 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
90
25653439
L
91 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
92 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
93 to ...
94 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
95
6bad24a0
L
96 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
97 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
98 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
99
42bbb1c3
L
100 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
101 for x86-64.
102 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
103
2d10d547
JM
1042012-05-31 Joseph Myers <joseph@codesourcery.com>
105
106 * math/math.h (M_El): Use two more decimal places.
107 (M_LOG2El): Likewise.
108 (M_LOG10El): Likewise.
109 (M_LN2l): Likewise.
110 (M_LN10l): Likewise.
111 (M_PIl): Likewise.
112 (M_PI_2l): Likewise.
113 (M_PI_4l): Likewise.
114 (M_1_PIl): Likewise.
115 (M_2_PIl): Likewise.
116 (M_2_SQRTPIl): Likewise.
117 (M_SQRT2l): Likewise.
118 (M_SQRT1_2l): Likewise.
119
f230c29b
DM
1202012-05-31 David S. Miller <davem@davemloft.net>
121
122 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
123 values between float registers.
124 * sysdeps/sparc/sparc64/memset.S: Likewise.
125 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
126
fed806c3
MF
1272012-05-31 Mike Frysinger <vapier@gentoo.org>
128
129 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
130 -D_FORTIFY_SOURCE=1.
131 (CPPFLAGS-tst-longjmp_chk.c): Define.
132 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
133 (CPPFLAGS-tst-longjmp_chk2.c): Define.
134 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
135 CFLAGS-tst-wchar-h.c.
136
30917259
MP
1372012-05-31 Marek Polacek <polacek@redhat.com>
138
139 [BZ #14132]
140 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
141 __endmntent_internal): Remove declaration.
142 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
143 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
144 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
145
1c58d5dc
DM
1462012-05-30 David S. Miller <davem@davemloft.net>
147
148 * sysdeps/sparc/sparc32/soft-fp/q_util.c
149 (___Q_simulate_exceptions): Use real FP ops rather than writing
150 into the %fsr.
151 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
152 Likewise.
153
7dc00e0d
L
1542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
155
156 [BZ #14117]
0bd53985
L
157 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
158 * sysdeps/x86/bits/xtitypes.h: This.
159
3a257e66
L
160 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
161 * sysdeps/x86/bits/wordsize.h: This.
162
62f62904
L
163 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
164 * sysdeps/x86/bits/huge_vall.h: This.
165
404fe9d9
L
166 * sysdeps/i386/bits/select.h: Removed.
167 * sysdeps/x86_64/bits/select.h: Renamed to ...
168 * sysdeps/x86/bits/select.h: This.
169
d48d0446
L
170 * sysdeps/i386/bits/setjmp.h: Removed.
171 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
172 * sysdeps/x86/bits/setjmp.h: This.
173
7dc00e0d
L
174 * sysdeps/i386/bits/mathdef.h: Removed.
175 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
176 * sysdeps/x86/bits/mathdef.h: This.
177
03277f8f
AS
1782012-05-30 Andreas Schwab <schwab@linux-m68k.org>
179
180 [BZ #14132]
181 * include/sys/socket.h (__connect_internal)
182 (__libc_sa_len_internal): Remove declaration.
183 (__connect, __libc_sa_len): Declare hidden_proto.
184 (SA_LEN): Remove use of INTUSE.
185 * socket/connect.c: Add libc_hidden_def.
186 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
187 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
188 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
189 alias.
190 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
191 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
192 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
193 of adding _internal alias.
194
13764867
L
1952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
196
197 [BZ #14117]
6bd97696
L
198 * sysdeps/i386/bits/link.h: Removed.
199 * sysdeps/i386/bits/linkmap.h: Likewise.
200 * sysdeps/x86_64/bits/link.h: Renamed to ...
201 * sysdeps/x86/bits/link.h: This.
202 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
203 * sysdeps/x86/bits/linkmap.h: This.
204
f726f0bb
L
205 * sysdeps/i386/bits/endian.h: Removed.
206 * sysdeps/x86_64/bits/endian.h: Renamed to ...
207 * sysdeps/x86/bits/endian.h: This.
208
13764867
L
209 * sysdeps/i386/bits/byteswap.h: Removed.
210 * sysdeps/i386/bits/byteswap-16.h: Likewise.
211 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
212 * sysdeps/x86/bits/byteswap.h: This.
213 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
214 * sysdeps/x86/bits/byteswap-16.h: This.
215 * sysdeps/i386/Implies: Add x86.
216 * sysdeps/x86_64/Implies: Likewise.
217
ae251b0b
DM
2182012-05-30 David S. Miller <davem@davemloft.net>
219
220 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
221 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
222 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
223 (FP_TRAPPING_EXCEPTIONS): Define.
224 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
225 (FP_TRAPPING_EXCEPTIONS): Define.
226 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
227 subnormals only when inexact has been signalled or underflow
228 exceptions are enabled.
229 (_FP_PACK_CANONICAL): Likewise.
230
d5c90867
L
2312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
232
233 [BZ #14183]
234 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
235 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
236
63f1549e
RH
2372012-05-30 Richard Henderson <rth@twiddle.net>
238
8d8f2279
RH
239 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
240 with #ifndef NOT_IN_libc.
241
63f1549e
RH
242 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
243 marked to avoid plt entry.
244
0ab0291b
L
2452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
246
247 [BZ #14112]
248 * Makeconfig (default-abi): New macro.
249 (abi-includes): Likewise.
250 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
251 $(abi-$(default-abi)-lib-soname) for soname if defined.
252 ($(common-objpfx)gnu/lib-names.stmp): Generate from
253 abi-variants.
254 * Makefile (installed-stubs): Likewise.
255 * include/stubs-biarch.h: Removed.
256 * scripts/lib-names.awk: Only handle one library at a time.
257 * scripts/soversions.awk: Remove WORDSIZE support.
258 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
259 entries.
260 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
261 Removed.
262 (syscall-list-default-condition): Likewise.
263 (syscall-list-default-condition): Likewise.
264 (syscall-list-includes): Likewise.
265 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
266 syscall-list-* with abi-*. Handle undefined abi-variants.
267 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
268 * sysdeps/unix/sysv/linux/i386/Implies: New file.
269 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
270 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
271 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
272 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
273 Removed.
274 (syscall-list-32-options): Likewise.
275 (syscall-list-32-condition): Likewise.
276 (syscall-list-64-options): Likewise.
277 (syscall-list-64-condition): Likewise.
278 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
279 macro.
280 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
281 Renamed to ...
282 (abi-*): This.
283 (abi-64-ld-soname): New macro.
284 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
285 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
286 Renamed to ...
287 (abi-*): This.
288 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
289 * sysdeps/x86_64/x32/shlib-versions: Likewise.
290
4da0431d
JM
2912012-05-30 Joseph Myers <joseph@codesourcery.com>
292
3a85279c
JM
293 * sysdeps/unix/sysv/linux/kernel-features.h
294 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
295 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
296 include <kernel-features.h>.
297 [!__NR_ftruncate64]: Remove conditional code.
298 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
299 [__NR_ftruncate64]: Make code unconditional.
300 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
301 * sysdeps/unix/sysv/linux/truncate64.c: Do not
302 include <kernel-features.h>.
303 [!__NR_ftruncate64]: Remove conditional code.
304 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
305 [__NR_ftruncate64]: Make code unconditional.
306 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
308 include <kernel-features.h>.
309 [!__NR_ftruncate64]: Remove conditional code.
310 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
311 [__NR_ftruncate64]: Make code unconditional.
312 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
314 include <kernel-features.h>.
315 [!__NR_ftruncate64]: Remove conditional code.
316 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
317 [__NR_ftruncate64]: Make code unconditional.
318 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
319
4da0431d
JM
320 * configure.in (libc_cv_fpie): Weaken to a compile test using
321 LIBC_TRY_CC_OPTION.
322 * configure: Regenerated.
323
11ef492c
AK
3242012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
325
326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
330 Refreshed.
331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
337 Refreshed.
338
d66ef399
DM
3392012-05-27 David S. Miller <davem@davemloft.net>
340
341 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
342 (___Q_zero): New.
343 (__Q_simulate_exceptions): Return void. Change to simulate
344 exceptions by writing into the %fsr.
345 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
346 (__Qp_handle_exceptions): Likewise.
347 (numbers): Delete.
348 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
349 __Qp_handle_exceptions.
350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
351 __Qp_handle_exceptions.
352 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
353 as unused and give dummy FP_RND_NEAREST initializer.
354 (FP_INHIBIT_RESULTS): Define.
355 (___Q_simulate_exceptions): Update declaration.
356 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
357 formatting.
358 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
359 as unused and give dummy FP_RND_NEAREST initializer.
360 (__Qp_handle_exceptions): Update declaration.
361 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
362 formatting.
363
04fb54b5
TS
3642012-05-27 Thomas Schwinge <thomas@codesourcery.com>
365
366 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
367 the temporary FPU control word.
368 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
369 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
370 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
371 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
372 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
373 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
374 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
375 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
376 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
377 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
378 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
379
3f99608f
KK
3802012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
381
382 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
383 fields.
384
65a4de4e
CLT
3852012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
386
387 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
388 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
389 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
390 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
391 Likewise.
392 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
393 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
394 Likewise.
395
15749d40
UD
3962012-05-27 Ulrich Drepper <drepper@gmail.com>
397
398 * po/h.po: Update from translation team.
399
25dbcb27
AS
4002012-05-26 Andreas Schwab <schwab@linux-m68k.org>
401
3d3f8e55
AS
402 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
403
25dbcb27
AS
404 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
405 handling of denormals.
406 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
407 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
408 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
409 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
412 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
413 Likewise.
414
7ad47a80 4152012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
416
417 [BZ #14152]
418 * math/libm-test.inc (fma_test): Don't always expect underflow
419 exception.
420
9c6ea9fa
SP
4212012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
422
423 [BZ #12416]
424 * elf/tst-execstack.c: Include stackinfo.h.
425 (do_test): Adjust test case to ensure that pthread_getattr_np
426 behaviour remains the same after marking stack executable.
427
a8239222
JM
4282012-05-25 Joseph Myers <joseph@codesourcery.com>
429
430 * sysdeps/unix/sysv/linux/kernel-features.h
431 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
432 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
433 kernel-features.h.
434 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
435 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
436 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
437 kernel-features.h.
438 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
439 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
440
918b5606
L
4412012-05-25 H.J. Lu <hongjiu.lu@intel.com>
442
443 * configure.in: Define the default includes to being none.
444 * configure: Regenerated.
445
3a097cc7
RM
4462012-05-25 Roland McGrath <roland@hack.frob.com>
447
8422c9a5
RM
448 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
449 * sysdeps/x86_64/setjmp.S: Likewise.
450 * sysdeps/i386/bsd-setjmp.S: Likewise.
451 * sysdeps/i386/bsd-_setjmp.S: Likewise.
452 * sysdeps/i386/setjmp.S: Likewise.
453 * sysdeps/i386/__longjmp.S: Likewise.
454 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
455 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
456
3a097cc7
RM
457 * include/stap-probe.h: New file.
458 * configure.in: Handle --enable-systemtap.
459 * configure: Regenerated.
460 * config.h.in (USE_STAP_PROBE): New #undef.
461 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
462 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
463 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
464
21708942
JM
4652012-05-25 Joseph Myers <joseph@codesourcery.com>
466
467 [BZ #13717]
468 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
469 to 2.4.0 where earlier.
470 * sysdeps/unix/sysv/linux/configure: Regenerated.
471 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
472 <kernel-features.h>.
473 [__ASSUME_32BITUIDS]: Make code unconditional.
474 [!__ASSUME_32BITUIDS]: Remove conditional code.
475 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
476 <kernel-features.h>.
477 [__ASSUME_32BITUIDS]: Make code unconditional.
478 [!__ASSUME_32BITUIDS]: Remove conditional code.
479 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
480 [__ASSUME_32BITUIDS]: Make code unconditional.
481 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
482 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
483 <kernel-features.h>.
484 [__ASSUME_32BITUIDS]: Make code unconditional.
485 [!__ASSUME_32BITUIDS]: Remove conditional code.
486 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
487 <kernel-features.h>.
488 [__ASSUME_32BITUIDS]: Make code unconditional.
489 [!__ASSUME_32BITUIDS]: Remove conditional code.
490 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
491 <kernel-features.h>.
492 [__ASSUME_32BITUIDS]: Make code unconditional.
493 [!__ASSUME_32BITUIDS]: Remove conditional code.
494 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
495 <kernel-features.h>.
496 [__ASSUME_32BITUIDS]: Make code unconditional.
497 [!__ASSUME_32BITUIDS]: Remove conditional code.
498 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
499 <kernel-features.h>.
500 [__ASSUME_32BITUIDS]: Make code unconditional.
501 [!__ASSUME_32BITUIDS]: Remove conditional code.
502 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
503 <kernel-features.h>.
504 [__ASSUME_32BITUIDS]: Make code unconditional.
505 [!__ASSUME_32BITUIDS]: Remove conditional code.
506 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
507 <kernel-features.h>.
508 [__ASSUME_32BITUIDS]: Make code unconditional.
509 [!__ASSUME_32BITUIDS]: Remove conditional code.
510 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
511 <kernel-features.h>.
512 [__ASSUME_32BITUIDS]: Make code unconditional.
513 [!__ASSUME_32BITUIDS]: Remove conditional code.
514 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
515 <kernel-features.h>.
516 [__ASSUME_32BITUIDS]: Make code unconditional.
517 [!__ASSUME_32BITUIDS]: Remove conditional code.
518 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
519 <kernel-features.h>.
520 [__ASSUME_32BITUIDS]: Make code unconditional.
521 [!__ASSUME_32BITUIDS]: Remove conditional code.
522 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
523 <kernel-features.h>.
524 [__NR_setresgid] (__setresgid): Do not declare.
525 [__ASSUME_32BITUIDS]: Make code unconditional.
526 [!__ASSUME_32BITUIDS]: Remove conditional code.
527 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
528 <kernel-features.h>.
529 [__NR_setresuid] (__setresuid): Do not declare.
530 [__ASSUME_32BITUIDS]: Make code unconditional.
531 [!__ASSUME_32BITUIDS]: Remove conditional code.
532 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
533 <kernel-features.h>.
534 [__ASSUME_32BITUIDS]: Make code unconditional.
535 [!__ASSUME_32BITUIDS]: Remove conditional code.
536 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
537 <kernel-features.h>.
538 [__ASSUME_32BITUIDS]: Make code unconditional.
539 [!__ASSUME_32BITUIDS]: Remove conditional code.
540 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
541 <kernel-features.h>.
542 [__ASSUME_32BITUIDS]: Make code unconditional.
543 [!__ASSUME_32BITUIDS]: Remove conditional code.
544 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
545 <kernel-features.h>.
546 [__ASSUME_32BITUIDS]: Make code unconditional.
547 [!__ASSUME_32BITUIDS]: Remove conditional code.
548 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
549 <kernel-features.h>.
550 [__ASSUME_32BITUIDS]: Make code unconditional.
551 [!__ASSUME_32BITUIDS]: Remove conditional code.
552 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
553 <kernel-features.h>.
554 [__ASSUME_32BITUIDS]: Make code unconditional.
555 [!__ASSUME_32BITUIDS]: Remove conditional code.
556 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
557 <kernel-features.h>.
558 [__ASSUME_32BITUIDS]: Make code unconditional.
559 [!__ASSUME_32BITUIDS]: Remove conditional code.
560 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
561 <kernel-features.h>.
562 [__ASSUME_32BITUIDS]: Make code unconditional.
563 [!__ASSUME_32BITUIDS]: Remove conditional code.
564 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
565 <kernel-features.h>.
566 [__ASSUME_32BITUIDS]: Make code unconditional.
567 [!__ASSUME_32BITUIDS]: Remove conditional code.
568 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
569 <kernel-features.h>.
570 [__ASSUME_32BITUIDS]: Make code unconditional.
571 [!__ASSUME_32BITUIDS]: Remove conditional code.
572 * sysdeps/unix/sysv/linux/kernel-features.h
573 (__ASSUME_SETRESUID_SYSCALL): Remove.
574 (__ASSUME_SETRESGID_SYSCALL): Likewise.
575 (__ASSUME_32BITUIDS): Likewise.
576 (__ASSUME_LDT_WORKS): Likewise.
577 (__ASSUME_O_DIRECTORY): Likewise.
578 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
579 architecture but not kernel version.
580 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
581 (__ASSUME_MMAP2_SYSCALL): Likewise.
582 (__ASSUME_STAT64_SYSCALL): Likewise.
583 (__ASSUME_IPC64): Likewise.
584 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
585 <kernel-features.h>.
586 [__ASSUME_32BITUIDS]: Make code unconditional.
587 [!__ASSUME_32BITUIDS]: Remove conditional code.
588 * sysdeps/unix/sysv/linux/opendir.c: Do not include
589 <kernel-features.h>.
590 [__ASSUME_O_DIRECTORY]: Make code unconditional.
591 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
592 132096]: Remove conditional code.
593 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
594 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
595 <kernel-features.h>.
596 [__ASSUME_32BITUIDS]: Make code unconditional.
597 [!__ASSUME_32BITUIDS]: Remove conditional code.
598 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
599 <kernel-features.h>.
600 [__ASSUME_32BITUIDS]: Make code unconditional.
601 [!__ASSUME_32BITUIDS]: Remove conditional code.
602 * sysdeps/unix/sysv/linux/setegid.c: Do not include
603 <kernel-features.h>.
604 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
605 unconditional.
606 (__setresgid): Do not declare.
607 [__ASSUME_32BITUIDS]: Make code unconditional.
608 [!__ASSUME_32BITUIDS]: Remove conditional code.
609 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
610 <kernel-features.h>.
611 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
612 unconditional.
613 (__setresuid): Do not declare.
614 [__ASSUME_32BITUIDS]: Make code unconditional.
615 [!__ASSUME_32BITUIDS]: Remove conditional code.
616 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
617 <kernel-features.h>.
618 [__ASSUME_32BITUIDS]: Make code unconditional.
619 [!__ASSUME_32BITUIDS]: Remove conditional code.
620 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
621 <kernel-features.h>.
622 [__ASSUME_32BITUIDS]: Make code unconditional.
623 [!__ASSUME_32BITUIDS]: Remove conditional code.
624
a386f1cc
RH
6252012-05-25 Richard Henderson <rth@twiddle.net>
626
627 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
628 dl_hwcap to ifunc resolver.
629 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
630 elf_ifunc_invoke.
631 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
632 dl_hwcap to ifunc resolver.
633 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
634
b6550497
JM
6352012-05-24 Joseph Myers <joseph@codesourcery.com>
636
637 [BZ #14153]
638 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
639 for |x| <= 2**-26, not 2**-57.
640 * math/libm-test.inc (acos_test): Do not allow spurious underflow
641 exception.
642
b0bc23a1
JL
6432012-05-24 Jeff Law <law@redhat.com>
644
645 * stdio-common/Makefile (tests): Add bug25.
646 * stdio-common/bug25.c: New test.
647
347c92e9
L
6482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
649
650 [BZ #13576]
651 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
652 multiple of MALLOC_ALIGNMENT in size.
653 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
654
6bcc8b3f
JM
6552012-05-24 Joseph Myers <joseph@codesourcery.com>
656
657 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
658 Require >= 256.
659 (FILENAME_MAX): Use macro-int-constant.
660 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
661 (_IOFBF): Use macro-int-constant.
662 (_IOLBF): Likewise.
663 (_IONBF): Likewise.
664 (SEEK_CUR): Likewise.
665 (SEEK_END): Likewise.
666 (SEEK_SET): Likewise.
667 (TMP_MAX): Likewise.
668 (EOF): Use macro-int-constant. Require < 0.
669 (NULL): Use macro-constant. Require == 0.
670 (stdin): Require type to be FILE *.
671 (stdout): Likewise.
672 (stderr): Likewise.
673 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
674 macro-int-constant.
675 (EXIT_SUCCESS): Likewise.
676 (NULL): Use macro-constant. Require == 0.
677 (RAND_MAX): Use macro-int-constant.
678 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
679 [C99-based standards] (strtof): Require function.
680 [C99-based standards] (strtold): Likewise.
681 [C99-based standards] (strtoll): Likewise.
682 [C99-based standards] (strtoull): Likewise.
683 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
684 [ISO || ISO99 || ISO11] (limits.h): Likewise.
685 [ISO || ISO99 || ISO11] (math.h): Likewise.
686 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
687 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
689
d18ea0c5
AS
6902012-05-24 Andreas Schwab <schwab@linux-m68k.org>
691
692 [BZ #14132]
56d25bb8
AS
693 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
694 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
695 * intl/dgettext.c (DCGETTEXT): Likewise.
696 * intl/gettext.c (DCGETTEXT): Likewise.
697 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
698 * posix/regex_internal.h (gettext): Likewise.
699 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
700 Remove declaration.
701 * include/argz.h (__argz_count_internal)
702 (__argz_stringify_internal): Remove declaration.
703 (__argz_count, __argz_stringify): Declare hidden proto.
704 * intl/dcgettext.c: Remove use of INTDEF.
705 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
706 * string/argz-stringify.c: Likewise.
707 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
708 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
709 Declare hidden proto.
d18ea0c5
AS
710 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
711 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
712 Declare hidden proto.
713 * include/stdio.h (__asprintf_internal): Don't declare.
714 (__asprintf): Don't define as macro. Declare hidden proto.
715 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
716 (__fsetlocking): Declare hidden proto.
717 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
718 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
719 hidden proto.
720 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
721 (_IO_setlinebuf): Remove use of INTUSE.
722 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
723 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
724 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
725 Remove declaration.
726 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
727 (_IO_do_flush): Remove use of INTUSE.
728 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
729 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
730 (_IO_adjust_column, _IO_least_wmarker)
731 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
732 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
733 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
734 (_IO_default_doallocate, _IO_wdefault_doallocate)
735 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
736 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
737 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
738 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
739 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
740 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
741 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
742 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
743 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
744 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
745 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
746 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
747 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
748 proto.
749 (_IO_flush_all_internal, _IO_adjust_column_internal)
750 (_IO_default_uflow_internal, _IO_default_finish_internal)
751 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
752 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
753 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
754 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
755 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
756 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
757 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
758 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
759 (_IO_file_close_internal, _IO_file_close_it_internal)
760 (_IO_file_underflow_internal, _IO_file_overflow_internal)
761 (_IO_file_init_internal, _IO_file_attach_internal)
762 (_IO_file_fopen_internal, _IO_file_read_internal)
763 (_IO_file_sync_internal, _IO_file_seek_internal)
764 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
765 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
766 (_IO_str_underflow_internal, _IO_str_overflow_internal)
767 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
768 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
769 (_IO_list_all_internal, _IO_link_in_internal)
770 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
771 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
772 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
773 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
774 (_IO_do_write_internal, _IO_padn_internal)
775 (_IO_getline_info_internal, _IO_getline_internal)
776 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
777 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
778 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
779 (_IO_vfscanf_internal, _IO_vfprintf_internal)
780 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
781 (_IO_init_internal, _IO_un_link_internal): Don't declare.
782 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
783 with libc_hidden_ver, remove use of INTUSE.
784 * libio/genops.c: Likewise.
785 * libio/freopen.c: Likewise.
786 * libio/freopen64.c: Likewise.
787 * libio/iofclose.c: Likewise.
788 * libio/iofdopen.c: Likewise.
789 * libio/iofflush.c: Likewise.
790 * libio/iofflush_u.c: Likewise.
791 * libio/iofgets.c: Likewise.
792 * libio/iofgets_u.c: Likewise.
793 * libio/iofopen.c: Likewise.
794 * libio/iofopncook.c: Likewise.
795 * libio/iofread.c: Likewise.
796 * libio/iofread_u.c: Likewise.
797 * libio/ioftell.c: Likewise.
798 * libio/iofwrite.c: Likewise.
799 * libio/iogetline.c: Likewise.
800 * libio/iogets.c: Likewise.
801 * libio/iogetwline.c: Likewise.
802 * libio/iopadn.c: Likewise.
803 * libio/iopopen.c: Likewise.
804 * libio/ioseekoff.c: Likewise.
805 * libio/ioseekpos.c: Likewise.
806 * libio/iosetbuffer.c: Likewise.
807 * libio/iosetvbuf.c: Likewise.
808 * libio/ioungetc.c: Likewise.
809 * libio/ioungetwc.c: Likewise.
810 * libio/iovdprintf.c: Likewise.
811 * libio/iovsprintf.c: Likewise.
812 * libio/iovsscanf.c: Likewise.
813 * libio/memstream.c: Likewise.
814 * libio/obprintf.c: Likewise.
815 * libio/oldfileops.c: Likewise.
816 * libio/oldiofclose.c: Likewise.
817 * libio/oldiofdopen.c: Likewise.
818 * libio/oldiofopen.c: Likewise.
819 * libio/oldiopopen.c: Likewise.
820 * libio/oldstdfiles.c: Likewise.
821 * libio/putc.c: Likewise.
822 * libio/setbuf.c: Likewise.
823 * libio/setlinebuf.c: Likewise.
824 * libio/stdfiles.c: Likewise.
825 * libio/strops.c: Likewise.
826 * libio/vasprintf.c: Likewise.
827 * libio/vscanf.c: Likewise.
828 * libio/vsnprintf.c: Likewise.
829 * libio/vswprintf.c: Likewise.
830 * libio/wfiledoalloc.c: Likewise.
831 * libio/wfileops.c: Likewise.
832 * libio/wgenops.c: Likewise.
833 * libio/wmemstream.c: Likewise.
834 * libio/wstrops.c: Likewise.
835 * libio/__fpurge.c: Likewise.
836 * libio/__fsetlocking.c: Likewise.
837 * assert/assert.c: Likewise.
838 * debug/fgets_chk.c: Likewise.
839 * debug/fgets_u_chk.c: Likewise.
840 * debug/fread_chk.c: Likewise.
841 * debug/fread_u_chk.c: Likewise.
842 * debug/gets_chk.c: Likewise.
843 * debug/obprintf_chk.c: Likewise.
844 * debug/vasprintf_chk.c: Likewise.
845 * debug/vdprintf_chk.c: Likewise.
846 * debug/vsnprintf_chk.c: Likewise.
847 * debug/vsprintf_chk.c: Likewise.
848 * malloc/mtrace.c: Likewise.
849 * misc/error.c: Likewise.
850 * misc/syslog.c: Likewise.
851 * stdio-common/asprintf.c: Likewise.
852 * stdio-common/fxprintf.c: Likewise.
853 * stdio-common/getw.c: Likewise.
854 * stdio-common/isoc99_fscanf.c: Likewise.
855 * stdio-common/isoc99_scanf.c: Likewise.
856 * stdio-common/isoc99_vfscanf.c: Likewise.
857 * stdio-common/isoc99_vscanf.c: Likewise.
858 * stdio-common/isoc99_vsscanf.c: Likewise.
859 * stdio-common/printf-prs.c: Likewise.
860 * stdio-common/printf_fp.c: Likewise.
861 * stdio-common/printf_fphex.c: Likewise.
862 * stdio-common/printf_size.c: Likewise.
863 * stdio-common/putw.c: Likewise.
864 * stdio-common/scanf.c: Likewise.
865 * stdio-common/sprintf.c: Likewise.
866 * stdio-common/tmpfile.c: Likewise.
867 * stdio-common/vfprintf.c: Likewise.
868 * stdio-common/vfscanf.c: Likewise.
869 * stdlib/strfmon_l.c: Likewise.
870 * sunrpc/openchild.c: Likewise.
871 * sunrpc/xdr_stdio.c: Likewise.
872 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
873 * sysdeps/mach/hurd/tmpfile.c: Likewise.
874
d6c33fda
RM
8752012-05-24 Roland McGrath <roland@hack.frob.com>
876
c1487492
RM
877 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
878
879 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
880 in the third column, to generate for the shared library an IFUNC
881 that uses _dl_vdso_vsym.
882 * Makerules (COMPILE.c, compile-stdin.c): New variables.
883 * Makeconfig (object-suffixes-noshared): New variable.
884
885 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
886 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
887 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
888 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
889
d6c33fda
RM
890 [BZ #14132]
891 * include/sys/time.h (__gettimeofday): Remove macro.
892 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
893 * time/gettimeofday.c (__gettimeofday): Remove #undef.
894 Remove INTDEF.
895 (__gettimeofday): Add libc_hidden_def.
896 (gettimeofday): Add libc_hidden_weak.
897 * sysdeps/mach/gettimeofday.c: Likewise.
898 * sysdeps/posix/gettimeofday.c: Likewise.
899 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
900 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
901 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
902 (__gettimeofday_internal): Remove strong_alias.
903 (__gettimeofday): Add libc_hidden_def.
904 (gettimeofday): Add libc_hidden_weak.
905 * sysdeps/unix/syscalls.list (gettimeofday):
906 Remove __gettimeofday_internal alias.
907
b5a2bbe6
L
9082012-05-24 Daniel Jacobowitz <drow@false.org>
909 H.J. Lu <hongjiu.lu@intel.com>
910
911 [BZ #12495]
912 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
913 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
914 (largebin_index_32_big): New.
915 (largebin_index): Use it for 16-byte alignment.
916 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
917 correction with front_misalign.
918
cfba4fda
L
9192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
920
7f907421
L
921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
923 Likewise.
924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
925 Likewise.
926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
927 Likewise.
928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
929 Likewise.
930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
931 Likewise.
932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
933 Likewise.
934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
935 Likewise.
936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
937 Likewise.
938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
939 Likewise.
940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
941 Likewise.
942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
943 Likewise.
944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
945 Likewise.
946
cfba4fda
L
947 * scripts/data/c++-types-x32-linux-gnu.data: New file.
948 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
949
80bad0cc
JM
9502012-05-24 Joseph Myers <joseph@codesourcery.com>
951
7a25eb06
JM
952 [BZ #10846]
953 [BZ #14036]
954 * math/libm-test.inc (exp_test): Add test from bug 14036.
955 (pow_test): Add test from bug 10846.
956
795405f9
JM
957 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
958 and other flags.
959 (special_function): Do not include flags in test name.
960 (parse_args): Likewise.
961 * sysdeps/i386/fpu/libm-test-ulps: Update.
962 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
963 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
964 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
966
80bad0cc
JM
967 * math/gen-libm-test.pl (%beautify): Add entries for underflow
968 exceptions.
969 * math/libm-test.inc ("Philosophy"): Update comment about
970 exception testing.
971 (UNDERFLOW_EXCEPTION): New macro.
972 (UNDERFLOW_EXCEPTION_OK): Likewise.
973 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
974 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
975 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
976 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
977 (INVALID_EXCEPTION_OK): Update value.
978 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
979 (OVERFLOW_EXCEPTION_OK): Likewise.
980 (IGNORE_ZERO_INF_SIGN): Likewise.
981 (test_exceptions): Handle underflow exceptions.
982 (acos_test): Update for underflow exception expectations.
983 (cexp_test): Likewise.
984 (clog_test): Likewise.
985 (clog10_test): Likewise.
986 (csqrt_test): Likewise.
987 (ctan_test): Likewise.
988 (ctanh_test): Likewise.
989 (exp_test): Likewise.
990 (exp10_test): Likewise.
991 (exp2_test): Likewise.
992 (expm1_test): Likewise.
993 (fma_test): Likewise.
994 (j0_test): Likewise.
995 (jn_test): Likewise.
996 (nexttoward_test): Likewise.
997 (pow_test): Likewise.
998 (scalbn_test): Likewise.
999 (scalbln_test): Likewise.
1000 (tan_test): Likewise.
1001 (y1_test): Likewise.
1002 * sysdeps/i386/fpu/libm-test-ulps: Update.
1003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1004
9e0e3d0b
DM
10052012-05-23 David S. Miller <davem@davemloft.net>
1006
1007 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1008 (__libc_sigaction): Remove unused local variables.
1009
ccd0a08f
L
10102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1011
1012 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1013
62bdf9a6
PE
10142012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1015
f8591f80
PE
1016 mktime: avoid signed integer overflow
1017 * time/mktime.c (__mktime_internal): Do not mishandle the case
1018 where diff == INT_MIN.
1019
94c7d826
PE
1020 mktime: simplify computation of average
1021 * time/mktime.c (ranged_convert): Use new time_t_avg function
1022 instead of rolling our own (probably-slower) code.
1023
ce73d683
PE
1024 mktime: do not assume signed right shift propagates sign bit
1025 * time/mktime.c (isdst_differ): New static function.
1026 (__mktime_internal): No need to normalize tm_isdst now.
1027 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1028 tm_isdst values.
1029
72a22e59
PE
1030 mktime: merge another wrapv change from gnulib
1031 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1032 from some compilers.
1033
68605433
PE
1034 mktime: remove incorrect attempt at unusual arithmetics
1035 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1036 The code didn't really work on such machines anyway.
1037 (TYPE_MINIMUM): Assume two's complement.
1038 (twos_complement_arithmetic): Verify that long_int and time_t
1039 are two's complement (or unsigned, in the latter case).
1040
03cf7fe3
PE
1041 mktime: check signed shifts on long_int and time_t, too
1042 * time/mktime.c (SHR): Check that shifts work as desired
1043 on the types long_int and time_t too, as SHR is used on
1044 such types.
1045
f04dfbc2
PE
1046 mktime: do not assume 'long' is wide enough
1047 * time/mktime.c (verify): Move decl up.
1048 (long_int): New type.
1049 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1050 to remove assumption in the code that 'long' is wide enough to
1051 store year values. This assumption is not true on x32 and on
1052 some non-glibc platforms.
1053
62bdf9a6
PE
1054 mktime: merge wrapv change from gnulib
1055 * time/mktime.c (WRAPV): New macro.
1056 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1057 (guess_time_tm, __mktime_internal): Do not assume that signed
1058 integer overflow wraps around; modern compilers generate code
1059 where this assumption is no longer valid.
1060
5e292e4f
L
10612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1062
1063 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1064 Replace "jmp L(pseudo_end)" with "ret".
1065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1066 Likewise.
1067
8caf8c87
AJ
10682012-05-23 Andreas Jaeger <aj@suse.de>
1069
1070 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1071 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1072
1a09dc56
AJ
10732012-05-23 Andreas Jaeger <aj@suse.de>
1074 Maximilian Attems <max@stro.at>
1075
1076 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1077 New macros.
1078
1c87aba0
L
10792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1080
1081 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1082 code so that pseudo_end is just ret and the stack pointer is
1083 correct also for static library in error case.
1084
40e45bd5
JM
10852012-05-23 Joseph Myers <joseph@codesourcery.com>
1086
c2670533
JM
1087 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1088 move to syscalls.list.
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1093
40e45bd5
JM
1094 * manual/install.texi (Running make install): Do not mention Linux
1095 kernel version for which pt_chown is not needed.
1096 (Linux): Do not mention problems with nscd with 2.0 kernels.
1097 * INSTALL: Regenerated.
1098
be08eda5
AJ
10992012-05-23 Andreas Jaeger <aj@suse.de>
1100
1101 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1102 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1103 macro.
1104 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1106 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1108 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1112 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1113 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1114 * sysdeps/unix/sysv/linux/bits/in.h
1115 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1116
a6a056bb
RM
11172012-05-22 Roland McGrath <roland@hack.frob.com>
1118
1119 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1120 (PREPARE_VERSION): Just use assert instead, it will be elided
1121 under [NDEBUG] anyway.
1122
c9009328
L
11232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1124
1125 * sysdeps/unix/sysv/linux/Makefile: Include
1126 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1127 (sysdep_routines): Remove sysctl.
c9009328
L
1128 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1129 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1130 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1131 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1132 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1133
73338355
AJ
11342012-05-22 Andreas Jaeger <aj@suse.de>
1135
1136 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1137 that pseudo_end is just ret and the stack pointer is correct also
1138 for static library in error case.
1139
d44638b0
PP
11402012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1141
1142 [BZ #14122]
1143 * nss/nsswitch.c (defconfig_entries): New variable.
1144 (__nss_database_lookup): Don't leak defconfig entries.
1145 (nss_parse_service_list): Don't leak on error paths.
1146 (free_database_entries): New function.
1147 (free_defconfig): New function.
1148 (free_mem): Move common code to free_database_entries.
1149
31a39bd8
L
11502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1151
da0331a8
L
1152 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1153 Add arch_prctl.
1154 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1155
31a39bd8
L
1156 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1157 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1159 New macro.
1160 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1161 (INTERNAL_SYSCALL_TYPES): Likewise.
1162 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1163 (LOAD_REGS_TYPES_[1-6]): Likewise.
1164 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1165 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1166
45470df3
AZ
11672012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1168
1169 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1170 copysignl for GLIBC_2_0.
1171 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1172 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1174 logbl for GLIBC_2_0.
1175 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1176 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1177
98a61bcb
L
11782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1179
a4f6e481
L
1180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1181 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1182
f63d5db6
L
1183 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1184 Use "neg %eax".
1185
98a61bcb
L
1186 * time/mktime.c: Update copyright years.
1187
95770f14
PE
11882012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1189
6226efbd
PE
1190 mktime: merge comment-quoting-style change from gnulib
1191 * time/mktime.c: Quote 'like this' in comments.
1192 The GNU coding standards suggest that we no longer quote `like this',
1193 as "`" and "'" are typically rendered asymmetrically nowadays.
1194 The typical gnulib style is to quote 'like this' when quoting
1195 code, and "like this" when quoting English.
1196
b99e4f78
PE
1197 * time/mktime.c (compile-command): Add "-I.".
1198
643e01e6
PE
1199 mktime: merge mktime-internal.h change from gnulib
1200 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1201
2554247d
PE
1202 mktime: merge time_r change from gnulib
1203 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1204
826dd0ab
PE
1205 mktime: merge DEBUG change from gnulib
1206 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1207 case system <time.h> has a #define.
1208
bd83aabe
PE
1209 mktime: merge <sys/types.h> change from gnulib
1210 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1211 since <time.t> is now guaranteed to define time_t.
1212
95770f14
PE
1213 mktime: merge HAVE_CONFIG_H change from gnulib
1214 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1215
5e1a27a9
L
12162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1217
0e44a77e
L
1218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1219 Use "neg %eax".
1220
5e1a27a9
L
1221 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1222 __rlim_t cast.
1223 (struct rusage): Use anonymous union to pad each field to
1224 __syscall_slong_t.
1225
46259bec
DM
12262012-05-21 David S. Miller <davem@davemloft.net>
1227
1228 * Makefules (o-iterator): Remove .s cases.
1229 (compile-command.s): Delete.
1230 (COMPILE.s): Delete.
1231 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1232
59f0c22e
JM
12332012-05-21 Joseph Myers <joseph@codesourcery.com>
1234
1235 * configure.in (libc_cv_predef_stack_protector): Only consider
1236 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1237 * configure: Regenerated.
1238
20c07380
L
12392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1240
bbb3154b
L
1241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1242 New macro. Use R*LP on int and pointer.
1243 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1244 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1245 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1246 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1247
20c07380
L
1248 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1249 [__WORDSIZE_TIME64_COMPAT32] instead of
1250 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1251 (struct utmp): Likewise.
1252 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1253 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1254 Renamed to ...
1255 (__WORDSIZE_TIME64_COMPAT32): This.
1256 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1257 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1258 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1259 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1260 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1261 (__WORDSIZE_TIME64_COMPAT32): New macro.
1262
d8d1017e
AJ
12632012-05-21 Andreas Jaeger <aj@suse.de>
1264
1265 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1266 only if [SHARED]. Add prototype for __wcschr_ia32.
1267
6c7fb145
RM
12682012-05-21 Roland McGrath <roland@hack.frob.com>
1269
1270 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1271 of %rbp unmolested in the jmp_buf while mangling the low bits.
1272 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1273 unmolested high bits of %rbp while demangling the low bits.
1274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1275
66274218
AJ
12762012-05-21 Andreas Jaeger <aj@suse.de>
1277
07c58f8f
AJ
1278 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1279 * sunrpc/svc_simple.c: Use it for registerrpc.
1280 * sunrpc/xcrypt.c: Use it for passwd2des.
1281
66274218
AJ
1282 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1283
61f65140
L
12842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1285
1286 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1287 Don't define if [__SYSCALL_WORDSIZE != 32].
1288 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1289 New macro.
1290
5fefb436
AJ
12912012-05-21 Bruno Haible <bruno@clisp.org>
1292 Andreas Jaeger <aj@suse.de>
1293
1294 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1295 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1296 inptr and inend for must_buffer_ch.
1297 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1298 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1299 * stdio-common/Makefile (tests): Remove bug15.
1300 (bug15-ENV): Remove macro.
1301 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1302 anymore.
1303
d8e272ab
AJ
13042012-05-19 Andreas Jaeger <aj@suse.de>
1305 Roland McGrath <roland@hack.frob.com>
1306
1307 * manual/contrib.texi: Completely rewritten. It contains now an
1308 alphabetical list of contributors and their contributions.
1309
4a56a162
RH
13102012-05-21 Richard Henderson <rth@twiddle.net>
1311
1312 * misc/getauxval.c (__getauxval): Use unsigned long int.
1313 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1314 (getauxval): Use unsigned long int.
1315
d024d23c
L
13162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1317
1318 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1319
cbc00a03
RM
13202012-05-21 Roland McGrath <roland@hack.frob.com>
1321
1322 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1323 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1324 __alignof__ (long double).
1325
478143fa
AZ
13262012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1327
1328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1329
c7683a6d
RH
13302012-05-20 Richard Henderson <rth@twiddle.net>
1331
1332 * misc/getauxval.c: New file.
1333 * misc/sys/auxv.h: New file.
1334 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1335 (routines): Add getauxval.
1336 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1337 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1338 * elf/dl-sysdep.c (_dl_auxv): Remove.
1339 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1340 * elf/dl-support.c (_dl_auxv): New variable.
1341 (_dl_aux_init): Initialize it.
1342 * manual/startup.texi (Auxiliary Vector): New node.
1343 * sysdeps/generic/bits/hwcap.h: New file.
1344 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1345 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1346 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1347 * sysdeps/sparc/sysdep.h: ... here. Include it.
1348 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1349 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1351 Update.
c7683a6d
RH
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1355 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1360
a6f1845d
AZ
13612012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1362
1363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1364
cbcbe830
DM
13652012-05-19 David S. Miller <davem@davemloft.net>
1366
1367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1368
e0b16cc2
JM
13692012-05-19 Joseph Myers <joseph@codesourcery.com>
1370
1371 [BZ #14123]
1372 * math/s_ccosh.c: Include <float.h>
1373 (__ccosh): Avoid internal overflow calculating sinh and cosh
1374 values before multiplying by sin and cos values.
1375 * math/s_ccoshf.c: Likewise.
1376 * math/s_ccoshl.c: Likewise.
1377 * math/s_csin.c: Likewise.
1378 * math/s_csinf.c: Likewise.
1379 * math/s_csinl.c: Likewise.
1380 * math/s_csinh.c: Likewise.
1381 * math/s_csinhf.c: Likewise.
1382 * math/s_csinhl.c: Likewise.
1383 * math/libm-test.inc (ccos_test): Add more tests.
1384 (ccosh_test): Likewise.
1385 (csin_test): Likewise.
1386 (csinh_test): Likewise.
1387 * sysdeps/i386/fpu/libm-test-ulps: Update.
1388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1389
6ad13e08
L
13902012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1391
f66f0ce8
L
1392 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1393 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1394
6ad13e08
L
1395 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1396
b1d072a7
JM
13972012-05-19 Joseph Myers <joseph@codesourcery.com>
1398
1399 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1400 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1401 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1402 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1403 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1404 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1405 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1406 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1407 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1408 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1409 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1410 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1411 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1412 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1413 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1414 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1415 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1416 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1417 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1418 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1419 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1420 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1421 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1422 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1423 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1424 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1425 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1426 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1427 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1428 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1429 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1430
9eae47cb
AJ
14312012-05-18 Andreas Jaeger <aj@suse.de>
1432
1433 * csu/.gitignore: Delete.
1434
bb07f69f
L
14352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1436
1437 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1438 (timex): Use __syscall_slong_t.
1439
e6bdb741
AJ
14402012-05-18 Andreas Jaeger <aj@suse.de>
1441 Carlos O'Donell <carlos_odonell@mentor.com>
1442
1443 * manual/install.texi (Configuring and compiling): Update
1444 description about files modified in the source directory.
d6c33fda 1445 * INSTALL: Regenerated.
e6bdb741 1446
1b74487e
L
14472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1448
1449 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1450 value. Use "or" to set return value to -1.
1451 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1452 negate return value.
1453
a88b64b9
TMQMF
14542012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1455
1456 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1457 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1458 failure if the compiler has Graphite support disabled.
1459 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1460 Likewise.
1461 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1462 CFLAGS-memmove.c): Likewise.
1463 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1464 Likewise.
1465
3707636e
L
14662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1467
610b8622
L
1468 * sysdeps/x86_64/x32/_itoa.h: New file.
1469
7cd195df
L
1470 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1471 getdents system call only if kernel and user dirents have the
1472 same d_ino and d_off.
1473
94b07d20
L
1474 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1475 LLONG_MAX != LONG_MAX.
1476 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1477 (_fitoa_word): Likewise.
1478
18298070
L
1479 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1480 years.
1481 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1482 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1483 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1484
553c7ea4
L
1485 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1486 include <bits/wordsize.h>. Check __x86_64__ instead of
1487 __WORDSIZE.
1488 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1489 if __x86_64__ is defined. Use anonymous union on fpstate.
1490
3707636e
L
1491 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1492 anonymous union.
1493
b53ef01a
AS
14942012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1495
37fb1dc0
AS
1496 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1497 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1498 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1499 Refer to _rtld_local_ro instead of _rtld_global_ro.
1500 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1501 Likewise.
1502 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1503 Likewise.
1504 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1505 Likewise.
1506 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1507 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1508 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1509
b53ef01a
AS
1510 * sysdeps/powerpc/powerpc32/dl-machine.c
1511 (__elf_machine_runtime_setup) [PROF]: Don't reference
1512 _dl_prof_resolve.
1513
7a185db2
AJ
15142012-05-18 Andreas Jaeger <aj@suse.de>
1515
1516 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1517 function only available for GCCs before 3.4 since GCC 3.4
1518 introduced a builtin.
1519 (lrint): Likewise.
1520 (llrintf): Likewise.
1521 (llrint): Likewise.
1522 (fmaxf): Likewise.
1523 (fmax): Likewise.
1524 (fminf): Likewise.
1525 (fmin): Likewise.
1526 (rint): Likewise.
1527 (rintf): Likewise.
1528 (nearbyint): Likewise.
1529 (nearbyintf): Likewise.
1530 (ceil): Likewise.
1531 (ceilf): Likewise.
1532 (floor): Likewise.
1533 (floorf): Likewise.
1534
3e5aef87
L
15352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1536
428bd707
L
1537 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1538 on both fields and cast pointer to __syscall_ulong_t.
1539
3e5aef87
L
1540 * bits/types.h (__fsword_t): New type.
1541 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1542 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1544 (__FSWORD_T_TYPE): Likewise.
1545 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1546 (__FSWORD_T_TYPE): Likewise.
1547 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1548 (__FSWORD_T_TYPE): Likewise.
1549 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1550 (__FSWORD_T_TYPE): Likewise.
1551 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1552 __SWORD_TYPE with __fsword_t.
1553 (statfs64): Likewise.
1554
1ba7c3dc
DM
15552012-05-17 David S. Miller <davem@davemloft.net>
1556
1557 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1558
59910343
AJ
15592012-05-17 Andreas Jaeger <aj@suse.de>
1560
1561 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1562 warning.
1563
2e4c1e9e
L
15642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1565
1566 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1567
de7f5ce7
AJ
15682012-05-17 Andreas Jaeger <aj@suse.de>
1569
1570 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1571 when it is used.
1572
286abc3d
CM
15732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1574
1575 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1576
477cc68e
L
15772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1578
1579 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1580 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1581
1a0994f5
CD
15822012-05-17 Andreas Jaeger <aj@suse.de>
1583 Carlos O'Donell <carlos_odonell@mentor.com>
1584
1585 [BZ #14059]
1586 * sysdeps/x86_64/multiarch/init-arch.h
1587 (bit_YMM_Usable): Rename to...
1588 (bit_AVX_Usable): ... this.
1589 (bit_FMA4_Usable): New macro.
1590 (bit_XMM_state): New macro.
1591 (bit_YMM_state): New macro.
1592 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1593 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1594 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1595 (CPUID_OSXSAVE): New macro.
1596 (CPUID_AVX): New macro.
1597 (CPUID_FMA4): New macro.
1598 (index_YMM_Usable): Rename to...
1599 (index_AVX_Usable): ... this.
1600 (HAS_AVX): Use HAS_ARCH_FEATURE.
1601 (HAS_FMA4): Likewise.
1602 (HAS_YMM_USABLE): Remove.
1603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1604 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1605 are present.
1606 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1607 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1608 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1609 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1610 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1611
0af797de
CM
16122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1613
1614 * math/libm-test.c: Support platforms without multiple rounding modes.
1615 * math/bug-nextafter.c: Support platforms without FP exceptions.
1616 * math/bug-nexttoward.c: Likewise.
1617 * math/test-fenv.c: Likewise.
1618 * math/test-misc.c: Likewise.
1619 * stdlib/bug-getcontext.c: Likewise.
1620
e39745ff
AJ
16212012-05-17 Andreas Jaeger <aj@suse.de>
1622
1623 * manual/examples/search.c (critter_cmp): Change signature to
1624 avoid warnings.
1625 * manual/string.texi (Collation Functions): Likewise.
1626
48970aba
L
16272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1628
1629 * bits/types.h: Fold copyright years.
1630 * bits/typesizes.h: Likewise.
1631 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1632 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1634 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1635 * time/time.h: Likewise.
1636
bedee953
PP
16372012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1638
1639 [BZ #208]
1640 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1641 in instead of returning them. Return void.
1642 (__libc_mallinfo): Accumulate over all arenas.
1643 (__malloc_stats): Adjust for change in int_mallinfo interface.
1644
61653dfb
RM
16452012-05-16 Roland McGrath <roland@hack.frob.com>
1646
30b99d79
RM
1647 [BZ #10375]
1648 * configure.in (NM): Add AC_CHECK_TOOL for it.
1649 (libc_extra_cflags): New substituted variable.
1650 Check for -fstack-protector being used implicitly.
1651 * configure: Regenerated.
1652 * config.make.in (config-extra-cflags): New variable,
1653 gets @libc_extra_cflags@.
1654 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1655
61653dfb
RM
1656 [BZ #10375]
1657 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1658 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1659 * configure: Regenerated.
1660 * config.make.in (CPPUNDEFS): New substituted variable.
1661 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1662 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1663 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1664
661768bb
L
16652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1666
1667 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1668 (mq_attr): Use __syscall_slong_t.
1669
d4261567
L
16702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1671
1672 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1673 Check __x86_64__ instead of __WORDSIZE.
1674 (_STAT_VER_LINUX): Likewise.
1675 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1676 __syscall_ulong_t and __syscall_slong_t.
1677 (stat64): Likewise.
1678
cf3ff365
L
16792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1680
1681 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1682
76cf3e4d
L
16832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1684
1685 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1686
a637753a
L
16872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1688
1689 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1690 __syscall_ulong_t.
1691
d5e05119
L
1692 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1693 include <bits/wordsize.h>. Check __x86_64__ instead of
1694 __WORDSIZE.
1695 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1696 defined.
1697 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1698
f62ee380
L
1699 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1700 include <bits/wordsize.h>. Check __x86_64__ instead of
1701 __WORDSIZE.
1702 (user_regs_struct): Use "__extension__ unsigned long long"
1703 instead of "unsigned long" if __x86_64__ is defined.
1704 (user): Likewise. Pad after pointer field if __ILP32__ is
1705 defined.
1706
4e124ced
JM
17072012-05-16 Joseph Myers <joseph@codesourcery.com>
1708
6a3951a0
JM
1709 * configure.in (makeinfo): Require version 4.5 or later. Allow
1710 versions 5 to 9.
1711 * configure: Regenerated.
1712 * manual/install.texi (texinfo): Increase version requirement to
1713 4.5 or later.
1714 * INSTALL: Regenerated.
1715
4e124ced
JM
1716 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1717
953ca31a
L
17182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1719
1720 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1721
617aca05
L
1722 * sysdeps/x86_64/x32/ffs.c: New file.
1723
5762f7ae
L
1724 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1725 __syscall_ulong_t.
1726 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1727 defined. Use __syscall_ulong_t.
1728 (shminfo): Use __syscall_ulong_t.
1729 (shm_info): Likewise.
1730
a26b6856
L
1731 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1732 __syscall_ulong_t.
1733
cb2b9ef7
L
1734 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1735 <bits/wordsize.h>.
1736 (msgqnum_t): Use __syscall_ulong_t.
1737 (msglen_t): Likewise.
1738 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1739 __syscall_ulong_t.
1740
34683bb0
L
1741 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1742 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1743
84a68786
L
1744 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1745
48baa5f1
L
1746 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1747 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1748
180be88b
L
1749 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1750 __syscall_slong_t.
1751
5e90c8ad
L
1752 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1753 include <bits/wordsize.h>. Check __x86_64__ instead of
1754 __WORDSIZE.
1755
23dfb58b
L
1756 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1757 "unsigned long long int" if __x86_64__ is defined.
1758 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1759
ce5d54b0
L
1760 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1762 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1763
13dc9eac
L
1764 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1765 <stdint.h>.
1766 (GET_PC): Cast to uintptr_t first.
1767 (GET_FRAME): Likewise.
1768 (GET_STACK): Likewise.
1769
a7895d15
L
1770 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1771 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1772 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1773 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1774 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1775 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1776 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1777 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1778 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1779 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1780 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1781 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1782 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1783 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1784 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1785 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1786 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1787 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1788 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1789 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1790 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1791 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1792 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1793 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1794 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1795 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1796 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1797 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1798 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1799
656416c9
AS
18002012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1801
5bd66283
AS
1802 * Makerules (+depfiles): Also collect depfiles from .oS in
1803 $(extra-objs).
1804 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1805 .oS, $(libnldbl-routines)).
1806
656416c9
AS
1807 * Makerules (native-compile-mkdep-flags): Define.
1808 * sunrpc/Makefile (extra-objs): Add $(addprefix
1809 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1810 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1811 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1812 calling $(make-target-directory).
1813
a46f2169
L
18142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1815
1816 * bits/types.h (__snseconds_t): Removed.
1817 * time/time.h (struct timespec): Replace __snseconds_t with
1818 __syscall_slong_t.
1819 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1820 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1821 Likewise.
1822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1823 (__SNSECONDS_T_TYPE): Likewise.
1824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1825 (__SNSECONDS_T_TYPE): Likewise.
1826 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1827 (__SNSECONDS_T_TYPE): Likewise.
1828
6af6528b
L
18292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1830
1831 * sysdeps/mach/hurd/bits/typesizes.h
1832 (__SYSCALL_SLONG_TYPE): New macro.
1833 (__SYSCALL_ULONG_TYPE): Likewise.
1834
de986b56
L
18352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1836
1837 * bits/types.h (__syscall_slong_t): New type.
1838 (__syscall_ulong_t): Likewise.
1839
1840 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1841 (__SYSCALL_ULONG_TYPE): Likewise.
1842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1843 (__SYSCALL_SLONG_TYPE): Likewise.
1844 (__SYSCALL_ULONG_TYPE): Likewise.
1845 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1846 (__SYSCALL_SLONG_TYPE): Likewise.
1847 (__SYSCALL_ULONG_TYPE): Likewise.
1848 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1849 (__SYSCALL_SLONG_TYPE): Likewise.
1850 (__SYSCALL_ULONG_TYPE): Likewise.
1851
85736dc7
L
18522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1853
1854 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1855 Add sigaltstack-offsets.sym.
1856 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1857 <sigaltstack-offsets.h>.
1858 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1859 longjmp_msg pointer.
1860 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1861 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1862 signal stack.
1863 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1864
cc03b296
JM
18652012-05-15 Joseph Myers <joseph@codesourcery.com>
1866
a9538892
JM
1867 * elf/stackguard-macros.h: Remove file.
1868 * sysdeps/generic/stackguard-macros.h: New file.
1869 * sysdeps/i386/stackguard-macros.h: Likewise.
1870 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1871 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1872 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1873 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1874 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1875 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1876 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1877 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1878 <elf/stackguard-macros.h>.
1879
cc03b296
JM
1880 [BZ #14109]
1881 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1882 __aligned__ in attribute.
1883 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1884 (gregset_t): Likewise.
1885
93171016
L
18862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1887
1888 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1889 * sysdeps/x86_64/64/Implies-after: Here. New file.
1890 * sysdeps/x86_64/x32/Implies-after: New file.
1891
d86813a0
L
18922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1893
1894 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1895 and access return value for _dl_profile_fixup. Use R10_LP to
1896 load frame size.
1897
2953ec75
L
18982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1899
1900 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1901
3b550e9e
L
19022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1905 * sysdeps/x86_64/x32/sysdep.h: New file.
1906
eda41706
L
19072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1908
1909 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1910 * sysdeps/x86_64/setjmp.S: Likewise.
1911
9ea01d93
AZ
19122012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1913
1914 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1915 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1916 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1917 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1918 remove unused global constant.
1919
02a91938
CM
19202012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1921
1922 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1923 include of <not-cancel.h>.
1924
6540185f
RM
19252012-05-15 Roland McGrath <roland@hack.frob.com>
1926
1927 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1928
509072a0
AJ
19292012-05-15 Jeff Law <law@redhat.com>
1930 Andreas Jaeger <aj@suse.de>
1931
1932 [BZ #13594]
1933 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1934 out from...
1935 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1936 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1937 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1938 code changing __hst_map_handle.map.
1939
ba75122d
RM
19402012-05-15 Roland McGrath <roland@hack.frob.com>
1941
1942 * configure.in (sysnames): Look for Implies-before and Implies-after
1943 files.
1944 * configure: Regenerated.
1945
890d8bd8
L
19462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1947
1948 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1949 8-byte data alignment with LP_SIZE alignment.
1950
f6ee6623
L
19512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1952
1953 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1954 into R10_LP.
1955
ea2626f6
L
19562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1957
1958 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1959
085f715e
L
19602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1961
1962 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1963 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1965 Likewise.
1966 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1967
be8498fc
L
19682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1969
1970 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1971 (stackinfo_sub_sp): Likewise.
1972
70bc83b9
L
19732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1974
1975 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1976 RAX_LP.
1977
9bc0b730
L
19782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1979
1980 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1981 into R*_LP.
1982
6d2850e7
L
19832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1984
1985 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1986 sizes into R*_LP.
1987
3cb84561
L
19882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1989
1990 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1991
54e2ed81
L
19922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1993
1994 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1995 into R11_LP and load __x86_64_shared_cache_size_half into
1996 R8_LP.
1997
8a17f349
L
19982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1999
2000 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2001 R8_LP.
2002
777b1eea
AZ
20032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004
2005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2006 logb for POWER7.
2007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2008 logbf for POWER7.
2009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2010 logbl for POWER7.
2011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2012 powerpc32/power7/fpu/s_logb.c via #include.
2013 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2014 powerpc32/power7/fpu/s_logbf.c via #include.
2015 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2016 powerpc32/power7/fpu/s_logbl.c via #include.
2017
d20d4ac2
JM
20182012-05-15 Joseph Myers <joseph@codesourcery.com>
2019
2020 * README.libm: Remove file.
2021
6cdef1ab
L
20222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2023
2024 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2025 count for x32. Use R*_LP and omit operand-size suffix.
2026
0b254d8f
L
20272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2028
2029 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2030 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2031 * sysdeps/x86_64/x32/shlib-versions: New file.
2032
ceb809dc
RM
20332012-05-14 Roland McGrath <roland@hack.frob.com>
2034
2035 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2036 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2037 Use _dl_fatal_printf instead.
2038
37f1abd4
JM
20392012-05-14 Joseph Myers <joseph@codesourcery.com>
2040
2041 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2042 set if not set by the user. Do not allow for being unset.
2043 * sysdeps/unix/sysv/linux/configure: Regenerated.
2044
11de3a33
L
20452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2046
2047 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2048 the `q' suffix from lea and replace .quad with ASM_ADDR.
2049
e02f153a
L
20502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2051
2052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2053 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2054 instead of $17.
2055 (PTR_DEMANGLE): Likewise.
2056
520ae0fd
L
20572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2058
2059 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2060 (LP_OP): Likewise.
2061 (ASM_ADDR): Likewise.
2062 (RAX_LP): Likewise.
2063 (RBP_LP): Likewise.
2064 (RBX_LP): Likewise.
2065 (RCX_LP): Likewise.
2066 (RDI_LP): Likewise.
2067 (RSI_LP): Likewise.
2068 (RSP_LP): Likewise.
2069 (R8_LP): Likewise.
2070 (R9_LP): Likewise.
2071 (R10_LP): Likewise.
2072 (R10_LP): Likewise.
2073 (R11_LP): Likewise.
2074 (R12_LP): Likewise.
2075 (R13_LP): Likewise.
2076 (R14_LP): Likewise.
2077 (R15_LP): Likewise.
2078
b985be81
L
20792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2080
2081 * sysdeps/x86_64/x32/dl-machine.h: New file.
2082
6a4888ff
AJ
20832012-05-14 Andreas Jaeger <aj@suse.de>
2084
2085 * manual/Makefile (subdir): Remove export of subdir.
2086 (all): Remove target.
2087 (.PHONY): Remove all from list.
2088 (mkinstalldirs): Remove.
2089 (.PHONY): Remove installdirs from list.
2090 ($(inst_infodir)/libc.info): Use make-target-directory.
2091 (installdirs): Remove.
2092 (subdir_%): Remove.
2093 (glibc-targets): Remove.
2094 (lib): Remove.
2095 (stubs): Remove.
2096 ($(objpfx)stubs ../po/manual.pot): Remove.
2097 ($(objpfx)stamp%): Remove.
2098 (make-target-directory): Remove.
2099 (subdir_install): Remove.
2100 (routines): Remove.
2101 (aux): Remove.
2102 (sources): Remove.
2103 (objects): Remove.
2104 (headers): Remove.
2105
2106 [BZ #13750]
2107 * manual/.gitignore: Remove, it's not needed anymore.
2108 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2109 all files in it.
2110 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2111 directory.
2112 (texis): Renamed to $(objpfx)texis.
2113 (texis-path): New, contains path to generated files.
2114 (chapters.%): Use texis-path for complete path, add extra argument
2115 libc-texinfo.sh.
2116 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2117 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2118 (summary,texi, stamp-summary): Use complete path of
2119 files. Generate files in build dir.
2120 (dir-add.texi): Build in build dir.
2121 (libm-err.texi,stamp-libm-err): Likewise.
2122 (version.texi, stamp-version): Likewise.
2123 (.%c.texi): Likewise.
2124 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2125 (mostlyclean): Remove target.
2126 (realclean): Remove target.
2127 (generated): Add new variable with contents from mostlyclean and
2128 realclean, remove entries duplicated in common-mostlyclean, add
2129 stamp-libm-err and stamp-version.
2130 (generated-dirs): Add libc directory.
2131 ($(inst_infodir)/libc.info): Install files from build dir.
2132
2133 * manual/install.texi (Configuring and compiling): Adjust since
2134 the info files are not part of the tar ball anymore.
2135
7ac77294
AJ
21362012-05-14 Andreas Jaeger <aj@suse.de>
2137
2138 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2139 variable.
2140
ffb7875d
JM
21412012-05-14 Joseph Myers <joseph@codesourcery.com>
2142
2143 [BZ #13717]
2144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2145 to 2.2.0 where earlier.
2146 * sysdeps/unix/sysv/linux/configure: Regenerated.
2147 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2148 Remove conditional code.
2149 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2150 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2151 Remove conditional code.
2152 [!__NR_lchown]: Likewise.
2153 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2154 [__NR_lchown]: Likewise.
2155 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2156 comment referencing __ASSUME_LCHOWN_SYSCALL.
2157 * sysdeps/unix/sysv/linux/i386/sigaction.c
2158 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2159 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2160 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2161 Remove conditional code.
2162 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2163 (__protocol_available): Remove #if 0 code.
2164 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2165 conditional code.
2166 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2167 * sysdeps/unix/sysv/linux/kernel-features.h
2168 (__ASSUME_GETCWD_SYSCALL): Don't define.
2169 (__ASSUME_REALTIME_SIGNALS): Likewise.
2170 (__ASSUME_PREAD_SYSCALL): Likewise.
2171 (__ASSUME_PWRITE_SYSCALL): Likewise.
2172 (__ASSUME_POLL_SYSCALL): Likewise.
2173 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2174 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2175 non-SPARC.
2176 (__ASSUME_SIOCGIFNAME): Don't define.
2177 (__ASSUME_MSG_NOSIGNAL): Likewise.
2178 (__ASSUME_SENDFILE): Define unconditionally.
2179 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2180 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2181 conditional code.
2182 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2183 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2184 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2185 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2186 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2187 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2188 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2190 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2193 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2196 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2202 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2205 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2208 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2211 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2213 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2214 Remove conditional code.
2215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2216 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2217 Remove conditional code.
2218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2219 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2220 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2221 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2222 Remove conditional code.
2223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2224 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2225 Remove conditional code.
2226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2227 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2228 Remove conditional code.
2229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2230 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2231 Remove conditional code.
2232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2233 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2234 Remove conditional code.
2235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2236 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2237 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2239 * sysdeps/unix/sysv/linux/sigaction.c
2240 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2241 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2242 * sysdeps/unix/sysv/linux/sigpending.c
2243 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2244 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2245 * sysdeps/unix/sysv/linux/sigprocmask.c
2246 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2247 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2248 * sysdeps/unix/sysv/linux/sigsuspend.c
2249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2251 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2252 (__libc_missing_rt_sigs): Remove.
2253 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2254 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2255 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2256 Remove conditional code.
2257 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2258 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2259 return 1.
2260 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2261 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2262 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2263 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2264
1bfb7291
AJ
22652012-05-14 Andreas Jaeger <aj@suse.de>
2266
caae5a81
AJ
2267 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2268 it's not used in glibc.
2269 (__coshm1): Likewise.
2270 (__acosh1p): Likewise.
2271 (__sgn): Likewise.
2272
1bfb7291
AJ
2273 * manual/string.texi (Copying and Concatenation): Add missing
2274 variable in concat example.
2275 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2276
c044d724
L
22772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2278
144c5467 2279 [BZ #14103]
c044d724
L
2280 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2281 __builtin_clzl with __builtin_clzll.
2282
2523c62b
L
22832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2284
2285 [BZ #14104]
2286 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2287 libc_freeres_ptr.
2288
d7bb4c42
LD
22892012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2290
2291 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2292 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2293 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2294 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2295
9dc4e1fb
MF
22962012-05-14 Mike Frysinger <vapier@gentoo.org>
2297
2298 * NEWS: Update ia64 info.
2299
c7df0112
AS
23002012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2301
2302 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2303 used as bcopy.
2304
dc70356c
TS
23052012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2306
2307 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2308 * sysdeps/unix/syscalls.list (dup3): Likewise.
2309 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2310 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2311
9fb1a21f
L
23122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2313
2314 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2315 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2316
4822a2a5
L
23172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2318
2319 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2320 thread pointer.
2321 (TLS_IE): Use mov/add instead of movq/addq to load thread
2322 pointer.
2323 (TLS_GD_PREFIX): New.
2324 (TLS_GD): Use it.
2325
842b81d6
DM
23262012-05-11 David S. Miller <davem@davemloft.net>
2327
2328 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2329 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2330 (_FPU_SETCW): Likewise.
2331
1cf463cd
L
23322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2333
2334 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2335 is 32-byte aligned.
2336
60cc4a18
AS
23372012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2338
2339 [BZ #11837]
2340 * iconvdata/gb18030.c: Update tables.
2341 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2342 characters specially.
2343 (BODY for TO_LOOP): Add encoding of missing ranges.
2344
febb44a4
TS
23452012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2346
2347 [BZ #13673]
2348 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2349 * sysdeps/mach/hurd/dup3.c: Likewise.
2350 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2351 * sysdeps/powerpc/memmove.c:: Likewise.
2352
0a10fb9e
L
23532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2354
2355 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2356 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2357
df8a552f
L
23582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2359
2360 * elf/elf.h (R_X86_64_RELATIVE64): New.
2361 (R_X86_64_NUM): Updated.
2362 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2363 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2364 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2365 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2366 tst-quad1pie tst-quad2pie
2367 (modules-names): Add tst-quadmod1 tst-quadmod2.
2368 ($(objpfx)tst-quad1): New dependency.
2369 ($(objpfx)tst-quad2): Likewise.
2370 ($(objpfx)tst-quad1pie): Likewise.
2371 ($(objpfx)tst-quad2pie): Likewise.
2372 * sysdeps/x86_64/tst-quad1.c: New file.
2373 * sysdeps/x86_64/tst-quad1pie.c: New file.
2374 * sysdeps/x86_64/tst-quad2.c: Likewise.
2375 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2376 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2377 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2378 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2379 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2380
f34d6f84
ST
23812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2382
f42d41d1
ST
2383 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2384 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2385 * streams/stropts.h (t_scalar_t): Define type.
2386
3c3571fc
ST
2387 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2388 (_PATH_PRESERVE): Set to "/var/lib".
2389 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2390
61f06bd3
ST
2391 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2392 instead of int.
2393
918d4d71
ST
2394 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2395 if __dir_mkfile succeeded.
2396
f34d6f84
ST
2397 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2398 checking for _hurd_dtablesize. Unlock it right after having
2399 finished _hurd_dtable allocation.
2400
10589b4a
TS
24012012-05-10 Thomas Schwinge <thomas@schwinge.name>
2402
674cdbc7
TS
2403 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2404 * sysdeps/mach/hurd/configure: Regenerated.
2405 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2406 special-casing to...
2407 * sysdeps/gnu/configure.in: ... this new file.
2408 * sysdeps/unix/sysv/linux/configure: Regenerated.
2409 * sysdeps/gnu/configure: New generated file.
2410
8e41b99f
TS
2411 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2412 for Linux: use nsec instead of usec, as well as:
2413 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2414 members of type struct timespec.
2415 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2416 New macros.
2417 (struct stat64): Likewise.
2418 (_STATBUF_ST_NSEC): New macro.
2419 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2420
10589b4a
TS
2421 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2422 __strtoul_internal rather than strtoul.
2423
63643c85
PT
24242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2425
2426 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2427 and reject them.
2428
3faebe6a
ST
24292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2430
2431 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2432 which preserves existing values.
2433 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2434
c6474b07
PT
24352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2436
2437 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2438 TIMEOUT values. Return EINVAL for NFDS values either negative or
2439 greater than FD_SETSIZE.
2440
1043890b
ST
24412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2442
2443 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2444 allocated, call __vm_protect to finish enabling the existing space, and
2445 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2446 allocate the remainder.
2447
37ed8b9b
PT
24482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2449
2450 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2451 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2452
db653660
ST
24532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2454
37ed8b9b
PT
2455 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2456 sysdeps/mach/hurd/readlink.c.
b29d4053 2457
db653660
ST
2458 * posix/tst-sysconf.c (posix_options): Only use
2459 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2460 _POSIX_SYNCHRONIZED_IO when they are defined
2461 * sysdeps/mach/hurd/bits/posix_opt.h:
2462 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2463 (_XOPEN_REALTIME): Undefine macro.
2464 (_XOPEN_REALTIME_THREADS): Undefine macro.
2465 (_XOPEN_SHM): Undefine macro.
2466 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2467 macro to -1.
2468 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2469 macro to -1.
2470 (_POSIX_ASYNC_IO): Undefine macro.
2471 (_POSIX_PRIORITIZED_IO): Undefine macro.
2472 (_POSIX_SPIN_LOCKS): Define macro to -1.
2473
ee16e894
ST
2474 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2475 SA_NODEFER, SA_RESETHAND.
2476 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2477 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2478 F_DUPFD_CLOEXEC.
2479
6103ae3b
TS
24802012-05-10 Thomas Schwinge <thomas@schwinge.name>
2481
2482 * elf/Makefile (pldd-modules): Define unconditionally.
2483
80b4e5f3
TS
24842012-05-10 Thomas Schwinge <thomas@schwinge.name>
2485
2486 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2487
edadcbd6
ST
24882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2489
2490 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2491 Return ENOENT when name is empty.
2492 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2493
80694780
TS
24942012-05-10 Thomas Schwinge <thomas@schwinge.name>
2495
1792c087
TS
2496 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2497
80694780
TS
2498 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2499
6b645f0d
ST
25002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2501
80694780
TS
2502 Fix mlock in all cases except non-readable pages.
2503 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2504 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2505
6b645f0d
ST
2506 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2507 (__mkdir): When path is `/', just fail with EEXIST.
2508 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2509
e468f8a3
TS
25102012-05-10 Thomas Schwinge <thomas@schwinge.name>
2511
2512 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2513 <sys/uio.h> (for writev).
2514 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2515 and <sys/param.h> (for MIN).
2516
a4186cff
PT
25172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2518
2519 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2520 REQUESTED_TIME. Properly set the remaining time and return EINTR
2521 if interrupted.
2522
510bbf14
TS
25232012-05-10 Thomas Schwinge <thomas@schwinge.name>
2524
2525 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2526 Depend on against $(link-rpcuserlibs).
2527
5d5722e8
ST
25282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2529
a4186cff
PT
2530 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2531 (__libc_stack_end): Do not use attribute_relro.
2532 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2533 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2534 to libthread-provided value.
a4186cff
PT
2535 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2536 attribute_relro.
5d5722e8 2537
37233df9
TS
25382012-05-10 Thomas Schwinge <thomas@schwinge.name>
2539
be971a2b
TS
2540 [BZ #3748]
2541 * bits/libc-lock.h (__libc_once_get): New macro.
2542 * sysdeps/mach/bits/libc-lock.h: Likewise.
2543 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2544 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2545 instead of using implementation details.
2546
37233df9
TS
2547 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2548 * libio/freopen.c: Likewise.
2549 * libio/freopen64.c: Likewise.
2550 * misc/syslog.c: Likewise.
2551 * nscd/connections.c: Likewise.
2552 * nscd/netgroupcache.c: Likewise.
2553 * sysdeps/posix/getcwd.c: Likewise.
2554
38de94a5
RM
25552012-05-10 Roland McGrath <roland@hack.frob.com>
2556
2557 * math/w_ilogbf.c: Add #include <limits.h>.
2558
67530489
ST
25592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2560
a4186cff 2561 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2562 path instead of returning without unlocking.
2563
67530489
ST
2564 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2565 immediate-write ioctls.
2566 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2567
5aa3a74a
TS
25682012-05-10 Thomas Schwinge <thomas@schwinge.name>
2569
18bad2ae
TS
2570 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2571 __builtin_frame_address instead of making assumptions about the
2572 location of the return address relative to DATA. Force early load of
2573 the return address.
2574 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2575 __builtin_frame_address.
2576
5aa3a74a
TS
2577 dup3 for GNU Hurd.
2578 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2579 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2580 implement dup3 and do some further code clean-ups.
2581 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2582 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2583
ecd0de9a
ST
25842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2585
cd9fa985
ST
2586 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2587
a4186cff
PT
2588 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2589 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2590 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2591 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2592 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2593 d->port.lock.
802ca5a5 2594
a4186cff
PT
2595 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2596 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2597 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2598
bcf55240
TS
25992012-05-10 Thomas Schwinge <thomas@schwinge.name>
2600
6960eb42
TS
2601 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2602 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2603 definitions.
2604
eb43375f
TS
2605 accept4 for GNU Hurd.
2606 * include/sys/socket.h (__libc_accept4): New prototype.
2607 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2608 to implement __libc_accept4.
2609 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2610 __libc_accept4.
2611 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2612
bcf55240
TS
2613 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2614 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2615 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2616 signal-defines.sym.
2617
6178c55b
ST
26182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2619
a4186cff 2620 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2621
6f080c2f
TS
26222012-05-10 Thomas Schwinge <thomas@schwinge.name>
2623
2624 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2625 assertion on O_CLOEXEC flag.
2626 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2627 * hurd/intern-fd.c: Likewise.
2628 * hurd/port2fd.c: Likewise.
2629
bcfe3a54
ST
26302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2631
2632 [BZ #3906]
2633 * bits/in.h (IPV6_PKTINFO): Define new macro.
2634 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2635
89c9aa49
AZ
26362012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2637
2638 [BZ #13954]
2639 [BZ #13955]
2640 [BZ #13956]
2641 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2643 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2644 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2646 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2647 * math/libm-test.inc (logb_test) : Additional logb tests.
2648
021db4be
AJ
26492012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2650 Andreas Jaeger <aj@suse.de>
2651
2652 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2653 * configure: Regenerated.
2654 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2655 * config.make.in (link-obsolete-rpc): New substituted variable.
2656 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2657 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2658 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2659 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2660 so that libc.a contains the symbols.
2661 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2662 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2663 * sunrpc/auth_none.c: Likewise.
2664 * sunrpc/auth_unix.c: Likewise.
2665 * sunrpc/authdes_prot.c: Likewise.
2666 * sunrpc/authuxprot.c: Likewise.
2667 * sunrpc/clnt_gen.c: Likewise.
2668 * sunrpc/clnt_perr.c: Likewise.
2669 * sunrpc/clnt_raw.c: Likewise.
2670 * sunrpc/clnt_simp.c: Likewise.
2671 * sunrpc/clnt_tcp.c: Likewise.
2672 * sunrpc/clnt_udp.c: Likewise.
2673 * sunrpc/clnt_unix.c: Likewise.
2674 * sunrpc/des_crypt.c: Likewise.
2675 * sunrpc/des_soft.c: Likewise.
2676 * sunrpc/get_myaddr.c: Likewise.
2677 * sunrpc/key_call.c: Likewise.
2678 * sunrpc/key_prot.c: Likewise.
2679 * sunrpc/netname.c: Likewise.
2680 * sunrpc/pm_getmaps.c: Likewise.
2681 * sunrpc/pm_getport.c: Likewise.
2682 * sunrpc/pmap_clnt.c: Likewise.
2683 * sunrpc/pmap_prot.c: Likewise.
2684 * sunrpc/pmap_prot2.c: Likewise.
2685 * sunrpc/pmap_rmt.c: Likewise.
2686 * sunrpc/publickey.c: Likewise.
2687 * sunrpc/rpc_cmsg.c: Likewise.
2688 * sunrpc/rpc_common.c: Likewise.
2689 * sunrpc/rpc_dtable.c: Likewise.
2690 * sunrpc/rpc_prot.c: Likewise.
2691 * sunrpc/rpc_thread.c: Likewise.
2692 * sunrpc/rtime.c: Likewise.
2693 * sunrpc/svc.c: Likewise.
2694 * sunrpc/svc_auth.c: Likewise.
2695 * sunrpc/svc_raw.c: Likewise.
2696 * sunrpc/svc_run.c: Likewise.
2697 * sunrpc/svc_tcp.c: Likewise.
2698 * sunrpc/svc_udp.c: Likewise.
2699 * sunrpc/svc_unix.c: Likewise.
2700 * sunrpc/svcauth_des.c: Likewise.
2701 * sunrpc/xcrypt.c: Likewise.
2702 * sunrpc/xdr.c: Likewise.
2703 * sunrpc/xdr_array.c: Likewise.
2704 * sunrpc/xdr_float.c: Likewise.
2705 * sunrpc/xdr_intXX_t.c: Likewise.
2706 * sunrpc/xdr_mem.c: Likewise.
2707 * sunrpc/xdr_rec.c: Likewise.
2708 * sunrpc/xdr_ref.c: Likewise.
2709 * sunrpc/xdr_sizeof.c: Likewise.
2710 * sunrpc/xdr_stdio.c: Likewise.
2711
b5c086a2
RM
27122012-05-10 Roland McGrath <roland@hack.frob.com>
2713
2714 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2715 change. Update copyright years.
2716
6d74dd09
JM
27172012-05-10 Joseph Myers <joseph@codesourcery.com>
2718
2719 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2720
28e72501
MK
27212012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2722 Joseph Myers <joseph@codesourcery.com>
2723 Paul Pluzhnikov <ppluzhnikov@google.com>
2724
2725 [BZ #14012]
2726 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2727 requiring rpcgen.
2728 [cross-compiling] (extra-libs): Likewise.
2729 [cross-compiling] (extra-libs-others): Likewise.
2730 [cross-compiling] (librpcsvc-routines): Likewise.
2731 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2732 [cross-compiling] (omit-deps): Likewise.
2733 (sunrpc-CPPFLAGS): New variable.
2734 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2735 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2736 (cross-rpcgen-objs): New variable.
2737 (extra-objs): Append $(cross-rpcgen-objs).
2738 ($(cross-rpcgen-objs)): New rule.
2739 ($(objpfx)cross-rpcgen): Likewise.
2740 (rpcgen-cmd): Define to use $(built-program-file). Expand
2741 comment.
2742 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2743 ($(objpfx)x%.stmp): Likewise.
2744 * sunrpc/proto.h [IS_IN_build] (_): Define.
2745 [IS_IN_build] (_libc_intl_domainname): Likewise.
2746
c8c59454
L
27472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2748
2749 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2750 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2751 and R_X86_64_TPOFF64.
2752
6f27cd16
JM
27532012-05-10 Joseph Myers <joseph@codesourcery.com>
2754
2755 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2756 sysdeps/unix/sysv/syscalls.list.
2757 (stime): Likewise.
2758 (utime): Likewise.
2759 * sysdeps/unix/sysv/syscalls.list: Remove file.
2760
02467e1c
PE
27612012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2762
2763 [BZ #3440]
2764 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2765 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2766 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2767 (__LC_IDENTIFICATION): Make these macros useful in #if
2768 expressions, as required by C99.
2769
da392631
AS
27702012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2771
2772 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2773 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2774 after this.
2775
8115f29b
L
27762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2777
2778 * stdlib/longlong.h: Updated from GCC.
2779
bdd74070
AJ
27802012-05-09 Andreas Jaeger <aj@suse.de>
2781
edfe0dbe
AJ
2782 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2783 default is first entry.
2784 (run_mode): Set type.
2785 (main): Remove informal message about syslog.
2786 (options): Fix typo.
2787
bcfe3a54
ST
2788 [BZ #14053]
2789 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2790 to asm.
bcfe3a54
ST
2791 (lrint): Likewise.
2792 (llrintf): Likewise.
2793 (llrint): Likewise.
2794 (rint): Likewise.
2795 (rintf): Likewise.
2796 (nearbyint): Likewise.
2797 (nearbyintf): Likewise.
bdd74070 2798
91d8d69e
AJ
27992012-05-09 Andreas Jaeger <aj@suse.de>
2800 Pedro Alves <palves@redhat.com>
2801
2802 * nscd/nscd.c (run_mode): Use enum.
2803 (main): Cleanup coding style issue.
2804
bb90b80b
AJ
28052012-05-09 Alexandre Oliva <aoliva@redhat.com>
2806 Andreas Jaeger <aj@suse.de>
2807
bcfe3a54
ST
2808 * nscd/nscd.c (go_background): Replaced with...
2809 (run_mode): ... this.
bb90b80b 2810 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2811 (options): Add -F --foreground.
2812 (main): Implement it.
2813 (parse_opt): Parse it.
bb90b80b 2814
1a4b75a1
AJ
28152012-05-09 Andreas Jaeger <aj@suse.de>
2816
2817 [BZ #14083]
2818 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2819 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2820 -Wconversion warning.
2821 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2822 Likewise.
2823
b1cc2472
JM
28242012-05-09 Joseph Myers <joseph@codesourcery.com>
2825
2826 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2827 == 0.
2828 (LC_ALL): Use macro-int-constant.
2829 (LC_COLLATE): Likewise.
2830 (LC_CTYPE): Likewise.
2831 (LC_MESSAGES): Likewise.
2832 (LC_MONETARY): Likewise.
2833 (LC_NUMERIC): Likewise.
2834 (LC_TIME): Likewise.
2835 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2836 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2837 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2838 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2839 Specify type.
2840 [C99-based standards] (float_t): Expect type.
2841 [C99-based standards] (double_t): Expect type.
2842 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2843 type.
2844 [C99-based standards] (HUGE_VALL): Likewise.
2845 [C99-based standards] (INFINITY): Likewise.
2846 [C99-based standards] (NAN): Likewise.
2847 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2848 [C99-based standards] (FP_NAN): Likewise.
2849 [C99-based standards] (FP_NORMAL): Likewise.
2850 [C99-based standards] (FP_SUBNORMAL): Likewise.
2851 [C99-based standards] (FP_ZERO): Likewise.
2852 [C99-based standards] (FP_FAST_FMA): Use
2853 optional-macro-int-constant. Specify type. Require == 1.
2854 [C99-based standards] (FP_FAST_FMAF): Likewise.
2855 [C99-based standards] (FP_FAST_FMAL): Likewise.
2856 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2857 [C99-based standards] (FP_ILOGBNAN): Likewise.
2858 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2859 Specify type.
2860 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2861 [C99-based standards] (math_errhandling): Specify type.
2862 [ISO99 || ISO11] (signgam): Do not allow.
2863 [non-C99-based standards] (copysignf): Do not allow.
2864 [non-C99-based standards] (exp2f): Likewise.
2865 [non-C99-based standards] (log2f): Likewise.
2866 [non-C99-based standards] (modff): Allow.
2867 [non-C99-based standards] (erff): Do not allow.
2868 [non-C99-based standards] (erfcf): Likewise.
2869 [non-C99-based standards] (gammaf): Likewise.
2870 [non-C99-based standards] (hypotf): Likewise.
2871 [non-C99-based standards] (j0f): Likewise.
2872 [non-C99-based standards] (j1f): Likewise.
2873 [non-C99-based standards] (jnf): Likewise.
2874 [non-C99-based standards] (lgammaf): Likewise.
2875 [non-C99-based standards] (tgammaf): Likewise.
2876 [non-C99-based standards] (y0f): Likewise.
2877 [non-C99-based standards] (y1f): Likewise.
2878 [non-C99-based standards] (ynf): Likewise.
2879 [non-C99-based standards] (isnanf): Likewise.
2880 [non-C99-based standards] (acoshf): Likewise.
2881 [non-C99-based standards] (asinhf): Likewise.
2882 [non-C99-based standards] (atanhf): Likewise.
2883 [non-C99-based standards] (cbrtf): Likewise.
2884 [non-C99-based standards] (expm1f): Likewise.
2885 [non-C99-based standards] (ilogbf): Likewise.
2886 [non-C99-based standards] (log1pf): Likewise.
2887 [non-C99-based standards] (logbf): Likewise.
2888 [non-C99-based standards] (nextafterf): Likewise.
2889 [non-C99-based standards] (remainderf): Likewise.
2890 [non-C99-based standards] (rintf): Likewise.
2891 [non-C99-based standards] (scalbf): Likewise.
2892 [non-C99-based standards] (copysignl): Likewise.
2893 [non-C99-based standards] (exp2l): Likewise.
2894 [non-C99-based standards] (log2l): Likewise.
2895 [non-C99-based standards] (modfl): Allow.
2896 [non-C99-based standards] (erfl): Do not allow.
2897 [non-C99-based standards] (erfcl): Likewise.
2898 [non-C99-based standards] (gammal): Likewise.
2899 [non-C99-based standards] (hypotl): Likewise.
2900 [non-C99-based standards] (j0l): Likewise.
2901 [non-C99-based standards] (j1l): Likewise.
2902 [non-C99-based standards] (jnl): Likewise.
2903 [non-C99-based standards] (lgammal): Likewise.
2904 [non-C99-based standards] (tgammal): Likewise.
2905 [non-C99-based standards] (y0l): Likewise.
2906 [non-C99-based standards] (y1l): Likewise.
2907 [non-C99-based standards] (ynl): Likewise.
2908 [non-C99-based standards] (isnanl): Likewise.
2909 [non-C99-based standards] (acoshl): Likewise.
2910 [non-C99-based standards] (asinhl): Likewise.
2911 [non-C99-based standards] (atanhl): Likewise.
2912 [non-C99-based standards] (cbrtl): Likewise.
2913 [non-C99-based standards] (expm1l): Likewise.
2914 [non-C99-based standards] (ilogbl): Likewise.
2915 [non-C99-based standards] (log1pl): Likewise.
2916 [non-C99-based standards] (logbl): Likewise.
2917 [non-C99-based standards] (nextafterl): Likewise.
2918 [non-C99-based standards] (remainderl): Likewise.
2919 [non-C99-based standards] (rintl): Likewise.
2920 [non-C99-based standards] (scalbl): Likewise.
2921 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2922 [non-C99-based standards] (FP_*): Do not allow.
2923 [C99-based standards] (FP_*): Change to
2924 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2925 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2926 allow.
2927 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2928 (SIG_ERR): Likewise.
2929 [X/Open-based standards] (SIG_HOLD): Likewise.
2930 (SIG_IGN): Likewise.
2931 (SIGABRT): Use macro-int-constant. Specify type. Require
2932 positive value.
2933 (SIGFPE): Likewise.
2934 (SIGILL): Likewise.
2935 (SIGINT): Likewise.
2936 (SIGSEGV): Likewise.
2937 (SIGTER): Likewise.
2938 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2939 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2940 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2941 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2942 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2943 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2944 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2945 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2946 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2947 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2948 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2949 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2950 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2951 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2952 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2953 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2954 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2955 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2956 [X/Open-based standards] (SIGTRAP): Likewise.
2957 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2958 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2959 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2960 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2961 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2962 allow.
2963
b9f1922d
IW
29642012-05-08 Ian Wienand <ianw@vmware.com>
2965
2966 [BZ #14080]
2967 * time/tzset.c (__tzset_parse_tz): Update default rules for
2968 daylight time changes in the Energy Policy Act of 2005.
2969
1db86e88
AJ
29702012-05-09 Andreas Jaeger <aj@suse.de>
2971
2972 [BZ #13983]
2973 * elf/ldconfig.c (parse_conf): Change string to make clear that
2974 ldconfig only issued a warning if ld.so.conf does not exist.
2975
dee4a4e3
DM
29762012-05-08 David S. Miller <davem@davemloft.net>
2977
ee0db190
DM
2978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2979 movxtod instead of popping the value on the stack.
2980
dee4a4e3
DM
2981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2982
6a43ec98
CD
29832012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2984
2985 * config.h.in: Add HAVE_ARM_PCS_VFP.
2986
05c2c961
RMG
29872012-05-08 Roland Mc Grath <roland@hack.frob.com>
2988
bcfe3a54
ST
2989 [BZ #13979]
2990 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2991 checking but the checks are disabled for any reason.
05c2c961 2992
4b30f61a
L
29932012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2994
2995 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2996 and ELF64_R_TYPE with ELFW(R_TYPE).
2997
eee2bc67
JM
29982012-05-08 Joseph Myers <joseph@codesourcery.com>
2999
7ea5391a
JM
3000 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3001 (ulimit): Likewise.
3002
eee2bc67
JM
3003 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3004 (settimeofday): Likewise.
3005
abb66a67
MF
30062012-05-08 Mike Frysinger <vapier@gentoo.org>
3007
3008 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3009 a struct th_u2 inside the union, and move tu_block/tu_code into
3010 a new th_u3 union of tu_block/tu_code inside of that. Move
3011 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3012 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3013 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3014 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3015 (th_stuff): Change to th_u1.tu_stuff.
3016 (th_data): Define.
3017 (th_msg): Change to th_u1.th_u2.tu_data.
3018
7f18b530
DM
30192012-05-07 David S. Miller <davem@davemloft.net>
3020
05760585
DM
3021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3022
7f18b530
DM
3023 [BZ #14074]
3024 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3025 (SETUP_PIC_REG): Use it.
3026 (SETUP_PIC_REG_LEAF): Use it.
3027
495fd99f
JM
30282012-05-07 Joseph Myers <joseph@codesourcery.com>
3029
3030 [BZ #13885]
3031 [BZ #13923]
3032 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3033 USE_AS_EXPM1L.
3034 (EXPL_FINITE): Likewise.
3035 (FLDLOG): Likewise.
3036 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3037 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3038 e_expl.S.
3039 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3040 USE_AS_EXPM1L.
3041 (EXPL_FINITE): Likewise.
3042 (FLDLOG): Likewise.
3043 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3044 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3045 e_expl.S.
3046 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3047 test of -max_value argument for long double.
3048 * sysdeps/i386/fpu/libm-test-ulps: Update.
3049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3050
6693d694
DM
30512012-05-06 David S. Miller <davem@davemloft.net>
3052
3053 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3054 quad soft-float symbols whose references which are compiler
3055 generated.
3056 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3057
6c23e11c
JM
30582012-05-06 Joseph Myers <joseph@codesourcery.com>
3059
d8b82cad
JM
3060 [BZ #13884]
3061 [BZ #13914]
3062 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3063 USE_AS_EXP10L.
3064 (EXPL_FINITE): Likewise.
3065 (FLDLOG): Likewise.
3066 (c0): Likewise.
3067 (c1): Likewise.
3068 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3069 Adjust comments for base varying.
3070 (__expl_finite): Change alias to EXPL_FINITE.
3071 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3072 e_expl.S.
3073 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3074 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3075 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3076 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3077 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3078 USE_AS_EXP10L.
3079 (EXPL_FINITE): Likewise.
3080 (FLDLOG): Likewise.
3081 (c0): Likewise.
3082 (c1): Likewise.
3083 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3084 Adjust comments for base varying.
3085 (__expl_finite): Change alias to EXPL_FINITE.
3086 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3087 tests for bugs.
3088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3089
6c23e11c
JM
3090 [BZ #14064]
3091 * math/libm-test.inc (check_float_internal): Correct ulp
3092 calculation for subnormal expected results.
3093
29ba805c
AJ
30942012-05-06 Andreas Jaeger <aj@suse.de>
3095
3096 * Makeconfig (+math-flags): New, set to -frounding-math.
3097 (+cflags): Add +math-flags so that all of glibc gets compiled with
3098 it.
3099
3100 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3101
7b17aeda
JM
31022012-05-05 Joseph Myers <joseph@codesourcery.com>
3103
5779f134
JM
3104 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3105 Disable one test.
3106
41498f4d
JM
3107 [BZ #13787]
3108 [BZ #13922]
3109 [BZ #14036]
3110 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3111 (__ieee754_expl): Allow for and saturate large arguments.
3112 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3113 (u_threshold): Likewise.
3114 (__exp): Call __ieee754_exp before checking for overflow and
3115 underflow.
3116 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3117 (u_threshold): Likewise.
3118 (__expf): Call __ieee754_expf before checking for overflow and
3119 underflow.
3120 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3121 (u_threshold): Likewise.
3122 (__expl): Call __ieee754_expl before checking for overflow and
3123 underflow.
3124 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3125 (__ieee754_expl): Allow for and saturate large arguments.
3126 * math/libm-test.inc (exp_test): Add another test. Do not allow
3127 missing overflow exception on overflow.
3128 (expm1_test): Do not allow missing overflow exception on overflow.
3129
6698b8bf
JM
3130 * sysdeps/i386/fpu/e_expl.c: Move to ...
3131 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3132 rather than using inline asm.
3133 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3134 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3135 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3136
7b17aeda
JM
3137 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3138 (nice): Likewise.
3139 (poll): Likewise.
3140 (signal): Likewise.
3141 (time): Likewise.
3142 (times): Likewise.
3143
f7c85819
JM
31442012-05-04 Joseph Myers <joseph@codesourcery.com>
3145
3146 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3147 sysdeps/unix/common/syscalls.list.
3148 (fchmod): Likewise.
3149 (fchown): Likewise.
3150 (ftruncate): Likewise.
3151 (getrusage): Likewise.
3152 (gettimeofday): Likewise.
3153 (setpgid): Likewise.
3154 (setregid): Likewise.
3155 (setreuid): Likewise.
3156 (sigaction): Likewise.
3157 (truncate): Likewise.
3158 (vhangup): Likewise.
3159 * sysdeps/unix/common/syscalls.list: Remove file.
3160 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3161 * sysdeps/unix/sysv/linux/Implies: Likewise.
3162
336270d0
L
31632012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3164
3165 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3167 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3168 Moved to ...
3169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3170 Here.
3171 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3172 to ...
3173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3174 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3175 to ...
3176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3177 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3178 to ...
3179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3180 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3181 to ...
3182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3183 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3184 to ...
3185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3186 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3187 to ...
3188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3189 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3190 to ...
3191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3192 Here.
3193 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3194 to ...
3195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3196 Here.
3197 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3198 to ...
3199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3200 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3201 Moved to ...
3202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3203 Here.
3204 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3205 to ...
3206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3207
d128e450
JM
32082012-05-04 Joseph Myers <joseph@codesourcery.com>
3209
fa8ee516
JM
3210 * sysdeps/unix/common/bits/dirent.h: Remove file.
3211 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3212
d128e450
JM
3213 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3214 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3215 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3216 * sysdeps/unix/bsd/isatty.c: Likewise.
3217 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3218 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3219 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3220
ff8faaf0 32212012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3222
62881be4 3223 [BZ #13563]
31dc8730
AZ
3224 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3225 long double comparison inaccuracies.
3226 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3228
6fef930c
AS
32292012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3230
3231 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3233
8f203e6c
JM
32342012-05-04 Joseph Myers <joseph@codesourcery.com>
3235
3236 [BZ #14049]
3237 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3238 nonzero digits before rounding a hex value.
3239 * stdlib/tst-strtod.c (tests): Add another test.
3240
5197d9c2
AK
32412012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3242
3243 * sysdeps/s390/fpu/libm-test-ulps: Update.
3244
f0c1dedf
AJ
32452012-05-03 Andreas Jaeger <aj@suse.de>
3246
3247 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3248 does not get optimized out.
3249 (malloc_opt_barrier): New.
3250
a65ef2ae 32512012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3252 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3253
2b942cb7 3254 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3255 intermediate file deletion.
2b942cb7 3256 (generated): Add .symlist files.
a65ef2ae 3257
54b71e02
JM
32582012-05-03 Joseph Myers <joseph@codesourcery.com>
3259
3260 [BZ #13775]
3261 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3262 Redirect under this condition.
3263 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3264 [__USE_GNU] (__dprintf_chk): Not under this condition.
3265 [__USE_GNU] (__vdprintf_chk): Likewise.
3266 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3267 under this condition.
3268 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3269 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3270 [__USE_XOPEN2K8] (vdprintf): Likewise.
3271 [__USE_GNU] (__dprintf_chk): Not under this condition.
3272 [__USE_GNU] (__vdprintf_chk): Likewise.
3273 [__USE_GNU] (dprintf): Likewise.
3274 [__USE_GNU] (vdprintf): Likewise.
3275
d3dfcc41
RM
32762012-05-03 Roland McGrath <roland@hack.frob.com>
3277
3278 * elf/Makefile (common-generated): Set this instead of generated for
3279 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3280 $(all-built-dso)-derived lists.
3281
7ac30cc5
AJ
32822012-05-03 Andreas Jaeger <aj@suse.de>
3283
0c51e550
AJ
3284 * sysdeps/i386/fpu/libm-test-ulps: Update.
3285
7ac30cc5
AJ
3286 * FAQ: Removed.
3287 * FAQ.in: Likewise.
3288 * scripts/gen-FAQ.pl: Likewise.
3289 * manual/install.texi (Installation): Point to online location of
3290 FAQ.
3291 * Makefile (files-for-dist): Remove FAQ.
3292 (FAQ): Remove.
3293
d4c2917f
AM
32942012-05-02 Allan McRae <allan@archlinux.org>
3295
3296 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3297 (LDFLAGS-reldepmod5.so): Likewise.
3298 (LDFLAGS-reldep6mod1.so): Likewise.
3299 (LDFLAGS-reldep6mod4.so): Likewise.
3300 (LDFLAGS-reldep8mod3.so): Likewise.
3301 (LDFLAGS-unload4mod1.so): Likewise.
3302 (LDFLAGS-unload4mod2.so): Likewise.
3303 (LDFLAGS-tst-initorder): Likewise.
3304 (LDFLAGS-tst-initordera2.so): Likewise.
3305 (LDFLAGS-tst-initordera3.so): Likewise.
3306 (LDFLAGS-tst-initordera4.so): Likewise.
3307 (LDFLAGS-tst-initorderb2.so): Likewise.
3308 (LDFLAGS-noload): Likewise.
3309 (LDFLAGS-next): Likewise.
3310 (LDFLAGS-order2mod1.so): Likewise.
3311 (LDFLAGS-order2mod2.so): Likewise.
3312 (LDFLAGS-tst-initorder2): Likewise.
3313 (LDFLAGS-tst-initorder2a.so): Likewise.
3314 (LDFLAGS-tst-initorder2b.so): Likewise.
3315 (LDFLAGS-tst-initorder2c.so): Likewise.
3316 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3317
d77f993f
DM
33182012-05-02 David S. Miller <davem@davemloft.net>
3319
3320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3321
171a70b4
PP
33222012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3323
3324 [BZ #14055]
3325 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3326
0be196ad
AJ
33272012-05-02 Andreas Jaeger <aj@suse.de>
3328
3329 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3330 since we manipulate rounding mode.
3331 (CPPFLAGS-test-idouble.c): Likewise.
3332 (CPPFLAGS-test-ifloat.c): Likewise.
3333 (CFLAGS-test-ldouble.c): Likewise.
3334 (CFLAGS-test-double.c): Likewise.
3335 (CFLAGS-test-float.c): Likewise.
3336 (CFLAGS-test-misc.c): Likewise.
3337 (CFLAGS-test-test-fenv.c): Likewise.
3338
4f9d04aa
AZ
33392012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3340
2b942cb7
RM
3341 [BZ #2550]
3342 [BZ #2570]
3343 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3344 comparisons to determine direction to adjust input.
4f9d04aa 3345
82a79e7d
RM
33462012-05-01 Roland McGrath <roland@hack.frob.com>
3347
f5a01ca9
RM
3348 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3349 output to the target.
3350
90fe4186
RM
3351 * scripts/localplt.awk: New file.
3352 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3353 (check-localplt-CFLAGS): Variable removed.
3354 ($(all-built-dso:=.jmprel)): New static pattern rule.
3355 (generated): Add those targets.
3356 (localplt-built-dso): New variable.
3357 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3358
3359 * elf/check-localplt.c: File removed.
3360
82397ed6
RM
3361 * scripts/check-execstack.awk: New file.
3362 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3363 (check-execstack-CFLAGS): Variable removed.
3364 ($(objpfx)check-execstack.h): Target removed.
3365 ($(objpfx)execstack-default): New target.
3366 (generated): Add that instead of check-execstack.h.
3367 ($(all-built-dso:=.phdr)): New static pattern rule.
3368 (generated): Add those targets.
3369 * elf/check-execstack.c: File removed.
3370
82a79e7d
RM
3371 * scripts/check-textrel.awk: New file.
3372 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3373 (check-textrel-CFLAGS): Variable removed.
3374 (all-built-dso): Use := to define.o
3375 ($(all-built-dso:=.dyn)): New static pattern rule.
3376 (generated): Add those targets.
3377 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3378 * config.make.in (READELF): New substituted variable.
3379 * elf/check-textrel.c: File removed.
3380
62fde54f 33812012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3382
615605c9
JM
3383 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3384 allow.
3385 * conform/data/ctype.h-data [C99-based standards] (isblank):
3386 Expect function.
3387 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3388 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3390 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3391 Specify type. Require positive value.
3392 (EILSEQ): Likewise.
3393 (ERANGE): Likewise.
3394 [ISO || POSIX] (EILSEQ): Do not expect.
3395 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3396 Specify type. Require positive value.
3397 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3398 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3399 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3400 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3401 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3402 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3403 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3404 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3405 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3406 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3407 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3408 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3409 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3410 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3411 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3412 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3413 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3414 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3415 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3416 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3417 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3418 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3419 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3420 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3421 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3422 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3423 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3424 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3425 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3426 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3427 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3428 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3429 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3430 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3431 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3432 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3433 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3434 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3435 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3436 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3437 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3438 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3439 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3440 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3441 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3442 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3443 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3444 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3445 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3446 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3447 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3448 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3449 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3450 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3451 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3452 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3453 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3454 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3455 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3456 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3457 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3458 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3459 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3460 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3461 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3462 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3463 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3464 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3465 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3466 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3467 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3468 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3469 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3470 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3471 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3472 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3473 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3474 Require >= 2.
3475 (FLT_ROUNDS): Expect as macro, not constant.
3476 (FLT_MANT_DIG): Use macro-int-constant.
3477 (DBL_MANT_DIG): Likewise.
3478 (LDBL_MANT_DIG): Likewise.
3479 (FLT_DIG): Likewise.
3480 (DBL_DIG): Likewise.
3481 (LDBL_DIG): Likewise.
3482 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3483 (DBL_MIN_EXP): Likewise.
3484 (LDBL_MIN_EXP): Likewise.
3485 (FLT_MAX_EXP): Use macro-int-constant.
3486 (DBL_MAX_EXP): Likewise.
3487 (LDBL_MAX_EXP): Likewise.
3488 (FLT_MAX_10_EXP): Likewise.
3489 (DBL_MAX_10_EXP): Likewise.
3490 (LDBL_MAX_10_EXP): Likewise.
3491 (FLT_MAX): Use macro-constant.
3492 (DBL_MAX): Likewise.
3493 (LDBL_MAX): Likewise.
3494 (FLT_EPSILON): Use macro-constant. Give upper bound.
3495 (DBL_EPSILON): Likewise.
3496 (LDBL_EPSILON): Likewise.
3497 (FLT_MIN): Likewise.
3498 (DBL_MIN): Likewise.
3499 (LDBL_MIN): Likewise.
3500 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3501 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3502 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3503 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3504 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3505 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3506 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3507 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3508 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3509 [ISO11] (FLT_TRUE_MIN): Likewise.
3510 [ISO11] (LDBL_TRUE_MIN): Likewise.
3511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3512 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3513 (SCHAR_MIN): Use macro-int-constant. Specify type.
3514 (SCHAR_MAX): Likewise.
3515 (UCHAR_MAX): Likewise.
3516 (CHAR_MIN): Likewise.
3517 (CHAR_MAX): Likewise.
3518 (MB_LEN_MAX): Use macro-int-constant.
3519 (SHRT_MIN): Use macro-int-constant. Specify type.
3520 (SHRT_MAX): Likewise.
3521 (USHRT_MAX): Likewise.
3522 (INT_MAX): Likewise.
3523 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3524 bound negative.
3525 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3526 bound with "U".
3527 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3528 bound with "L".
3529 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3530 bound negative. Suffix upper bound with "L".
3531 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3532 bound with "UL".
3533 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3534 Specify type.
3535 [C99-based standards] (LLONG_MAX): Likewise.
3536 [C99-based standards] (ULLONG_MAX): Likewise.
3537 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3538 == 0.
3539 [ISO11] (max_align_t): Require type.
3540 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3541
c9140a62
JM
3542 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3543 from $CFLAGS, without defining away __attribute__ calls.
3544 (checknamespace): Use $CFLAGS_namespace.
3545
9af0bf29
JM
3546 * conform/conformtest.pl (@keywords): Only include C99 keywords
3547 for standards based on C99 or C11.
3548
343222a2
JM
3549 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3550 Disable tests.
3551 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3552 UNIX98]: Likewise.
3553
661f8cf0
JM
3554 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3555 usability of symbols in #if.
3556
ee74b9cb
JM
3557 * conform/conformtest.pl: If macro or constant types start
3558 "promoted:", expect the symbol to be of the following type
3559 promoted by the integer promotions.
62fde54f 3560
aafc49b3
JM
3561 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3562 in one place. Also handle "macro-constant".
3563
fefdf574
JM
3564 * conform/conformtest.pl: Only accept expected macro values with
3565 "==". Parse all "macro" lines in one place.
3566 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3567
f2d922fe
JM
3568 * conform/conformtest.pl: Handle braced types on "constant" lines
3569 instead of handling "typed-constant".
3570 * conform/data/signal.h-data: Use "constant" instead of
3571 "typed-constant".
3572
d22956c9
JM
3573 * conform/conformtest.pl: Handle "optional-" at start of lines in
3574 one place rather than duplicating several cases. Handle each
3575 format of "macro" line with initial "optional-".
3576
028e2e38
JM
3577 * conform/conformtest.pl: Only accept expected constant or
3578 optional-constant values with "==". Parse all "constant" lines in
3579 one place. Parse all "optional-constant" lines in one place.
3580 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3581 * conform/data/fmtmsg.h-data: Likewise.
3582 * conform/data/netinet/in.h-data: Likewise.
3583 * conform/data/tar.h-data: Likewise.
3584 * conform/data/limits.h-data: Use "==" form on "constant" and
3585 "optional-constant" lines.
3586
1b8f2850
JM
3587 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3588 Use -std=c99 for XOPEN2K.
3589 (@knownproblems): Remove.
3590 (newtoken): Don't check %isknown.
3591
a05a144b
JM
3592 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3593 Do not expect macro.
3594 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3606 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3607 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3616 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3617 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3620 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3621 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3622 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3624 [XPG3] (acosh): Likewise.
3625 [XPG3] (asinh): Likewise.
3626 [XPG3] (atanh): Likewise.
3627 [XPG3] (cbrt): Likewise.
3628 [XPG3] (expm1): Likewise.
3629 [XPG3] (ilogb): Likewise.
3630 [XPG3] (log1p): Likewise.
3631 [XPG3] (logb): Likewise.
3632 [XPG3] (nextafter): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3634 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3635 [XPG3] (remainder): Likewise.
3636 [XPG3] (rint): Likewise.
3637 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3638 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3639 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3640 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3641 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3642 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3644 [UNIX98 || XOPEN2K] (scalb): Expect.
3645 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3646 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3702 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3705 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3708 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3709 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3714 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3716 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3717 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3718 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3719 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3720 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3721 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3722 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3723 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3724 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3725 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3726 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3727 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3728 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3729 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3730 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3731 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3732 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3733 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3734 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3735 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3736 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3738 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3739 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3744 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3745 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3746 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3747 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3748 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3749 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3769 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3770 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3773 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3774 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3775 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3776 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3777 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3779 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3780 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3781 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3782
73c5ebe3
JM
3783 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3784 _XOPEN_SOURCE_EXTENDED for XPG4.
3785
39c33b6c
JM
3786 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3787
62fde54f
JM
3788 * Makeconfig (localtime): Remove variable.
3789 (inst_localtime-file): Likewise.
3790
0741d64c
AS
37912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3792
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3794 Update.
3795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3796 Update.
3797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3798 Update.
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3800 Update.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3802 Update.
3803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3804 Update.
3805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3806 Update.
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3808 Update.
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3810 Update.
3811
7cb029ee
JM
38122012-05-01 Joseph Myers <joseph@codesourcery.com>
3813
3814 [BZ #2550]
3815 [BZ #2570]
3816 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3817 comparisons to determine direction to adjust input.
3818 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3819 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3820 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3821 Likewise.
3822 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3823 Likewise.
3824 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3825 Likewise.
3826 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3827 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3828 Likewise.
3829 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3830 Likewise.
3831 * math/libm-test.inc (nexttoward_test): Add more tests.
3832
412bd966
AS
38332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3834
3835 [BZ #14040]
3836 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3837 in version GLIBC_2.1, not GLIBC_2.0.
3838 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3839 Likewise.
3840
9568c0c2
JM
38412012-04-30 Joseph Myers <joseph@codesourcery.com>
3842
adfbc8ac
JM
3843 [BZ #13942]
3844 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3845 (1 - x) * (1 + x).
3846 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3847 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3848 * math/libm-test.inc (acos_test): Add more tests.
3849 (asin_test): Likewise.
3850 * sysdeps/i386/fpu/libm-test-ulps: Update.
3851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3852
5ba3cc69
JM
3853 [BZ #14034]
3854 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3855 of square root.
3856 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3857 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3858 * math/libm-test.inc (acos_test_tonearest): New function.
3859 (acos_test_towardzero): Likewise.
3860 (acos_test_downward): Likewise.
3861 (acos_test_upward): Likewise.
3862 (asin_test_tonearest): Likewise.
3863 (asin_test_towardzero): Likewise.
3864 (asin_test_downward): Likewise.
3865 (asin_test_upward): Likewise.
3866 (main): Call the new functions.
3867 * sysdeps/i386/fpu/libm-test-ulps: Update.
3868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3869
9568c0c2
JM
3870 [BZ #13884]
3871 [BZ #13924]
3872 * math/e_exp10.c: Include <float.h>.
3873 (__ieee754_exp10): Handle underflow here rather than multiplying
3874 large negative argument by M_LN10.
3875 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3876 of __ieee754_expf.
3877 * math/e_exp10l.c: Include <float.h>.
3878 (__ieee754_exp10l): Handle underflow here rather than multiplying
3879 large negative argument by M_LN10l.
3880 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3881 spurious overflow exception on underflow.
3882
5ac3ea17
MP
38832012-04-29 Marek Polacek <polacek@redhat.com>
3884
3885 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3886 (__fortify_function): New macro.
3887 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3888 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3889 __extern_always_inline.
3890 * libio/bits/stdio2.h: Likewise.
3891 * libio/bits/stdio.h: Likewise.
3892 * string/string.h: Likewise.
3893 * string/bits/string3.h: Likewise.
3894 * include/stdio.h: Likewise.
3895 * stdlib/bits/stdlib.h: Likewise.
3896 * stdlib/stdlib.h: Likewise.
3897 * rt/bits/mqueue2.h: Likewise.
3898 * rt/mqueue.h: Likewise.
3899 * posix/bits/unistd.h: Likewise.
3900 * posix/unistd.h: Likewise.
3901 * io/bits/poll2.h: Likewise.
3902 * io/bits/fcntl2.h: Likewise.
3903 * io/fcntl.h: Likewise.
3904 * io/sys/poll.h: Likewise.
3905 * misc/bits/syslog.h: Likewise.
3906 * misc/bits/syslog-ldbl.h: Likewise.
3907 * misc/sys/syslog.h: Likewise.
3908 * socket/bits/socket2.h: Likewise.
3909 * socket/sys/socket.h: Likewise.
3910 * debug/tst-chk1.c: Likewise.
3911 * wcsmbs/bits/wchar2.h: Likewise.
3912 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3913 * wcsmbs/wchar.h: Likewise.
3914
ecf0ebfb
AJ
39152012-04-29 Andreas Jaeger <aj@suse.de>
3916
3917 * Makerules (tests): Remove enable-check-abi protection.
3918 (check-abi-warn): Remove.
3919 (check-abi-%): Remove check-abi-warn usage.
3920
3921 * configure.in: Remove check-abi configure option.
3922 * configure: Regenerated.
3923 * config.make.in (enable-check-abi): Remove.
3924
6d5c57fa
AS
39252012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3926
24c5d07e 3927 [BZ #14033]
ded5180a
AS
3928 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3929 double functions to double *_finite functions.
3930
7e0d315d
AS
3931 [BZ #13941]
3932 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3933 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3934 LDBL_MIN_EXP.
3935 * stdio-common/Makefile (tests): Add tst-sprintf3.
3936 * stdio-common/tst-sprintf3.c: New file.
3937
6d5c57fa
AS
3938 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3939 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3940
0749ff8b
JM
39412012-04-28 Joseph Myers <joseph@codesourcery.com>
3942
3943 * conform/conformtest.pl: Remove duplicate typed-constant
3944 handling.
3945
8dbd5d7b
DM
39462012-04-28 David S. Miller <davem@davemloft.net>
3947
3948 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3949 (check-abi-%): Remove AWK script prerequisite and explicit
3950 abilist directory.
3951 (check-abi): Rewrite to just diff the symlist with the abilist.
3952 (config-tls, config-abi-config): Delete, no longer used.
3953 (update-abi-%): Remove AWK script and explicit abilist directory.
3954 (update-abi): Rewrite to simply compare and conditionally copy the
3955 symlist and the sysdep abilist file. Remove update-abi-config
3956 checks.
3957 * abilist/ld.abilist: Remove.
3958 * abilist/libBrokenLocale.abilist: Remove.
3959 * abilist/libanl.abilist: Remove.
3960 * abilist/libcrypt.abilist: Remove.
3961 * abilist/libdl.abilist: Remove.
3962 * abilist/librt.abilist: Remove.
3963 * abilist/libthread_db.abilist: Remove.
3964 * abilist/libutil.abilist: Remove.
3965 * scripts/extract-abilist.awk: Remove.
3966 * scripts/merge-abilist.awk: Remove.
3967 * sysdeps/generic/libcidn.abilist: New file.
3968 * sysdeps/generic/libnss_compat.abilist: New file.
3969 * sysdeps/generic/libnss_db.abilist: New file.
3970 * sysdeps/generic/libnss_dns.abilist: New file.
3971 * sysdeps/generic/libnss_files.abilist: New file.
3972 * sysdeps/generic/libnss_hesiod.abilist: New file.
3973 * sysdeps/generic/libnss_nis.abilist: New file.
3974 * sysdeps/generic/libnss_nisplus.abilist: New file.
3975 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3976 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3977 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3978 file.
3979 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3980 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3981 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3982 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3983 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3984 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3985 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3986 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3987 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3988 file.
3989 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3990 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3991 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3992 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3993 file.
3994 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3995 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3996 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3997 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3998 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3999 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4000 file.
4001 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4002 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4003 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4004 file.
4005 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4007 New file.
4008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4009 New file.
4010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4011 New file.
4012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4013 New file.
4014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4015 New file.
4016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4017 New file.
4018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4019 New file.
4020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4021 New file.
4022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4023 New file.
4024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4025 New file.
4026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4027 New file.
4028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4029 New file.
4030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4031 New file.
4032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4033 file.
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4035 New file.
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4037 New file.
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4039 file.
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4041 New file.
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4043 New file.
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4045 file.
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4047 New file.
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4049 New file.
4050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4051 New file.
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4053 New file.
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4055 New file.
4056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4057 New file.
4058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4060 file.
4061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4062 New file.
4063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4064 file.
4065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4066 file.
4067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4068 file.
4069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4070 file.
4071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4072 file.
4073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4074 New file.
4075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4076 file.
4077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4078 file.
4079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4080 New file.
4081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4082 file.
4083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4085 file.
4086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4087 New file.
4088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4089 file.
4090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4091 file.
4092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4093 file.
4094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4095 file.
4096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4097 file.
4098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4099 New file.
4100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4101 file.
4102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4103 file.
4104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4105 New file.
4106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4107 file.
4108 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4109 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4110 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4111 file.
4112 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4113 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4114 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4115 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4116 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4117 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4118 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4119 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4120 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4121 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4124 file.
4125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4126 New file.
4127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4128 file.
4129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4130 file.
4131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4132 file.
4133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4134 file.
4135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4136 file.
4137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4138 New file.
4139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4140 New file.
4141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4142 file.
4143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4144 New file.
4145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4146 file.
4147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4149 file.
4150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4151 New file.
4152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4153 file.
4154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4155 file.
4156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4157 file.
4158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4159 file.
4160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4161 file.
4162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4163 New file.
4164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4165 New file.
4166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4167 file.
4168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4169 New file.
4170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4171 file.
4172
41d73a1b
JM
41732012-04-28 Joseph Myers <joseph@codesourcery.com>
4174
4175 * conform/conformtest.pl: Fix typo in handling typed-constant from
4176 allow-header.
4177
28aeeda4
JM
41782012-04-27 Joseph Myers <joseph@codesourcery.com>
4179
adae8f5e
JM
4180 * README: Cut down references to pre-2.6 Linux kernels and
4181 Linuxthreads. Update lists of configurations in libc and ports
4182 and sort alphabetically. Say "or newer" with Linux kernel version
4183 requirements.
4184
28aeeda4
JM
4185 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4186
a462cb63
RA
41872012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4188
4189 [BZ #887]
4190 * math/libm-test.inc (logb_test_downward): New test to expose
4191 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4192 rounding mode.
4193
6ad3493e
JM
41942012-04-27 Joseph Myers <joseph@codesourcery.com>
4195
4196 [BZ #14027]
4197 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4198 to be done.
4199 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4200 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4201
2ce4f015
JM
42022012-04-26 Joseph Myers <joseph@codesourcery.com>
4203
5aeb141a
JM
4204 * sysdeps/unix/i386/brk.S: Remove file.
4205 * sysdeps/unix/i386/dl-brk.S: Likewise.
4206 * sysdeps/unix/i386/pipe.S: Likewise.
4207 * sysdeps/unix/i386/sigreturn.S: Likewise.
4208 * sysdeps/unix/i386/syscall.S: Likewise.
4209 * sysdeps/unix/i386/vfork.S: Likewise.
4210 * sysdeps/unix/i386/wait.S: Likewise.
4211
7143acae
JM
4212 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4213 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4214
2ce4f015
JM
4215 * configure.in (arm*-none*): Do not allow without
4216 --enable-hacker-mode.
4217 (netbsd*): Remove case setting base_os.
4218 (386bsd*): Likewise.
4219 (freebsd*): Likewise.
4220 (bsdi*): Likewise.
4221 (osf*): Likewise.
4222 (sunos*): Likewise.
4223 (ultrix*): Likewise.
4224 (newsos*): Likewise.
4225 (dynix*): Likewise.
4226 (*bsd*): Likewise.
4227 (sysv*): Likewise.
4228 (isc*): Likewise.
4229 (esix*): Likewise.
4230 (sco*): Likewise.
4231 (minix*): Likewise.
4232 (irix4*): Likewise.
4233 (irix6*): Likewise.
4234 (solaris[2-9]*): Likewise.
4235 (none): Likewise.
4236 * configure: Regenerated.
4237
0ac229c8
AZ
42382012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4239
4240 [BZ #11521]
4241 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4242 overflow or cancellation in calculating denominator.
4243 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4244 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4245 down expression to avoid unexpected rounding in newer GCCs.
4246 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4247
33f244f4
DM
42482012-04-26 David S. Miller <davem@davemloft.net>
4249
4250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4251 long-double compat symbols.
4252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4265
cfa1f3e8
DM
42662012-04-25 David S. Miller <davem@davemloft.net>
4267
4268 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4269 HWCAP_* values only after the memory barriers have been defined.
4270 (atomic_full_barrier): Define.
4271 (atomic_read_barrier): Define.
4272 (atomic_write_barrier): Define.
4273
6e236b92
SP
42742012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4275
4276 * shlib-versions: Add libgcc_s version information.
4277 * sysdeps/generic/libgcc_s.h: Remove.
4278 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4279 libgcc_s.h.
4280 * sysdeps/gnu/unwind-resume.c: Likewise.
4281 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4282
aab39a09
DM
42832012-04-25 David S. Miller <davem@davemloft.net>
4284
4285 * sysdeps/unix/sparc/brk.S: Delete.
4286 * sysdeps/unix/sparc/dl-brk.S: Delete.
4287 * sysdeps/unix/sparc/pipe.S: Delete.
4288 * sysdeps/unix/sparc/sysdep.S: Delete.
4289 * sysdeps/unix/sparc/sysdep.h: Delete.
4290 * sysdeps/unix/sparc/vfork.S: Delete.
4291 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4292 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4293 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4294 ret_ERRVAL, r0, r1, MOVE): Define.
4295 (JUMPTARGET): Remove.
4296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4297 sysdeps/unix/sparc/sysdep.h
4298 (ENTRY, END): Remove.
4299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4300
a3cc4f48
JM
43012012-04-25 Joseph Myers <joseph@codesourcery.com>
4302
2ed8cda2
JM
4303 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4304 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4305 -DIS_IN_build.
4306
35d76d59
JM
4307 * timezone/README: Update upstream location and email address for
4308 tzcode and tzdata.
4309 * timezone/zdump.c: Update from tzcode 2012b.
4310 * timezone/zic.c: Likewise.
4311
a3cc4f48
JM
4312 * configure.in (libc_cv_as_needed): Remove test.
4313 * configure: Regenerated.
4314 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4315 conditional definition.
4316 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4317 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4318 * config.make.in (have-as-needed): Remove variable.
4319
ceab42c3
SP
43202012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4321 Paul Pluzhnikov <ppluzhnikov@google.com>
4322
4323 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4324 strings correctly.
4325
3ce2865f
CLT
43262012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4327
4328 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4329 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4330 * sysdeps/sh/strlen.S: Likewise.
4331
f37e0d68
JM
43322012-04-24 Joseph Myers <joseph@codesourcery.com>
4333
ae186e9a
JM
4334 * sysdeps/unix/fork.S: Remove file.
4335 * sysdeps/unix/i386/fork.S: Likewise.
4336 * sysdeps/unix/sparc/fork.S: Likewise.
4337
b96914af
JM
4338 * sysdeps/unix/system.c: Remove file.
4339 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4340
f37e0d68
JM
4341 * sysdeps/unix/getegid.S: Remove file.
4342 * sysdeps/unix/geteuid.S: Likewise.
4343
87ef29ca
RM
43442012-04-24 Roland McGrath <roland@hack.frob.com>
4345
83bcd236
RM
4346 * scripts/check-localplt.awk: New file.
4347 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4348 of diff.
4349 * scripts/data/localplt-generic.data: Add a comment.
4350
87ef29ca
RM
4351 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4352 NODE when __dir_mkfile failed.
4353 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4354 Reported by Ludovic Courtès <ludo@gnu.org>.
4355
e5a6e567
AJ
43562012-04-24 Andreas Jaeger <aj@suse.de>
4357
4358 * Makerules (common-clean): Also remove gen-as-const-headers
4359 files.
4360
c1820385
JM
43612012-04-24 Joseph Myers <joseph@codesourcery.com>
4362
4363 * Makerules (native-compile): Do not change working directory for
4364 build. Use $(OUTPUT_OPTION) in command.
4365 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4366
94e02fc4
AZ
43672012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4368
4369 [BZ #13886]
4370 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4371 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4372 * math/libm-test.inc (floor_test): Add more tests.
4373 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4374
3a533ca3
JM
43752012-04-24 Joseph Myers <joseph@codesourcery.com>
4376
940ab4b3
JM
4377 * sysdeps/unix/getdents.c: Remove file.
4378 * sysdeps/unix/sysv/getdents.c: Likewise.
4379 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4380
90e037bd
JM
4381 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4382 sysdeps/unix/mman/syscalls.list.
4383 (mmap): Likewise.
4384 (mprotect): Likewise.
4385 (msync): Likewise.
4386 (munmap): Likewise.
4387 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4388 * sysdeps/unix/mman/syscalls.list: Remove.
4389 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4390
3a533ca3
JM
4391 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4392 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4393 * configure: Regenerated.
4394 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4395 $(libgcc_s_suffix).
4396 * config.make.in (libgcc_s_suffix): Remove variable.
4397
1ad743de
JM
43982012-04-23 Joseph Myers <joseph@codesourcery.com>
4399
4ad451e2
JM
4400 * sysdeps/unix/sysv/gethostname.c: Move to ...
4401 * sysdeps/posix/gethostname.c: ... here.
4402
5e37ce39
JM
4403 * sysdeps/unix/execve.S: Remove file.
4404
1ad743de
JM
4405 * sysdeps/unix/_exit.S: Remove file.
4406
4e681b5b
AJ
44072012-04-23 Andreas Jaeger <aj@suse.de>
4408
4409 [BZ #13739]
4410 * manual/Makefile: Remove make dist support, there's no
4411 need for a stand-alone documentation tar ball.
4412 (TEXI2DVI): Define always, it's not in Makeconfig.
4413 (dist): Removed.
4414 (tar-it): Removed.
4415 (edition): Removed.
4416 (glibc-doc-$(edition).tar): Removed
4417 (%.Z): Removed.
4418 (%.gz): Removed.
4419 (%.uu): Removed.
4420 (ETAGS): Remove, it's in Makeconfig.
4421 (move-if-change): Remove, it's in Makeconfig.
4422
c0baea34
PE
44232013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4424
4425 [BZ #13970]
4426 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4427 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4428 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4429 (strtod_l, strtof_l, strtold_l): Remove __wur.
4430 It is not necessarily an error to ignore strtol's return value.
4431 One can reliably look at the stored endptr to decide whether
4432 the number had valid syntax.
4433
7c0616fa
AJ
44342012-04-21 Andreas Jaeger <aj@suse.de>
4435
803cb6b7 4436 [BZ #13739]
7c0616fa
AJ
4437 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4438
b0fe253f
JM
44392012-04-21 Joseph Myers <joseph@codesourcery.com>
4440
4441 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4442 * sysdeps/unix/sysv/Versions: Remove file.
4443
8280f22d
MT
44442012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4445
4446 [BZ #13927]
4447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4448
75ce411f 44492012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4450
4451 [BZ #7064]
4452 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4453 version from __vm86.
4454
097d59fa
JM
44552012-04-20 Joseph Myers <joseph@codesourcery.com>
4456
a90f3bcb
JM
4457 * sysdeps/unix/common/lxstat.c: Remove file.
4458 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4459
edc7ea78
JM
4460 * sysdeps/unix/sysv/Makefile: Remove file.
4461
cb78c221
JM
4462 * sysdeps/unix/sysv/direct.h: Remove file.
4463
efa6a45f
JM
4464 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4465 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4466 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4467 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4468 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4469 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4470 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4471
9c9f2d0c
JM
4472 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4473
4541c83b
JM
4474 * sysdeps/unix/xmknod.c: Remove file.
4475 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4476
f5d153a0
JM
4477 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4478
aa746595
JM
4479 * sysdeps/unix/sysv/i386/time.S: Remove file.
4480
cce5905e
JM
4481 * sysdeps/unix/fxstat.c: Remove file.
4482 * sysdeps/unix/xstat.c: Likewise.
4483 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4484
37fa3841
JM
4485 * sysdeps/unix/sysv/sigaction.c: Remove file.
4486
ff1962a3
JM
4487 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4488 (sysdep_headers): Remove variable.
4489 [termio.h not in sysdep_headers] (generated): Likewise.
4490 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4491 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4492 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4493 * sysdeps/unix/sysv/tcflow.c: Likewise.
4494 * sysdeps/unix/sysv/tcflush.c: Likewise.
4495 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4496 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4497 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4498 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4499 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4500
e7740d31
JM
4501 * sysdeps/unix/siglist.c: Remove file.
4502
ee06f18b
JM
4503 * sysdeps/unix/getppid.S: Remove file.
4504
097d59fa
JM
4505 * sysdeps/unix/mkdir.c: Remove file.
4506 * sysdeps/unix/rmdir.c: Likewise.
4507
ff3d51ec
AS
45082012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4509
4510 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4511 ERR_MAX value.
4512 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4513 errlist-compat value.
4514
50f81fd7
DM
45152012-04-18 David S. Miller <davem@davemloft.net>
4516
4517 * sysdeps/generic/memcopy.h (reg_char): Delete.
4518 * debug/strcat_chk.c: Use char, not reg_char.
4519 * debug/strcpy_chk.c: Likewise.
4520 * debug/strncat_chk.c: Likewise.
4521 * debug/strncpy_chk.c: Likewise.
4522 * string/memchr.c: Likewise.
4523 * string/memrchr.c: Likewise.
4524 * string/rawmemchr.c: Likewise.
4525 * string/strcat.c: Likewise.
4526 * string/strchr.c: Likewise.
4527 * string/strchrnul.c: Likewise.
4528 * string/strcmp.c: Likewise.
4529 * string/strcpy.c: Likewise.
4530 * string/strncat.c: Likewise.
4531 * string/strncmp.c: Likewise.
4532 * string/strncpy.c: Likewise.
4533
8ff41c46
WS
45342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4535
4536 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4537 __builtin_memcopy is called when src and dest ranges are known to not
4538 overlap.
4539
6b652f46
WS
45402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4541
4542 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4543 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4544 fwd_align_merge macro call.
4545 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4546 bwd_align_merge macro call.
4547 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4548
b282631e
WS
45492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4550
4551 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4552 bwd_align_merge macros.
4553 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4554 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4555 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4556
95aa737c
DM
45572012-04-18 David S. Miller <davem@davemloft.net>
4558
4559 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4560
7a99a614
AJ
45612012-04-18 Andreas Jaeger <aj@suse.de>
4562
4563 [BZ# 6794]
4564 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4565 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4566 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4567
4568 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4569 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4570 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4571
4572 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4573 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4574 Adjust for changed ldbl-128 files.
4575
4576 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4577 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4578 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4579
e5270c23
DM
45802012-04-17 David S. Miller <davem@davemloft.net>
4581
4582 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4583
fb5e92c9
AS
45842012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4585
4586 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4587 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4588 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4589 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4590 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4591 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4592
76da7265
AZ
45932012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4594
4595 [BZ #6794]
4596 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4597 * math/libm-test.inc: Add ilogb errno and exception tests.
4598 * math/w_ilogb.c: New file: ilogb wrapper.
4599 * math/w_ilogbf.c: New file: ilogbf wrapper.
4600 * math/w_ilogbl.c: New file: ilogbl wrapper.
4601 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4602 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4603 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4604 exception being thrown with 0.0 as argument.
4605 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4606 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4607 exception being thrown with 0.0 as argument.
4608 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4609 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4610 exception being thrown with 0.0 as argument.
4611 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4612 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4613 exception being thrown with 0.0 as argument.
4614 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4615 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4616 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4617 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4618 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4619 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4620 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4621 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4622 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4623
0396e69d
PB
46242012-04-17 Petr Baudis <pasky@ucw.cz>
4625
4626 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4627 with altivec.
4628
750b5926
MP
46292012-04-16 Marek Polacek <polacek@redhat.com>
4630
4631 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4632
751728a1
MP
46332012-04-16 Marek Polacek <polacek@redhat.com>
4634
4635 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4636 operands of fdivp instruction.
4637
34a27407
L
46382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4639
4640 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4641 * elf/tst-auditmod3b.c: Likewise.
4642 * elf/tst-auditmod4b.c: Likewise.
4643 * elf/tst-auditmod5b.c: Likewise.
4644 * elf/tst-auditmod6b.c: Likewise.
4645 * elf/tst-auditmod6c.c: Likewise.
4646 * elf/tst-auditmod7b.c: Likewise.
4647 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4648 * sysdeps/x86_64/preconfigure.in: Likewise.
4649 * sysdeps/x86_64/preconfigure: Regenerated.
4650
7e73e17d
L
46512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4652
4653 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4654 __ILP32__.
4655
c7a6ab72
AB
46562012-04-13 Antoine Balestrat <merkil33@gmail.com>
4657
4658 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4659 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4660
a9e8e0e0
CL
46612012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4662
4663 [BZ #13973]
4664 * locale/iso-639.def: Fix gl language name. Spotted by
4665 Yaron Shahrabani.
4666
ec98af7d
RM
46672012-04-12 Roland McGrath <roland@hack.frob.com>
4668
4669 [BZ #2074]
4670 * libio/libio.h (__io_write_fn): Update comment.
4671
247c3ede
PB
46722012-04-12 Petr Baudis <pasky@ucw.cz>
4673
4674 [BZ #2074]
4675 * stdio.texi (Hook Functions): The user provided writer function
4676 is not allowed to return -1.
4677
55939d6d
DM
46782012-04-11 David S. Miller <davem@davemloft.net>
4679
4680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4681
90020f5a
MF
46822012-04-11 Mike Frysinger <vapier@gentoo.org>
4683
4684 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4685 Add a leading slash to rtkaio.
4686
288f9098
JM
46872012-04-11 Jim Meyering <meyering@redhat.com>
4688
90020f5a
MF
4689 [BZ #11959]
4690 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4691 It is not necessarily an error to ignore fwrite's return
4692 value. One can reliably use ferror to test for errors after
4693 the fact.
288f9098 4694
4be2b570
L
46952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4696
4697 * bits/types.h (__snseconds_t): New type.
4698 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4699
4700 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4701 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4702 (__SNSECONDS_T_TYPE): Likewise.
4703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4704 (__SNSECONDS_T_TYPE): Likewise.
4705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4706 (__SNSECONDS_T_TYPE): Likewise.
4707
288f9098 47082012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4709
4710 [BZ #2636]
4711 * manual/time.texi (Processor Time): Return type of times is
4712 elapsed real time since an arbitrary point in the past.
4713 (CPU Time): Move CLK_TCK from here...
4714 (Processor Time): ...to here. Correct description.
4715 * manual/conf.texi (Constants for Sysconf): Correct description of
4716 _SC_CLK_TCK.
4717
d7dd4413
DM
47182012-04-10 David S. Miller <davem@davemloft.net>
4719
4720 [BZ #13967]
4721 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4722 where the is a gap between DT_REL(A) and DT_JMPREL.
4723
b46068fc
L
47242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4725
4726 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4727 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4728 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4729
73d65cc3
SP
47302012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4731
4732 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4733 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4734 (dl_main): Handle --inhibit-cache.
4735 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4736 _dl_inhibit_cache.
4737 * elf/dl-load.c (_dl_map_object): Use it.
4738 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4739
bcc8d661
JM
47402012-04-09 Joseph Myers <joseph@codesourcery.com>
4741
8f9a2fae
JM
4742 [BZ #13872]
4743 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4744 (__ieee754_powl): Saturate large exponents rather than testing for
4745 overflow of y*log2(x).
4746 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4747 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4748 exceptions.
4749
bcc8d661
JM
4750 [BZ #11521]
4751 * math/s_ctan.c: Include <float.h>.
4752 (__ctan): Avoid internal overflow or cancellation in calculating
4753 denominator.
4754 * math/s_ctanf.c: Likewise.
4755 * math/s_ctanl.c: Likewise.
4756 * math/s_ctanh.c: Likewise.
4757 * math/s_ctanhf.c: Likewise.
4758 * math/s_ctanhl.c: Likewise.
4759 * math/libm-test.inc (ctan_test): Add more tests.
4760 (ctanh_test): Likewise.
4761 * sysdeps/i386/fpu/libm-test-ulps: Update.
4762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4763
823fbbb4
AJ
47642012-04-09 Andreas Jaeger <aj@suse.de>
4765
03879793
AJ
4766 [BZ #6894]
4767 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4768 is an optional BSD extension.
4769
823fbbb4
AJ
4770 [BZ #10254]
4771 * manual/stdio.texi (Opening Streams): Document additional fopen
4772 parameters.
4773
8de131cb
RM
47742012-04-09 Roland McGrath <roland@hack.frob.com>
4775
4776 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4777 %eax without telling the compiler.
4778
c0ed9d7d
CD
47792012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4780
4781 [BZ # 13963]
4782 * manual/install.texi: Use sourceware.org.
4783
c483f6b4
JM
47842012-04-09 Joseph Myers <joseph@codesourcery.com>
4785
d7dd9453
JM
4786 [BZ #13873]
4787 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4788 (__ieee754_pow): Generate overflow and underflow using huge*huge
4789 and tiny*tiny rather than just returning constant infinity or zero
4790 for large exponents.
4791 * math/libm-test.inc (pow_test): Require overflow exceptions for
4792 applicable cases of large exponents.
4793
c483f6b4
JM
4794 [BZ #706]
4795 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4796 (__ieee754_pow): Use iterative multiplication algorithm only for
4797 integer exponents with absolute value below 1024. Check for odd
4798 integer exponents when using algorithm for real exponents.
4799 * math/libm-test.inc (pow_test): Add more tests.
4800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4801
d2de7579
JM
48022012-04-08 Joseph Myers <joseph@codesourcery.com>
4803
4804 [BZ #13705]
4805 * math/libm-test.inc (exp_test): Do not allow overflow exception
4806 on underflow test.
4807
f77f1232
AJ
48082012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4809
4810 [BZ #13705]
4811 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4812 instead of __kernel_standard_f.
4813
3884932b
MF
48142012-04-08 Mike Frysinger <vapier@gentoo.org>
4815
4816 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4817 * sysdeps/x86_64/memset_chk.S: Likewise.
4818
54472e9c
AJ
48192012-04-08 Andreas Jaeger <aj@suse.de>
4820
6ab0fbfc
AJ
4821 [BZ #10153]
4822 * manual/startup.texi (Environment Access): Describe return value
4823 for putenv and setenv.
4824
61efba8c
AJ
4825 [BZ #6895]
4826 * manual/filesys.texi (Directory Entries): Add description for
4827 DT_LNK.
4828
95c3f29a
AJ
4829 [BZ #6890]
4830 * manual/filesys.texi (Directory Entries): Clarify that it's file
4831 system not operating system in the description of DT_UNKNOWN.
4832
54472e9c
AJ
4833 [BZ #6578]
4834 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4835
624254b1
SC
48362012-04-08 Stephen Compall <s11@member.fsf.org>
4837
4838 [BZ #6649]
4839 * manual/llio.texi (Opening and Closing Files): Add cross
4840 reference to explain mode argument.
4841
1e4920e0
MF
48422012-04-07 Mike Frysinger <vapier@gentoo.org>
4843
4844 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4845 * sysdeps/x86_64/memset_chk.S: Likewise.
4846
5ed848f3
DM
48472012-04-07 David S. Miller <davem@davemloft.net>
4848
4849 * elf/elf.h (R_SPARC_WDISP10): Define.
4850 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4851 R_SPARC_SIZE32.
4852 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4853 R_SPARC_SIZE64 and R_SPARC_H34.
4854
96154cd8
CD
48552012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4856
4857 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4858 conditions and remove no longer applicable assertion.
4859
9904dc47
L
48602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4861
4862 * bits/byteswap.h: Include <features.h>.
4863 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4864 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4865
f8887d0a
L
48662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4867
4868 * bits/byteswap.h (__bswap_16): Removed.
4869 Include <bits/byteswap-16.h> to get __bswap_16.
4870 * sysdeps/i386/bits/byteswap.h: Likewise.
4871 * sysdeps/s390/bits/byteswap.h: Likewise.
4872 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4873 * bits/byteswap-16.h: New file.
4874 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4875 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4876 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4877 * string/Makefile (headers): Add bits/byteswap-16.h.
4878
62470f60
PP
48792012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4880
4881 [BZ #13895]
4882 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4883 extra indirection.
4884 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4885 * nss/tst-nss-static.c: New.
4886
4dad7bab
RM
48872012-04-06 Robert Millan <rmh@gnu.org>
4888
4889 [BZ #6486]
4890 * manual/llio.texi (File Position Primitive): lseek
4891 refers to WHENCE when it really means OFFSET.
4892
e9142a17
AJ
48932012-04-06 Andreas Jaeger <aj@suse.de>
4894
2c040eff
AJ
4895 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4896 strncmp declarations.
4897
e9142a17
AJ
4898 * abilist/libc.abilist: Add __poll and __ppoll.
4899
ff9f1c5f
DM
49002012-04-05 David S. Miller <davem@davemloft.net>
4901
dcd2ae90
DM
4902 * scripts/check-local-headers.sh: Accept a host triplet in the
4903 path matched by the exclude regexp.
4904
993eb054
DM
4905 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4906 definition.
4907 * sysdeps/powerpc/powerpc32/dl-machine.h
4908 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4909 * sysdeps/s390/s390-32/dl-machine.h
4910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4911 * sysdeps/sparc/sparc32/dl-machine.h
4912 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4913 * sysdeps/sparc/sparc64/dl-machine.h
4914 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4915
ff9f1c5f
DM
4916 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4917 lazy binding.
48e2e132 4918 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4919 undefined symbol errors.
4920
48e2e132 4921 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4922 DT_NEEDED entries.
4923
e80d6f94
MM
49242012-04-05 Michael Matz <matz@suse.de>
4925
4926 [BZ #13592]
4927 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4928
349fa79f
AJ
49292012-04-05 Andreas Jaeger <aj@suse.de>
4930
4931 [BZ #13908]
4932 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4933 comment.
4934
f402708f
KK
49352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4936
4937 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4938 which ROUND is no valid rounding mode.
4939
2ecccfc9
KK
49402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4941
4942 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4943 read again.
4944 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4945
8a53f50f
KK
49462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4947
4948 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4949 an exception using FPU order intentionally.
4950
49512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4952
4953 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4954 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4955 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4956 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4957
d653abb7
SJ
49582012-04-05 Simon Josefsson <simon@josefsson.org>
4959
4960 [BZ #12340]
4961 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4962 EINVAL when BUFLEN is too smal.
4963
c3b1bf7d
TS
49642012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4965
4966 [BZ #13553]
4967 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4968 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4969
b1aa60f3
AJ
49702012-04-03 Andreas Jaeger <aj@suse.de>
4971
c3b1bf7d 4972 [BZ #13938]
67f60a26
AJ
4973 * manual/setjmp.texi (System V contexts): Fix sentence.
4974
b1aa60f3
AJ
4975 [BZ #13926]
4976 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4977 New macro for this case.
4978 [!__GNUC__] (__bswap_64): New inline function for this case.
4979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4980 * bits/byteswap.h: Likewise.
4981 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4982 ull, guard with __GLIBC_HAVE_LONG_LONG.
4983
4984 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4985 __GLIBC_HAVE_LONG_LONG.
4986
4987 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4988 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4989
39c59c35
TMQMF
49902012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4991
4992 [BZ #13691]
4993 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4994 inptr and inend, rather than using last_ch.
4995
135ffda8
DM
49962012-04-02 David S. Miller <davem@davemloft.net>
4997
4998 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4999 * stdio-common/printf-parse.h (read_int): Change return type to
5000 'int', return -1 on INT_MAX overflow.
5001 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5002 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5003 overflows INT_MAX. Check for overflow of in-format-string precision
5004 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5005 SIZE_MAX not INT_MAX for integer overflow test.
5006 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5007 skip the construct in the format string but do not record anything.
5008 * stdio-common/bug22.c: Adjust to test both width/prevision
5009 INT_MAX overflow as well as total length INT_MAX overflow. Check
5010 explicitly for proper errno values.
5011
228c019e
TS
50122012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5013
302cadd3
TS
5014 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5015 CHAR_MAX.
5016 * string/test-strcmp.c [! WIDE]: Likewise.
5017 * time/tst-mktime2.c: Likewise for INT_MAX.
5018 * string/test-string.h: #include <sys/param.h> for MIN.
5019
228c019e
TS
5020 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5021 * sysdeps/i386/init-first.c (init): Likewise.
5022 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5023 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5024 * sysdeps/sh/init-first.c (init): Likewise.
5025
cfa633f5
UD
50262012-04-01 Ulrich Drepper <drepper@gmail.com>
5027
5028 * po/ru.po: Update from translation team.
d1635ef8 5029 * po/vi.po: Likewise.
cfa633f5 5030
6cd0a5ea
SP
50312012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5032
5033 * resolv/nss_dns/dns-host.c: Merge copyright years.
5034
4b43400f
LD
50352012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5036
5037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5038 Optimize memcpy with prefetch if
5039 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5040 src, dst pointers have unequal 16 byte alignments.
5041
48c41d04
SP
50422012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5043
5044 [BZ #13928]
5045 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5046 from a CNAME entry and return the minimum ttl for the query.
5047 (gaih_getanswer_slice): Likewise.
5048
b8dc394d
JL
50492012-03-30 Jeff Law <law@redhat.com>
5050
5051 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5052 due to long keys.
5053 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5054 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5055
2f5a5ed0
JL
5056 * resolv/nss_dns/dns-host.c: Update copyright year.
5057
1d39e359
UD
50582012-03-30 Ulrich Drepper <drepper@gmail.com>
5059
c030f70c 5060 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5061 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5062
1d39e359
UD
5063 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5064 comments for sendmmsg.
5065
50662012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5067
5068 [BZ #13691]
5069 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5070 with only 1 character between 0x0041 and 0x01b0.
5071 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5072 * wcsmbs/tst-mbsnrtowcs.c: New file.
5073
20fde227
DM
50742012-03-29 David S. Miller <davem@davemloft.net>
5075
5076 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5077 small copies by hand.
5078
984a4237
JL
50792012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5080
5081 [BZ #13761]
5082 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5083 _nss_compat_initgroups_dyn): Fall back to malloc/free
5084 for large group memberships.
5085
18c9d62b
DM
50862012-03-28 David S. Miller <davem@davemloft.net>
5087
88d85d4f
DM
5088 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5089 that branches into memcpy.
5090 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5091 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5092 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5093 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5094 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5095 bits.
5096 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5097 implementation too.
5098 * sysdeps/sparc/mempcpy.S: New file.
5099
e5aa83e1
DM
5100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5101 the IFUNC routine in the libc case.
5102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5103
88570753
DM
5104 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5105 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5106 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5107 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5108 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5109 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5110 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5111 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5112
249d7567
DM
5113 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5114 loop to 256 bytes instead of 64 bytes and fix test signedness.
5115
18c9d62b
DM
5116 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5117 * sysdeps/sparc/sparc32/Makefile: rather than here...
5118 * sysdeps/sparc/sparc64/Makefile: and here.
5119
05f3d1f6
UD
51202012-03-28 Ulrich Drepper <drepper@gmail.com>
5121
5122 * malloc/mallocbug.c: Avoid warnings about unused variables.
5123
86ae07a8
JL
51242012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5125
5126 [BZ #13760]
5127 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5128 in the right place. Discard and retry query if response is
5129 larger than input buffer size.
5130
41bf21a1
JM
51312012-03-28 Joseph Myers <joseph@codesourcery.com>
5132
d6270972
JM
5133 [BZ #369]
5134 [BZ #2678]
5135 [BZ #3866]
5136 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5137 x for large integer exponent.
5138 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5139 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5140 sign of result as needed afterwards.
5141 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5142 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5143 result for underflowing pow the same as for overflow.
5144 (__kernel_standard_l): Handle powl overflow and underflow here
5145 rather than calling __kernel_standard.
5146 * math/libm-test.inc (pow_test): Add more tests.
5147
414fca03 5148 [BZ #3868]
41bf21a1
JM
5149 [BZ #13879]
5150 [BZ #13910]
5151 [BZ #13911]
5152 [BZ #13912]
5153 [BZ #13913]
5154 [BZ #13915]
5155 [BZ #13916]
5156 [BZ #13917]
5157 [BZ #13918]
5158 [BZ #13919]
5159 [BZ #13920]
5160 [BZ #13921]
5161 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5162 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5163 (__kernel_standard_l): New function.
5164 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5165 __kernel_standard.
5166 * math/w_acosl.c (__acosl): Likewise.
5167 * math/w_asinl.c (__asinl): Likewise.
5168 * math/w_atan2l.c (__atan2l): Likewise.
5169 * math/w_atanhl.c (__atanhl): Likewise.
5170 * math/w_coshl.c (__coshl): Likewise.
5171 * math/w_exp10l.c (__exp10l): Likewise.
5172 * math/w_exp2l.c (__exp2l): Likewise.
5173 * math/w_fmodl.c (__fmodl): Likewise.
5174 * math/w_hypotl.c (__hypotl): Likewise.
5175 * math/w_j0l.c (__j0l, __y0l): Likewise.
5176 * math/w_j1l.c (__j1l, __y1l): Likewise.
5177 * math/w_jnl.c (__jnl, __ynl): Likewise.
5178 * math/w_lgammal.c (__lgammal): Likewise.
5179 * math/w_log10l.c (__log10l): Likewise.
5180 * math/w_log2l.c (__log2l): Likewise.
5181 * math/w_logl.c (__logl): Likewise.
5182 * math/w_powl.c (__powl): Likewise.
5183 * math/w_remainderl.c (__remainderl): Likewise.
5184 * math/w_scalbl.c (sysv_scalbl): Likewise.
5185 * math/w_sinhl.c (__sinhl): Likewise.
5186 * math/w_sqrtl.c (__sqrtl): Likewise.
5187 * math/w_tgammal.c (__tgammal): Likewise.
5188 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5189 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5190 * math/libm-test.inc (acos_test): Add more tests.
5191 (acosh_test): Likewise.
5192 (asin_test): Likewise.
5193 (atanh_test): Likewise.
5194 (exp_test): Likewise.
5195 (exp10_test): Likewise.
5196 (exp2_test): Likewise.
5197 (expm1_test): Likewise.
5198 (lgamma_test): Likewise.
5199 (log_test): Likewise.
5200 (log10_test): Likewise.
5201 (log1p_test): Likewise.
5202 (log2_test): Likewise.
5203 (pow_test): Do not allow some spurious overflow exceptions.
5204 (sqrt_test): Add more tests.
5205 (tgamma_test): Likewise.
5206 (y0_test): Likewise.
5207 (y1_test): Likewise.
5208 (yn_test): Likewise.
5209
dd62fda6
AB
52102012-03-27 Anton Blanchard <anton@samba.org>
5211
5212 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5213 MAP_HUGETLB.
5214 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5215 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5216 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5217
1e3cdfda
AJ
52182012-03-27 David S. Miller <davem@davemloft.net>
5219
b855ab85
DM
5220 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5221
1e3cdfda
AJ
5222 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5223 have-as-vis3 check.
5224
52252012-03-27 Andreas Jaeger <aj@suse.de>
5226
5227 * sysdeps/x86_64/elf/configure.in: Moved to ...
5228 * sysdeps/x86_64/configure.in: ... here.
5229 * sysdeps/x86_64/elf/start.S: Moved to ...
5230 * sysdeps/x86_64/start.S: ... here.
5231 * sysdeps/x86_64/elf/configure: Delete.
5232
5233 * sysdeps/x86_64/configure.in: Merge contents from
5234 sysdeps/i386/configure.in (without i686 check).
5235
5236 * sysdeps/i386/elf/Versions: Merge into ...
5237 * sysdeps/i386/Versions: ... this.
5238 * sysdeps/i386/elf/Versions: Delete file.
5239 * sysdeps/i386/elf/start.S: Moved to ...
5240 * sysdeps/i386/start.S: ...here.
5241 * sysdeps/i386/elf/configure.in: Merge into...
5242 * sysdeps/i386/configure.in: ...here.
5243 * sysdeps/i386/elf/configure.in: Delete file.
5244 * sysdeps/i386/elf/configure: Delete file.
5245
5246 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5247 * debug/backtracesyms.c: ... here.
5248 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5249 * debug/backtracesymsfd.c: ... here.
5250 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5251 * sysdeps/generic/ifunc-sel.h: ... here.
5252
5253 * sysdeps/unix/i386/start.c: Delete file.
5254 * sysdeps/unix/sparc/start.c: Delete file.
5255 * sysdeps/unix/start.c: Delete file.
5256
5257 * sysdeps/sh/elf/configure.in: Moved to ...
5258 * sysdeps/sh/configure.in: ... here.
5259 * sysdeps/sh/elf/start.S: Moved to ...
5260 * sysdeps/sh/start.S: ... here.
5261 * sysdeps/sh/elf/configure: Delete file.
5262
5263 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5264 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5265 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5266 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5267 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5268 * sysdeps/powerpc/powerpc64/start.S: here.
5269 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5270 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5271 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5272 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5273 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5274
5275 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5276 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5277 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5278 * sysdeps/powerpc/powerpc32/start.S: ... here.
5279 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5280 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5281 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5282
5283 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5284 * sysdeps/powerpc/ifunc-sel.h: ... here.
5285 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5286 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5287
5288 * sysdeps/sparc/elf/configure.in: Moved to ...
5289 * sysdeps/sparc/configure.in: ... here.
5290 * sysdeps/sparc/elf/configure: Delete file.
5291 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5292 * sysdeps/sparc/sparc32/start.S: ... here.
5293 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5294 * sysdeps/sparc/sparc64/start.S: ... here.
5295 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5296 * sysdeps/sparc/sparc32/Makefile: ... this.
5297 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5298 * sysdeps/sparc/sparc64/Makefile: ... this.
5299
5300 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5301 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5302 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5303 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5304 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5305 * sysdeps/s390/s390-32/setjmp.S: ... here.
5306 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5307 * sysdeps/s390/s390-32/configure.in: ... here.
5308 * sysdeps/s390/s390-32/elf/configure: Delete file.
5309 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5310 * sysdeps/s390/s390-32/start.S: ... here.
5311
5312 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5313 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5314 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5315 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5316 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5317 * sysdeps/s390/s390-64/setjmp.S: ... here.
5318 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5319 * sysdeps/s390/s390-64/configure.in: ... here
5320 * sysdeps/s390/s390-64/elf/configure: Delete file.
5321 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5322 * sysdeps/s390/s390-64/start.S: ... here.
5323 * sysdeps/s390/s390-64/elf/configure: Delete.
5324
5325 * configure.in: Remove support for elf directories in sysdeps.
5326
5327 * configure: Regenerated.
5328 * sysdeps/i386/configure: Regenerated.
5329 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5330 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5331 * sysdeps/s390/s390-32/configure: Regenerated.
5332 * sysdeps/s390/s390-64/configure: Regenerated.
5333 * sysdeps/sh/configure: Regenerated.
5334 * sysdeps/sparc/configure: Regenerated.
5335 * sysdeps/x86_64/configure: Regenerated.
5336
a3f61311
AS
53372012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5338
c876e002
AS
5339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5340
a3f61311
AS
5341 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5342 denormal result into account.
5343
ac4c54f0
RM
53442012-03-25 Roland McGrath <roland@hack.frob.com>
5345
5346 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5347 Reported by Allan McRae <allan@archlinux.org>.
5348
6a9b9c02
JL
53492012-03-23 Jeff Law <law@redhat.com>
5350
5351 * nss/getnssent.c (__nss_getent): Fix typo.
5352
4c42a0c1
DM
53532012-03-23 David S. Miller <davem@davemloft.net>
5354
5355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5356
1532c7ac
L
53572012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5358
5359 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5360 to pad to uint64_t for each field.
5361 (dl_tls_index): Replace unsigned long with uint64_t.
5362
3ff42526
PP
53632012-03-23 Daniel Jacobowitz <dmj@google.com>
5364 Paul Pluzhnikov <ppluzhnikov@google.com>
5365
5366 [BZ #6528]
5367 * grp/Makefile (otherlibs): Don't set it.
5368 * inet/Makefile (otherlibs): Likewise.
5369 * login/Makefile (otherlibs): Likewise.
5370 * nscd/Makefile (otherlibs): Likewise.
5371 * posix/Makefile (otherlibs): Likewise.
5372 * pwd/Makefile (otherlibs): Likewise.
5373 * rt/Makefile (otherlibs): Likewise.
5374 * sunrpc/Makefile (otherlibs): Likewise.
5375 * nss/Makefile (otherlibs): Likewise.
5376 Add libnss_files to routines and static-only-routines.
5377 ($(objpfx)getent): Remove rule.
5378 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5379 static-only-routines.
5380
7c69cd14
JM
53812012-03-22 Joseph Myers <joseph@codesourcery.com>
5382
5383 [BZ #13892]
5384 * math/s_cexp.c: Include <float.h>.
5385 (__cexp): Handle exp result overflowing not necessarily
5386 overflowing both real and imaginary parts of result.
5387 * math/s_cexpf.c: Likewise.
5388 * math/s_cexpl.c: Likewise.
5389 * math/libm-test.inc (cexp_test): Add more tests.
5390 * sysdeps/i386/fpu/libm-test-ulps: Update.
5391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5392
81b035fe
L
53932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5394
5395 * include/link.h (ELFW): New macro.
5396 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5397 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5398
1da7940c
L
53992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5400
5401 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5402 with uint64_t.
5403
b749dbb9
L
54042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5405
5406 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5407 declaration.
5408 (struct La_x32_retval): Likewise.
5409
2ff87f3f
L
54102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5411
5412 * sysdeps/x86_64/preconfigure.in: New file.
5413 * sysdeps/x86_64/preconfigure: New generated file.
5414
c0df8e69
JM
54152012-03-22 Joseph Myers <joseph@codesourcery.com>
5416
48e44791
JM
5417 [BZ #13824]
5418 * math/e_exp2l.c: Include <float.h>.
5419 (__ieee754_exp2l): Handle overflow and underflow cases
5420 separately. Only pass fractional part of argument to
5421 __ieee754_expl.
5422 * math/libm-test.inc (exp2_test): Add more tests.
5423
c0df8e69
JM
5424 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5425 negating x to take absolute value.
5426 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5427 Likewise.
5428 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5429 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5430 Likewise.
5431 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5432 computing low part if x was negated.
5433 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5434
c8e43ba7
L
54352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5436
5437 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5438 la_x32_gnu_pltexit.
5439 (pltexit): Cast int_retval to ptrdiff_t.
5440 * elf/tst-auditmod3b.c: Likewise.
5441 * elf/tst-auditmod4b.c: Likewise.
5442 * elf/tst-auditmod5b.c: Likewise.
5443 * elf/tst-auditmod6b.c: Likewise.
5444 * elf/tst-auditmod6c.c: Likewise.
5445 * elf/tst-auditmod7b.c: Likewise.
5446
5447 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5448 and x32_gnu_pltexit.
5449
5450 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5451 __ELF_NATIVE_CLASS.
5452 (La_x32_regs): New macro.
5453 (La_x32_retval): Likewise.
5454 (la_x32_gnu_pltenter): New function prototype.
5455 (la_x32_gnu_pltexit): Likewise.
5456
7998fa78
AS
54572012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5458
dcb33988
AS
5459 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5460 exponent.
5461
233fc563
AS
5462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5463
7998fa78
AS
5464 * configure.in (libc_cv_cc_nofma): Check for option to disable
5465 generation of FMA instructions.
5466 * configure: Regenerate.
5467 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5468 * sysdeps/ieee754/dbl-64/Makefile: New file.
5469 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5470 Remove brandred-fma4.
5471 (CFLAGS-brandred-fma4.c): Remove.
5472 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5473 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5474 define.
5475 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5476 define.
5477
8e95c99a
L
54782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5479
5480 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5481 LLONG_MAX != LONG_MAX.
5482 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5483 (_fitoa_word): Likewise.
5484 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5485 LLONG_MAX != LONG_MAX.
5486 * stdio-common/_itowa.h: Include <_itoa.h>.
5487 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5488 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5489 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5490 only if not defined.
5491 (_ITOA_WORD_TYPE): Likewise.
5492 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5493 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5494
6f4db457
DM
54952012-03-21 David S. Miller <davem@davemloft.net>
5496
5497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5498
7785fe5a
L
54992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5500
5501 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5502 of x86_64 when setting libc_cv_slibdir, libdir and
5503 libc_cv_localedir.
5504 * sysdeps/unix/sysv/linux/configure: Regenerated.
5505
4535cd55
JM
55062012-03-21 Joseph Myers <joseph@codesourcery.com>
5507
5508 * manual/lang.texi (Old Varargs): Remove section.
5509 (How Variadic): Update menu.
5510 (va_start): Do not mention varargs.h.
5511
17228132
TS
55122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5513 Joseph Myers <joseph@codesourcery.com>
5514
5515 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5516 link test.
5517 * configure: Regenerated.
5518
8149f976
TS
55192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5520
05f3d1f6
UD
5521 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5522 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5523 conformtest.pl
8149f976 5524
1a4ac776
JM
55252012-03-21 Joseph Myers <joseph@codesourcery.com>
5526
be22ce65
JM
5527 * NOTES: Remove.
5528 * Makefile (files-for-dist): Remove NOTES.
5529 (NOTES): Remove rule.
5530 * README: Don't refer to NOTES.
5531 * manual/creature.texi: Don't include macros.texi.
5532 * manual/intro.texi (creature.texi): Remove comment referring to
5533 NOTES.
5534
40b601fb
JM
5535 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5536 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5537 * configure: Regenerated.
5538 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5539 LIBC_TRY_CC_OPTION.
5540 (libc_cv_as_i686): Likewise.
5541 (libc_cv_cc_avx): Likewise.
5542 (libc_cv_cc_sse2avx): Likewise.
5543 (libc_cv_cc_fma4): Likewise.
5544 (libc_cv_cc_novzeroupper): Likewise.
5545 * sysdeps/i386/configure: Regenerated.
5546
1a4ac776
JM
5547 [BZ #13883]
5548 * sysdeps/i386/fpu/s_cexp.S: Remove.
5549 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5550 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5551 * math/libm-test.inc (cexp_test): Add more tests.
5552 * sysdeps/i386/fpu/libm-test-ulps: Update.
5553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5554
a458e7fe
AM
55552012-03-21 Allan McRae <allan@archlinux.org>
5556
5557 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5558
0cb7efc5
JM
55592012-03-21 Joseph Myers <joseph@codesourcery.com>
5560
5561 [BZ #13871]
5562 * math/w_exp2.c: Do not include <float.h>.
5563 (o_threshold, u_threshold): Remove.
5564 (__exp2): Calculate result before checking finiteness and calling
5565 __kernel_standard.
5566 * math/w_exp2f.c: Likewise.
5567 * math/w_exp2l.c: Likewise.
5568 * math/libm-test.inc (exp2_test): Require overflow exception for
5569 1e6 input.
2460d3aa
JM
5570
5571 [BZ #3866]
5572 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5573 range of signed 64-bit integers before using fistpll. Remove
5574 checks for whether integers fit in mantissa bits.
5575 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5576 the range of signed 32-bit integers before using fistpl. Remove
5577 checks for whether integers fit in mantissa bits.
5578 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5579 (__ieee754_powl): Test for y outside the range of signed 64-bit
5580 integers before using fistpll. Reduce 64-bit values to 63-bit
5581 ones as needed.
5582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5583 divide-by-zero is raised for zero to large negative powers.
5584 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5585 (__ieee754_powl): Test for y outside the range of signed 64-bit
5586 integers before using fistpll. Reduce 64-bit values to 63-bit
5587 ones as needed.
5588 * math/libm-test.inc (pow_test): Add more tests.
5589
eb96ffb0
L
55902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5591
5592 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5593 <stdio-common/_itoa.h>.
5594 * debug/segfault.c: Likewise.
5595 * elf/dl-cache.c: Likewise.
5596 * elf/dl-minimal.c: Likewise.
5597 * elf/dl-misc.c: Likewise.
5598 * elf/dl-sysdep.c: Likewise.
5599 * elf/dl-version.c: Likewise.
5600 * elf/rtld.c: Likewise.
5601 * hurd/hurdsock.c: Likewise.
5602 * hurd/lookup-retry.c: Likewise.
5603 * malloc/malloc.c: Likewise.
5604 * malloc/mtrace.c: Likewise.
5605 * nscd/nscd_getgr_r.c: Likewise.
5606 * nscd/nscd_getpw_r.c: Likewise.
5607 * nscd/nscd_getserv_r.c: Likewise.
5608 * posix/getopt_init.c: Likewise.
5609 * posix/wordexp.c: Likewise.
5610 * stdio-common/_itoa.c: Likewise.
5611 * stdio-common/printf_fphex.c: Likewise.
5612 * stdio-common/vfprintf.c: Likewise.
5613 * string/_strerror.c: Likewise.
5614 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5615 * sysdeps/i386/i686/hp-timing.h: Likewise.
5616 * sysdeps/mach/_strerror.c: Likewise.
5617 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5618 * sysdeps/mach/hurd/sethostid.c: Likewise.
5619 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5620 * sysdeps/mach/xpg-strerror.c: Likewise.
5621 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5622 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5623 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5624 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5625 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5626 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5627 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5628 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5629 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5630 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5631 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5632 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5633 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5634 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5635 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5636 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5637 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5639 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5640 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5641 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5642
5643 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5644
5645 * stdio-common/_itoa.h: Moved to ...
5646 * sysdeps/generic/_itoa.h: Here.
5647
5648 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5649
5650 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5651 instead of "_itoa.h" and "_itowa.h".
5652 * stdio-common/vfprintf.: Likewise.
5653
d1af992d
L
56542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5655
5656 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5657 <bits/wordsize.h>.
5658 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5659 (__signbit): Likwise.
5660 (llrintf): Likwise.
5661 (llrint): Likwise.
5662
114883e0
L
56632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5664
5665 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5666 __WORDSIZE != 64.
5667
c135cc1b
JM
56682012-03-20 Joseph Myers <joseph@codesourcery.com>
5669
5670 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5671 OVERFLOW_EXCEPTION_OK.
5672 * math/libm-test.inc ("Philosophy"): Update comment about
5673 exception testing.
5674 (OVERFLOW_EXCEPTION): Define.
5675 (OVERFLOW_EXCEPTION_OK): Likewise.
5676 (INVALID_EXCEPTION_OK): Renumber.
5677 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5678 (IGNORE_ZERO_INF_SIGN): Likewise.
5679 (test_exceptions): Handle FE_OVERFLOW.
5680 (exp10_test): Expect overflow exceptions.
5681 (exp2_test): Likewise.
5682 (expm1_test): Likewise.
5683 (nextafter_test): Likewise.
5684 (pow_test): Likewise.
5685 (scalbn_test): Likewise.
5686 (scalbln_test): Likewise.
5687
95443d88
L
56882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5689
5690 * sysdeps/x86_64/bits/atomic.h
5691 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5692 64bit integer.
5693 (atomic_exchange_acq): Likewise.
5694 (__arch_exchange_and_add_body): Likewise.
5695 (__arch_add_body): Likewise.
5696 (atomic_add_negative): Likewise.
5697 (atomic_add_zero): Likewise.
5698
490df6c4
L
56992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5700
c2722551 5701 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5702 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5703
5e52b189
L
57042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5705
5706 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5707 Check __x86_64__ instead of __WORDSIZE.
5708
a9879d4c
L
57092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5710
5711 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5712
5df98260
DM
57132012-03-19 David S. Miller <davem@davemloft.net>
5714
e1497744
DM
5715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5716
5df98260
DM
5717 * sysdeps/sparc/fpu/fenv_private.h: New file.
5718 * sysdeps/sparc/fpu/math_private.h: Use it.
5719 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5720 Remove.
5721 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5722 (libc_feholdexcept_setroundl): Remove.
5723 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5724 Remove.
5725 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5726 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5727
b4c35121
L
57282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5729
5730 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5731 int64_t instead of long int.
5732 (INSERT_WORDS64): Likwise.
5733
56965fd7
L
57342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5735
5736 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5737 _Unwind_GetCFA return to _Unwind_Ptr first.
5738
83d1aec8
JM
57392012-03-19 Joseph Myers <joseph@codesourcery.com>
5740
1897ad44
JM
5741 [BZ #13629]
5742 * math/s_clog.c: Include <float.h>.
5743 (__clog): Scale large or subnormal inputs.
5744 * math/s_clogf.c: Likewise.
5745 * math/s_clogl.c: Likewise.
5746 * math/s_clog10.c: Include <float.h>.
5747 (M_LOG10_2): Define.
5748 (__clog10): Scale large or subnormal inputs.
5749 * math/s_clog10f.c: Likewise.
5750 * math/s_clog10l.c: Likewise.
5751 * math/libm-test.inc (clog_test): Add more tests.
5752 (clog10_test): Likewise.
5753 * sysdeps/i386/fpu/libm-test-ulps: Update.
5754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5755
7726d6a9
JM
5756 [BZ #11451]
5757 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5758 x and y.
5759 * math/libm-test.inc (atan2_test): Add another test.
5760
83d1aec8
JM
5761 * Makerules (common-objdir-compile): Remove.
5762 * sysdeps/unix/Makefile (config-generated): Do not add
5763 $(unix-generated) to variable.
5764 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5765 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5766 Remove rule.
5767 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5768 Likewise.
5769 [generic bits/local_lim.h] (before-compile): Do not append to
5770 variable.
5771 [generic bits/local_lim.h] (common-generated): Likewise.
5772 [generic sys/param.h] (before-compile): Do not append to variable.
5773 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5774 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5775 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5776 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5777 include.
5778 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5779 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5780 [generic sys/param.h] ($(addprefix
5781 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5782 [generic sys/param.h] (common-generated): Do not append to
5783 variable.
5784 [generic sys/param.h] (sysdep_headers): Likewise.
5785 [generic bits/errno.h] (before-compile): Do not append to
5786 variable.
5787 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5788 rule.
5789 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5790 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5791 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5792 [generic bits/errno.h] (common-generated): Do not append to
5793 variable.
5794 [generic bits/ioctls.h] (before-compile): Do not append to
5795 variable.
5796 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5797 rule.
5798 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5799 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5800 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5801 rule.
5802 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5803 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5804 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5805 [generic bits/ioctls.h] (common-generated): Do not append to
5806 variable.
5807 [generic sys/syscall.h] (syscall.h): Remove variable.
5808 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5809 rule.
5810 [generic sys/syscall.h] (before-compile): Do not append to
5811 variable.
5812 [generic sys/syscall.h] (common-generated): Likewise.
5813 * sysdeps/unix/errnos-tmpl.c: Remove file.
5814 * sysdeps/unix/errnos.awk: Likewise.
5815 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5816 * sysdeps/unix/ioctls.awk: Likewise.
5817 * sysdeps/unix/mk-local_lim.c: Likewise.
5818 * sysdeps/unix/snarf-ioctls: Likewise.
5819
4851a949
RH
58202012-03-19 Richard Henderson <rth@twiddle.net>
5821
bd37f2ee
RH
5822 * sysdeps/i386/fpu/fenv_private.h: New file.
5823 * sysdeps/i386/fpu/math_private.h: Use it.
5824 (math_opt_barrier, math_force_eval): Remove.
5825 (libc_feholdexcept_setround_53bit): Remove.
5826 (libc_feupdateenv_53bit): Remove.
5827 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5828 (math_opt_barrier, math_force_eval): Remove.
5829 (libc_feholdexcept): Remove.
5830 (libc_feholdexcept_setround): Remove.
5831 (libc_fetestexcept, libc_fesetenv): Remove.
5832 (libc_feupdateenv_test): Remove.
5833 (libc_feupdateenv, libc_feholdsetround): Remove.
5834 (libc_feresetround): Remove.
5835
d0adc922
RH
5836 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5837 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5838
0fe0f1f8
RH
5839 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5840 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5841 (libc_feupdateenv_testl): New.
5842 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5843 (libc_feupdateenv_testf): New.
5844 (libc_feupdateenv): Use libc_feupdateenv_test.
5845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5846 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5847
eb92c487
RH
5848 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5849 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5850 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5851 (libc_feresetround_noex): New.
5852 (libc_feresetround_noexf): New.
5853 (libc_feresetround_noexl): New.
5854 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5855 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5856 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5857 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5858 SET_RESTORE_ROUND.
5859 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5860 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5861 (__cos): Likewise.
5862 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5863 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5864 SET_RESTORE_ROUND_NOEX.
5865 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5866 SET_RESTORE_ROUND_NOEXF.
5867 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5868 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5869 (libc_feholdsetroundf): New.
5870 (libc_feresetround, libc_feresetroundf): New.
5871
7d2e8012
RH
5872 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5873 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5874 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5875
b4dabbb4
RH
5876 * sysdeps/generic/math_private.h: Include <fenv.h>.
5877 (default_libc_feholdexcept): New.
5878 (default_libc_feholdexcept_setround): New.
5879 (default_libc_fesetenv, default_libc_feupdateenv): New.
5880 (libc_feholdexcept): Only define if undefined.
5881 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5882 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5883 (libc_feholdexcept_setroundl): Likewise.
5884 (libc_feholdexcept_setround_53bit): Likewise.
5885 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5886 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5887 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5888 (libc_feupdateenv_53bit): Likewise.
5889 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5890 (libc_feholdexcept): Convert from macro to inline function.
5891 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5892 (libc_fesetenv, libc_feupdateenv): Likewise.
5893
4851a949
RH
5894 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5895 not previously defined.
5896 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5897 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5898 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5899 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5900 * sysdeps/ieee754/flt-32/math_private.h: New file.
5901 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5902 math_private.h below SET_FLOAT_WORD.
5903 (__isnan, __isinf_ns, __finite): Remove.
5904 (__isnanf, __isinf_nsf, __finitef): Remove.
5905
e79d442e
AS
59062012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5907
5908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5909
90b80344
DM
59102012-03-17 David S. Miller <davem@davemloft.net>
5911
5912 [BZ #6471]
5913 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5914 for 2.16.
5915
edc21804
DM
59162012-03-16 David S. Miller <davem@davemloft.net>
5917
77e927af
DM
5918 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5919 warnings.
5920
374976dd
DM
5921 [BZ #6471]
5922 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5923 properly.
5924 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5925 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5926 sysdep_routines when subdir is sysvipc.
5927 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5928 __getshmlba helper.
5929
edc21804
DM
5930 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5931
473c3ef3
L
59322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5933
5934 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5935 [__LP64__].
5936
eb0f39b6
L
59372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5938
5939 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5940 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5941 (__lround): Renamed to ...
5942 (__llround): This. Replace long int with long long int.
5943 Define lround functions as aliases of llround functions.
5944 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5945
6b6cd74b
L
59462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5947
5948 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5949 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5950 adresses to uintptr_t. Replace "long int" and "unsigned long
5951 int" with "greg_t" on va_arg.
5952
f1a77b01
L
59532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5954
5955 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5956 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5957
5958 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5959 Move e_machine check before EI_CLASS check. Handle x32
5960 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5961 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5962 SKIP_EM_IA_64 and include
5963 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5964
5965 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5966 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5967 (add_system_dir): New macro.
5968
5969 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5970 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5971
11b90b9f
JM
59722012-03-16 Joseph Myers <joseph@codesourcery.com>
5973
c36e1d23
JM
5974 [BZ #2551]
5975 [BZ #2552]
5976 [BZ #2553]
5977 [BZ #2554]
5978 [BZ #2562]
5979 [BZ #2563]
5980 [BZ #2565]
5981 [BZ #2566]
5982 [BZ #2576]
5983 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5984 (y0): Likewise.
5985 * math/w_j0f.c (j0f): Likewise.
5986 (y0f): Likewise.
5987 * math/w_j0l.c (__j0l): Likewise.
5988 (__y0l): Likewise.
5989 * math/w_j1.c (j1): Likewise.
5990 (y1): Likewise.
5991 * math/w_j1f.c (j1f): Likewise.
5992 (y1f): Likewise.
5993 * math/w_j1l.c (__j1l): Likewise.
5994 (__y1l): Likewise.
5995 * math/w_jn.c (jn): Likewise.
5996 (yn): Likewise.
5997 * math/w_jnf.c (jnf): Likewise.
5998 (ynf): Likewise.
5999 * math/w_jnl.c (__jnl): Likewise.
6000 (__ynl): Likewise.
6001 * math/libm-test.inc (j0_test): Add more tests.
6002 (j1_test): Likewise.
6003 (jn_test): Likewise. Add trailing semicolon to existing test.
6004 (y0_test): Likewise.
6005 (y1_test): Likewise.
6006 * sysdeps/i386/fpu/libm-test-ulps: Update.
6007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6008
11b90b9f
JM
6009 [BZ #13851]
6010 [BZ #13854]
6011 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6012 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6013 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6014 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6015 (__tanl): Set errno for infinite argument.
6016 * sysdeps/i386/fpu/mptan.c: Remove.
6017 * sysdeps/i386/fpu/s_tan.S: Likewise.
6018 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6019 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6020 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6021 * math/libm-test.inc (tan_test): Add more tests and enable more
6022 tests for double and long double.
6023 * sysdeps/i386/fpu/libm-test-ulps: Update.
6024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6025
6a1bd2a1
JK
60262012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6027
6028 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6029 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6030
10a803e0
RM
60312012-03-16 Roland McGrath <roland@hack.frob.com>
6032
6033 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6034 * configure.in: Use it for both main tree and add-ons.
6035 * configure: Regenerated.
6036
f196c7f7
L
60372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6038
6039 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6040
8848d99d
JM
60412012-03-16 Joseph Myers <joseph@codesourcery.com>
6042
96cbe7f4
JM
6043 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6044 in comment.
6045
8848d99d
JM
6046 [BZ #13851]
6047 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6048 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6049 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6050 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6051 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6052 infinite argument.
6053 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6054 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6055 != 0 for prec == 2.
6056 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6057 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6058 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6059 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6060 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6061 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6062 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6063 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6064 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6065 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6066 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6067 * math/libm-test.inc (cos_test): Add more tests and enable more
6068 tests for long double.
6069 (sin_test): Likewise.
6070 (sincos_test): Likewise.
6071 * sysdeps/i386/fpu/libm-test-ulps: Update.
6072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6073
dd7f4703
DM
60742012-03-16 David S. Miller <davem@davemloft.net>
6075
6076 * sysdeps/sparc/fpu/math_private.h: New file.
6077
006f1daa
DM
60782012-03-15 David S. Miller <davem@davemloft.net>
6079
c0c83bc8
DM
6080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6081 file.
e6a62e18 6082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6084 file.
e6a62e18
DM
6085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6090 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6091 sysdep routines.
6092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6093
88cb87d9
DM
6094 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6095 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6096
006f1daa 6097 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6099 sparc-ifunc.h
006f1daa 6100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6102 Likewise.
6103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6104 Likewise.
006f1daa
DM
6105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6109 Likewise.
006f1daa
DM
6110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6115 Likewise.
6116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6117 Likewise.
006f1daa
DM
6118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6124 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6125 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6136 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6137 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6138 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6139 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6141 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6142
11e0098e
AS
61432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6144
6145 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6146 scaling.
6147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6148
e85b09d0
AJ
61492012-03-15 Andreas Jaeger <aj@suse.de>
6150
6151 [BZ #13852]
6152 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6153 ieee754/flt-32 implementation for sin, cos and sincos.
6154 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6155 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6156 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6157 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6158 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6159 ieee754/flt-32 implementation for tan.
6160
6161 * math/libm-test.inc (cos_test): Enable some large input tests for
6162 float as well
6163 (sin_test): Likewise.
6164 (sincos_test): Likewise.
6165 (tan_test): Add tests for large input.
6166
6167 * sysdeps/i386/fpu/libm-test-ulps: Update.
6168
81c64153
AJ
61692012-03-15 Andreas Jaeger <aj@suse.de>
6170
6171 [BZ #13658]
6172 * math/libm-test.inc (cos_test): Add more test cases.
6173 (sin_test): Likewise.
6174 (sincos_test): Likewise.
6175
7bbfa5c6
AJ
61762012-03-15 Andreas Jaeger <aj@suse.de>
6177
6178 [BZ #13837]
6179 * math/libm-test.inc (cos_test): Add a test case for large input
6180 value.
6181 (sin_test): Likewise.
6182 (sincos_test): Likewise.
6183
61842012-03-15 Andreas Jaeger <aj@suse.de>,
6185 Joseph Myers <joseph@codesourcery.com>
6186
6187 [BZ #13658]
0671f479 6188 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6189 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6190 * sysdeps/i386/fpu/branred.c: Likewise.
6191 * sysdeps/i386/fpu/dosincos.c: Likewise.
6192 * sysdeps/i386/fpu/mpa.c: Likewise.
6193 * sysdeps/i386/fpu/s_cos.S: Likewise.
6194 * sysdeps/i386/fpu/s_sin.S: Likewise.
6195 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6196 * sysdeps/i386/fpu/sincos32.c: Likewise.
6197
6198 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6199 Define.
6200 (libc_feupdateenv_53bit): Define.
6201 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6202 Define.
6203 (libc_feupdateenv_53bit): Define.
6204
6205 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6206 53 bit (without extend i386 double precision).
6207
6208 * math/libm-test.inc (sincos_test): Add tests for large input.
6209 (sin): Likewise.
6210 (cos): Likewise.
6211
6212 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6213
9cad04ea
AS
62142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6215
6216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6217
f7062b9a
DM
62182012-03-15 David S. Miller <davem@davemloft.net>
6219
6220 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6221 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6222 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6223 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6236 file.
f7062b9a 6237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6239 file.
f7062b9a 6240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6242 file.
f7062b9a 6243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6245 file.
f7062b9a
DM
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6247 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6248 fmin/fmax sysdep routines.
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6250
7bd951ff
DM
62512012-03-14 David S. Miller <davem@davemloft.net>
6252
559398ab
DM
6253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6260 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6275 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6276 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6279 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6280 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6281 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6282 routines.
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6284 file.
559398ab 6285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6287 file.
559398ab 6288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6290 file.
559398ab 6291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6293 file.
559398ab 6294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6296 file.
559398ab 6297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6299 file.
6300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6301 file.
6302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6303 file.
6304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6305 file.
6306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6307 New file.
6308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6309 file.
6310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6311 file.
559398ab 6312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6314 file.
559398ab 6315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6317 file.
559398ab 6318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6320 file.
559398ab 6321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6323 VIS3 routines.
559398ab
DM
6324
6325 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6326 New file.
6327
5a1c1e32
DM
6328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6329
eae47a36
DM
6330 * sysdeps/sparc/configure.in: New file.
6331 * sysdeps/sparc/configure: Generate.
6332 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6333 * configure: Regenerate.
6334 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6335 * config.make.in (have-as-vis3): New.
6336 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6337 available use -Av9d instead of -Av9a.
6338 * sysdeps/sparc/sparc64/Makefile: Likewise.
6339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6341 New file.
6342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6343 file.
6344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6345 New file.
6346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6347 file.
eae47a36
DM
6348 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6351 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6352 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6353
c0c83bc8
DM
6354 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6355 fzeros/fnegs to load 0x80000000 into a float register instead of
6356 using the stack.
7bd951ff
DM
6357 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6358
bd951ccb
JM
63592012-03-14 Joseph Myers <joseph@codesourcery.com>
6360
6361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6362 bits/syscall.h.
6363 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6364 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6365 ($(inst_includedir)/bits/syscall.h): Remove rule.
6366 ($(objpfx)bits/syscall.d): Include instead of
6367 $(objpfx)syscall-list.d.
6368 (generated): Change syscall-list.h and syscall-list.d to
6369 bits/syscall.h and bits/syscall.d.
6370
bb4e6db2
RM
63712012-03-14 Roland McGrath <roland@hack.frob.com>
6372
6373 [BZ #13846]
6374 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6375
aa4a2ae1
JM
63762012-03-14 Joseph Myers <joseph@codesourcery.com>
6377
e456826d
JM
6378 [BZ #13841]
6379 * math/s_csqrt.c: Include <float.h>.
6380 (__csqrt): Scale large or subnormal inputs.
6381 * math/s_csqrtf.c: Likewise.
6382 * math/s_csqrtl.c: Likewise.
6383 * math/libm-test.inc (csqrt_test): Add more tests.
6384 * sysdeps/i386/fpu/libm-test-ulps: Update.
6385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6386
aa4a2ae1
JM
6387 [BZ #13840]
6388 * math/libm-test.inc (hypot_test): Add more tests.
6389
7c10fd35
DM
63902012-03-13 David S. Miller <davem@davemloft.net>
6391
6392 [BZ #13840]
6393 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6394 double-precision for the calculation instead of scaling.
6395
f453b98b
JM
63962012-03-13 Joseph Myers <joseph@codesourcery.com>
6397
6398 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6399 manipulate bits before adding and subtracting TWO52[sx].
6400 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6401 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6402 Likewise.
6403 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6404
09a3453f
DM
64052012-03-13 David S. Miller <davem@davemloft.net>
6406
8e59da90
DM
6407 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6408 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6410 rtld-global-offsets.h
6411 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6412
2a8ab7f2
DM
6413 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6414 large parameters.
6415
10f62770
DM
6416 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6417
5f0bdb18
DM
6418 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6419 'err' in the ifdef scope in which it is actually used.
6420
09a3453f
DM
6421 * nss/nss_db/db-init.c: Include string.h
6422
b4b2eb5e
DM
64232012-03-12 David S. Miller <davem@davemloft.net>
6424
98bb2f1c
DM
6425 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6426 masking out of the most significant byte of random value used.
6427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6428 Fix coding style in previous change.
6429
b4b2eb5e
DM
6430 * sysdeps/unix/sysv/linux/kernel-features.h
6431 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6432 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6433 expression.
6434 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6435 later.
6436
6e226b09
DM
64372012-03-11 David S. Miller <davem@davemloft.net>
6438
a1bcbd40
DM
6439 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6440 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6441 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6442 for 'resultvar' otherwise things get truncated on 64-bit.
6443
cb9d6174
DM
6444 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6445 Fix masking out of the most significant byte of random value used.
6446
6e226b09
DM
6447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6448
058c132d
AS
64492012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6450
6451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6452
2d2cd515
DM
64532012-03-09 David S. Miller <davem@davemloft.net>
6454
6455 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6456 variables with appropriate CPP guards.
6457 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6458 frame pointer, not the stack pointer. Correct layout comments. Fix test
6459 on resulting framesize and the management of the outregs buffer for pltexit.
6460 Preserve floating point return values across _dl_call_pltexit call.
6461 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6462 framesize and the management of the outregs buffer for pltexit.
6463 Preserve floating point return values across _dl_call_pltexit
6464 call.
6465 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6466 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6467 (print_exit): Fix format string for return register value.
6468
9a07f9d0
JM
64692012-03-10 Joseph Myers <joseph@codesourcery.com>
6470
6471 * sunrpc/Makefile (others): Add rpcgen.
6472 ($(objpfx)rpcgen): Remove special build rule and dependency on
6473 libc.
6474 * sunrpc/rpcgen.c: New file.
6475
547b5e30
PE
64762012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6477
c524201a
PE
6478 [BZ #13673]
6479 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6480 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6481 * sysdeps/i386/crti.S: Likewise.
6482 * sysdeps/i386/crtn.S: Likewise.
6483 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6484 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6485 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6486 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6487 * sysdeps/sh/crti.S: Likewise.
6488 * sysdeps/sh/crtn.S: Likewise.
6489 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6490
7b6235f2
PE
6491 [BZ #13673]
6492 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6493 with URL.
6494 * locale/programs/locfile-kw.gperf: Likewise.
6495 * locale/programs/charmap-kw.h: Regenerated.
6496 * locale/programs/locfile-kw.h: Likewise.
6497
547b5e30
PE
6498 [BZ #13673]
6499 * intl/plural.y: Replace FSF snail mail address with URL.
6500 * intl/plural.c: Regenerated.
6501
5f0a5dae
RH
65022012-03-09 Richard Henderson <rth@twiddle.net>
6503
6504 * include/math_private.h: Remove file.
6505 * math/math_private.h: Move file ...
6506 * sysdeps/generic/math_private.h: ... here.
6507
b8c03620
RH
6508 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6509 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6510 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6511
4e234f5d 6512 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6513 and <math_private.h>.
6514 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6515 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6516 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6517 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6518 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6522 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6524 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6530 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6531 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6532 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6533 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6535 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6536 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6544 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6546 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6547 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6548 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6549 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6550 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6551 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6552 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6553 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6554 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6555 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6560 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6561 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6562 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6563 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6564 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6565 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6569 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6570 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6571 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6572 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6573 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6574 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6575 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6576 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6577 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6578 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6579 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6580 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6581 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6582 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6583 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6584 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6585 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6586 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6587 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6588 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6590 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6591 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6592 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6593 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6594 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6595 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6596 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6597 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6598 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6601 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6602 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6603 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6604 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6605 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6606 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6607 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6608 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6609 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6610 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6611 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6612 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6613 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6614 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6615 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6616 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6617 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6618 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6619 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6620 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6621 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6622 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6623 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6624 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6625 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6626 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6627 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6628 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6629 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6630 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6631 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6632 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6633 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6634 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6635 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6636 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6637 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6638 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6639 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6640 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6641 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6642 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6643 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6644 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6645 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6646 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6647 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6648 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6649 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6650 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6651 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6652 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6653 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6654 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6655 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6656 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6657 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6658 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6659 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6660 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6661 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6662 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6663 * sysdeps/ieee754/k_standard.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6755 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6757 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6779 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6783 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6784 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6786 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6791 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6796 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6812 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6813 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6814 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6819 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6824 * sysdeps/ieee754/s_lib_version.c: Likewise.
6825 * sysdeps/ieee754/s_matherr.c: Likewise.
6826 * sysdeps/ieee754/s_signgam.c: Likewise.
6827 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6828 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6829 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6830 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6831 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6832 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6833 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6834 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6835 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6836 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6837 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6838 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6839 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6840 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6841 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6842 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6843 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6844 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6845 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6847 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6848
1991fa03
JM
68492012-03-09 Joseph Myers <joseph@codesourcery.com>
6850
6851 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6852 * sunrpc/rpc_main.c: Likewise.
6853 * sunrpc/rpc_svcout.c: Likewise.
6854
60d6f5a6
DM
68552012-03-09 David S. Miller <davem@davemloft.net>
6856
6857 * include/math_private.h: New file.
6858
4962050e
JM
68592012-03-09 Joseph Myers <joseph@codesourcery.com>
6860
02a6f887
JM
6861 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6862 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6863 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6864 from <bits/socket_type.h>.
6865 (enum __socket_type): Don't define here.
6866 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6868 bits/socket_type.h.
6869
c6e013c1
JM
6870 [BZ #13566]
6871 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6872 checking __USE_GNU.
6873
4962050e
JM
6874 * Makerules ($(inst_includedir)/%.h): New rule.
6875 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6876 (install-others): Remove variable setting.
6877 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6878
38842f45
RH
68792012-03-08 Richard Henderson <rth@twiddle.net>
6880
67bb6da6
RH
6881 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6882 from macro to inline function; merge with the
6883 !__LIBC_INTERNAL_MATH_INLINES version.
6884 (__ieee754_sqrtf): Likewise.
6885
15194b4b
RH
6886 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6887 to inline function.
6888 (__rintf, __floor, __floorf): Likewise.
6889
64e21ede
RH
6890 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6891 macro to inline function.
6892 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6893
38842f45
RH
6894 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6895 not <math/math_private.h>.
6896
c64bf5fe
DM
68972012-03-08 David S. Miller <davem@davemloft.net>
6898
6899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6900 copyright year.
6901 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6902
82d86f28
TS
69032012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6904
6905 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6906 normalization.
6907 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6908 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6909
aea5d727
UD
69102012-03-08 Ulrich Drepper <drepper@gmail.com>
6911
6912 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6913 be defined individually, they must be defined as a block. Define
6914 S for printing a string instead of hidint the different by using a
6915 macro for adding the 'l'.
6916 * stdio-common/tst-fphex-wide.c: Adjust.
6917
70bca0a3
MP
69182012-03-07 Marek Polacek <polacek@redhat.com>
6919
6920 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6921
65b81130
MP
69222012-03-08 Marek Polacek <polacek@redhat.com>
6923
6924 [BZ #13806]
6925 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6926 * stdio-common/tst-fphex.c: Define a few macros to make the
6927 test reusable. Use them.
6928 * stdio-common/tst-fphex-wide.c: New file.
6929
07037eeb
JM
69302012-03-08 Joseph Myers <joseph@codesourcery.com>
6931
a7a93d50
JM
6932 [BZ #6911]
6933 * manual/macros.texi (gnusystems): New macro.
6934 (nongnusystems): Likewise.
6935 (gnulinuxhurdsystems): Likewise.
6936 (gnuhurdsystems): Likewise..
6937 (gnulinuxsystems): Likewise.
6938 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6939 variants of the GNU system, not "GNU system".
6940 * manual/conf.texi: Likewise.
6941 * manual/errno.texi: Likewise. Update example of errno macro
6942 expansion.
6943 * manual/filesys.texi: Likewise.
6944 (getumask): Document as specific to GNU/Hurd.
6945 * manual/install.texi: Likewise. Reword some references to
6946 GNU/Linux.
6947 * manual/intro.texi: Likewise.
6948 * manual/io.texi: Likewise.
6949 (File Name Portability): Detail which constraints are inapplicable
6950 to all GNU systems and which are only inapplicable to GNU/Hurd.
6951 * manual/job.texi: Likewise.
6952 * manual/llio.texi: Likewise.
6953 (O_NOCTTY): Document as present on GNU/Linux.
6954 * manual/maint.texi: Likewise.
6955 * manual/memory.texi: Likewise.
6956 * manual/pattern.texi: Likewise.
6957 * manual/pipe.texi: Likewise.
6958 * manual/process.texi: Likewise.
6959 * manual/resource.texi: Likewise.
6960 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6961 child on GNU/Hurd.
6962 * manual/setjmp.texi: Likewise.
6963 * manual/signal.texi: Likewise.
6964 * manual/startup.texi: Likewise.
6965 * manual/stdio.texi: Likewise.
6966 * manual/terminal.texi: Likewise.
6967 (ONLCR): Document as POSIX.
6968 (OXTABS): Document availability on GNU/Linux as XTABS.
6969 (ONOEOT): Document availability separately from other bits.
6970 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6971 * manual/time.texi: Likewise.
6972 * manual/users.texi: Likewise.
6973 * INSTALL: Regenerated.
6974 * sysdeps/gnu/errlist.c: Regenerated.
6975
07037eeb
JM
6976 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6977 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6978 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6979 puts.
6980 * configure: Regenerated.
6981
d1d3431a
JM
69822012-03-07 Joseph Myers <joseph@codesourcery.com>
6983
af6a1e37
JM
6984 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6985 default includes instead of AC_HEADER_CHECK.
6986 * sysdeps/i386/configure: Regenerated.
6987
d1d3431a
JM
6988 [BZ #10716]
6989 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6990 * math/s_cacoshf.c (__cacoshf): Likewise.
6991 * math/s_cacoshl.c (__cacoshl): Likewise.
6992 * math/s_casinh.c (__casinh): Set signs of result from argument.
6993 * math/s_casinhf.c (__casinhf): Likewise.
6994 * math/s_casinhl.c (__casinhl): Likewise.
6995 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6996 (casinh_test): Add more tests.
6997 * sysdeps/i386/fpu/libm-test-ulps: Update.
6998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6999
482ff4da
UD
70002012-03-07 Ulrich Drepper <drepper@gmail.com>
7001
872fda05
UD
7002 * po/zh_TW.po: Update from translation team.
7003
a4300c7a
UD
7004 * login/Makefile (distribute): Remove variable.
7005 * catgets/Makefile: Likewise.
7006 * mach/Makefile: Likewise.
7007 * malloc/Makefile: Likewise.
7008 * misc/Makefile: Likewise.
7009 * iconv/Makefile: Likewise.
7010 * nscd/Makefile: Likewise.
7011 * hurd/Makefile: Likewise.
7012 * manual/Makefile: Likewise.
7013 * locale/Makefile: Likewise.
7014 * intl/Makefile: Likewise.
7015 * conform/Makefile: Likewise.
7016 * nss/Makefile: Likewise.
7017 * time/Makefile: Likewise.
7018 * soft-fp/Makefile: Likewise.
7019 * dirent/Makefile: Likewise.
7020 * gmon/Makefile: Likewise.
7021 * po/Makefile: Likewise.
7022 * rt/Makefile: Likewise.
7023 * socket/Makefile: Likewise.
7024 * math/Makefile: Likewise.
7025 * signal/Makefile: Likewise.
7026 * debug/Makefile: Likewise.
7027 * elf/Makefile: Likewise.
7028 * timezone/Makefile: Likewise.
7029 * stdlib/Makefile: Likewise.
7030 * iconvdata/Makefile: Likewise.
7031 * sunrpc/Makefile: Likewise.
7032 * io/Makefile: Likewise.
7033 * argp/Makefile: Likewise.
7034 * inet/Makefile: Likewise.
7035 * hesiod/Makefile: Likewise.
7036 * grp/Makefile: Likewise.
7037 * csu/Makefile: Likewise.
7038 * wctype/Makefile: Likewise.
7039 * crypt/Makefile: Likewise.
7040 * libio/Makefile: Likewise.
7041 * string/Makefile: Likewise.
7042 * nis/Makefile: Likewise.
7043 * resolv/Makefile: Likewise.
7044 * stdio-common/Makefile: Likewise.
7045 * wcsmbs/Makefile: Likewise.
7046 * dlfcn/Makefile: Likewise.
7047 * posix/Makefile: Likewise.
7048
3b7c4e74 7049 [BZ #6959]
482ff4da
UD
7050 * timezone/Makefile: Don't install timezone files, just the programs
7051 and scripts.
7052
f72ed77d
UD
70532012-03-06 Ulrich Drepper <drepper@gmail.com>
7054
a000466f
UD
7055 * nss/databases.def: Add missing gshadow entry.
7056
f72ed77d
UD
7057 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7058
a53b7a4e
MP
70592012-03-06 Marek Polacek <polacek@redhat.com>
7060
7061 [BZ #13726]
7062 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7063 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7064 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7065 * stdio-common/tst-long-dbl-fphex.c: New file.
7066
e9258400
DM
70672012-03-06 David S. Miller <davem@davemloft.net>
7068
7069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7070 (set_obp_int): New function.
7071 (get_obp_int): New function.
7072 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7073 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7074 Avoid unused variable warnings on 'val' and use builtin_expect.
7075 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7076 __builtin_expect.
e9258400
DM
7077 (INLINE_CLONE_SYSCALL): Likewise.
7078
3bd2c723
DM
70792012-03-05 David S. Miller <davem@davemloft.net>
7080
7081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7082
bbb78d03
AS
70832012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7084
884c5db4
AS
7085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7086
bbb78d03
AS
7087 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7088 only for |x| >= 40.
7089 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7090
1c9f702a 70912012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7092
7093 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7094 Replace gettimeofday with __vdso_gettimeofday.
7095
7be16f82
RM
7096 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7097 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7098 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7099
7100 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7101 time with __vdso_time.
7102
ed58a00f
JM
71032012-03-05 Joseph Myers <joseph@codesourcery.com>
7104
7105 * manual/lang.texi (size_t): Note types to which size_t may be
7106 equivalent with the GNU C Library, but do not describe when
7107 differences between them are significant.
7108
30ee4ced
AJ
71092012-03-05 Andreas Jaeger <aj@suse.de>
7110
7111 * sysdeps/i386/fpu/libm-test-ulps: Update.
7112
b7cd39e8
JM
71132012-03-05 Joseph Myers <joseph@codesourcery.com>
7114
7115 [BZ #3976]
7116 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7117 (__ieee754_pow): Save and restore rounding mode and use
7118 round-to-nearest for main computations.
7119 * math/libm-test.inc (pow_test_tonearest): New function.
7120 (pow_test_towardzero): Likewise.
7121 (pow_test_downward): Likewise.
7122 (pow_test_upward): Likewise.
7123 (main): Call the new functions.
7124 * sysdeps/i386/fpu/libm-test-ulps: Update.
7125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7126
7127 [BZ #3976]
7128 * math/libm-test.inc (cosh_test_tonearest): New function.
7129 (cosh_test_towardzero): Likewise.
7130 (cosh_test_downward): Likewise.
7131 (cosh_test_upward): Likewise.
7132 (sinh_test_tonearest): Likewise.
7133 (sinh_test_towardzero): Likewise.
7134 (sinh_test_downward): Likewise.
7135 (sinh_test_upward): Likewise.
7136 (main): Call the new functions.
7137 * sysdeps/i386/fpu/libm-test-ulps: Update.
7138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7139
6c6a98c9
TV
71402012-03-05 Tom de Vries <tom@codesourcery.com>
7141
7142 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7143 default stack guard is set in last bytes.
7144 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7145
21bb2d2e 71462012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7147
21bb2d2e 7148 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7149
21bb2d2e
AJ
7150 [BZ #13656]
7151 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7152 possibly allocate from heap instead of stack.
7153 * stdio-common/bug-vfprintf-nargs.c: New file.
7154 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7155
c6922934
AS
71562012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7157
7158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7159
bc957d53
MP
71602012-03-03 Marek Polacek <polacek@redhat.com>
7161
7162 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7163 * math/math_private.h: Likewise.
7164 * stdlib/tst-strtod.c: Likewise.
7165 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7166 * sysdeps/x86_64/bits/atomic.h: Likewise.
7167
6358490d
DM
71682012-03-02 David S. Miller <davem@davemloft.net>
7169
7170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7174 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7175 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7176 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7177 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7178
01ae168d
RM
71792012-03-02 Roland McGrath <roland@hack.frob.com>
7180
d9a17c07
RM
7181 [BZ #13792]
7182 * manual/examples/README: New file, says the example source files
7183 can be used under GPL>=2.
7184 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7185 line containing just "*/".
7186 * manual/examples/add.c: Add copyright header (GPL>=2).
7187 * manual/examples/argp-ex1.c: Likewise.
7188 * manual/examples/argp-ex2.c: Likewise.
7189 * manual/examples/argp-ex3.c: Likewise.
7190 * manual/examples/argp-ex4.c: Likewise.
7191 * manual/examples/atexit.c: Likewise.
7192 * manual/examples/db.c: Likewise.
7193 * manual/examples/dir.c: Likewise.
7194 * manual/examples/dir2.c: Likewise.
7195 * manual/examples/execinfo.c: Likewise.
7196 * manual/examples/filecli.c: Likewise.
7197 * manual/examples/filesrv.c: Likewise.
7198 * manual/examples/fmtmsgexpl.c: Likewise.
7199 * manual/examples/genpass.c: Likewise.
7200 * manual/examples/inetcli.c: Likewise.
7201 * manual/examples/inetsrv.c: Likewise.
7202 * manual/examples/isockad.c: Likewise.
7203 * manual/examples/longopt.c: Likewise.
7204 * manual/examples/memopen.c: Likewise.
7205 * manual/examples/memstrm.c: Likewise.
7206 * manual/examples/mkfsock.c: Likewise.
7207 * manual/examples/mkisock.c: Likewise.
7208 * manual/examples/mygetpass.c: Likewise.
7209 * manual/examples/pipe.c: Likewise.
7210 * manual/examples/popen.c: Likewise.
7211 * manual/examples/rprintf.c: Likewise.
7212 * manual/examples/search.c: Likewise.
7213 * manual/examples/select.c: Likewise.
7214 * manual/examples/setjmp.c: Likewise.
7215 * manual/examples/sigh1.c: Likewise.
7216 * manual/examples/sigusr.c: Likewise.
7217 * manual/examples/stpcpy.c: Likewise.
7218 * manual/examples/strdupa.c: Likewise.
7219 * manual/examples/strftim.c: Likewise.
7220 * manual/examples/strncat.c: Likewise.
7221 * manual/examples/subopt.c: Likewise.
7222 * manual/examples/swapcontext.c: Likewise.
7223 * manual/examples/termios.c: Likewise.
7224 * manual/examples/testopt.c: Likewise.
7225 * manual/examples/testpass.c: Likewise.
7226 * manual/examples/timeval_subtract.c: Likewise.
7227
01ae168d
RM
7228 [BZ #13792]
7229 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7230 function to ...
7231 * manual/timeval_subtract.c.texi: ... here, new file.
7232
49efa33d
DM
72332012-03-02 David S. Miller <davem@davemloft.net>
7234
7235 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7236
28afd92d
JM
72372012-03-02 Joseph Myers <joseph@codesourcery.com>
7238
804360ed
JM
7239 [BZ #3976]
7240 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7241 (__sin): Save and restore rounding mode and use round-to-nearest
7242 for all computations.
7243 (__cos): Save and restore rounding mode and use round-to-nearest
7244 for all computations.
7245 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7246 <fenv.h>.
7247 (tan): Save and restore rounding mode and use round-to-nearest for
7248 all computations.
7249 * math/libm-test.inc (cos_test_tonearest): New function.
7250 (cos_test_towardzero): Likewise.
7251 (cos_test_downward): Likewise.
7252 (cos_test_upward): Likewise.
7253 (sin_test_tonearest): Likewise.
7254 (sin_test_towardzero): Likewise.
7255 (sin_test_downward): Likewise.
7256 (sin_test_upward): Likewise.
7257 (tan_test_tonearest): Likewise.
7258 (tan_test_towardzero): Likewise.
7259 (tan_test_downward): Likewise.
7260 (tan_test_upward): Likewise.
7261 (main): Call the new functions.
7262 * sysdeps/i386/fpu/libm-test-ulps: Update.
7263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7264
a6d06d7b
JM
7265 [BZ #10135]
7266 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7267 small n, then large n, before computing and testing k+n.
7268 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7270 Likewise.
7271 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7272 Likewise.
7273 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7274 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7275 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7276 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7277 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7278 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7279 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7280 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7281 * math/libm-test.inc (scalbn_test): Add more tests.
7282 (scalbln_test): Likewise.
7283
07e12bb3
JM
7284 * manual/filesys.texi (mode_t): Describe constraints on size and
7285 signedness, not exact equivalence to a particular type.
7286 (ino_t): Likewise.
7287 (ino64_t): Likewise.
7288 (dev_t): Likewise.
7289 (nlink_t): Likewise.
7290 (blkcnt_t): Likewise.
7291 (blkcnt64_t): Likewise.
7292 * manual/llio.texi (off_t): Likewise.
7293
28afd92d
JM
7294 [BZ #3976]
7295 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7296 (__ieee754_exp): Save and restore rounding mode and use
7297 round-to-nearest for all computations.
7298 * math/libm-test.inc (exp_test_tonearest): New function.
7299 (exp_test_towardzero): Likewise.
7300 (exp_test_downward): Likewise.
7301 (exp_test_upward): Likewise.
7302 (main): Call the new functions.
7303 * sysdeps/i386/fpu/libm-test-ulps: Update.
7304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7305
b1eeb65d
CD
73062012-03-01 Chris Demetriou <cgd@google.com>
7307
7308 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7309 have predictable order.
7310
53362a4b
DM
73112012-03-01 David S. Miller <davem@davemloft.net>
7312
3c969083
DM
7313 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7314
759707de
DM
7315 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7316 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7317 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7318 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7319
dfdb8ff2
DM
7320 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7321 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7322 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7324 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7325 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7326 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7327 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7328 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7329
ead89f96
DM
7330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7331
7f66bd07
DM
7332 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7333 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7334 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7335
53362a4b
DM
7336 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7337 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7338 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7339 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7340 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7341 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7342 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7343 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7344 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7345 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7346 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7347 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7348 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7349 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7350 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7351 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7352 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7353 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7354 * sysdeps/sparc/elf/configure: Regenerated.
7355
7b1902cb
JM
73562012-03-01 Joseph Myers <joseph@codesourcery.com>
7357
bec039bc
JM
7358 * configure.in (AS, LD): Require binutils 2.20 or later.
7359 * configure: Regenerated.
7360 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7361 as required minimum version.
7362 * INSTALL: Regenerated.
7363
7b1902cb
JM
7364 [BZ #2541]
7365 [BZ #4108]
7366 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7367 before squaring exponent.
7368 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7369 bottom long double and 27 bits of top long double before squaring
7370 exponent.
7371 * math/libm-test.inc (erfc_test): Add more tests.
7372 * sysdeps/i386/fpu/libm-test-ulps: Update.
7373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7375
f775c276
KT
73762012-03-01 Kai Tietz <ktietz@redhat.com>
7377
7378 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7379 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7380 containing bit-fields.
7381 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7382 * soft-fp/single.h (_FP_UNION_S): Likewise.
7383 * soft-fp/double.h (_FP_UNION_D): Likewise.
7384
5b8a4d4a
JM
73852012-02-29 Joseph Myers <joseph@codesourcery.com>
7386
0bab47b6
JM
7387 [BZ #13786]
7388 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7389 not include ../strcmp.S.
7390 [USE_AS_STRNCASECMP_L]: Likewise.
7391 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7392 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7393 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7394 (__strncasecmp_l_ia32): Define as alias to
7395 __strncasecmp_l_nonascii.
7396
0fcad3e2
JM
7397 [BZ #5794]
7398 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7399 * sysdeps/i386/fpu/libm-test-ulps: Update.
7400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7401
5b8a4d4a
JM
7402 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7404
8fdceb2e
JL
74052012-02-29 Jeff Law <law@redhat.com>
7406
7407 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7408 out of bounds read.
7409
1f393a11
MP
74102012-02-29 Marek Polacek <polacek@redhat.com>
7411
7412 [BZ #13706]
7413 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7414 * elf/Makefile: Add rules to run tst-unused-dep.out.
7415
8847f037
DM
74162012-02-28 David S. Miller <davem@davemloft.net>
7417
7418 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7419 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7420 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7421 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7422 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7423 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7424
169d7f11
JM
74252012-02-29 Joseph Myers <joseph@codesourcery.com>
7426
7427 * math/libm-test.inc (llround_test): Move one test from
7428 lround_test. Use TEST_f_L in moved test.
7429 (lround_test): Move misplaced test to llround_test. Add testcase
7430 from bug 2561.
7431
39adf059
UD
74322012-02-28 Ulrich Drepper <drepper@gmail.com>
7433
7434 * sysdeps/x86_64/fpu/e_expf.S: New file.
7435 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7436
71b5d1c5
SB
74372012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7438
7439 [BZ #13637]
7440 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7441 of remain_len that may cause incomplete multi-byte character and
7442 false match.
7443 * posix/bug-regex33.c: New file.
7444 * posix/Makefile (tests): Add bug-regex33.
7445
1f77f049
JM
74462012-02-28 Joseph Myers <joseph@codesourcery.com>
7447
7448 * manual/macros.texi: New file.
7449 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7450 * manual/libc.texinfo: Include macros.texi.
7451 * manual/creatute.texi: Likewise.
7452 * manual/install.texi: Likewise.
7453 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7454 @glibcadj{} in references to the GNU C Library.
7455 * manual/charset.texi: Likewise.
7456 * manual/conf.texi: Likewise.
7457 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7458 when not using those macros.
7459 * manual/creature.texi: Likewise.
7460 * manual/crypt.texi: Likewise.
7461 * manual/errno.texi: Likewise.
7462 * manual/filesys.texi: Likewise.
7463 * manual/header.texi: Likewise.
7464 * manual/install.texi: Likewise.
7465 * manual/intro.texi: Likewise.
7466 * manual/io.texi: Likewise.
7467 * manual/job.texi: Likewise.
7468 * manual/lang.texi: Likewise.
7469 * manual/libc.texiinfo: Likewise.
7470 * manual/llio.texi: Likewise.
7471 * manual/locale.texi: Likewise.
7472 * manual/maint.texi: Likewise.
7473 * manual/math.texi: Likewise.
7474 * manual/memory.texi: Likewise.
7475 * manual/message.texi: Likewise.
7476 * manual/nss.texi: Likewise.
7477 * manual/pattern.texi: Likewise.
7478 * manual/process.texi: Likewise.
7479 * manual/resource.texi: Likewise.
7480 * manual/search.texi: Likewise.
7481 * manual/setjmp.texi: Likewise.
7482 * manual/signal.texi: Likewise.
7483 * manual/socket.texi: Likewise.
7484 * manual/startup.texi: Likewise.
7485 * manual/stdio.texi: Likewise.
7486 * manual/string.texi: Likewise.
7487 * manual/sysinfo.texi: Likewise.
7488 * manual/syslog.texi: Likewise.
7489 * manual/terminal.texi: Likewise.
7490 * manual/time.texi: Likewise.
7491 * manual/users.texi: Likewise.
7492 * INSTALL: Regenerated.
7493 * NOTES: Regenerated.
d40c5d54 7494 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7495
450bf206
AS
74962012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7497
7498 * include/dirent.h: Include <dirstream.h> before
7499 <dirent/dirent.h>.
7500
741a235b
DM
75012012-02-28 David S. Miller <davem@davemloft.net>
7502
7503 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7504 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7505 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7506 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7507
d6b5aa58
DM
75082012-02-27 David S. Miller <davem@davemloft.net>
7509
1aff59a3
DM
7510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7512 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7513 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7514
d6b5aa58
DM
7515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7516 frame pointer instead of stack pointer relative arg slot.
7517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7518 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7519 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7520
433f48bf
CD
75212012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7522
7523 [BZ #3992]
7524 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7525
d674b76d
DM
75262012-02-27 David S. Miller <davem@davemloft.net>
7527
7528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7532 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7533 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7534 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7535 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7536
0e7727f7
JM
75372012-02-27 Joseph Myers <joseph@codesourcery.com>
7538
7539 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7540 later. Allow versions 5-9.
43be4ca2 7541 * configure: Regenerated.
0e7727f7
JM
7542 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7543 required minimum version and 4.6 as recommended version. Do not
7544 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7545 * INSTALL: Regenerated.
0e7727f7 7546
a78bc654
DM
75472012-02-27 David S. Miller <davem@davemloft.net>
7548
428d5830
DM
7549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7553 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7554 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7555 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7556 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7557
a78bc654
DM
7558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7559 manipulate bits before adding and subtracting TWO112[sx].
7560 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7561
4579f81c
RM
75622012-02-27 Roland McGrath <roland@hack.frob.com>
7563
36c8acb4
RM
7564 [BZ #13775]
7565 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7566 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7567 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7568 being in POSIX, because they are in 1003.1-2008.
7569
84ad622b
RM
7570 * rt/tst-aio.c: Include <fcntl.h>.
7571 * rt/tst-aio7.c: Likewise.
7572 * rt/tst-aio64.c: Likewise.
7573
4579f81c
RM
7574 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7575
abd923db
JM
75762012-02-27 Joseph Myers <joseph@codesourcery.com>
7577
7578 * manual/install.texi (--with-headers): Describe headers as
7579 interface headers, not private headers.
7580 (Specific advice for GNU/Linux systems): Describe use of headers
7581 from "make headers_install", not private headers from older
7582 kernels.
43be4ca2 7583 * INSTALL: Regenerated.
abd923db
JM
7584 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7585 Change to 2.6.19.
7586 * sysdeps/unix/sysv/linux/configure: Regenerated.
7587
6664049b
JM
7588 * manual/llio.texi (fclean): Remove documentation.
7589
bb8b6697
JM
7590 * manual/Makefile (libc-texi-generated): New variable. Include
7591 version.texi.
7592 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7593 $(libc-texi-generated), not duplicated list of files.
7594 (version.texi, stamp-version): New rules.
7595 (realclean): Remove $(libc-texi-generated), not individual files
7596 from that list. Do not remove dir-add.texinfo.
7597 * manual/libc.texinfo: Comment out uses of edition numbers and
7598 references to printed manual. Remove last-updated dates.
7599 (EDITION): Comment out.
7600 (ISBN): Likewise.
7601 (VERSION, UPDATED): Remove.
7602 (version.texi): Include.
7603
12e5c3b9
AS
76042012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7605
7606 * sysdeps/posix/spawni.c: Include <signal.h>.
7607 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7608 * sysdeps/pthread/aio_fsync.c: Likewise.
7609
4efeffc1 76102012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7611
ba63ba08
UD
7612 * conform/Makefile (tests): Run only when not cross-compiling and
7613 when fast-check is not defined.
7614
d94a4670
UD
7615 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7616 * conform/data/limits.h-data: Fixes for POSIX2008.
7617 * conform/run-conformtest.sh: Run all tests.
7618 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7619 headers.
7620 * include/bits/dlfcn.h: Likewise.
7621 * include/langinfo.h: Likewise.
7622 * include/monetary.h: Likewise.
7623 * include/sys/poll.h: Likewise.
7624
7625 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7626 for __USE_GNU.
7627 * posix/spawn.h: Define __need_sigset_t.
7628 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7629 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7630 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7631 to get sigevent_t only.
7632 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7633 only for __USE_GNU.
7634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7635 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7636 process_vm_writev only for __USE_GNU.
7637 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7638
7639 * conform/Makefile: For now ignore errors from run-conformtest.
7640 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7641 POSIX to avoid namespace pollution. Don't prepend headers.
7642 * conform/data/aio.h-data: Fixes for POSIX testing.
7643 * conform/data/fcntl.h-data: Likewise.
7644 * conform/data/glob.h-data: Likewise.
7645 * conform/data/grp.h-data: Likewise.
7646 * conform/data/pthread.h-data: Likewise.
7647 * conform/data/pwd.h-data: Likewise.
7648 * conform/data/signal.h-data: Likewise.
7649 * conform/data/spawn.h-data: Likewise.
7650 * conform/data/stdio.h-data: Likewise.
7651 * conform/data/stdlib.h-data: Likewise.
7652 * conform/data/stropts.h-data: Likewise.
7653 * conform/data/sys/mman.h-data: Likewise.
7654 * conform/data/sys/stat.h-data: Likewise.
7655 * conform/data/sys/types.h-data: Likewise.
7656 * conform/data/sys/wait.h-data: Likewise.
7657 * conform/data/time.h-data: Likewise.
7658 * conform/data/unistd.h-data: Likewise.
7659 * conform/data/utime.h-data: Likewise.
7660
7661 * io/sys/stat.h: fchmod was always in POSIX.
7662 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7663 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7664 * rt/aio.h: Define __need_timespec before including <time.h>.
7665 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7666 struct. Add forward declaration of pthread_attr_t and use it in
7667 sigevent.
7668 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7669 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7670 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7671 always remove CLK_TCK definition.
7672
c20105c3
AS
76732012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7674
7675 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7676
7a270350
UD
76772012-02-25 Ulrich Drepper <drepper@gmail.com>
7678
31341567
UD
7679 * conform/run-conformtest.sh: New file.
7680 * conform/Makefile: Run run-conformtest for tests.
7681 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7682 support.
7683
7684 * conform/data/uchar.h-data: New file.
7685 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7686 * conform/data/arpa/inet.h-data: Likewise.
7687 * conform/data/assert.h-data: Likewise.
7688 * conform/data/complex.h-data: Likewise.
7689 * conform/data/cpio.h-data: Likewise.
7690 * conform/data/ctype.h-data: Likewise.
7691 * conform/data/dirent.h-data: Likewise.
7692 * conform/data/dlfcn.h-data: Likewise.
7693 * conform/data/errno.h-data: Likewise.
7694 * conform/data/fcntl.h-data: Likewise.
7695 * conform/data/float.h-data: Likewise.
7696 * conform/data/fmtmsg.h-data: Likewise.
7697 * conform/data/fnmatch.h-data: Likewise.
7698 * conform/data/ftw.h-data: Likewise.
7699 * conform/data/glob.h-data: Likewise.
7700 * conform/data/grp.h-data: Likewise.
7701 * conform/data/iconv.h-data: Likewise.
7702 * conform/data/inttypes.h-data: Likewise.
7703 * conform/data/langinfo.h-data: Likewise.
7704 * conform/data/libgen.h-data: Likewise.
7705 * conform/data/limits.h-data: Likewise.
7706 * conform/data/locale.h-data: Likewise.
7707 * conform/data/math.h-data: Likewise.
7708 * conform/data/monetary.h-data: Likewise.
7709 * conform/data/mqueue.h-data: Likewise.
7710 * conform/data/ndbm.h-data: Likewise.
7711 * conform/data/net/if.h-data: Likewise.
7712 * conform/data/netdb.h-data: Likewise.
7713 * conform/data/netinet/in.h-data: Likewise.
7714 * conform/data/nl_types.h-data: Likewise.
7715 * conform/data/poll.h-data: Likewise.
7716 * conform/data/pthread.h-data: Likewise.
7717 * conform/data/pwd.h-data: Likewise.
7718 * conform/data/regex.h-data: Likewise.
7719 * conform/data/sched.h-data: Likewise.
7720 * conform/data/search.h-data: Likewise.
7721 * conform/data/semaphore.h-data: Likewise.
7722 * conform/data/setjmp.h-data: Likewise.
7723 * conform/data/signal.h-data: Likewise.
7724 * conform/data/spawn.h-data: Likewise.
7725 * conform/data/stdarg.h-data: Likewise.
7726 * conform/data/stdio.h-data: Likewise.
7727 * conform/data/stdlib.h-data: Likewise.
7728 * conform/data/string.h-data: Likewise.
7729 * conform/data/strings.h-data: Likewise.
7730 * conform/data/stropts.h-data: Likewise.
7731 * conform/data/sys/ipc.h-data: Likewise.
7732 * conform/data/sys/mman.h-data: Likewise.
7733 * conform/data/sys/msg.h-data: Likewise.
7734 * conform/data/sys/resource.h-data: Likewise.
7735 * conform/data/sys/select.h-data: Likewise.
7736 * conform/data/sys/sem.h-data: Likewise.
7737 * conform/data/sys/shm.h-data: Likewise.
7738 * conform/data/sys/socket.h-data: Likewise.
7739 * conform/data/sys/stat.h-data: Likewise.
7740 * conform/data/sys/statvfs.h-data: Likewise.
7741 * conform/data/sys/time.h-data: Likewise.
7742 * conform/data/sys/timeb.h-data: Likewise.
7743 * conform/data/sys/times.h-data: Likewise.
7744 * conform/data/sys/types.h-data: Likewise.
7745 * conform/data/sys/uio.h-data: Likewise.
7746 * conform/data/sys/un.h-data: Likewise.
7747 * conform/data/sys/utsname.h-data: Likewise.
7748 * conform/data/sys/wait.h-data: Likewise.
7749 * conform/data/syslog.h-data: Likewise.
7750 * conform/data/tar.h-data: Likewise.
7751 * conform/data/termios.h-data: Likewise.
7752 * conform/data/utime.h-data: Likewise.
7753 * conform/data/utmpx.h-data: Likewise.
7754 * conform/data/varargs.h-data: Likewise.
7755 * conform/data/wchar.h-data: Likewise.
7756 * conform/data/wctype.h-data: Likewise.
7757 * conform/data/wordexp.h-data: Likewise.
7758
7759 * include/stropts.h: New file.
7760 * include/uchar.h: New file.
7761 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7762 * include/assert.h: Likewise.
7763 * include/ctype.h: Likewise.
7764 * include/dirent.h: Likewise.
7765 * include/dlfcn.h: Likewise.
7766 * include/fcntl.h: Likewise.
7767 * include/fnmatch.h: Likewise.
7768 * include/glob.h: Likewise.
7769 * include/grp.h: Likewise.
7770 * include/libio.h: Likewise.
7771 * include/locale.h: Likewise.
7772 * include/math.h: Likewise.
7773 * include/net/if.h: Likewise.
7774 * include/netdb.h: Likewise.
7775 * include/netinet/in.h: Likewise.
7776 * include/pthread.h: Likewise.
7777 * include/pwd.h: Likewise.
7778 * include/regex.h: Likewise.
7779 * include/sched.h: Likewise.
7780 * include/search.h: Likewise.
7781 * include/setjmp.h: Likewise.
7782 * include/signal.h: Likewise.
7783 * include/stdio.h: Likewise.
7784 * include/stdlib.h: Likewise.
7785 * include/string.h: Likewise.
7786 * include/sys/cdefs.h: Likewise.
7787 * include/sys/mman.h: Likewise.
7788 * include/sys/msg.h: Likewise.
7789 * include/sys/resource.h: Likewise.
7790 * include/sys/select.h: Likewise.
7791 * include/sys/socket.h: Likewise.
7792 * include/sys/stat.h: Likewise.
7793 * include/sys/statvfs.h: Likewise.
7794 * include/sys/time.h: Likewise.
7795 * include/sys/times.h: Likewise.
7796 * include/sys/uio.h: Likewise.
7797 * include/sys/utsname.h: Likewise.
7798 * include/sys/wait.h: Likewise.
7799 * include/termios.h: Likewise.
7800 * include/time.h: Likewise.
7801 * include/ulimit.h: Likewise.
7802 * include/unistd.h: Likewise.
7803 * include/utime.h: Likewise.
7804 * include/wchar.h: Likewise.
7805 * include/wctype.h: Likewise.
7806 * include/wordexp.h: Likewise.
7807
7808 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7809
7a270350
UD
7810 * time/time.h: TIME_UTC must be a macro.
7811 Make timespec_get available for ISO C11 only as well.
7812
7724defc
UD
78132012-02-24 Ulrich Drepper <drepper@gmail.com>
7814
7815 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7816 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7817
6b1d1d46
JM
78182012-02-24 Joseph Myers <joseph@codesourcery.com>
7819
7820 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7821
0f8bbd69
JM
78222012-02-24 Joseph Myers <joseph@codesourcery.com>
7823
7824 * manual/texinfo.tex: Update to version 2012-01-19.16.
7825
66ab80bc
JM
78262012-02-24 Joseph Myers <joseph@codesourcery.com>
7827
7828 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7829
74981cc5
RM
78302012-02-24 Roland McGrath <roland@hack.frob.com>
7831
ee968201
RM
7832 [BZ #13738]
7833 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7834 * manual/fdl-1.3.texi: New file.
7835 * manual/fdl-1.1.texi: File removed.
7836
74981cc5
RM
7837 [BZ #13738]
7838 * manual/libc.texinfo (FDL_VERSION): New @set.
7839 Use it for mention of FDL in cover text.
7840 (Documentation License): Use it in @include file name.
7841
7bb764bc
JM
78422012-02-22 Joseph Myers <joseph@codesourcery.com>
7843 Roland McGrath <roland@hack.frob.com>
7844
7845 [BZ #5461]
7846 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7847 not LONG_LONG_MAX and LONG_LONG_MIN.
7848 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7849 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7850 name.
7851 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7852
6cbeae47
JM
78532012-02-22 Joseph Myers <joseph@codesourcery.com>
7854
7855 [BZ #2547]
7856 [BZ #11365]
7857 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7858 manipulate bits before adding and subtracting TWO23[sx].
7859 * math/libm-test.inc (nearbyint_test): Add more tests.
7860
fe45ce09
JM
78612012-02-22 Joseph Myers <joseph@codesourcery.com>
7862
7863 [BZ #2548]
7864 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7865 bits before adding and subtracting TWO23[sx].
7866 * math/libm-test.inc (rint_test): Add more tests.
7867 (rint_test_tonearest): Likewise.
7868 (rint_test_towardzero): Likewise.
7869 (rint_test_downward): Likewise.
7870 (rint_test_upward: Likewise.
7871
ff3b3d82
JM
78722012-02-22 Joseph Myers <joseph@codesourcery.com>
7873
7874 [BZ #10110]
7875 * include/stdc-predef.h: New file. Extracted from features.h.
7876 * include/features.h: Include stdc-predef.h.
7877 * Makefile (headers): Add stdc-predef.h.
7878 * CONFORMANCE (Compiler limitations): Update.
7879
ef0aab35
JM
78802012-02-22 Joseph Myers <joseph@codesourcery.com>
7881
7882 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7883
58639409
DM
78842012-02-21 David S. Miller <davem@davemloft.net>
7885
7886 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7887 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7888
c0e70b25
DM
78892012-02-20 David S. Miller <davem@davemloft.net>
7890
7891 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7892 using a normal save/restore sequence, rather than allocating a
7893 dummy stack frame just to store a frame pointer and restore.
7894 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7895
fb06851d
JM
78962012-02-21 Joseph Myers <joseph@codesourcery.com>
7897
7898 * manual/install.texi: Fix stray word in line-wrapped comment.
7899
7a8b71c3
DM
79002012-02-20 David S. Miller <davem@davemloft.net>
7901
d510c123
DM
7902 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7903 both binutils and gcc support GOTDATA.
7904
0722d7c2
DM
7905 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7906 "rd %pc" in the PIC register setup sequences.
7907
3d2b3019
DM
7908 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7909 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7910 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7911 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7912 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7914 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7915 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7916 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7917 (SYSCALL_ERROR_HANDLER): Likewise.
7918 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7919 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7920 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7921 (SYSCALL_ERROR_HANDLER): Likewise.
7922
c80098a9
DM
7923 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7924 (HAVE_GCC_GOTDATA): New.
7925 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7926 relocation support in both binutils and gcc.
7927 * sysdeps/sparc/elf/configure: Regenerate.
7928
3a2545a0
DM
7929 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7930 * sysdeps/sparc/sparc32/elf/configure: Delete.
7931 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7932 * sysdeps/sparc/sparc64/elf/configure: Delete.
7933 * sysdeps/sparc/elf/configure.in: New file.
7934 * sysdeps/sparc/elf/configure: Generate.
7935
7a8b71c3
DM
7936 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7937 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7938 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7939 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7940 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7941
f1e86fca
JM
79422012-02-21 Joseph Myers <joseph@codesourcery.com>
7943
7944 * manual/install.texi: Do not mention specific glibc version
7945 numbers.
7946 * manual/libc.texinfo (VERSION, UPDATED): Update.
7947 (@copying): Use @copyright{} and range of years.
7948
0e7dfaef
JM
79492012-02-21 Joseph Myers <joseph@codesourcery.com>
7950
7951 [BZ #13695]
7952 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7953 [crti.S not in sysdirs] (generated): Do not append.
7954 [crti.S not in sysdirs] (omit-deps): Likewise.
7955 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7956 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7957 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7958 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7959 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7960 Likewise.
7961 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7962 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7963 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7964 * csu/defs.awk: Remove file.
7965 * sysdeps/generic/initfini.c: Likewise.
7966 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7967 variable.
7968 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7969 Likewise.
7970
599af3ca
JM
79712012-02-20 Joseph Myers <joseph@codesourcery.com>
7972
7973 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7974 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7975 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7976 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7977 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7978 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7979 <bits/epoll.h>.
7980 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7981 (__EPOLL_PACKED): Define to empty if not defined by
7982 <bits/epoll.h>.
7983 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7985 bits/epoll.h.
7986
0e499750
JM
79872012-02-20 Joseph Myers <joseph@codesourcery.com>
7988
7989 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7990 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7991 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7992 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7993 <bits/timerfd.h>.
7994 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7996 bits/timerfd.h.
7997
5ad91f6e
JM
79982012-02-20 Joseph Myers <joseph@codesourcery.com>
7999
8000 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8001 in C locale.
8002 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8003 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8004 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8006
06b99b02
AJ
80072012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8008
8009 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8010 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8011
7638c0fd
AS
80122012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8013
8014 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8015 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8016 defined.
8017 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8018 Likewise.
8019 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8020 entry for 2.16.
8021
92221550
AJ
80222012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8023
8024 * math/w_acos.c: Use non-signaling floating-point comparisons.
8025 * math/w_acosf.c: Likewise.
8026 * math/w_acosh.c: Likewise.
8027 * math/w_acoshf.c: Likewise.
8028 * math/w_acoshl.c: Likewise.
8029 * math/w_acosl.c: Likewise.
8030 * math/w_asin.c: Likewise.
8031 * math/w_asinf.c: Likewise.
8032 * math/w_asinl.c: Likewise.
8033 * math/w_atanh.c: Likewise.
8034 * math/w_atanhf.c: Likewise.
8035 * math/w_atanhl.c: Likewise.
8036 * math/w_exp2.c: Likewise.
8037 * math/w_exp2f.c: Likewise.
8038 * math/w_exp2l.c: Likewise.
8039 * math/w_j0.c: Likewise.
8040 * math/w_j0f.c: Likewise.
8041 * math/w_j0l.c: Likewise.
8042 * math/w_j1.c: Likewise.
8043 * math/w_j1f.c: Likewise.
8044 * math/w_j1l.c: Likewise.
8045 * math/w_jn.c: Likewise.
8046 * math/w_jnf.c: Likewise.
8047 * math/w_log.c: Likewise.
8048 * math/w_log10.c: Likewise.
8049 * math/w_log10f.c: Likewise.
8050 * math/w_log10l.c: Likewise.
8051 * math/w_log2.c: Likewise.
8052 * math/w_log2f.c: Likewise.
8053 * math/w_log2l.c: Likewise.
8054 * math/w_logf.c: Likewise.
8055 * math/w_logl.c: Likewise.
8056 * math/w_sqrt.c: Likewise.
8057 * math/w_sqrtf.c: Likewise.
8058 * math/w_sqrtl.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8061 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8062 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8063 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8064
ebaf36eb
JM
80652012-02-19 Joseph Myers <joseph@codesourcery.com>
8066
8067 [BZ #9739]
8068 * manual/string.texi (strnlen): Use correct parameter name in
8069 equivalent expression.
8070
71c254a6
JM
80712012-02-19 Joseph Myers <joseph@codesourcery.com>
8072
8073 [BZ #11174]
8074 * manual/users.texi (seteuid): Consistently use neweuid for
8075 argument name.
8076
16d2c631
JM
80772012-02-19 Joseph Myers <joseph@codesourcery.com>
8078
8079 [BZ #13704]
8080 * manual/nss.texi (Services in the NSS configuration): Correct
8081 list of services in example configuration file.
8082
cd837b09
NB
80832012-02-19 Nick Bowler <nbowler@draconx.ca>
8084
8085 [BZ #11322]
8086 * manual/arith.texi: Remove statements about negative zero
8087 behaving identically to zero.
8088
02c4bbad
JM
80892012-02-18 Joseph Myers <joseph@codesourcery.com>
8090
8091 [BZ #5993]
8092 * manual/install.texi: Do not document upgrading from libc5.
8093
366842e7
JM
80942012-02-18 Joseph Myers <joseph@codesourcery.com>
8095
8096 [BZ #4596]
8097 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8098
dd54084d
DM
80992012-02-18 David S. Miller <davem@davemloft.net>
8100
8101 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8102 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8103 %o7 across the call.
8104 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8105 instead.
8106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8107 SETUP_PIC_REG_LEAF.
8108 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8109 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8110 * sysdeps/sparc/crtn.S: Likewise.
8111
2bcc53a3
UD
81122012-02-17 Ulrich Drepper <drepper@gmail.com>
8113
8114 * aout/Makefile: Remove.
8115
09c093b5
RK
81162012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8117
8118 [BZ #13058]
8119 * manual/examples/argp-ex1.c (main): Format definition in GNU
8120 style.
8121 * manual/examples/argp-ex2.c (main): Likewise.
8122 * manual/examples/argp-ex3.c (main): Likewise.
8123 * manual/examples/argp-ex4.c (main): Likewise.
8124 * manual/examples/longopt.c (main): Use new-style prototype
8125 definition.
8126 * manual/examples/strncat.c (main): Specify return type and use
8127 (void) for arguments.
8128 * manual/examples/subopt.c (main): Use char **argv argument.
8129
2ee633a2
JM
81302012-02-17 Joseph Myers <joseph@codesourcery.com>
8131
8132 [BZ #5077]
8133 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8134 rounding modes.
8135
0520adde
FB
81362012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8137
8138 [BZ #6907]
8139 * manual/string.texi (strchr): Change when strchrnul is
8140 recommended.
8141
3f4081cd
DGM
81422012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8143
8144 [BZ #174]
8145 * manual/locale.texi (setlocale): Document LOCPATH.
8146
d1b10e78
JM
81472012-02-17 Joseph Myers <joseph@codesourcery.com>
8148
8149 [BZ #10210]
8150 * manual/process.texi (execle): Move @dots{} before last argument.
8151
79c6869c
PB
81522012-02-17 Paul Bolle <pebolle@tiscali.nl>
8153
8154 [BZ #12047]
8155 * manual/charset.texi (Generic Charset Conversion): Fix typo
8156 (LC_TYPE -> LC_CTYPE).
8157
cc6e48bc
NB
81582012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8159
8160 [BZ #5805]
8161 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8162 (scalbnf): Likewise.
8163 (scalbnl): Likewise.
8164 (scalbln): Likewise.
8165 (scalblnf): Likewise.
8166 (scalblnl): Likewise.
8167 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8168 (vwarnx): Likewise.
8169 (verr): Likewise.
8170 (verrx): Likewise.
8171 * manual/filesys.texi (telldir): Use braces around return type.
8172 * manual/llio.texi (mmap): Add space after comma.
8173 (mmap64): Likewise.
8174 * manual/math.texi (jn): Use @var{} on parameter names.
8175 (jnf): Likewise.
8176 (jnl): Likewise.
8177 (yn): Likewise.
8178 (ynf): Likewise.
8179 (ynl): Likewise.
8180 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8181 line.
8182 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8183 "...".
8184 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8185 (sched_get_priority_max): Likewise.
8186 * manual/signal.texi (sigvec): Add space after comma.
8187 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8188 names.
8189 (if_indextoname): Likewise.
8190 (if_freenameindex): Likewise.
8191 (sendto): Use ',' instead of '.' in prototype.
8192 * manual/startup.texi (syscall): Use @dots{} instead of literal
8193 "...".
8194 * manual/stdio.texi (__fpending): Separate initial words of
8195 paragraph from @deftypefun line.
8196 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8197 "...".
8198 (vsyslog): Use @var{} on parameter names.
8199 * manual/terminal.texi (stty): Use @var{} on parameter names.
8200 * manual/users.texi (getutmp): Use @var{} on parameter names.
8201 (getutmpx): Likewise.
8202
5b23062f
JM
82032012-02-17 Joseph Myers <joseph@codesourcery.com>
8204
8205 [BZ #6884]
8206 * manual/stdio.texi (fopen): Fix typos in description of
8207 ",ccs=STRING".
8208
8dee4833
AJ
82092012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8210
8211 [BZ #4026]
8212 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8213 get clock_id definition.
8214
9078ce93
TS
82152012-02-17 Thomas Schwinge <thomas@schwinge.name>
8216
8217 [BZ #4822]
8218 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8219 (madvise): Cast every argument to void on its own.
8220
3835c55f
JM
82212012-02-17 Joseph Myers <joseph@codesourcery.com>
8222
8223 [BZ #9902]
8224 * manual/startup.texi (Exit Status): Fix typo.
8225
35c47e37
JM
82262012-02-17 Joseph Myers <joseph@codesourcery.com>
8227
8228 [BZ #10140]
8229 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8230 * manual/examples/argp-ex2.c: Likewise.
8231 * manual/examples/argp-ex3.c: Likewise.
8232
e3b69ca7
RH
82332012-02-16 Richard Henderson <rth@redhat.com>
8234
8235 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8236 * sysdeps/s390/s390-32/initfini.c: Remove.
8237 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8238 * sysdeps/s390/s390-64/initfini.c: Remove.
8239
df83af67
KK
82402012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8241
8242 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8243 compiler output for sysdeps/generic/initfini.c.
8244 * sysdeps/sh/elf/initfini.c: Remove file.
8245
f63f3380
DM
82462012-02-16 David S. Miller <davem@davemloft.net>
8247
fb59b3a4
DM
8248 [BZ #11494]
8249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8250
f63f3380
DM
8251 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8252 * sysdeps/sparc/crti.S: New file.
8253 * sysdeps/sparc/crtn.S: New file.
8254 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8255 * sysdeps/sparc/sparc64/Makefile: Likewise.
8256
df6a4a4a
MF
82572012-02-15 Mike Frysinger <vapier@gentoo.org>
8258
6dd8f3dc 8259 [BZ #3335]
df6a4a4a
MF
8260 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8261
1cac7236
RM
82622012-02-15 Roland McGrath <roland@hack.frob.com>
8263
d2c736f8
RM
8264 [BZ #4822]
8265 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8266
1cac7236
RM
8267 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8268 (write, read, close): Likewise.
8269 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8270
8e475601
JM
82712012-02-15 Joseph Myers <joseph@codesourcery.com>
8272
8273 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8274 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8275 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8276 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8277 <bits/signalfd.h>.
8278 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8280 bits/signalfd.h.
8281
ed656b40
MP
82822012-02-14 Marek Polacek <polacek@redhat.com>
8283
8284 * sysdeps/x86_64/crti.S: New file.
8285 * sysdeps/x86_64/crtn.S: New file.
8286 * sysdeps/x86_64/elf/initfini.c: Remove file.
8287
2a979d3a
JM
82882012-02-13 Joseph Myers <joseph@codesourcery.com>
8289
8290 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8291 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8292 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8293 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8294 <bits/inotify.h>.
8295 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8297 bits/inotify.h.
8298
2a418ac3
JM
82992012-02-13 Joseph Myers <joseph@codesourcery.com>
8300
8301 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8302 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8303 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8304 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8305 <bits/eventfd.h>.
8306 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8308 bits/eventfd.h.
8309
fb779be7
TS
83102012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8311
e19e83c5
RM
8312 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8313 __feraiseexcept instead of feraiseexcept.
7c35ffed 8314
fb779be7
TS
8315 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8316 nanosleep invocations.
8317 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8318 strings, and add error checking for a nanosleep invocations.
8319
59ba27a6
PE
83202012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8321
8322 Replace FSF snail mail address with URLs, as per GNU coding standards.
8323 Most of the snail mail addresses were wrong anyway, and omitting
8324 them makes the source code easier to maintain. Almost all of the
8325 changes are to license notices and to locale LC_IDENTIFICATION
8326 addresses, except for this one:
8327 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8328 not its snail mail address.
8329
57b957eb
RH
83302012-02-09 Richard Henderson <rth@twiddle.net>
8331
af850b1c
RH
8332 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8333 of kernel-features.h.
8334
57b957eb
RH
8335 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8336
6b73181a
MP
83372012-02-08 Marek Polacek <polacek@redhat.com>
8338
8339 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8340 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8341 * sysdeps/gnu/_G_config.h: Likewise.
8342 * sysdeps/generic/_G_config.h: Likewise.
8343
26ecc33a
AS
83442012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8345
6c6dbc63
AS
8346 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8347 tests.
8348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8349
e216c012
AS
8350 * sysdeps/powerpc/powerpc32/crti.S: New file.
8351 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8352 * sysdeps/powerpc/powerpc64/crti.S: New file.
8353 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8354
26ecc33a
AS
8355 * Makeconfig (have-initfini): Don't set.
8356 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8357 * configure.in (nopic_initfini): Don't substitute.
8358 * config.h.in (HAVE_INITFINI): Don't #undef.
8359 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8360 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8361
3add8e13
JM
83622012-02-08 Joseph Myers <joseph@codesourcery.com>
8363
8364 Support crti.S and crtn.S provided directly by architectures.
8365 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8366 [crti.S in sysdirs] (omit-deps): Likewise.
8367 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8368 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8369 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8370 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8371 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8372 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8373 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8374 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8375 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8376 compiler output for sysdeps/generic/initfini.c.
8377 * sysdeps/i386/elf/Makefile: Remove file.
8378 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8379
a22f12b4
MP
83802012-02-07 Marek Polacek <polacek@redhat.com>
8381
8382 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8383 * sysdeps/gnu/_G_config.h: Likewise.
8384 * sysdeps/mach/hurd/_G_config.h: Likewise.
8385
148cf100
MP
83862012-02-07 Marek Polacek <polacek@redhat.com>
8387
8388 * math/Makefile (tests): Add tst-CMPLX2.
8389 * math/tst-CMPLX2.c: New file.
8390
cfdc0dd7
AS
83912012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8392
84ba42c4
AS
8393 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8394
cfdc0dd7
AS
8395 * math/libm-test.inc (jn_test): Add missing L suffix.
8396
622c86f4
MP
83972012-02-06 Marek Polacek <polacek@redhat.com>
8398
8399 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8400 * sysdeps/i386/fpu/e_powf.S: Likewise.
8401 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8402 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8403 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8404 * sysdeps/i386/fpu/e_pow.S: Likewise.
8405 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8406 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8407 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8408 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8409 * sysdeps/i386/fpu/e_log2.S: Likewise.
8410 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8411 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8412 * sysdeps/i386/fpu/e_powl.S: Likewise.
8413 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8414 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8415 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8416 * sysdeps/i386/fpu/e_logl.S: Likewise.
8417 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8418 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8419 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8420 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8421 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8422 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8423 * sysdeps/i386/fpu/e_log.S: Likewise.
8424 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8425 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8426 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8427 * sysdeps/i386/fpu/e_logf.S: Likewise.
8428 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8429 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8430 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8431 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8432 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8433 * sysdeps/i386/fpu/e_log10.S: Likewise.
8434 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8435 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8436 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8437 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8438 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8439 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8440 * sysdeps/i386/asm-syntax.h: Likewise.
8441 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8442 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8443 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8444 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8445 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8446 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8447 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8448 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8449 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8450 * sysdeps/powerpc/sysdep.h: Likewise.
8451 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8452 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8453
d4a54ac6
JM
84542012-02-06 Joseph Myers <joseph@codesourcery.com>
8455
8456 [BZ #411]
8457 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8458
314054ea
JM
84592012-02-06 Joseph Myers <joseph@codesourcery.com>
8460
8461 * sysdeps/i386/sysdep.h: Include <features.h>.
8462 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8463 version.
8464
d8e0ca50
JM
84652012-02-05 Joseph Myers <joseph@codesourcery.com>
8466
8467 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8468 Define.
8469 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8470 LOAD_PIC_REG_STR.
8471
b1da7dd9
JM
84722012-02-03 Joseph Myers <joseph@codesourcery.com>
8473
8474 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8475 (SETUP_PIC_REG): Use GET_PC_THUNK.
8476 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8477 macro.
8478
9a1d9254
JM
84792012-02-03 Joseph Myers <joseph@codesourcery.com>
8480
8481 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8482 for non-PIC compilation.
8483 (SETUP_PIC_REG): Add .p2align directive.
8484 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8485 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8486 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8487 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8488 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8489 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8490 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8491 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8492 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8493 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8494 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8495 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8496 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8497 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8498 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8499 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8501 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8502 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8503 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8504 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8505 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8506 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8507 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8508 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8510 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8511 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8512 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8513 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8514 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8515 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8516 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8517 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8518 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8519 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8520 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8521 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8522 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8523 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8524 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8525
65dc3b75
JM
85262012-02-03 Joseph Myers <joseph@codesourcery.com>
8527
8528 * math/tst-CMPLX.c: Include <stdio.h>.
8529
d55bf177
JM
85302012-01-31 Joseph Myers <joseph@codesourcery.com>
8531
8532 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8533 float.
8534 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8535 * sysdeps/sparc/bits/mathdef.h: Likewise.
8536
69db4f8f
MP
85372012-01-31 Marek Polacek <polacek@redhat.com>
8538
8539 * libio/libio.h: Don't define _PARAMS.
8540 * locale/programs/config.h: Don't define PARAMS.
8541 * stdlib/strtol_l.c: Likewise.
8542 (__strtol_l): Remove PARAMS from the prototype.
8543
41b81892
UD
85442012-01-31 Ulrich Drepper <drepper@gmail.com>
8545
3b49edc0
UD
8546 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8547 names. Just use the correct names. Remove unnecessary wrapper
8548 functions.
8549 * malloc/arena.c: Likewise.
8550 * malloc/hooks.c: Likewise.
8551
41b81892
UD
8552 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8553 ARENA_TEST says not to. Simplify test for creation of a new arena.
8554 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8555
27a25b6e
UD
85562012-01-30 Ulrich Drepper <drepper@gmail.com>
8557
8558 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8559 into tail calls.
8560 (update_get_addr): New function.
8561 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8562 GET_ADDR_MODULE parameter.
8563
c8a89e7d
JM
85642012-01-30 Joseph Myers <joseph@codesourcery.com>
8565
8566 * crypt/cert.c: Remove __STDC__ conditionals.
8567 * crypt/crypt-entry.c: Likewise.
8568 * crypt/crypt_util.c: Likewise.
8569 * libio/filedoalloc.c: Likewise.
8570 * libio/fileops.c: Likewise.
8571 * libio/genops.c: Likewise.
8572 * libio/iofclose.c: Likewise.
8573 * libio/iofdopen.c: Likewise.
8574 * libio/iofopen.c: Likewise.
8575 * libio/iofopen64.c: Likewise.
8576 * libio/iogetdelim.c: Likewise.
8577 * libio/iopopen.c: Likewise.
8578 * libio/obprintf.c: Likewise.
8579 * libio/oldfileops.c: Likewise.
8580 * libio/oldiofclose.c: Likewise.
8581 * libio/oldiofdopen.c: Likewise.
8582 * libio/oldiofopen.c: Likewise.
8583 * libio/oldiopopen.c: Likewise.
8584 * libio/wfiledoalloc.c: Likewise.
8585 * libio/wgenops.c: Likewise.
8586 * locale/programs/xmalloc.c: Likewise.
8587 * misc/syslog.c: Likewise.
8588 * stdio-common/xbug.c: Likewise.
8589 * string/memchr.c: Likewise.
8590 * string/memcmp.c: Likewise.
8591 * string/memrchr.c: Likewise.
8592 * string/rawmemchr.c: Likewise.
8593 * sysdeps/posix/getcwd.c: Likewise.
8594 * time/strftime_l.c: Likewise.
8595
3b100462
JM
85962012-01-30 Joseph Myers <joseph@codesourcery.com>
8597
8598 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8599 * config.make.in (config-cflags-sse2avx): Define.
8600 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8601 Fix typo.
8602
607998af
CM
86032012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8604
8605 * scripts/config.guess: Update from upstream config git repository.
8606 * scripts/config.sub: Likewise.
8607
3601428f
CM
86082012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8609
3ac8b282
CM
8610 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8611 (EM_NUM): Update.
8612 (R_TILEPRO_*, R_TILEGX_*): New macros.
8613
e034841e
CM
8614 * scripts/firstversions.awk: Fix bug in version range handling.
8615
540d7568
CM
8616 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8617
3601428f
CM
8618 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8619
463de862
CM
8620 * include/sys/epoll.h: New file.
8621 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8622 libc_hidden_def.
8623
73139a76
UD
86242012-01-28 Ulrich Drepper <drepper@gmail.com>
8625
96bc5b45
UD
8626 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8627 Avoid unnecessary __WORDSIZE == 64 test.
8628 (fmaxf): Use VEX format if possible.
8629 (fmax): Likewise.
8630 (fminf): Likewise.
8631 (fmin): Likewise.
8632
56f6f6a2
UD
8633 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8634 * math/math_private.h: Remove libc_fegetround* and
8635 libc_fesetround*.
8636 * sysdeps/i386/configure.in: Check for -msse2avx.
8637 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8638 also if SSE2AVX is defined.
8639 Remove libc_fegetround* and libc_fesetround*.
8640 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8641 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8642 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8643 of HAS_YMM_USABLE.
8644 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8645 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8646 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8648 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8649
73139a76
UD
8650 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8651
d73f93a4
AZ
86522012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8653
8654 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8655 size is not set.
8656 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8657
6ee65ed6
UD
86582012-01-27 Ulrich Drepper <drepper@gmail.com>
8659
8660 [BZ #13618]
8661 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8662 relocation.
8663 * Makeconfig (libm): Define.
8664 * elf/Makefile: Add rules to build and run tst-relsort1.
8665 * elf/tst-relsort1.c: New file.
8666 * elf/tst-relsort1mod1.c: New file.
8667 * elf/tst-relsort1mod2.c: New file.
8668
8db21882
JM
86692012-01-27 Joseph Myers <joseph@codesourcery.com>
8670
8671 * math/s_ldexp.c: Remove __STDC__ conditionals.
8672 * math/s_ldexpf.c: Likewise.
8673 * math/s_ldexpl.c: Likewise.
8674 * math/s_nextafter.c: Likewise.
8675 * math/s_nexttowardf.c: Likewise.
8676 * math/s_significand.c: Likewise.
8677 * math/s_significandf.c: Likewise.
8678 * math/s_significandl.c: Likewise.
8679 * math/w_jnl.c: Likewise.
8680 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8681 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8682 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8683 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8684 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8699 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8700 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8701 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8702 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8703 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8704 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8705 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8706 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8707 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8708 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8709 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8710 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8711 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8712 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8713 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8714 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8715 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8716 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8717 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8718 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8719 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8720 * sysdeps/ieee754/k_standard.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8782 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8787 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8795 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8800 * sysdeps/ieee754/s_matherr.c: Likewise.
8801 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8802 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8803 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8804 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8805
965a54a4
JM
88062012-01-26 Joseph Myers <joseph@codesourcery.com>
8807
8808 * crypt/md5.h: Remove __STDC__ conditionals.
8809 * libio/libioP.h: Likewise.
8810 * locale/programs/config.h: Likewise.
8811 * sysdeps/generic/sysdep.h: Likewise.
8812 * sysdeps/i386/asm-syntax.h: Likewise.
8813 * sysdeps/s390/asm-syntax.h: Likewise.
8814 * sysdeps/unix/sysdep.h: Likewise.
8815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8817
7071ad79
JM
88182012-01-26 Joseph Myers <joseph@codesourcery.com>
8819
8820 * libio/libio.h: Remove __STDC__ conditionals.
8821 * malloc/obstack.h: Likewise.
8822 * math/complex.h: Likewise.
8823 * math/math.h: Likewise.
8824 * sysdeps/generic/_G_config.h: Likewise.
8825 * sysdeps/gnu/_G_config.h: Likewise.
8826 * sysdeps/mach/hurd/_G_config.h: Likewise.
8827 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8828 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8829 * sysdeps/sparc/bits/mathdef.h: Likewise.
8830
afc5ed09
UD
88312012-01-26 Ulrich Drepper <drepper@gmail.com>
8832
8833 [BZ #13583]
8834 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8835 Clean up HAS_* macros.
afc5ed09 8836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8837 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8838 possible.
8839 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8840 HAS_AVX.
8841 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8842 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8843 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8844 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8845 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8846
bdb6de1d
JM
88472012-01-25 Joseph Myers <joseph@codesourcery.com>
8848
8849 * elf/tst-unique3.cc (gets): Remove declaration.
8850 * elf/tst-unique3lib.cc (gets): Likewise.
8851 * elf/tst-unique3lib2.cc (gets): Likewise.
8852 * elf/tst-unique4.cc (gets): Likewise.
8853
b15549e6
UD
88542012-01-24 Ulrich Drepper <drepper@gmail.com>
8855
8856 * include/stdio.h: Add C++ protection. Add gets declarations and
8857 definitions.
8858 * debug/tst-chk1.c: Don't declare gets here.
8859 * stdio-common/tst-gets.c: Likewise.
8860
a037381f
JM
88612012-01-24 Joseph Myers <joseph@codesourcery.com>
8862
8863 * posix/glob: Remove directory.
8864
f1d4aa75
JM
88652012-01-24 Joseph Myers <joseph@codesourcery.com>
8866
8867 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8868
81c0c964
PT
88692012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8870
8871 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8872 of the non-standard EPFNOSUPPORT.
8873
0ea698ae
ST
88742011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8875
8876 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8877 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8878 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8879
d220b117
UD
88802012-01-21 Ulrich Drepper <drepper@gmail.com>
8881
8882 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8883
3e1aa84e
UD
88842012-01-20 Ulrich Drepper <drepper@gmail.com>
8885
8886 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8887 transient errors.
8888 * nscd/grpcache.c (cache_addgr): Likewise.
8889 * nscd/hstcache.c (cache_addhst): Likewise.
8890 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8891 * nscd/pwdcache.c (cache_addpw): Likewise.
8892 * nscd/servicescache.c (cache_addserv): Likewise.
8893
400aa020
UD
88942012-01-16 Ulrich Drepper <drepper@gmail.com>
8895
d77e7869
UD
8896 * malloc/malloc.c: Various cleanups.
8897 * malloc/hooks.c: Likewise.
8898
400aa020
UD
8899 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8900 * stdlib/bug-fmtmsg1.c: New file.
8901
8902 * stdlib/fmtmsg.c (init): Add missing unlock.
8903 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8904
e0a309cf
MP
89052012-01-12 Marek Polacek <polacek@redhat.com>
8906
8907 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8908 and _GNU_SOURCE.
8909
929d11c7
WS
89102012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8911
8912 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8913 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8914 macro to ensure uniqueness of label name.
8915 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8916 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8917
41d0e869
UD
89182012-01-11 Ulrich Drepper <drepper@gmail.com>
8919
0cc5ed3b
UD
8920 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8921
41d0e869
UD
8922 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8923 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8924 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8926
a47a831a
UD
89272012-01-10 Ulrich Drepper <drepper@gmail.com>
8928
daa891c0
UD
8929 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8930
8931 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8932 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8933 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8934
e58ef0f2
UD
8935 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8936
a47a831a 8937 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8938 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8939 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8940 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8941
8942 * math/bits/math-finite.h: Add ldexp support.
8943
a0bfc9c7
MP
89442012-01-10 Marek Polacek <polacek@redhat.com>
8945
8946 * locale/programs/localedef.h (show_archive_content): Add noreturn
8947 attribute.
8948
d6e97a1d
UD
89492012-01-09 Ulrich Drepper <drepper@gmail.com>
8950
8951 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8952
d5835c26
UD
89532012-01-08 Ulrich Drepper <drepper@gmail.com>
8954
e5f484c6
UD
8955 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8956
d5835c26
UD
8957 * io/Makefile (headers): Add bits/poll2.h.
8958
d1f741e9
WS
89592011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8960
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8962 typo #include statement.
8963
ec09c1c4
UD
89642012-01-08 Ulrich Drepper <drepper@gmail.com>
8965
8966 * include/sys/cdefs.h: Define __attribute_alloc_size.
8967 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8968 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8969 * elf/pldd.c: Likewise.
8970 * iconv/iconv_charmap.c: Likewise.
8971 * iconv/iconvconfig.c: Likewise.
8972 * iconv/strtab.c: Likewise.
8973 * locale/programs/locale.c: Likewise.
8974 * locale/programs/localedef.h: Likewise.
8975 * locale/programs/simple-hash.c: Likewise.
8976 * nscd/nscd.h: Likewise.
8977 * nss/makedb.c: Likewise.
8978 * sysdeps/generic/ldconfig.h: Likewise.
8979 * locale/programs/localedef.c: Remove xmalloc prototype.
8980 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8981
20b38e03
PP
89822012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8983
8984 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8985 appropriate.
8986
a0da5fe1
UD
89872012-01-08 Ulrich Drepper <drepper@gmail.com>
8988
1d5a644a 8989 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8990 * math/tst-CMPLX.c: New file.
1d5a644a 8991
8784a6db
UD
8992 * math/complex.h (CMPLXL): Fix typo.
8993
d9a216c0
UD
8994 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8995 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8996 GLIBC_2.16.
8997 * debug/tst-chk1.c: Add poll and ppoll tests.
8998 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8999 * include/sys/poll.h: Add hidden proto for ppoll.
9000 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9001 * sysdeps/mach/hurd/ppoll.c: Likewise.
9002 * io/ppoll.c: Likewise.
9003 * debug/poll_chk.c: New file.
9004 * debug/ppoll_chk.c: New file.
9005 * include/bits/poll2.h: New file.
9006 * io/bits/poll2.h: New file.
9007
ac097f5c
UD
9008 [BZ #1350]
9009 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9010
2119dcfa
UD
9011 * configure.in: static is always set to yes. Remove.
9012 * config.make.in: Don't set build-static.
9013 * Makeconfig: Remove use of build-static.
9014 * dlfcn/Makefile: Likewise.
9015 * elf/Makefile: Likewise.
9016 * math/Makefile: Likewise.
9017 * misc/Makefile: Likewise.
9018 * nptl/Makefile: Likewise.
9019 * sysdeps/mach/hurd/Makefile: Likewise.
9020
121766a9
UD
9021 * configure.in: PWD_P is not used anymore.
9022 * config.make.in: Remove PWD_P entry.
9023
51a1d39c 9024 * configure.in: Remove last remnants of RANLIB.
8720d066 9025 No need to check for signed size_t anymore.
215f4bdc
UD
9026 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9027 and IA-64.
3857022a 9028 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9029 * aclocal.m4: Likewise.
9030
d3ed7225
UD
9031 * wcsmbs/mbrtoc16.c: Implement using towc function.
9032 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9033 * wcsmbs/wcsmbsload.c: Likewise.
9034 * iconv/gconv_simple.c: Likewise.
9035 * iconv/gconv_int.h: Likewise.
9036 * iconv/gconv_builtin.h: Likewise.
9037 * iconv/iconv_prog.c: Remove CHAR16 handling.
9038
9039 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9040
9041 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9042
a0da5fe1
UD
9043 * configure.in: Remove --with-elf and --enable-bounded options.
9044 Dont set base_machine for ia64. More non-ELF conditions removed.
9045 Remove testing and setting of leading underscore information.
9046 * config.make.in (build-bounded): Set to no.
9047 * config.h.in: Remove NO_UNDERSCORES entry.
9048 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9049 them.
9050 * csu/start.c: Remove !NO_UNDERSCORE code.
9051 * locale/localeinfo.h: Likewise.
9052 * sysdeps/generic/machine-gmon.h: Likewise.
9053 * sysdeps/generic/sysdep.h: Likewise.
9054 * sysdeps/i386/sysdep.h: Likewise.
9055 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9056 * sysdeps/mach/sysdep.h: Likewise.
9057 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9058 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9059 * sysdeps/sh/sysdep.h: Likewise.
9060 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9061 * sysdeps/unix/i386/sysdep.S: Likewise.
9062 * sysdeps/unix/sparc/start.c: Likewise.
9063 * sysdeps/unix/sparc/sysdep.S: Likewise.
9064 * sysdeps/unix/sparc/sysdep.h: Likewise.
9065 * sysdeps/unix/start.c: Likewise.
9066 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9067 * sysdeps/x86_64/sysdep.h: Likewise.
9068
df78418a
UD
90692012-01-07 Ulrich Drepper <drepper@gmail.com>
9070
a784e502
UD
9071 [BZ #13553]
9072 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9073 for non-gcc.
9074 * argp/argp-fmtstream.h: Use const instead __const.
9075 * argp/argp.h: Likewise.
9076 * assert/assert.h: Likewise.
9077 * bits/fenv.h: Likewise.
9078 * bits/sched.h: Likewise.
9079 * bits/sigset.h: Likewise.
9080 * bits/sigthread.h: Likewise.
9081 * catgets/nl_types.h: Likewise.
9082 * conform/data/pthread.h-data: Likewise.
9083 * crypt/crypt-private.h: Likewise.
9084 * crypt/crypt.h: Likewise.
9085 * crypt/crypt_util.c: Likewise.
9086 * ctype/ctype.h: Likewise.
9087 * debug/execinfo.h: Likewise.
9088 * debug/mbsnrtowcs_chk.c: Likewise.
9089 * debug/mbsrtowcs_chk.c: Likewise.
9090 * debug/wcsnrtombs_chk.c: Likewise.
9091 * debug/wcsrtombs_chk.c: Likewise.
9092 * debug/wcstombs_chk.c: Likewise.
9093 * dirent/dirent.h: Likewise.
9094 * dlfcn/dlfcn.h: Likewise.
9095 * elf/neededtest4.c: Likewise.
9096 * grp/grp.h: Likewise.
9097 * gshadow/gshadow.h: Likewise.
9098 * iconv/gconv.h: Likewise.
9099 * iconv/gconv_int.h: Likewise.
9100 * iconv/gconv_simple.c: Likewise.
9101 * iconv/iconv.h: Likewise.
9102 * iconv/loop.c: Likewise.
9103 * iconv/skeleton.c: Likewise.
9104 * include/aio.h: Likewise.
9105 * include/aliases.h: Likewise.
9106 * include/argz.h: Likewise.
9107 * include/arpa/inet.h: Likewise.
9108 * include/assert.h: Likewise.
9109 * include/dirent.h: Likewise.
9110 * include/dlfcn.h: Likewise.
9111 * include/execinfo.h: Likewise.
9112 * include/fcntl.h: Likewise.
9113 * include/fenv.h: Likewise.
9114 * include/glob.h: Likewise.
9115 * include/grp.h: Likewise.
9116 * include/libintl.h: Likewise.
9117 * include/mntent.h: Likewise.
9118 * include/netdb.h: Likewise.
9119 * include/pwd.h: Likewise.
9120 * include/rpc/netdb.h: Likewise.
9121 * include/sched.h: Likewise.
9122 * include/search.h: Likewise.
9123 * include/shadow.h: Likewise.
9124 * include/signal.h: Likewise.
9125 * include/stdio.h: Likewise.
9126 * include/stdlib.h: Likewise.
9127 * include/string.h: Likewise.
9128 * include/sys/socket.h: Likewise.
9129 * include/sys/stat.h: Likewise.
9130 * include/sys/statfs.h: Likewise.
9131 * include/sys/statvfs.h: Likewise.
9132 * include/sys/syslog.h: Likewise.
9133 * include/sys/time.h: Likewise.
9134 * include/sys/uio.h: Likewise.
9135 * include/time.h: Likewise.
9136 * include/unistd.h: Likewise.
9137 * include/utmp.h: Likewise.
9138 * include/wchar.h: Likewise.
9139 * include/wctype.h: Likewise.
9140 * inet/aliases.h: Likewise.
9141 * inet/arpa/inet.h: Likewise.
9142 * inet/netinet/ether.h: Likewise.
9143 * inet/netinet/in.h: Likewise.
9144 * intl/libintl.h: Likewise.
9145 * io/bits/fcntl2.h: Likewise.
9146 * io/fcntl.h: Likewise.
9147 * io/ftw.h: Likewise.
9148 * io/sys/poll.h: Likewise.
9149 * io/sys/stat.h: Likewise.
9150 * io/sys/statfs.h: Likewise.
9151 * io/sys/statvfs.h: Likewise.
9152 * io/utime.h: Likewise.
9153 * libio/bits/stdio.h: Likewise.
9154 * libio/bits/stdio2.h: Likewise.
9155 * libio/libio.h: Likewise.
9156 * libio/libioP.h: Likewise.
9157 * libio/stdio.h: Likewise.
9158 * locale/lc-ctype.c: Likewise.
9159 * locale/locale.h: Likewise.
9160 * login/utmp.h: Likewise.
9161 * malloc/arena.c: Likewise.
9162 * malloc/malloc.c: Likewise.
9163 * malloc/malloc.h: Likewise.
9164 * malloc/mcheck.c: Likewise.
9165 * malloc/mtrace.c: Likewise.
9166 * math/bits/mathcalls.h: Likewise.
9167 * math/fenv.h: Likewise.
9168 * math/math_private.h: Likewise.
9169 * misc/bits/error.h: Likewise.
9170 * misc/bits/syslog.h: Likewise.
9171 * misc/err.h: Likewise.
9172 * misc/error.h: Likewise.
9173 * misc/fstab.h: Likewise.
9174 * misc/mntent.h: Likewise.
9175 * misc/regexp.h: Likewise.
9176 * misc/search.h: Likewise.
9177 * misc/sgtty.h: Likewise.
9178 * misc/sys/mman.h: Likewise.
9179 * misc/sys/syslog.h: Likewise.
9180 * misc/sys/uio.h: Likewise.
9181 * misc/sys/xattr.h: Likewise.
9182 * misc/ttyent.h: Likewise.
9183 * nis/rpcsvc/ypclnt.h: Likewise.
9184 * nss/nss.h: Likewise.
9185 * posix/bits/unistd.h: Likewise.
9186 * posix/fnmatch.h: Likewise.
9187 * posix/glob.h: Likewise.
9188 * posix/sched.h: Likewise.
9189 * posix/spawn.h: Likewise.
9190 * posix/sys/wait.h: Likewise.
9191 * posix/unistd.h: Likewise.
9192 * posix/wordexp.h: Likewise.
9193 * pwd/pwd.h: Likewise.
9194 * resolv/netdb.h: Likewise.
9195 * resource/sys/resource.h: Likewise.
9196 * rt/aio.h: Likewise.
9197 * rt/bits/mqueue2.h: Likewise.
9198 * rt/mqueue.h: Likewise.
9199 * shadow/shadow.h: Likewise.
9200 * signal/signal.h: Likewise.
9201 * socket/send.c: Likewise.
9202 * socket/sendto.c: Likewise.
9203 * socket/sys/socket.h: Likewise.
9204 * stdio-common/printf.h: Likewise.
9205 * stdlib/bits/stdlib.h: Likewise.
9206 * stdlib/fmtmsg.h: Likewise.
9207 * stdlib/monetary.h: Likewise.
9208 * stdlib/stdlib.h: Likewise.
9209 * stdlib/ucontext.h: Likewise.
9210 * streams/stropts.h: Likewise.
9211 * string/argz.h: Likewise.
9212 * string/bits/string2.h: Likewise.
9213 * string/string.h: Likewise.
9214 * string/strings.h: Likewise.
9215 * sunrpc/rpc/auth.h: Likewise.
9216 * sunrpc/rpc/auth_des.h: Likewise.
9217 * sunrpc/rpc/clnt.h: Likewise.
9218 * sunrpc/rpc/netdb.h: Likewise.
9219 * sunrpc/rpc/pmap_clnt.h: Likewise.
9220 * sunrpc/rpc/xdr.h: Likewise.
9221 * sysdeps/generic/inttypes.h: Likewise.
9222 * sysdeps/generic/net/if.h: Likewise.
9223 * sysdeps/generic/sys/swap.h: Likewise.
9224 * sysdeps/gnu/net/if.h: Likewise.
9225 * sysdeps/gnu/utmpx.h: Likewise.
9226 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9227 * sysdeps/i386/i486/bits/string.h: Likewise.
9228 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9229 * sysdeps/s390/bits/string.h: Likewise.
9230 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9231 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9232 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9233 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9234 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9235 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9236 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9237 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9238 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9239 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9240 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9241 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9242 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9243 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9244 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9245 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9246 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9248 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9249 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9251 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9252 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9253 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9254 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9255 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9256 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9257 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9258 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9259 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9260 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9261 * sysvipc/sys/ipc.h: Likewise.
9262 * sysvipc/sys/msg.h: Likewise.
9263 * sysvipc/sys/sem.h: Likewise.
9264 * sysvipc/sys/shm.h: Likewise.
9265 * termios/termios.h: Likewise.
9266 * time/sys/time.h: Likewise.
9267 * time/time.h: Likewise.
9268 * wcsmbs/bits/wchar2.h: Likewise.
9269 * wcsmbs/uchar.h: Likewise.
9270 * wcsmbs/wchar.h: Likewise.
9271 * wctype/wctype.h: Likewise.
9272
0269750c
UD
9273 [BZ #13551]
9274 * Makeconfig: Remove all but ELF support including AIX support.
9275 * Makerules: Likewise.
9276 * config.h.in: Likewise.
9277 * config.make.in: Likewise.
9278 * configure: Likewise.
9279 * configure.in: Likewise.
9280 * csu/Makefile: Likewise.
9281 * csu/version.c: Likewise.
9282 * debug/Makefile: Likewise.
9283 * dlfcn/Makefile: Likewise.
9284 * elf/Makefile: Likewise.
9285 * extra-lib.mk: Likewise.
9286 * iconv/Makefile: Likewise.
9287 * include/libc-symbols.h: Likewise.
9288 * include/shlib-compat.h: Likewise.
9289 * resolv/Makefile: Likewise.
9290 * resolv/res_libc.c: Likewise.
9291 * rt/Makefile: Likewise.
9292 * sysdeps/i386/asm-syntax.h: Likewise.
9293 * sysdeps/i386/sysdep.h: Likewise.
9294 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9295 * sysdeps/mach/sysdep.h: Likewise.
9296 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9297 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9298 * sysdeps/s390/asm-syntax.h: Likewise.
9299 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9300 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9301 * sysdeps/sh/sysdep.h: Likewise.
9302 * sysdeps/unix/sparc/sysdep.h: Likewise.
9303 * sysdeps/wordsize-32/divdi3.c: Likewise.
9304 * sysdeps/x86_64/sysdep.h: Likewise.
9305
00bbd29b
UD
9306 * argp/Versions: Remove _argp_unlock_xxx.
9307
9308 [BZ #13559]
9309 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9310 * abilist/libBrokenLocale.abilist: Likewise.
9311 * abilist/libanl.abilist: Likewise.
9312 * abilist/libc.abilist: Likewise.
9313 * abilist/libcrypt.abilist: Likewise.
9314 * abilist/libdl.abilist: Likewise.
9315 * abilist/libm.abilist: Likewise.
9316 * abilist/libnsl.abilist: Likewise.
9317 * abilist/libpthread.abilist: Likewise.
9318 * abilist/libresolv.abilist: Likewise.
9319 * abilist/librt.abilist: Likewise.
9320 * abilist/libthread_db.abilist: Likewise.
9321 * abilist/libutil.abilist: Likewise.
9322 * abilist/libnss_db.abilist: New file.
9323
9324 * scripts/abilist.awk: Add support for indirect functions.
9325
a2693a0e
UD
9326 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9327
3f05895f
UD
9328 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9329
ecb6fb48
UD
9330 * shlib-versions: Remove entries for ports architectures.
9331
664f8cb9
UD
9332 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9333 files in ports.
9334 * elf/stackguard-macros.h: Remove support for IA-64.
9335 * elf/tst-auditmod1.c: Likewise.
9336 * sysdeps/generic/ldsodefs.h: Likewise.
9337
7ae81d88
UD
9338 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9339 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9340 configure files.
9341
bdeba135
UD
9342 [BZ #13552]
9343 * configure.in: Remove --enable-omitfp support.
9344 * FAQ.in: Adjust.
9345 * config.make.in: Likewise.
9346 * Makeconfig: Likewise.
9347 * manual/install.texi: Likewise.
9348
d75a0a62
UD
9349 In case anyone cares, the IA-64 architecture could move to ports.
9350 * sysdeps/ia64/*: Removed.
9351 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9352 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9353
dcc9756b
UD
9354 [BZ #13555]
9355 * configure.in: Remove entries for unsupported architectures.
9356
d3761ebc 9357 [BZ #13533]
9954432e
UD
9358 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9359 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9360 routines.
9361 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9362 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9363 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9364 fall back to using wcrtomb.
9365 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9366 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9367 renaming.
9368 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9369 * wcsmbs/tst-c16c32-1.c: New file.
9370
9371 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9372 local variable.
9373
c3a87236
UD
9374 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9375
28926a1b
UD
9376 * elf/tst-unique3.cc: Add explicit declaration of gets.
9377 * elf/tst-unique3lib.cc: Likewise.
9378 * elf/tst-unique3lib2.cc: Likewise.
9379 * elf/tst-unique4.cc: Likewise.
9380
df78418a
UD
9381 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9382
8ecd6b2a
JM
93832012-01-06 Joseph Myers <joseph@codesourcery.com>
9384
9385 [BZ #13566]
9386 * assert/assert.h (static_assert): Don't define for C++.
9387 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9388 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9389
9f115170
UD
93902012-01-03 Ulrich Drepper <drepper@gmail.com>
9391
5e0d0300
UD
9392 * iconv/loop.c (single loop): Fix assertion in storing of
9393 remaining bytes.
9394
9f115170
UD
9395 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9396
81fb02b0
UD
93972012-01-01 Ulrich Drepper <drepper@gmail.com>
9398
9399 * posix/getconf.c: Update copyright year.
9400 * nss/getent.c: Likewise.
a316c1f6 9401 * nss/makedb.c: Likewise.
81fb02b0
UD
9402 * iconv/iconvconfig.c: Likewise.
9403 * iconv/iconv_prog.c: Likewise.
9404 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9405 * elf/pldd.c: Likewise.
9406 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9407 * catgets/gencat.c: Likewise.
9408 * csu/version.c: Likewise.
9409 * elf/ldd.bash.in: Likewise.
9410 * elf/sprof.c (print_version): Likewise.
9411 * locale/programs/locale.c: Likewise.
9412 * locale/programs/localedef.c: Likewise.
a316c1f6 9413 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9414 * nscd/nscd.c (print_version): Likewise.
9415 * debug/xtrace.sh: Likewise.
9416 * malloc/memusage.sh: Likewise.
9417 * malloc/mtrace.pl: Likewise.
9418 * debug/catchsegv.sh: Likewise.
9419
2ba92745
JJ
94202011-12-30 Jakub Jelinek <jakub@redhat.com>
9421
9422 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9423 pure attribute.
9424
dadebdae
UD
94252011-12-24 Ulrich Drepper <drepper@gmail.com>
9426
d3761ebc 9427 [BZ #13533]
db6af3eb
UD
9428 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9429 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9430 transformations.
9431 * iconv/gconv_int.h: Likewise.
9432 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9433 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9434 from libc for GLIBC_2.16.
9435 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9436 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9437 * wcsmbs/uchar.h: Really define mbstate_t.
9438 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9439 * wcsmbs/c16rtomb.c: New file.
9440 * wcsmbs/mbrtoc16.c: New file.
9441 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9442 for C/POSIX locale.
9443 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9444 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9445
dadebdae
UD
9446 * wcsmbs/wchar.h: Add missing __restrict.
9447
67371b56
UD
94482011-12-23 Ulrich Drepper <drepper@gmail.com>
9449
74033a25
UD
9450 [BZ #13532]
9451 * time/Makefile (routines): Add timespec_get.
9452 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9453 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9454 timespec for ISO C11.
9455 * time/timespec_get.c: New file.
9456 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9457 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9458
380d7e87
UD
9459 [BZ #13531]
9460 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9461 * stdlib/stdlib.h: Declare aligned_alloc.
9462 * Versions.def: Add GLIBC_2.16 for libc.
9463 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9464
4e9e7a35
UD
9465 [BZ 13527]
9466 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9467 ISO C11.
9468
380d7e87 9469 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9470 code.
9471
03a71829
UD
9472 [BZ #13528]
9473 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9474
839e283e
UD
9475 [BZ #13529]
9476 * assert/assert.h (static_assert): Define.
9477
ce5294e2 9478 * version.h: Update for 2.16 development version.
90fa7312 9479
8d44e150 9480 [BZ #13526]
d7809905
UD
9481 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9482 _ISOC11_SOURCE.
9483
c0da14cd
UD
9484 * version.h (RELEASE): Bump for 2.15 release.
9485 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9486
530a3249
MP
9487 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9488 Patch by Marek Polacek <mpolacek@redhat.com>.
9489
67371b56
UD
9490 * bits/byteswap.h: Protect long long constants with __extension__.
9491 * sysdeps/i386/bits/byteswap.h: Likewise.
9492 * sysdeps/ia64/bits/byteswap.h: Likewise.
9493 * sysdeps/s390/bits/byteswap.h: Likewise.
9494 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9495
15db4de1
LD
94962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9497
9498 [BZ #13540]
bbe315ea
LD
9499 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9500 destination buffer.
15db4de1
LD
9501 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9502
2b2596b1
MP
95032011-12-23 Marek Polacek <polacek@redhat.com>
9504
9505 * elf/dl-addr.c (determine_info): Add inline keyword.
9506 * elf/tst-auditmod4b.c (check_avx): Likewise.
9507 * elf/tst-auditmod6b.c (check_avx): Likewise.
9508 * elf/tst-auditmod6c.c (check_avx): Likewise.
9509 * elf/tst-auditmod7b.c (check_avx): Likewise.
9510
70c6c246
UD
95112011-12-23 Ulrich Drepper <drepper@gmail.com>
9512
9513 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9514 !__SSE_MATH__.
9515
c044cf14
LD
95162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9517
15db4de1 9518 [BZ #13540]
c044cf14
LD
9519 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9520 processing for last bytes.
9521
6b13d9d9
BH
95222011-08-06 Bruno Haible <bruno@clisp.org>
9523
d455f537
BH
9524 [BZ #13061]
9525 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9526 U+0385, not to U+1FEE.
9527
6b13d9d9
BH
9528 [BZ #13062]
9529 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9530 entry for U+00A5 U+0301.
9531
db910efd
UD
95322011-12-22 Ulrich Drepper <drepper@gmail.com>
9533
27deeafc
UD
9534 [BZ #13166]
9535 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9536 buffer for the output is too small.
9537
aed9d171
UD
9538 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9539 optimization.
9540
db910efd
UD
9541 [BZ #13185]
9542 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9543 SSE flags if possible.
9544
2bd779ae
LD
95452011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9546
e7f9dac3 9547 [BZ #13540]
2bd779ae
LD
9548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9549 processing for last bytes.
9550
154bfc16
JM
95512011-12-22 Joseph Myers <joseph@codesourcery.com>
9552
9553 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9554 (syscall-list-default-options, syscall-list-default-condition)
9555 (syscall-list-includes): Define.
9556 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9557 list of ABIs and options and #if conditions for each ABI. Do not
9558 handle common syscalls between ABIs specially.
9559 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9560 Remove.
9561 (syscall-list-variants, syscall-list-32bit-options)
9562 (syscall-list-32bit-condition, syscall-list-64bit-options)
9563 (syscall-list-64bit-condition): Define.
9564 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9565 (syscall-list-variants, syscall-list-32bit-options)
9566 (syscall-list-32bit-condition, syscall-list-64bit-options)
9567 (syscall-list-64bit-condition): Define.
9568 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9569 Remove.
9570 (syscall-list-variants, syscall-list-32bit-options)
9571 (syscall-list-32bit-condition, syscall-list-64bit-options)
9572 (syscall-list-64bit-condition): Define.
9573 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9574 Remove.
9575 (syscall-list-variants, syscall-list-32bit-options)
9576 (syscall-list-32bit-condition, syscall-list-64bit-options)
9577 (syscall-list-64bit-condition): Define.
9578
21eaf3a5
UD
95792011-12-22 Ulrich Drepper <drepper@gmail.com>
9580
16c6f992
UD
9581 * locale/iso-639.def: Add brx entry.
9582
41043168
UD
9583 [BZ #13328]
9584 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9585 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9586
21eaf3a5
UD
9587 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9588 __feraiseexcept_renamed.
9589
e3a851a2
UD
95902011-12-21 Ulrich Drepper <drepper@gmail.com>
9591
4920765e
UD
9592 [BZ #13538]
9593 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9594 EPOLLET with unsigned values.
9595 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9596 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9597
e3a851a2
UD
9598 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9599 to large cancellation.
9600 * math/s_cacoshf.c: Likewise.
9601 * math/s_cacoshl.c: Likewise.
9602
b27e24b8
RK
96032011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9604
9605 [BZ #13305]
aebefeee 9606 [BZ #12786]
b27e24b8
RK
9607 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9608 * math/s_cacoshf.c: Likewise.
9609 * math/s_cacoshl.c: Likewise.
9610
ee190f67
UD
96112011-12-21 Ulrich Drepper <drepper@gmail.com>
9612
9613 [BZ #13439]
9614 * iconv/gconv.h: Define __GCONV_SWAP.
9615 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9616 * iconvdata/utf-16.c: Likewise.
9617 * iconvdata/utf-32.c: Likewise.
9618
707f25df
AS
96192011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9620
9621 [BZ #13524]
9622 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9623 numerator after shifting it by one limb.
9624
d2daaa1e
RÁE
96252011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9626
9627 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9628 under [__USE_EXTERN_INLINES].
9629
a4647e72
UD
96302011-12-17 Ulrich Drepper <drepper@gmail.com>
9631
9632 [BZ #13446]
9633 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9634
f0b264f1
AZ
96352011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9636
9637 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9638 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9639 optimized code.
9640 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9641 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9642 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9643 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9644 for strncasecmp/strncasecmp_l compilation.
9645 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9646 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9647
8ef4f244
MP
96482011-12-08 Marek Polacek <mpolacek@redhat.com>
9649
9650 [BZ #13484]
9651 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9652 of __asm__.
9653
97ac2654
UD
96542011-12-17 Ulrich Drepper <drepper@gmail.com>
9655
9656 [BZ #13506]
9657 * time/tzfile.c (__tzfile_read): Check values from file header.
9658
91d2a845
WS
96592011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9660
9661 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9662 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9663 * powerpc/powerpc32/dl-start.S: Likewise.
9664 * powerpc/powerpc32/elf/start.S: Likewise.
9665 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9666 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9667 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9668 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9669 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9670 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9671 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9672 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9673 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9674 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9675 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9676 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9677 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9678 * powerpc/powerpc32/memset.S: Likewise.
9679 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9680 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9681 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9682 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9683 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9684 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9685 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9686 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9687 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9688 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9689 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9690 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9691 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9692
a1267ba1
AZ
96932011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9694
9695 * math/libm-test.inc: Added more nearbyint tests.
9696 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9697 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9698 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9699 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9700
ad8ac1bd
RL
97012011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9702
9703 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9704 FD_CLOEXEC.
9705
1d3e4b61
UD
97062011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9707
9708 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9709 Add wcscpy-ssse3 wcscpy-c.
9710 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9711 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9712 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9713 * sysdeps/x86_64/wcschr.S: New file.
9714 * sysdeps/x86_64/wcsrchr.S: New file.
9715 * string/test-strcmp.c: Remove checking of wcscmp function for
9716 wrong alignments.
9717 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9718 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9719 wcsrchr-sse2 wcsrchr-c.
9720 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9721 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9722 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9723 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9724 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9725 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9726 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9727 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9728 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9729 * wcsmbc/wcschr.c (WCSCHR): New macro.
9730
5b330a2d
UD
97312011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9732
9733 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9734 * wcsmbs/test-wcsrchr.c: New file.
9735 * string/test-strrchr.c: Add wcsrchr support.
9736 (WIDE): New macro.
9737 * wcsmbs/test-wcscpy.c: New file.
9738 * string/test-strcpy.c: Add wcscpy support.
9739 (WIDE): New macro.
26428b7c 9740
f039c043
UD
97412011-12-10 Ulrich Drepper <drepper@gmail.com>
9742
9743 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9744 the inner loop.
9745
850fb039
AS
97462011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9747
9748 [BZ #13472]
9749 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9750
4efbd5cb
UD
97512011-12-04 Ulrich Drepper <drepper@gmail.com>
9752
52ff5dd0 9753 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9754 Minor optimizations.
52ff5dd0 9755
4efbd5cb
UD
9756 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9757 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9758 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9759
8a426e12
UD
97602011-12-03 Ulrich Drepper <drepper@gmail.com>
9761
aff2453d
UD
9762 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9763 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9764 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9765 for gcc to avoid warnings.
9766 * inet/Makefile (tests): Add tst-checks.
9767 * inet/tst-checks.c: New file.
9768
9769 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9770 warning.
9771
9772 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9773 __wmemcmp_sse2.
9774
9775 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9776 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9777
8a426e12
UD
9778 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9779
9bea3473
UD
97802011-12-02 Ulrich Drepper <drepper@gmail.com>
9781
3a965496
UD
9782 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9783 problem.
9784
9bea3473
UD
9785 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9786
f101631b
UD
97872011-11-29 Joseph Myers <joseph@codesourcery.com>
9788
9789 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9790 conditional on GCC version.
9791 (__arch_compare_and_exchange_val_8_acq)
9792 (__arch_compare_and_exchange_val_16_acq)
9793 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9794 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9795 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9796
a98275aa
UD
97972011-12-02 Joseph Myers <joseph@codesourcery.com>
9798
9799 * sysdeps/sh/backtrace.c: New file.
9800
d4cc29a2
AS
98012011-12-02 Andreas Schwab <schwab@redhat.com>
9802
9803 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9804 parenthesis.
9805
6257af2d
AS
98062011-12-01 Andreas Schwab <schwab@redhat.com>
9807
9808 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9809 falling back to utime.
9810
b5f44c1a
AS
98112011-11-30 Andreas Schwab <schwab@redhat.com>
9812
9813 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9814 expectations for float.
9815
f3a6cc0a
AS
98162011-11-29 Andreas Schwab <schwab@redhat.com>
9817
9818 * locale/weight.h (findidx): Add parameter len.
9819 * locale/weightwc.h (findidx): Likewise.
9820 * posix/fnmatch_loop.c (FCT): Adjust caller.
9821 * posix/regcomp.c (build_equiv_class): Likewise.
9822 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9823 * posix/regexec.c (check_node_accept_bytes): Likewise.
9824 * string/strcoll_l.c (STRCOLL): Likewise.
9825 * string/strxfrm_l.c (STRXFRM): Likewise.
9826
9d65ea3a
UD
98272011-11-17 Ulrich Drepper <drepper@gmail.com>
9828
9829 * Makefile.in: Remove CVSOPT handling.
9830 * configure.in: Remove use of AC_REVISION.
9831 * iconvdata/Makefile (distribute): No need to filter out CVS.
9832 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9833 handling.
9834
5583a086
AS
98352011-11-16 Andreas Schwab <schwab@redhat.com>
9836
9837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9838 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9839 [USE_AS_STRNCASECMP_L]: Likewise.
9840 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9841 NO_TLS_DIRECT_SEG_REFS.
9842 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9843 Fix argument offsets for non-PIC.
9844 [USE_AS_STRNCASECMP_L]: Likewise.
9845 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9846 NO_TLS_DIRECT_SEG_REFS.
9847
d62a8200
UD
98482011-11-15 Ulrich Drepper <drepper@gmail.com>
9849
9d65ea3a 9850 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9851 O_CLOEXEC.
9852 * locale/loadlocale.c (_nl_load_locale): Likewise.
9853
09f93bd3
AS
98542011-11-15 Andreas Schwab <schwab@redhat.com>
9855
446514f9
AS
9856 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9857 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9858 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9859 (SYSCALL_GETTIME): Set errno on error.
9860
09f93bd3
AS
9861 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9862 count references to noai6ai_cached.
9863
312be3f9
UD
98642011-11-15 Ulrich Drepper <drepper@gmail.com>
9865
9866 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9867
9868 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9869 FD_CLOEXEC for /proc/self/maps.
9870
9871 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9872 FD_CLOEXEC for /proc/meminfo.
9873
9874 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9875 gai.conf.
9876
9877 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9878 FD_CLOEXEC for given file.
9879
9880 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9881
9882 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9883 FD_CLOEXEC for /etc/hosts.
9884 (_gethtent): Likewise.
9885
9886 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9887
9888 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9889 cancellation and set FD_CLOEXEC for /etc/netgroup.
9890
9891 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9892 reading /etc/publickey.
9893
9894 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9895 allow cancellation when reading /etc/group.
9896
9897 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9898 cancellation.
9899 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9900
9901 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9902 when using data file.
9903
9904 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9905
9906 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9907 (write_nis_obj): Use "c" and "e" in fopen.
9908
9909 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9910
9911 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9912
9913 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9914
9915 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9916
9917 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9918 locale.alias.
9919
9920 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9921
9922 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9923
9924 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9925
9926 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9927 file parsing and set FD_CLOEXEC.
9928
82af0fa8
UD
99292011-11-14 Ulrich Drepper <drepper@gmail.com>
9930
9931 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9932
a5fb313c
AS
99332011-11-14 Andreas Schwab <schwab@redhat.com>
9934
9935 * malloc/arena.c (arena_get2): Don't call reused_arena when
9936 _int_new_arena failed.
9937
6abf3465
UD
99382011-11-14 Ulrich Drepper <drepper@gmail.com>
9939
9940 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9941 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9943 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9944 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9945 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9946 to compile strcasecmp and strncasecmp.
9947 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9948 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9949
9950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9951
76e3966e
UD
99522011-11-13 Ulrich Drepper <drepper@gmail.com>
9953
9954 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9955 locale-defines.sym to gen-as-const-headers.
9956 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9957 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9959 to compile strcasecmp and strncasecmp.
9960 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9961 strcasecmp_l and strncasecmp_l.
9962 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9963 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9964 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9965 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9966 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9967 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9968 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9969 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9970 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9971 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9972 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9973
ab26144e
UD
99742011-11-12 Ulrich Drepper <drepper@gmail.com>
9975
7edb22ef
UD
9976 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9977 result of SYSDEP_GETTIME_CPU to retval.
9978 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9979 parameter list to macro. Remove trailing semicolon. Adjust users.
9980
9694fc44
UD
9981 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9982 variable.
9983
8ad89ef8
UD
9984 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9985 mantissa words.
9986 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9987
0c822ef9
UD
9988 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9989 from unused variable.
9990
874e0564
UD
9991 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9992 DWARF definitions.
9993 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9994 for assembling.
9995
3a2edc79
UD
9996 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9997 over namespaces.
9998
f3c2577f
UD
9999 * sunrpc/rpc_prot.c (rejected): Fix case value.
10000
294ce126
UD
10001 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10002 unsigned long long int to avoid warnings in shift.
10003
5e2b63c6
UD
10004 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10005 of use of trans.
10006 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10007 variable tmp.
10008
e7f4b08e
UD
10009 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10010 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10011 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10012
ab26144e
UD
10013 * nis/nis_table.c (nis_list): Use variable of correct type for
10014 result of __follow_path call.
10015
8a6d5255
AZ
100162011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10017
10018 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10019 of math functions ceil, trunc, floor, round, and sqrt, when
10020 avaliable on the platform.
10021 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10022 name clash.
10023 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10024 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10025 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10026
aaddc98c
MP
100272011-10-30 Marek Polacek <mpolacek@redhat.com>
10028
10029 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10030 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10031
95b7042b
RM
100322011-11-11 Roland McGrath <roland@hack.frob.com>
10033
10034 * include/unistd.h: Fix __readlink return type.
10035 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10036
57769839
UD
100372011-11-11 Ulrich Drepper <drepper@gmail.com>
10038
10039 * stdlib/ucontext.h: Undo last change for makecontext.
10040
edc5984d
AS
100412011-11-11 Andreas Schwab <schwab@redhat.com>
10042
98591e58
AS
10043 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10044
edc5984d
AS
10045 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10046 * setjmp/setjmp.h: Mark functions as non-leaf.
10047 * setjmp/bits/setjmp2.h: Likewise.
10048 * stdlib/ucontext.h: Likewise.
10049
77cdc054
AS
100502011-11-10 Andreas Schwab <schwab@redhat.com>
10051
10052 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10053 (reused_arena): Don't check arena limit.
10054 (arena_get2): Atomically check arena limit.
10055
fe72eebd
UD
100562011-11-08 Ulrich Drepper <drepper@gmail.com>
10057
5f078c32
UD
10058 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10059 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10060
fe72eebd
UD
10061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10062 instructions.
10063
ae1bc2fa
AS
100642011-11-07 Andreas Schwab <schwab@redhat.com>
10065
7583a88d
AS
10066 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10067 handler when locking.
10068
ae1bc2fa
AS
10069 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10070 Fix size of allocated buffer.
10071
10fb0bfa
AS
100722011-11-04 Andreas Schwab <schwab@redhat.com>
10073
998832a4
AS
10074 [BZ #10103]
10075 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10076 declarations for long double functions.
10077 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10078
10fb0bfa
AS
10079 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10080
3d7ba52b
AS
100812011-11-03 Andreas Schwab <schwab@redhat.com>
10082
a9ae54a1
AS
10083 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10084 installed.
10085
3d7ba52b
AS
10086 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10087 is disabled.
10088
bc8db248
ST
100892011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10090
10091 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10092
45b96dd6
AS
100932011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10094
647776f6
AS
10095 * include/alloca.h (stackinfo_alloca_round): Define.
10096 (extend_alloca): Use it.
10097 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10098 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10099 here.
10100
d91a8b93
AS
10101 * scripts/check-local-headers.sh: Ignore libaudit.h.
10102
45b96dd6
AS
10103 * nscd/Makefile (extra-objs): Make recursively expanded.
10104
432d41ce
UD
101052011-11-01 Ulrich Drepper <drepper@gmail.com>
10106
34372fc6
UD
10107 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10108 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10109
fadb59f8
UD
10110 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10111 * posix/tst-rfc3484-2.c: Likewise.
10112 * posix/tst-rfc3484-3.c: Likewise.
10113
78239589
UD
10114 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10115 process_vm_writev.
10116 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10117 process_vm_writev.
10118 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10119 process_vm_writev from libc using GLIBC_2.15 version.
10120
432d41ce
UD
10121 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10122
02f9c6cf
PP
101232011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10124
10125 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10126 stack usage.
10127
3a2c0242
UD
101282011-10-31 Ulrich Drepper <drepper@gmail.com>
10129
f4ec4833
UD
10130 [BZ #13367]
10131 * nss/getent.c (initgroups_keys): Show error message in case no group
10132 names are given.
10133
3a2c0242
UD
10134 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10135 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10136 __bump_nl_timestamp.
10137 * nscd/connections (nscd_init): When host database is served open
10138 netlink socket and request notification about configuration changes.
10139 (main_loop_poll): Track netlink file descriptor and bump timestamp
10140 in case data becomes available.
10141 (main_loop_epoll): Likewise.
10142 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10143 (database_pers_head): Add extra_data fileds.
10144 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10145 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10146 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10147 Adjust caller.
10148 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10149 in6ai data, call __free_in6ai.
10150 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10151 Add -DHAVE_NETLINK.
10152 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10153 interface information. Reuse previous data if netlink timestamp
10154 is not changed.
10155 (__bump_nl_timestamp): New function.
10156 (__free_in6ai): New function.
10157
636064eb
UD
101582011-10-30 Ulrich Drepper <drepper@gmail.com>
10159
10160 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10161 close_not_cancel_no_status here.
10162 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10163
9beb2334
UD
101642011-10-29 Ulrich Drepper <drepper@gmail.com>
10165
6ef76f3b
UD
10166 [BZ #13276]
10167 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10168 return value.
10169
0ffc4f3e 10170 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10171 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10172 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10173
cb95113e
UD
101742011-07-03 Andreas Jaeger <aj@suse.de>
10175
10176 [BZ #10709]
10177 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10178 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10179 * math/libm-test.inc (sin_test): Add test case.
10180
a1b560ff
UD
101812011-10-29 Ulrich Drepper <drepper@gmail.com>
10182
c9aaface
UD
10183 [BZ #13337]
10184 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10185 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10186
d272e7f1
UD
10187 * elf/chroot_canon.c (chroot_canon): Cleanups.
10188
1bc33071
UD
10189 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10190
1760874d
TJ
10191 [BZ #13335]
10192 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10193 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10194
51d91b18
UD
10195 * string/test-strchr.c: Make usable for strchrnul testing.
10196 * string/test-strchrnul.c: New file.
10197 * string/Makefile (strop-tests): Add strchrnul.
10198
a1b560ff 10199 * po/it.po: Update from translation team.
b611fb81 10200 * po/es.po: Likewise.
a1b560ff 10201
a5b81e1f
UD
102022011-10-28 Ulrich Drepper <drepper@gmail.com>
10203
fd52bc6d
UD
10204 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10205 the three constants needed as parameters. Drop the others.
10206 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10207 __m128i_strloadu_tolower.
52e4b9eb
UD
10208 Create and initialize variable zero and use it in all the places
10209 where _mm_setzero_si128 was used.
fd52bc6d 10210
a5b81e1f
UD
10211 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10212 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10213 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10214 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10215 anymore.
10216 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10217 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10218 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10219 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10220 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10221 __mpranred, __mptan.
10222 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10223 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10224 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10225 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10226 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10227 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10228 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10229 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10230 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10231
b4343346
AS
102322011-10-28 Andreas Schwab <schwab@redhat.com>
10233
0c92d8a8
AS
10234 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10235 redefine if SHARED.
10236 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10237
b4343346
AS
10238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10239 wide char related routines to wcsmbs subdir.
10240
3871f58f
AS
102412011-10-27 Andreas Schwab <schwab@redhat.com>
10242
10243 [BZ #13344]
10244 * misc/sys/cdefs.h (__THROWNL): Define.
10245 * posix/unistd.h: Use __THREADNL instead of __THREAD
10246 for memory synchronization functions.
10247
94d44d9f
RM
102482011-10-26 Roland McGrath <roland@hack.frob.com>
10249
21b64b15 10250 [BZ #13349]
94d44d9f
RM
10251 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10252 doesn't exist.
10253 * manual/stdio.texi (Obstack Streams): Node removed.
10254
f6ce9294
AS
102552011-10-26 Andreas Schwab <schwab@redhat.com>
10256
80479147
AS
10257 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10258 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10259 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10260
f6ce9294
AS
10261 * math/math_private.h (math_force_eval): Allow non-addressable
10262 arguments.
10263 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10264
618280a1
UD
102652011-10-25 Ulrich Drepper <drepper@gmail.com>
10266
e0016b11
UD
10267 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10268 file is not needed.
10269
10270 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10271 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10272 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10273 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10274 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10275 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10276 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10277 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10278 Add AVX variants.
10279 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10280 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10281 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10282 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10283 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10284 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10285 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10286 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10287 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10288 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10289 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10290 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10291 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10292 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10293 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10294 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10295 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10296 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10297 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10298
10299 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10300 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10301
618280a1
UD
10302 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10303 place. Use VEX encoding when compiling for AVX.
10304
37822576
AS
103052011-10-25 Andreas Schwab <schwab@redhat.com>
10306
1f1e1947
AS
10307 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10308 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10309
37822576
AS
10310 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10311
31ea014d
UD
103122011-10-25 Ulrich Drepper <drepper@gmail.com>
10313
d7826aa1 10314 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10315 useless if() expression.
d7826aa1
UD
10316 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10317 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10318 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10319 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10320 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10321 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10322 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10324 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10325 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10326 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10327 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10328 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10329 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10330 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10331 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10332 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10333 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10334 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10335
31ea014d
UD
10336 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10337
16437fec
AS
103382011-10-25 Andreas Schwab <schwab@redhat.com>
10339
10340 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10341 condition.
10342 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10343
31d3cc00
UD
103442011-10-25 Ulrich Drepper <drepper@gmail.com>
10345
10346 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10347 .text section. Avoid duplicate constants.
10348 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10358 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10360 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10363 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10365 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10368 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10371 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10372 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10373 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10374 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10375 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10376 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10377 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10378 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10379 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10380 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10381 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10382 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10383 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10384 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10385 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10386 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10387 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10388 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10389 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10390 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10391 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10392 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10393
58985aa9
UD
103942011-10-24 Ulrich Drepper <drepper@gmail.com>
10395
202c9deb
UD
10396 * sysdeps/x86_64/dla.h: Move to ...
10397 * sysdeps/x86_64/fpu/dla.h: ...here.
10398 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10399 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10400
af968f62
UD
10401 * config.make.in: Add have-mfma4 entry.
10402 * configure.in: Substitute libc_cv_cc_fma4.
10403 * math/Makefile (dbl-only-routines): Add sincostab.
10404 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10405 Use __sincostab not sincos.
10406 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10407 name is a macro.
10408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10412 using __copysign.
10413 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10414 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10415 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10416 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10417 and __inv.
10418 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10419 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10420 __copysign.
10421 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10422 define aliases when function name is a macro.
10423 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10424 sysdeps/ieee754/dbl-64/sincos.tbl.
10425 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10426 fma4-enabled routines.
10427 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10428 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10429 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10430 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10431 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10432 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10433 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10434 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10435 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10436 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10437 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10438 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10439 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10440 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10441 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10442 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10443 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10444 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10445 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10446 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10447 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10448 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10449 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10450 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10451 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10452 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10453 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10454 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10455 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10456 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10457
58985aa9
UD
10458 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10459 rename.
10460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10468
a201fbcf
AS
104692011-10-24 Andreas Schwab <schwab@redhat.com>
10470
10471 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10472
fc2ee42a
LD
104732011-10-23 Ulrich Drepper <drepper@gmail.com>
10474
bb3129bd
UD
10475 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10476
0275fff8
UD
10477 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10478 prediction.
10479 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10480
2fa2ae85
UD
10481 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10482 Remove unused variable magic_bits.
10483 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10484
fc2ee42a
LD
10485 * string/strnlen.c: Define and use STRNLEN macro.
10486 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10487 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10488 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10489 * wcsmbs/wcslen.c: Define and use WCSLEN.
10490 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10491 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10492 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10493 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10494 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10495 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10496 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10497
ce7dd29f
LD
104982011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10499
10500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10501 strnlen-sse2-no-bsf.
10502 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10503 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10504 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10505 Add strnlen support.
10506 (USE_AS_STRNLEN): New macro.
10507 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10508 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10509 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10510 * sysdeps/x86_64/wcslen.S: New file.
10511
979c70a3
MZ
105122011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10513
10514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10515 XMM-moves are used for copying on small sizes.
10516
2d09f82f
LD
105172011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10518
10519 * wcsmbs/Makefile (strop-tests): Add wcschr.
10520 * wcsmbs/test-wcschr.c: New file.
10521 * string/test-strchr.c: Update.
10522 Add wcschr support.
10523 (WIDE): New macro.
10524
619fccca
LD
105252011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10526
2d09f82f 10527 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10528 * wcsmbs/test-wcslen.c: New file.
10529 * string/test-strlen.c: Update.
10530 Add wcslen support.
10531 (WIDE): New macro.
10532
09f699ea
UD
105332011-10-23 Ulrich Drepper <drepper@gmail.com>
10534
10535 * po/it.po: Update from translation team.
10536
95584d3b
LD
105372011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10538
10539 * sysdeps/x86_64/wcscmp.S: Update.
10540 Fix wrong comparison semantics.
10541 wcscmp shall use signed comparison not unsigned.
10542 Don't use substraction to avoid overflow bug.
10543 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10544 * wcsmbc/wcscmp.c: Likewise.
10545 * string/test-strcmp.c: Likewise.
10546 Add new tests to check cases with negative values.
10547
c8b3296b
UD
105482011-10-23 Ulrich Drepper <drepper@gmail.com>
10549
10550 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10551 * sysdeps/x86_64/dla.h: ...here. New file.
10552 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10557 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10558 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10559 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10560 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10561
246ad57a
AS
105622011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10563
10564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10565 __ynl_finite aliases.
10566
a1a87169
UD
105672011-10-22 Ulrich Drepper <drepper@gmail.com>
10568
0d355eb7
UD
10569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10570
a1a87169
UD
10571 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10572 define DLA_FMA.
10573 [DLA_FMA] (EMULV): Use DLA_FMA.
10574 [DLA_FMA] (MUL12): Use EMULV.
10575 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10576 that are not needed.
10577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10582 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10583 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10584
ee2aafe0
AS
105852011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10586
10587 * math/s_nan.c: Undef __nan.
10588 * math/s_nanf.c: Undef __nanf.
10589 * math/s_nanl.c: Undef __nanl.
10590 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10591 "math_private.h".
10592
bc62c2fb
UD
105932011-10-22 Ulrich Drepper <drepper@gmail.com>
10594
77425c63
UD
10595 * math/s_catan.c: Add branch predictions.
10596 * math/s_catanf.c: Likewise.
10597 * math/s_catanh.c: Likewise.
10598 * math/s_catanhf.c: Likewise.
10599 * math/s_catanhl.c: Likewise.
10600 * math/s_catanl.c: Likewise.
10601 * math/s_cexp.c: Likewise.
10602 * math/s_cexpf.c: Likewise.
10603 * math/s_cexpl.c: Likewise.
10604 * math/s_clog.c: Likewise.
10605 * math/s_clog10.c: Likewise.
10606 * math/s_clog10f.c: Likewise.
10607 * math/s_clog10l.c: Likewise.
10608 * math/s_clogf.c: Likewise.
10609 * math/s_clogl.c: Likewise.
10610 * math/s_csqrt.c: Likewise.
10611 * math/s_csqrtf.c: Likewise.
10612 * math/s_csqrtl.c: Likewise.
10613 * math/s_ctanf.c: Likewise.
10614 * math/s_ctanh.c: Likewise.
10615 * math/s_ctanhf.c: Likewise.
10616 * math/s_ctanhl.c: Likewise.
10617 * math/s_ctanl.c: Likewise.
10618
bc62c2fb
UD
10619 * math/math_private.h: Define __nan, __nanf, __nanl.
10620 * math/s_cacosh.c: Include <math_private.h>.
10621 * math/s_cacoshl.c: Likewise.
10622 * math/s_casinh.c: Likewise.
10623 * math/s_casinhf.c: Likewise.
10624 * math/s_casinhl.c: Likewise.
10625 * math/s_ccos.c: Rely entire on ccosh.
10626 * math/s_ccosf.c: Rely entire on ccoshf.
10627 * math/s_ccosl.c: Rely entirely on ccoshl.
10628 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10629 Remove tests for FE_INVALID.
10630 * math/s_ccoshf.c: Likewise.
10631 * math/s_ccoshl.c: Likewise.
10632 * math/s_csin.c: Likewise.
10633 * math/s_csinf.c: Likewise.
10634 * math/s_csinh.c Likewise.
10635 * math/s_csinhf.c: Likewise.
10636 * math/s_csinhl.c: Likewise.
10637 * math/s_csinl.c: Likewise.
10638 * math/s_ctan.c: Likewise.
10639 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10640 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10641 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10642
8ec250a4
UD
106432011-10-21 Ulrich Drepper <drepper@gmail.com>
10644
c196fed8
UD
10645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10646 compilation problems.
10647
8ec250a4
UD
10648 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10649 __builtin_expect.
10650
8d4f46c6
UD
106512011-10-20 Ulrich Drepper <drepper@gmail.com>
10652
ed72b654
UD
10653 * sysdeps/i386/configure.in: Test for -mfma4 option.
10654 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10655 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10656 COMMON_CPUID_INDEX_80000001.
10657 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10658 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10659 use it if FMA3 is not supported.
10660 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10661
8d4f46c6
UD
10662 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10663 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10664
d45c60c2
AS
106652011-10-20 Andreas Schwab <schwab@redhat.com>
10666
10667 [BZ #12892]
10668 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10669 it would create a cycle with a link time dependency.
10670
d9a4d2ab
UD
106712011-10-19 Ulrich Drepper <drepper@gmail.com>
10672
855d1560
UD
10673 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10674 instruction.
10675 * string/Makefile (strop-tests): Add rawmemchr.
10676 * string/test-rawmemchr.c: New file.
10677
d9a4d2ab
UD
10678 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10679 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10680 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10681 when compiling str{,n}casecmp and when AVX is available. Hook up
10682 new optimized code in initializers.
10683
8f3b1ffe
AS
106842011-10-19 Andreas Schwab <schwab@redhat.com>
10685
10686 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10687 __feraiseexcept instead of feraiseexcept.
10688
d38f1dba
UD
106892011-10-18 Ulrich Drepper <drepper@gmail.com>
10690
d9a8d0ab
UD
10691 * math/math_private.h: Define defaults for libc_fetestexcept and
10692 libc_feupdateenv.
10693 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10694 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10695 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10696 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10697 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10698 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10699 libc_fetestexcept and libc_feupdateenv.
10700
4855e3dd
UD
10701 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10702 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10703 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10704 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10705 libc_feholdexcept_setround.
10706
581d30e3
UD
10707 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10708 Add s_nearbyint-c and s_nearbyintf-c.
10709 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10710 nearbyintf inlines.
10711 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10712 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10713 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10714 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10715
d38f1dba
UD
10716 * math/math_private.h: Define defaults for libc_fegetround,
10717 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10718 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10719 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10720 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10721 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10722 standard functions.
10723 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10724 Remove comments and hacks for old compiler versions.
10725 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10726 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10727 libc_feholdexceptl.
10728
caa6c9d8
AS
107292011-10-18 Andreas Schwab <schwab@redhat.com>
10730
10731 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10732 (__feraiseexcept_renamed): Add __NTH.
10733 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10734 namespace violations.
10735
97c066e6
UD
107362011-10-17 Ulrich Drepper <drepper@gmail.com>
10737
99ce7b04
UD
10738 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10739
1004d182
UD
10740 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10741
228a984d
UD
10742 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10743 recently added interfaces.
10744 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10745
c8553a6a
UD
10746 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10747 about macro parameter expansion.
10748
ed22dcf6
UD
10749 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10750 __NO_MATH_INLINES is defined. Cleanups.
10751
10752 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10753 and __floorf is target has SSE4.1.
10754 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10755 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10756 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10757 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10758
b171c137
UD
10759 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10760 name.
10761 (floorf): Likewise.
10762
97c066e6
UD
10763 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10764
629f62ef
AS
107652011-10-17 Andreas Schwab <schwab@redhat.com>
10766
49a43d80
AS
10767 * misc/sys/cdefs.h: Fix last change.
10768
629f62ef
AS
10769 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10770 database lookup.
10771
e453f6cd
UD
107722011-10-16 Ulrich Drepper <drepper@gmail.com>
10773
aa78043a
UD
10774 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10775
ad0f5cad
UD
10776 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10777 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10778 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10779 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10780 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10781 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10782 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10783 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10784 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10785 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10786 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10787 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10788 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10789 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10790 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10791 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10792 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10793 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10794 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10795 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10796 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10797 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10798
10799 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10800 ceil, ceilf, floor, floorf.
10801
10802 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10803 Perform IRELATIVE relocations last.
10804
e453f6cd
UD
10805 * elf/do-rel.h: Add another parameter nrelative, replacing the
10806 local variable with the same name. Change name of the function
10807 to end in Rel or Rela (uppercase).
10808 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10809 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10810 elf_dynamic_do_##reloc function.
10811
fd5bdc09
UD
108122011-10-15 Ulrich Drepper <drepper@gmail.com>
10813
79b195b5
UD
10814 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10815 is sufficient, at least on modern CPUs.
10816
d4a28569
UD
10817 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10818
b61099b5
UD
10819 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10820 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10821
bcf01e6d
UD
10822 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10823 __expl_finite.
10824 * math/bits/math-finite.h: Add entries for exp.
10825 * math/e_expl.c: Add __*_finite alias.
10826 * sysdeps/i386/fpu/e_exp.S: Likewise.
10827 * sysdeps/i386/fpu/e_expf.S: Likewise.
10828 * sysdeps/i386/fpu/e_expl.c: Likewise.
10829 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10830 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10831 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10833 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10834 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10835 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10836
ba1a0d59
UD
10837 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10838 is sufficient, at least on modern CPUs.
10839
fd5bdc09
UD
10840 * ctype/ctype-info.c (__ctype_init): Define.
10841 * include/ctype.h (__ctype_init): Declare.
10842 (__ctype_b_loc): The variable is always initialized.
10843 (__ctype_toupper_loc): Likewise.
10844 (__ctype_tolower_loc): Likewise.
10845 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10846 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10847
7872cfb0
AS
108482011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10849
b468825a
AS
10850 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10851
7872cfb0
AS
10852 * configure.in: Also look in $cxxmachine/include for C++ system
10853 headers.
10854
be13f7bf
LD
108552011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10856
10857 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10858 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10859 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10860 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10861 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10862 (USE_AS_WMEMCMP): New macro.
10863 Fixing indents.
10864 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10865 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10866 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10867 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10869 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10870 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10871 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10872 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10873 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10874 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10875 (USE_AS_WMEMCMP): New macro.
10876 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10877 * sysdeps/string/test-memcmp.c: Update.
10878 Fix simple_wmemcmp.
10879 Add new tests.
10880 * wcsmbs/wmemcmp.c: Update.
10881 (WMEMCMP): New macro.
10882 Fix overflow bug.
10883
556a2007
AJ
108842011-10-12 Andreas Jaeger <aj@suse.de>
10885
10886 [BZ #13268]
10887 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10888
538faaa7
UD
108892011-10-15 Ulrich Drepper <drepper@gmail.com>
10890
ab6737ff
UD
10891 * libio/iofwide.c (do_length): Avoid warning.
10892
538faaa7
UD
10893 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10894
396a21b1
UD
108952011-10-14 Ulrich Drepper <drepper@gmail.com>
10896
cdf2901f
UD
10897 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10898
38ad40ce
UD
10899 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10900 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10901 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10902 * sysdeps/i386/i686/fpu/e_log.S: New file.
10903 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10904 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10905
396a21b1
UD
10906 * ctype/ctype.h: Add support for inlined isXXX functions when
10907 compiling C++ code.
10908
6b1f68c9
AS
109092011-10-14 Andreas Schwab <schwab@redhat.com>
10910
349290c0
AS
10911 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10912
6b1f68c9
AS
10913 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10914
f2282d42
RM
109152011-10-13 Roland McGrath <roland@hack.frob.com>
10916
10917 [BZ #13291]
10918 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10919
5298ffa8
AS
109202011-10-13 Andreas Schwab <schwab@redhat.com>
10921
714fad23
AS
10922 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10923 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10924 feraiseexcept.
10925
81dcc7fb
AS
10926 * sysdeps/x86_64/memrchr.S: Check for zero size.
10927
5298ffa8
AS
10928 * string/stratcliff.c: Add memrchr tests.
10929
951fbcec
LD
109302011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10931
10932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10933 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10934 rawmemchr-sse2 rawmemchr-sse2-bsf.
10935 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10936 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10937 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10938 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10939 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10940 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10941 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10942 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10943 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10944 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10945 * string/memrchr.c (MEMRCHR): New macro.
10946
0ac5ae23
UD
109472011-10-12 Ulrich Drepper <drepper@gmail.com>
10948
10949 Add integration with gcc's -ffinite-math-only and optimize wrapper
10950 functions in libm.
10951 * Versions.def: Define GLIBC_2.15 version for libm.
10952 * math/Makefile (headers): Add bits/math-finite.h.
10953 * math/bits/math-finite.h: New file.
10954 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10955 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10956 * math/e_acoshl.c: Add __*_finite alias.
10957 * math/e_acosl.c: Likewise.
10958 * math/e_asinl.c: Likewise.
10959 * math/e_atan2l.c: Likewise.
10960 * math/e_atanhl.c: Likewise.
10961 * math/e_coshl.c: Likewise.
10962 * math/e_exp10.c: Likewise.
10963 * math/e_exp10f.c: Likewise.
10964 * math/e_exp10l.c: Likewise.
10965 * math/e_exp2l.c: Likewise.
10966 * math/e_fmodl.c: Likewise.
10967 * math/e_gammal_r.c: Likewise.
10968 * math/e_hypotl.c: Likewise.
10969 * math/e_j0l.c: Likewise.
10970 * math/e_j1l.c: Likewise.
10971 * math/e_jnl.c: Likewise.
10972 * math/e_lgammal_r.c: Likewise.
10973 * math/e_log10l.c: Likewise.
10974 * math/e_log2l.c: Likewise.
10975 * math/e_logl.c: Likewise.
10976 * math/e_powl.c: Likewise.
10977 * math/e_sinhl.c: Likewise.
10978 * math/e_sqrtl.c: Likewise.
10979 * math/e_scalb.c: Completely rewritten and optimized.
10980 * math/e_scalbf.c: Likewise.
10981 * math/e_scalbl.c: Likewise.
10982 * math/w_acos.c: Likewise.
10983 * math/w_acosf.c: Likewise.
10984 * math/w_acosl.c: Likewise.
10985 * math/w_acosh.c: Likewise.
10986 * math/w_acoshf.c: Likewise.
10987 * math/w_acoshl.c: Likewise.
10988 * math/w_asin.c: Likewise.
10989 * math/w_asinf.c: Likewise.
10990 * math/w_asinl.c: Likewise.
10991 * math/w_atan2.c: Likewise.
10992 * math/w_atan2f.c: Likewise.
10993 * math/w_atan2l.c: Likewise.
10994 * math/w_atanh.c: Likewise.
10995 * math/w_atanhf.c: Likewise.
10996 * math/w_atanhl.c: Likewise.
10997 * math/w_exp10.c: Likewise.
10998 * math/w_exp10f.c: Likewise.
10999 * math/w_exp10l.c: Likewise.
11000 * math/w_fmod.c: Likewise.
11001 * math/w_fmodf.c: Likewise.
11002 * math/w_fmodl.c: Likewise.
11003 * math/w_j0.c: Likewise.
11004 * math/w_j0f.c: Likewise.
11005 * math/w_j0l.c: Likewise.
11006 * math/w_j1.c: Likewise.
11007 * math/w_j1f.c: Likewise.
11008 * math/w_j1l.c: Likewise.
11009 * math/w_jn.c: Likewise.
11010 * math/w_jnf.c: Likewise.
11011 * math/w_log.c: Likewise.
11012 * math/w_logf.c: Likewise.
11013 * math/w_logl.c: Likewise.
11014 * math/w_log10.c: Likewise.
11015 * math/w_log10f.c: Likewise.
11016 * math/w_log10l.c: Likewise.
11017 * math/w_log2.c: Likewise.
11018 * math/w_log2f.c: Likewise.
11019 * math/w_log2l.c: Likewise.
11020 * math/w_pow.c: Likewise.
11021 * math/w_powf.c: Likewise.
11022 * math/w_powl.c: Likewise.
11023 * math/w_remainder.c: Likewise.
11024 * math/w_remainderf.c: Likewise.
11025 * math/w_remainderl.c: Likewise.
11026 * math/w_scalb.c: Likewise.
11027 * math/w_scalbf.c: Likewise.
11028 * math/w_scalbl.c: Likewise.
11029 * math/w_sqrt.c: Likewise.
11030 * math/w_sqrtf.c: Likewise.
11031 * math/w_sqrtl.c: Likewise.
11032 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11033 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11034 used.
11035 * math/math_private.h: Declare __kernel_standard_f.
11036 * math/w_cosh.c: Remove cruft and optimize a bit.
11037 * math/w_coshf.c: Likewise.
11038 * math/w_coshl.c: Likewise.
11039 * math/w_exp2.c: Likewise.
11040 * math/w_exp2f.c: Likewise.
11041 * math/w_exp2l.c: Likewise.
11042 * math/w_hypot.c: Likewise.
11043 * math/w_hypotf.c: Likewise.
11044 * math/w_hypotl.c: Likewise.
11045 * math/w_lgamma.c: Likewise.
11046 * math/w_lgamma_r.c: Likewise.
11047 * math/w_lgammaf.c: Likewise.
11048 * math/w_lgammaf_r.c: Likewise.
11049 * math/w_lgammal.c: Likewise.
11050 * math/w_lgammal_r.c: Likewise.
11051 * math/w_sinh.c: Likewise.
11052 * math/w_sinhf.c: Likewise.
11053 * math/w_sinhl.c: Likewise.
11054 * math/w_tgamma.c: Likewise.
11055 * math/w_tgammaf.c: Likewise.
11056 * math/w_tgammal.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11059 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11060 Minor optimizations. Pretty printing. Remove cruft.
11061 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11062 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11063 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11064 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11065 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11066 * sysdeps/i386/fpu/e_asin.S: Likewise.
11067 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11068 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11069 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11070 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11071 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11072 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11073 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11074 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11075 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11076 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11077 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11078 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11079 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11080 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11081 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11082 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11083 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11084 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11085 * sysdeps/i386/fpu/e_log.S: Likewise.
11086 * sysdeps/i386/fpu/e_log10.S: Likewise.
11087 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11088 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11089 * sysdeps/i386/fpu/e_log2.S: Likewise.
11090 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11091 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11092 * sysdeps/i386/fpu/e_logf.S: Likewise.
11093 * sysdeps/i386/fpu/e_logl.S: Likewise.
11094 * sysdeps/i386/fpu/e_pow.S: Likewise.
11095 * sysdeps/i386/fpu/e_powf.S: Likewise.
11096 * sysdeps/i386/fpu/e_powl.S: Likewise.
11097 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11098 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11099 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11100 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11101 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11102 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11103 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11104 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11105 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11106 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11107 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11108 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11110 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11112 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11113 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11114 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11116 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11117 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11127 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11128 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11129 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11130 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11131 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11132 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11133 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11134 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11135 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11136 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11137 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11138 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11139 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11140 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11141 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11142 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11143 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11144 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11145 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11146 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11147 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11177 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11186 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11187 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11188 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11189 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11191 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11192 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11194 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11197 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11198 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11199 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11200 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11201 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11202 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11203 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11204 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11205 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11206 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11207 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11208 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11209 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11210 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11211 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11212 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11213 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11214 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11215 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11216 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11217 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11218 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11219 (__isnanf): Likewise.
11220 (__isinf_ns): Likewise.
11221 (__isinf_nsf): Likewise.
11222 (__finite): Likewise.
11223 (__finitef): Likewise.
11224 (__ieee754_sqrt): Define as macro.
11225 (__ieee754_sqrtf): Define as macro.
11226 (__ieee754_sqrtl): Define as macro.
11227 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11228 inlined copy.
11229 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11230 __FINITE_MATH_ONLY__ consistent.
11231 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11232
12cc2fcd
AS
112332011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11234
a843a204
AS
11235 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11236 of rawmemchr.
11237
12cc2fcd
AS
11238 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11239
c853acd5
UD
112402011-10-09 Ulrich Drepper <drepper@gmail.com>
11241
11242 * po/ja.po: Update from translation team.
11243
c658d255
RM
112442011-10-08 Roland McGrath <roland@hack.frob.com>
11245
110946e4
RM
11246 * locale/programs/locarchive.c (prepare_address_space): New function.
11247 (create_archive, enlarge_archive, open_archive): Use it.
11248
50604220
RM
11249 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11250 inside [SHARED], where it is used.
11251
c658d255
RM
11252 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11253
11254 * nss/getent.c (netgroup_keys): Remove unused variable.
11255 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11256
6a621eb7
UD
112572011-10-08 Ulrich Drepper <drepper@gmail.com>
11258
7edb55ce
UD
11259 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11260 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11261 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11262 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11263 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11264 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11265 * math/Makefile (libm-calls): Add s_isinf_ns.
11266 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11267 * math/multc3.c: Likewise.
11268 * math/s_casin.c: Likewise.
11269 * math/s_casinf.c: Likewise.
11270 * math/s_casinl.c: Likewise.
11271 * math/s_ccos.c: Likewise.
11272 * math/s_ccosf.c: Likewise.
11273 * math/s_ccosl.c: Likewise.
11274 * math/s_ctan.c: Likewise.
11275 * math/s_ctanf.c: Likewise.
11276 * math/s_ctanh.c: Likewise.
11277 * math/s_ctanhf.c: Likewise.
11278 * math/s_ctanhl.c: Likewise.
11279 * math/s_ctanl.c: Likewise.
11280 * math/w_fmod.c: Likewise.
11281 * math/w_fmodf.c: Likewise.
11282 * math/w_fmodl.c: Likewise.
11283 * math/w_remainder.c: Likewise.
11284 * math/w_remainderf.c: Likewise.
11285 * math/w_remainderl.c: Likewise.
11286 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11287 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11288 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11289 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11290 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11291 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11292 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11293 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11294
187da0ae
UD
11295 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11296 of the number.
11297 * stdio-common/printf_fphex.c: Likewise.
11298 * stdio-common/printf_size.c: Likewise.
11299
9277c064
UD
11300 * math/e_exp10.c: Include math_private.h using <...> not "...".
11301 * math/e_exp10f.c: Likewise.
11302 * math/e_exp10l.c: Likewise.
11303 * math/e_exp2l.c: Likewise.
11304 * math/e_j0l.c: Likewise.
11305 * math/e_j1l.c: Likewise.
11306 * math/e_jnl.c: Likewise.
11307 * math/e_lgammal_r.c: Likewise.
11308 * math/e_rem_pio2l.c: Likewise.
11309 * math/e_scalb.c: Likewise.
11310 * math/e_scalbf.c: Likewise.
11311 * math/e_scalbl.c: Likewise.
11312 * math/k_cosl.c: Likewise.
11313 * math/k_sinl.c: Likewise.
11314 * math/k_tanl.c: Likewise.
11315 * math/s_cacoshf.c: Likewise.
11316 * math/s_catan.c: Likewise.
11317 * math/s_catanf.c: Likewise.
11318 * math/s_catanh.c: Likewise.
11319 * math/s_catanhf.c: Likewise.
11320 * math/s_catanhl.c: Likewise.
11321 * math/s_catanl.c: Likewise.
11322 * math/s_ccosh.c: Likewise.
11323 * math/s_ccoshf.c: Likewise.
11324 * math/s_ccoshl.c: Likewise.
11325 * math/s_cexp.c: Likewise.
11326 * math/s_cexpf.c: Likewise.
11327 * math/s_cexpl.c: Likewise.
11328 * math/s_clog.c: Likewise.
11329 * math/s_clog10.c: Likewise.
11330 * math/s_clog10f.c: Likewise.
11331 * math/s_clog10l.c: Likewise.
11332 * math/s_clogf.c: Likewise.
11333 * math/s_clogl.c: Likewise.
11334 * math/s_csin.c: Likewise.
11335 * math/s_csinf.c: Likewise.
11336 * math/s_csinh.c: Likewise.
11337 * math/s_csinhf.c: Likewise.
11338 * math/s_csinhl.c: Likewise.
11339 * math/s_csinl.c: Likewise.
11340 * math/s_csqrt.c: Likewise.
11341 * math/s_csqrtf.c: Likewise.
11342 * math/s_csqrtl.c: Likewise.
11343 * math/s_ctan.c: Likewise.
11344 * math/s_ctanf.c: Likewise.
11345 * math/s_ctanh.c: Likewise.
11346 * math/s_ctanhf.c: Likewise.
11347 * math/s_ctanhl.c: Likewise.
11348 * math/s_ctanl.c: Likewise.
11349 * math/s_ldexp.c: Likewise.
11350 * math/s_ldexpf.c: Likewise.
11351 * math/s_ldexpl.c: Likewise.
11352 * math/s_significand.c: Likewise.
11353 * math/s_significandf.c: Likewise.
11354 * math/s_significandl.c: Likewise.
11355 * math/w_acos.c: Likewise.
11356 * math/w_acosf.c: Likewise.
11357 * math/w_acosh.c: Likewise.
11358 * math/w_acoshf.c: Likewise.
11359 * math/w_acoshl.c: Likewise.
11360 * math/w_acosl.c: Likewise.
11361 * math/w_asin.c: Likewise.
11362 * math/w_asinf.c: Likewise.
11363 * math/w_asinl.c: Likewise.
11364 * math/w_atan2.c: Likewise.
11365 * math/w_atan2f.c: Likewise.
11366 * math/w_atan2l.c: Likewise.
11367 * math/w_atanh.c: Likewise.
11368 * math/w_atanhf.c: Likewise.
11369 * math/w_atanhl.c: Likewise.
11370 * math/w_cosh.c: Likewise.
11371 * math/w_coshf.c: Likewise.
11372 * math/w_coshl.c: Likewise.
11373 * math/w_dremf.c: Likewise.
11374 * math/w_exp10.c: Likewise.
11375 * math/w_exp10f.c: Likewise.
11376 * math/w_exp10l.c: Likewise.
11377 * math/w_exp2.c: Likewise.
11378 * math/w_exp2f.c: Likewise.
11379 * math/w_fmod.c: Likewise.
11380 * math/w_fmodf.c: Likewise.
11381 * math/w_fmodl.c: Likewise.
11382 * math/w_hypot.c: Likewise.
11383 * math/w_hypotf.c: Likewise.
11384 * math/w_hypotl.c: Likewise.
11385 * math/w_j0.c: Likewise.
11386 * math/w_j0f.c: Likewise.
11387 * math/w_j0l.c: Likewise.
11388 * math/w_j1.c: Likewise.
11389 * math/w_j1f.c: Likewise.
11390 * math/w_j1l.c: Likewise.
11391 * math/w_jn.c: Likewise.
11392 * math/w_jnf.c: Likewise.
11393 * math/w_jnl.c: Likewise.
11394 * math/w_lgamma.c: Likewise.
11395 * math/w_lgamma_r.c: Likewise.
11396 * math/w_lgammaf.c: Likewise.
11397 * math/w_lgammaf_r.c: Likewise.
11398 * math/w_lgammal.c: Likewise.
11399 * math/w_lgammal_r.c: Likewise.
11400 * math/w_log.c: Likewise.
11401 * math/w_log10.c: Likewise.
11402 * math/w_log10f.c: Likewise.
11403 * math/w_log10l.c: Likewise.
11404 * math/w_log2.c: Likewise.
11405 * math/w_log2f.c: Likewise.
11406 * math/w_log2l.c: Likewise.
11407 * math/w_logf.c: Likewise.
11408 * math/w_logl.c: Likewise.
11409 * math/w_pow.c: Likewise.
11410 * math/w_powf.c: Likewise.
11411 * math/w_powl.c: Likewise.
11412 * math/w_remainder.c: Likewise.
11413 * math/w_remainderf.c: Likewise.
11414 * math/w_remainderl.c: Likewise.
11415 * math/w_scalb.c: Likewise.
11416 * math/w_scalbf.c: Likewise.
11417 * math/w_scalbl.c: Likewise.
11418 * math/w_sinh.c: Likewise.
11419 * math/w_sinhf.c: Likewise.
11420 * math/w_sinhl.c: Likewise.
11421 * math/w_sqrt.c: Likewise.
11422 * math/w_sqrtf.c: Likewise.
11423 * math/w_sqrtl.c: Likewise.
11424 * math/w_tgamma.c: Likewise.
11425 * math/w_tgammaf.c: Likewise.
11426 * math/w_tgammal.c: Likewise.
11427
6a621eb7
UD
11428 * po/ja.po: Update from translation team.
11429
bf582445
AJ
114302011-09-29 Andreas Jaeger <aj@suse.de>
11431
f9efbf3a
AJ
11432 [BZ #13179]
11433 * sunrpc/netname.c (netname2host): Fix logic.
11434
bf582445
AJ
11435 [BZ #6779]
11436 [BZ #6783]
11437 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11438 correctly.
11439 * math/w_remainder.c (__remainder): Likewise.
11440 * math/w_remainderf.c (__remainderf): Likewise.
11441 * math/libm-test.inc (remainder_test): Add test cases.
11442
48693bea
AK
114432011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11444
11445 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11446 sdiv_qrnnd.
11447
42622229
LD
114482011-10-07 Ulrich Drepper <drepper@gmail.com>
11449
11450 * string/test-memcmp.c: Avoid unncessary #defines.
11451 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11452
093ecf92
LD
114532011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11454
11455 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11456 Use new sse2 version for core i3 - i7 as it's faster
11457 than sse42 version.
11458 (bit_Prefer_PMINUB_for_stringop): New.
11459 * sysdeps/x86_64/rawmemchr.S: Update.
11460 Replace with faster SSE2 version.
11461 * sysdeps/x86_64/memrchr.S: New file.
11462 * sysdeps/x86_64/memchr.S: Update.
11463 Replace with faster SSE2 version.
11464
fde56e5c
MP
114652011-09-12 Marek Polacek <mpolacek@redhat.com>
11466
11467 * elf/dl-load.c (lose): Add cast to avoid warning.
11468
21fd49a9
UD
114692011-10-07 Ulrich Drepper <drepper@gmail.com>
11470
5a06e643
UD
11471 * po/ca.po: Update from translation team.
11472
684ae515
UD
11473 * inet/getnetgrent_r.c: Hook up nscd.
11474 * nscd/Makefile (routines): Add nscd_netgroup.
11475 (nscd-modules): Add netgroupcache.
11476 (CFLAGS-netgroupcache.c): Define.
11477 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11478 (cache_search): Add const to second parameter.
11479 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11480 INNETGR.
11481 (dbs): Add netgrdb entry.
11482 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11483 (verify_persistent_db): Handle netgrdb.
11484 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11485 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11486 GETFDNETGR.
11487 (netgroup_response_header): Define.
11488 (innetgroup_response_header): Define.
11489 (datahead): Add netgroup_response_header and innetgroup_response_header
11490 elements.
11491 * nscd/nscd.conf: Add entries for netgroup cache.
11492 * nscd/nscd.h (dbtype): Add netgrdb.
11493 (_PATH_NSCD_NETGROUP_DB): Define.
11494 (netgroup_iov_disabled): Declare.
11495 (xmalloc, xcalloc, xrealloc): Move declarations here.
11496 (cache_search): Adjust prototype.
11497 Add netgroup-related prototypes.
11498 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11499 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11500 (__nscd_innetgr): Declare.
11501 * nscd/selinux.c (perms): Use access_vector_t as element type and
11502 add netgroup-related initializers.
11503 * nscd/netgroupcache.c: New file.
11504 * nscd/nscd_netgroup.c: New file.
11505 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11506 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11507 For four parameters use innetgr.
11508 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11509 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11510 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11511 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11512
21fd49a9
UD
11513 * nscd/connections.c (register_traced_file): Don't register file
11514 for disabled databases.
11515
054c0457
UD
115162011-10-06 Ulrich Drepper <drepper@gmail.com>
11517
32b63198
UD
11518 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11519
054c0457
UD
11520 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11521 from tree and freeing node.
11522
64031225
JO
115232011-09-25 Jiri Olsa <jolsa@redhat.com>
11524
11525 * nss/nsswitch.c (__nss_database_lookup): Handle
11526 nss_parse_service_list out of memory case.
11527
0490345c
JO
115282011-09-15 Jiri Olsa <jolsa@redhat.com>
11529
11530 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11531 out of memory case.
11532
3a62d00d
AS
115332011-10-04 Andreas Schwab <schwab@redhat.com>
11534
11535 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11536 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11537 pass it down.
11538 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11539 elf_machine_rela, elf_machine_lazy_rel.
11540 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11541 (ELF_DYNAMIC_DO_REL): Likewise.
11542 (ELF_DYNAMIC_DO_RELA): Likewise.
11543 (ELF_DYNAMIC_RELOCATE): Likewise.
11544 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11545 to ELF_DYNAMIC_DO_REL.
11546 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11547 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11548 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11549 elf_machine_rela.
11550 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11551 skip_ifunc, don't call ifunc function if non-zero.
11552 (elf_machine_rela): Likewise.
11553 (elf_machine_lazy_rel): Likewise.
11554 (elf_machine_lazy_rela): Likewise.
11555 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11556 (elf_machine_lazy_rel): Likewise.
11557 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11558 Likewise.
11559 (elf_machine_lazy_rel): Likewise.
11560 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11561 Likewise.
11562 (elf_machine_lazy_rel): Likewise.
11563 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11564 (elf_machine_lazy_rel): Likewise.
11565 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11566 (elf_machine_lazy_rel): Likewise.
11567 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11568 (elf_machine_lazy_rel): Likewise.
11569 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11570 (elf_machine_lazy_rel): Likewise.
11571 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11572 (elf_machine_lazy_rel): Likewise.
11573 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11574 (elf_machine_lazy_rel): Likewise.
11575
68577918
UD
115762011-09-28 Ulrich Drepper <drepper@gmail.com>
11577
11578 * nss/nss_files/files-init.c (_nss_files_init): Use static
11579 initialization for all the *_traced_file variables.
11580
68822d74
AS
115812011-09-28 Andreas Schwab <schwab@redhat.com>
11582
11583 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11584
2056100b
RM
115852011-09-27 Roland McGrath <roland@hack.frob.com>
11586
11587 [BZ #13226]
11588 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11589
32c76b63
AS
115902011-09-27 Andreas Schwab <schwab@redhat.com>
11591
11592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11593 Reread the line before reparsing it.
11594
bf972c9d
AS
115952011-09-26 Andreas Schwab <schwab@redhat.com>
11596
11597 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11598
e057a1b5
JM
115992011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11600 Maxim Kuvyrkov <maxim@codesourcery.com>
11601 Joseph Myers <joseph@codesourcery.com>
11602
11603 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11604 if needed for __stack_chk_guard.
11605
bc7e1c36
RM
116062011-09-19 Roland McGrath <roland@hack.frob.com>
11607
ecb1482f
RM
11608 * sysdeps/posix/spawni.c (script_execute): Always define it.
11609 It will be optimized away if unused.
11610 (maybe_script_execute): New function.
11611 (__spawni): Call it.
11612
bc7e1c36
RM
11613 * Makerules: Don't include tls.make.
11614 (config-tls): Always set to thread.
11615 * tls.make.c: File removed.
11616
1c3b002b
MF
116172011-09-19 Mike Frysinger <vapier@gentoo.org>
11618
11619 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11620 * config.make.in (CPPFLAGS-config): New substituted variable.
11621
2840865d
UD
116222011-09-15 Ulrich Drepper <drepper@gmail.com>
11623
88738eb6
UD
11624 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11625
cbf645a6 11626 [BZ #13192]
2840865d
UD
11627 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11628 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11629
b402e91a
RM
116302011-09-15 Roland McGrath <roland@hack.frob.com>
11631
11632 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11633 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11635 (CALL_FAIL): Likewise.
11636 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11637 (CALL_FAIL): Macro removed.
11638 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11639
4c1a1f71
UD
116402011-09-15 Ulrich Drepper <drepper@gmail.com>
11641
11642 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11643 for __FINITE_MATH_ONLY__ == 1.
11644
edc121be
AS
116452011-09-15 Andreas Schwab <schwab@redhat.com>
11646
11647 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11648 __ieee754_sqrt instead of sqrt.
11649 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11650 __ieee754_sqrtf instead of sqrtf.
11651 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11652 __floorf instead of floorf.
11653 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11654 __floorf, __truncf instead of floorf, truncf.
11655
cd205654
UD
116562011-09-14 Ulrich Drepper <drepper@gmail.com>
11657
ee4d0315
UD
11658 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11659
cd205654
UD
11660 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11661 __extern_always_inline.
11662 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11663 32-bit.
11664
48b67d71
AS
116652011-09-14 Andreas Schwab <schwab@redhat.com>
11666
11667 * elf/rtld.c (dl_main): Also relocate in dependency order when
11668 doing symbol dependency testing.
11669
1ae12c75
AS
116702011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11671
11672 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11673 Always define `refsym'.
11674
995a80df
AS
116752011-09-13 Andreas Schwab <schwab@redhat.com>
11676
e529793b
AS
11677 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11678 (__FD_ELT): Renamed from __FDELT.
11679 * misc/bits/select2.h (__FD_ELT): Likewise.
11680 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11681 __FD_MASK instead of __FDELT, __FDMASK.
11682 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11683 Likewise.
11684 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11685 Likewise.
11686
52d4fef8
AS
11687 * elf/Makefile (gen-ldd): Fix pattern.
11688
995a80df
AS
11689 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11690 (init_tls): Likewise.
11691
8682f8b0
UD
116922011-09-12 Ulrich Drepper <drepper@gmail.com>
11693
11694 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11695
de82006d
AS
116962011-09-12 Andreas Schwab <schwab@redhat.com>
11697
a7c8e6a1
AS
11698 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11699 `struct cmsghdr *' instead of `void *'.
11700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11701 Likewise.
11702
0f31fe77
AS
117032011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11704
11705 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11706 if non-absolute.
11707 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11708 ldd_rewrite_script.
0f31fe77 11709
32b4c839
UD
117102011-09-11 Ulrich Drepper <drepper@gmail.com>
11711
83cd1420
UD
11712 * configure.in: Remove --with-tls option.
11713 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11714 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11715 out in case it is missing.
11716 * sysdeps/ia64/elf/configure.in: Likewise.
11717 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11718 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11719 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11720 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11721 * sysdeps/sh/elf/configure.in: Likewise.
11722 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11723 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11724 * sysdeps/x86_64/elf/configure.in: Likewise.
11725 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11726 * sysdeps/mach/hurd/tls.h: Likewise.
11727
633f745d
UD
11728 [BZ #13067]
11729 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11730
f318beb8
UD
11731 [BZ #13090]
11732 * configure.in: Fix use of AC_INIT.
11733
32b4c839
UD
11734 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11735
3ce1f295
UD
117362011-09-10 Ulrich Drepper <drepper@gmail.com>
11737
bb016596
UD
11738 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11739 __set_errno.
8e58439c
UD
11740 * malloc/hooks.c: Likewise.
11741
aebae053 11742 [BZ #11929]
02d46fc4
UD
11743 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11744 variables statically.
11745 (narenas): Initialize.
11746 (list_lock): Initialize.
bb016596
UD
11747 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11748 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11749 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11750 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11751 Add initializers to main_arena and mp_.
11752 (malloc_state): Remove pagesize member. Change all users to use
11753 GLRO(dl_pagesize).
11754
11755 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11756 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11757 is always initialized.
11758
22a89187
UD
11759 * malloc/malloc.c: Removed unused configurations and dead code.
11760 * malloc/arena.c: Likewise.
11761 * malloc/hooks.c: Likewise.
02d46fc4 11762 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11763
d063d164
UD
11764 * include/tls.h: Removed. USE___THREAD must always be defined.
11765 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11766 * elf/dl-libc.c: Likewise.
11767 * elf/dl-tsd.c: Likewise.
11768 * include/errno.h: Likewise.
11769 * include/netdb.h: Likewise.
11770 * include/resolv.h: Likewise.
11771 * inet/herrno-loc.c: Likewise.
11772 * inet/herrno.c: Likewise.
11773 * malloc/arena.c: Likewise.
11774 * malloc/hooks.c: Likewise.
11775 * malloc/malloc.c: Likewise.
11776 * resolv/res-state.c: Likewise.
11777 * resolv/res_libc.c: Likewise.
11778 * sysdeps/i386/dl-machine.h: Likewise.
11779 * sysdeps/ia64/dl-machine.h: Likewise.
11780 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11781 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11782 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11783 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11784 * sysdeps/sh/dl-machine.h: Likewise.
11785 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11786 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11787 * sysdeps/unix/i386/sysdep.S: Likewise.
11788 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11789 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11790 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11791 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11792 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11793 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11794 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11796 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11797 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11798 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11799 * sysdeps/x86_64/dl-machine.h: Likewise.
11800 * tls.make.c: Likewise.
11801
3ce1f295
UD
11802 * configure.in: Remove --with-__thread option. Make tests for
11803 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11804 tls_model attribute fail if no support is available. Remove
11805 USE_IN_LIBIO.
11806 * Makeconfig: Adjust for dropped configure option. All features are
11807 now mandatory.
11808 * Makerules: Likewise.
11809 * Versions.def: Likewise.
11810 * argp/argp-fmtstream.c: Likewise.
11811 * argp/argp-fmtstream.h: Likewise.
11812 * argp/argp-help.c: Likewise.
11813 * assert/assert.c: Likewise.
11814 * config.h.in: Likewise.
11815 * config.make.in: Likewise.
11816 * configure: Likewise.
11817 * configure.in: Likewise.
11818 * csu/Versions: Likewise.
11819 * csu/init.c: Likewise.
11820 * elf/tst-audit2.c: Likewise.
11821 * elf/tst-tls10.c: Likewise.
11822 * elf/tst-tls10.h: Likewise.
11823 * elf/tst-tls11.c: Likewise.
11824 * elf/tst-tls12.c: Likewise.
11825 * elf/tst-tls14.c: Likewise.
11826 * elf/tst-tlsmod11.c: Likewise.
11827 * elf/tst-tlsmod12.c: Likewise.
11828 * elf/tst-tlsmod13.c: Likewise.
11829 * elf/tst-tlsmod13a.c: Likewise.
11830 * elf/tst-tlsmod14a.c: Likewise.
11831 * elf/tst-tlsmod15b.c: Likewise.
11832 * elf/tst-tlsmod16a.c: Likewise.
11833 * elf/tst-tlsmod16b.c: Likewise.
11834 * elf/tst-tlsmod7.c: Likewise.
11835 * elf/tst-tlsmod8.c: Likewise.
11836 * elf/tst-tlsmod9.c: Likewise.
11837 * gmon/gmon.c: Likewise.
11838 * grp/fgetgrent_r.c: Likewise.
11839 * grp/putgrent.c: Likewise.
11840 * hurd/fopenport.c: Likewise.
11841 * include/libc-symbols.h: Likewise.
11842 * include/tls.h: Likewise.
11843 * intl/gettextP.h: Likewise.
11844 * intl/loadinfo.h: Likewise.
11845 * locale/global-locale.c: Likewise.
11846 * locale/localeinfo.h: Likewise.
11847 * mach/devstream.c: Likewise.
11848 * malloc/arena.c: Likewise.
11849 * malloc/set-freeres.c: Likewise.
11850 * misc/err.c: Likewise.
11851 * misc/getttyent.c: Likewise.
11852 * misc/mntent_r.c: Likewise.
11853 * posix/getopt.c: Likewise.
11854 * posix/wordexp.c: Likewise.
11855 * pwd/fgetpwent_r.c: Likewise.
11856 * resolv/Versions: Likewise.
11857 * resolv/res_hconf.c: Likewise.
11858 * shadow/fgetspent_r.c: Likewise.
11859 * shadow/putspent.c: Likewise.
11860 * stdio-common/printf_fphex.c: Likewise.
11861 * stdio-common/tmpfile.c: Likewise.
11862 * stdlib/abort.c: Likewise.
11863 * stdlib/fmtmsg.c: Likewise.
11864 * sunrpc/auth_unix.c: Likewise.
11865 * sunrpc/clnt_perr.c: Likewise.
11866 * sunrpc/clnt_tcp.c: Likewise.
11867 * sunrpc/clnt_udp.c: Likewise.
11868 * sunrpc/clnt_unix.c: Likewise.
11869 * sunrpc/openchild.c: Likewise.
11870 * sunrpc/svc_simple.c: Likewise.
11871 * sunrpc/svc_tcp.c: Likewise.
11872 * sunrpc/svc_udp.c: Likewise.
11873 * sunrpc/svc_unix.c: Likewise.
11874 * sunrpc/xdr.c: Likewise.
11875 * sunrpc/xdr_array.c: Likewise.
11876 * sunrpc/xdr_rec.c: Likewise.
11877 * sunrpc/xdr_ref.c: Likewise.
11878 * sunrpc/xdr_stdio.c: Likewise.
11879
1248c1c4
PB
118802011-09-09 Ulrich Drepper <drepper@gmail.com>
11881
11882 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11883
118842011-07-03 Andreas Jaeger <aj@suse.de>
11885
11886 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11887 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11888 regenerate with gen-libm-tests.pl.
11889
118902010-05-12 Petr Baudis <pasky@suse.cz>
11891
11892 [BZ #11589]
11893 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11894 around j0() zero points by switching to j1().
11895 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11896 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11897 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11898 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11899
f22e1074
UD
119002011-09-09 Ulrich Drepper <drepper@gmail.com>
11901
f19009c1
UD
11902 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11903 instead of 0.
11904 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11905 instead of 0. .
11906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11907 Patch in part by Pavel Roskin <proski@gnu.org>.
11908
3f8cc204
UD
11909 [BZ #13138]
11910 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11911 realloc.
11912 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11913 Free memory block if necessary.
11914
f22e1074
UD
11915 [BZ #12847]
11916 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11917 be NULL. Don't lock in this case.
11918
0a2349f9
RM
119192011-09-09 Roland McGrath <roland@hack.frob.com>
11920
11921 * elf/elf.h (ELFOSABI_GNU): New macro.
11922 (ELFOSABI_LINUX): Define to that.
11923
f3cdd467
DZ
119242011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11925
11926 * string/strncat.c (strncat): Undef the symbol in case it has been
11927 defined in bits/string.h.
11928
74718d13
UD
119292011-09-09 Ulrich Drepper <drepper@gmail.com>
11930
633e9e0f
UD
11931 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11932
0a2349f9 11933 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11934 link map.
11935
f9924780
AJ
119362011-08-17 Andreas Jaeger <aj@suse.de>
11937
11938 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11939
7f5517aa
PP
119402011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11941 Ian Lance Taylor <iant@google.com>
11942
11943 * math/libm-test.inc (lround_test): New testcase.
11944 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11945
762011fe
UD
119462011-09-08 Ulrich Drepper <drepper@gmail.com>
11947
92963737
UD
11948 * Makefile: Remove support for automatic cvs check-ins.
11949 * Makerules: Likewise.
11950 * config.make.in: Likewise.
11951 * configure.in: Likewise.
11952 * intl/Makefile: Likewise.
11953 * locale/Makefile: Likewise.
11954 * po/Makefile: Likewise.
11955 * posix/Makefile: Likewise.
11956 * sysdeps/gnu/Makefile: Likewise.
11957 * sysdeps/mach/hurd/Makefile: Likewise.
11958 * sysdeps/sparc/sparc32/Makefile: Likewise.
11959
b0727fd8
JS
11960 [BZ #13118]
11961 * posix/Makefile (bug-regex32-ENV): Define.
11962 Patch by John Stanley <jpsinthemix@verizon.net>.
11963
a0f33f99
UD
11964 * misc/Makefile (headers): Add bits/select2.h.
11965 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11966 * misc/bits/select2.h: New file.
11967 * include/bits/select2.h: New file.
11968 * debug/Makefile (routines): Add fdelt_chk.
11969 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11970 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11971 FD_ISSET.
11972 * debug/fdelt_chk.c: New file.
11973
762011fe
UD
11974 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11975 * wcsmbs/test-wmemcmp.c: Likewise.
11976 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11977 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11978
119792011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11980
11981 * string/Makefile (strop-tests): Add memcmp.
11982 * string/test-wmemcmp.c: New file.
11983 * string/test-memcmp.c: Add wmemcmp support.
11984
7f513ec8
RM
119852011-09-08 Roland McGrath <roland@hack.frob.com>
11986
0442afb4
RM
11987 [BZ #13153]
11988 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11989 2011-07-19 change.
11990
7f513ec8
RM
11991 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11992 garbage value in a __mach_port_mod_refs call in the cases of the
11993 task-self and thread-self ports.
11994
a12b2239
ST
119952011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11996
11997 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11998
610f9ab4
AS
119992011-09-08 Andreas Schwab <schwab@redhat.com>
12000
7f513ec8 12001 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12002
48882a1a
LD
120032011-09-07 Ulrich Drepper <drepper@gmail.com>
12004
b49865be
UD
12005 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12006
fdc86bc9
UD
12007 * elf/dl-libc.c (dlerror_run): Pass back error code from
12008 dl_catch_error.
12009
c966526a
UD
12010 [BZ #13123]
12011 * elf/dl-load.c (lose): Free l_origin if it is valid.
12012
48882a1a
LD
12013 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12014 names.
12015 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12016 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12017 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12018 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12019 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12020 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12021
77a2a8b4
AZ
120222011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12023
12024 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12025 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12026 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12027 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12028 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12029 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12030 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12031 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12032 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12033 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12034
24f579d8
AM
120352011-08-15 Alan Modra <amodra@gmail.com>
12036
12037 [BZ #13092]
12038 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12039 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12040 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12041 ppc_mcount to static-only-routines.
12042 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12043 __mcount_internal.
12044 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12045 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12046
3d4837df
UD
120472011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12048
12049 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12050 for finite and infinity parameters.
12051
22700377
WS
120522011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12053
12054 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12055 and add nop instructions for throughput optimization.
12056 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12057
5025581e
WS
120582011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12059
12060 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12061 aligned copy for power7 with vector-scalar instructions.
12062 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12063
08a300c9
L
120642011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12065
12066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12067 AVX check.
12068
59178ef9
AS
120692011-09-07 Andreas Schwab <schwab@redhat.com>
12070
12071 [BZ #13144]
12072 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12073 last change.
12074
e38ba7ab
UD
120752011-09-07 Ulrich Drepper <drepper@gmail.com>
12076
12077 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12078 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12079 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12080 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12081 clock_gettime.
12082
d53a73ac
UD
120832011-09-06 Ulrich Drepper <drepper@gmail.com>
12084
fc8bffcc
UD
12085 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12086 Forgot to demangle the pointer.
12087
ceaa0c5d
UD
12088 * sysdeps/i386/sysdep.h: Define atom_text_section.
12089 * sysdeps/x86_64/sysdep.h: Likewise.
12090 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12091 section with atom_text_section.
12092 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12093 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12094 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12095 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12096 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12097
a77d3c17
UD
12098 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12099 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12100 already be defined. Change to take two parameters and don't assign
12101 result to variable. Adjust all users.
12102 Define INTERNAL_GETTIME if not already defined.
12103 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12104 call.
12105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12106 HAVE_CLOCK_GETTIME_VSYSCALL.
12107 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12108
d53a73ac
UD
12109 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12110 gettimeofday vsyscall, just use time.
12111
a8f84144
AS
121122011-09-06 Andreas Schwab <schwab@redhat.com>
12113
12114 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12115 <errno.h>.
12116
ef606249
UD
121172011-09-06 Ulrich Drepper <drepper@gmail.com>
12118
12119 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12120 syscall on x86-64.
12121 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12122 syscall.
12123 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12124 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12125 syscall if possible.
12126
6585cb60
UD
121272011-09-05 Ulrich Drepper <drepper@gmail.com>
12128
12129 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12130 e_ident. Don't pass to find_mapsXX.
12131 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12132
a5f524e4
LD
121332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12134
12135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12136 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12137 * sysdeps/x86_64/multiarch/strchr.S: Update.
12138 Check bit_slow_BSF bit.
12139 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12140 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12141 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12142
554881ef
UD
121432011-09-05 Ulrich Drepper <drepper@gmail.com>
12144
d96de963
UD
12145 [BZ #13134]
12146 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12147 before glibc 2.15.
12148 (tryshell): Define.
12149 (__spawni): Change last parameter to be flag. Test
12150 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12151 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12152 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12153 * posix/spawni.c: Likewise.
12154 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12155 * posix/spawnp.c: Likewise. Change normal version to use
12156 SPAWN_XFLAGS_USE_PATH.
12157 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12158 SPAWN_XFLAGS_TRY_SHELL.
12159
d48e5868
UD
12160 [BZ #13150]
12161 * posix/glob.h: Remove gcc 1.x support.
12162
554881ef
UD
12163 [BZ #13068]
12164 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12165
693fb948
LD
121662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12167
12168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12169 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12170 strrchr-sse2-bsf
12171 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12172 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12173 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12174 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12175 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12176 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12177
1b48c537
UD
121782011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12179
49d42c37
UD
12180 * sysdeps/x86_64/wcscmp.S: New file.
12181
1b48c537
UD
12182 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12183 wcscmp-c wcscmp-sse2
12184 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12185 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12186 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12187 * wcsmbs/wcscmp.c: Allow renaming.
12188
15c95c5d
DM
121892011-09-05 David S. Miller <davem@davemloft.net>
12190
12191 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12192 stack slot, rather than the struct return pointer slot.
12193 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12194 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12196 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12197
2f0ad8f3
UD
121982011-09-05 Ulrich Drepper <drepper@gmail.com>
12199
d88ae418
UD
12200 * po/ja.po: Update from translation team.
12201
2f0ad8f3
UD
12202 [BZ #13144]
12203 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12204 kernel in 64-bit binaries.
12205
5f4318d1
DM
122062011-09-01 David S. Miller <davem@davemloft.net>
12207
12208 * elf/elf.h (HWCAP_SPARC_*): Move to..
12209 * sysdeps/sparc/sysdep.h: this new file and add new values.
12210 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12211 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12212 _DL_HWCAP_COUNT to 24.
12213 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12214 entries.
12215 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12216 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12217 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12219 instead of magic constants.
12220 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12221
3ba57516
DM
122222011-08-31 David S. Miller <davem@davemloft.net>
12223
12224 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12226 Reimplement to do errno handling inline.
12227 (SYSCALL_ERROR_HANDLER): New macro.
12228 (__SYSCALL_STRING): Do not do errno handling in asm.
12229 (__CLONE_SYSCALL_STRING): Delete.
12230 (__INTERNAL_SYSCALL_STRING): Delete.
12231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12232 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12233 (PSEUDO): Reimplement to do errno handling inline.
12234 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12235 (SYSCALL_ERROR_HANDLER): New macro.
12236 (__SYSCALL_STRING): Do not do errno handling in asm.
12237 (__CLONE_SYSCALL_STRING): Delete.
12238 (__INTERNAL_SYSCALL_STRING): Delete.
12239 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12240 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12241 i386.
12242 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12243 (inline_syscall*): Add 'err' argument.
12244 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12245 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12246 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12247 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12248
12249 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12250 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12251
2bc17433
AS
122522011-08-30 Andreas Schwab <schwab@redhat.com>
12253
12254 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12255
fbeb5f4d
JO
122562011-08-29 Jiri Olsa <jolsa@redhat.com>
12257
12258 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12259 directive.
12260
ad69cc26
DM
122612011-08-24 David S. Miller <davem@davemloft.net>
12262
12263 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12264
39dd69df
AS
122652011-08-24 Andreas Schwab <schwab@redhat.com>
12266
12267 * elf/Makefile: Add rules to build and run unload8 test.
12268 * elf/unload8.c: New file.
12269 * elf/unload8mod1.c: New file.
12270 * elf/unload8mod1x.c: New file.
12271 * elf/unload8mod2.c: New file.
12272 * elf/unload8mod3.c: New file.
12273
12274 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12275 it wasn't used.
12276
2c0b250a
DM
122772011-08-23 David S. Miller <davem@davemloft.net>
12278
12279 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12280 subtract stack bias.
12281 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12282 %sp not %fp in calculations.
12283 (_JMPBUF_UNWINDS_ADJ): Likewise.
12284
22044b48
DM
12285 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12286 (aio_suspend): Call it to force an exception region around the
12287 AIO_MISC_WAIT() invocation.
12288
2cae4995
AS
122892011-08-23 Andreas Schwab <schwab@redhat.com>
12290
12291 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12292 backslash.
12293
873a772e
AJ
122942011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12295
12296 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12297 protection macro.
12298 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12299 and <dl-machine.h>.
12300 (Elf64_FuncDesc): Remove.
12301
25ad0df1
DM
123022011-08-22 David S. Miller <davem@davemloft.net>
12303
12304 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12305 sigaltstack check, add missing cfi directives.
12306 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12307 missing cfi directives, and sigaltstack handling.
12308
e888bcbe
AS
123092011-08-16 Andreas Schwab <schwab@redhat.com>
12310
12311 [BZ #11724]
12312 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12313 object is seen twice.
12314 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12315
12316 * elf/Makefile (distribute): Add tst-initorder2.c.
12317 (tests): Add tst-initorder2.
12318 (modules-names): Add tst-initorder2a tst-initorder2b
12319 tst-initorder2c tst-initorder2d. Add rules to build them.
12320 ($(objpfx)tst-initorder2.out): New rule.
12321 * elf/tst-initorder2.c: New file.
12322 * elf/tst-initorder2.exp: New file.
12323
87162f46
AS
123242011-08-22 Andreas Schwab <schwab@redhat.com>
12325
70538b7f
AS
12326 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12327
f55ffe58
AS
12328 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12329 dependencies back to end of function.
12330
87162f46
AS
12331 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12332 $(elfobjdir)/ld.so.
12333
91b392a4
UD
123342011-08-21 Ulrich Drepper <drepper@gmail.com>
12335
12336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12337 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12338 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12339 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12340 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12341 of __vdso_gettimeofday.
12342 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12343 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12344 attribute_hidden.
12345 (_libc_vdso_platform_setup): Remove initialization of
12346 __vdso_gettimeofday and __vdso_time.
12347
5c43483f
UD
123482011-08-20 Ulrich Drepper <drepper@gmail.com>
12349
775a77e7
UD
12350 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12351 and fgetc_unlocked.
12352 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12353 getc_unlocked.
89f447ed 12354
49c74ba9
UD
12355 * elf/dl-open.c (add_to_global): Report additions to the global scope
12356 for LD_DEBUG=scopes.
12357 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12358 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12359
5c43483f
UD
12360 [BZ #13114]
12361 * stdio-common/Makefile (tests): Add bug24.
12362 * stdio-common/bug24.c: New file.
12363
a101b025
AJ
123642011-08-19 Andreas Jaeger <aj@suse.de>
12365
12366 [BZ #13114]
12367 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12368 non-existant file when using close-on-exec mode.
12369
c88f1766
UD
123702011-08-20 Ulrich Drepper <drepper@gmail.com>
12371
0276a718
UD
12372 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12373 the very first instruction.
12374
c88f1766
UD
12375 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12376 the CFI state in the end.
12377 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12378 inclusion of dl-trampoline.h.
12379 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12380
51ccffa0
AS
123812011-08-19 Andreas Schwab <schwab@redhat.com>
12382
94d7165f
AS
12383 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12384 expectations for long double.
12385
51ccffa0
AS
12386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12387 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12388
fd708658 123892011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12390
12391 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12392 artificual limit depends upon the system page size.
12393
44f0a71e
UD
123942011-08-17 Ulrich Drepper <drepper@gmail.com>
12395
12396 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12397 * resolv/Makefile: Define CFLAGS-libresolv.
12398
8de79a24
AS
123992011-08-17 Andreas Schwab <schwab@redhat.com>
12400
12401 * nss/makedb.c (compute_tables): Make variables used in nested
12402 function static.
12403
27724598
UD
124042011-08-17 Ulrich Drepper <drepper@gmail.com>
12405
c5305d88
UD
12406 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12407 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12408 if buffer was too small.
12409
27724598
UD
12410 * elf/pldd.c (main): Attach to all threads in the process.
12411 Rewrite /proc handling to use *at functions.
12412
076fe015
UD
124132011-08-16 Ulrich Drepper <drepper@gmail.com>
12414
174baab3
UD
12415 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12416 specifies first scope to show.
12417 (dl_open_worker): Update callers. Move printing scope of new
12418 object to before the relocation.
44f0a71e 12419 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12420 * sysdeps/generic/ldsodefs.h: Update declaration.
12421
076fe015
UD
12422 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12423 string for the scope number.
12424
a60df2c3
UD
124252011-08-14 Ulrich Drepper <drepper@gmail.com>
12426
12427 * nscd/servicescache.c (cache_addserv): Make sure written is always
12428 initialized.
12429
5e4287d1
RM
124302011-08-14 Roland McGrath <roland@hack.frob.com>
12431
85ae0589
RM
12432 * sysdeps/i386/i486/bits/atomic.h
12433 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12434 statement expression, so as to suppress "set but not used" warning.
12435 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12436
69f63097
RM
12437 * string/strncat.c (STRNCAT): Use prototype definition.
12438
675456ef
RM
12439 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12440 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12441 -Iprograms here.
12442 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12443 (localedef-modules): Add localedef.
12444 (locale-modules): Add locale.
12445
5e4287d1
RM
12446 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12447 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12448 to avoid a warning.
12449
9c96ff23
DM
124502011-08-14 David S. Miller <davem@davemloft.net>
12451
12452 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12453 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12454
f9ddf089
UD
124552011-08-13 Ulrich Drepper <drepper@gmail.com>
12456
44f0a71e 12457 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12458 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12459 * elf/rtld.c (dl_main): Set l_name of vDSO.
12460 Call _dl_show_scope when DL_DEBUG_SCOPES.
12461 (process_dl_debug): Recognize scopes flag and also set it for all.
12462 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12463 Declare _dl_show_scope.
12464
1dc27704
UD
12465 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12466 (do_dlopen): Pass caller_dlopen to dl_open.
12467 (__libc_dlopen_mode): Initialize caller_dlopen.
12468
f9ddf089
UD
12469 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12470 of libc. Make tolower call locale-independent. Optimize a bit by
12471 using isdigit instead of isalnum.
12472 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12473
9ac533d3
UD
124742011-08-12 Ulrich Drepper <drepper@gmail.com>
12475
12476 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12477 was a dependency or dynamically loaded.
12478
89edf2e9
UD
124792011-08-11 Ulrich Drepper <drepper@gmail.com>
12480
8e999d29
UD
12481 * intl/l10nflist.c: Allow architecture-specific pop function.
12482 * sysdeps/x86_64/l10nflist.c: New file.
12483
89edf2e9
UD
12484 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12485 classification.
12486
14d96785
AS
124872011-08-10 Andreas Schwab <schwab@redhat.com>
12488
12489 * include/dirent.h: Add libc_hidden_proto for scandirat and
12490 scandirat64. Don't declare __scandirat64.
12491 * dirent/scandirat.c: Add libc_hidden_def.
12492 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12493 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12494
6761ac04
DM
124952011-08-10 David S. Miller <davem@davemloft.net>
12496
12497 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12498 enum.
12499 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12500 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12501 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12502
c55fbd1e
UD
125032011-08-09 Ulrich Drepper <drepper@gmail.com>
12504
12505 * Versions.def [libc]: Add GLIBC_2.15.
12506 * dirent/Makefile (routines): Add scandirat and scandirat64.
12507 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12508 GLIBC_2.15.
12509 * dirent/dirent.h: Declare scandirat and scandirat64.
12510 * dirent/scandirat.c: New file.
12511 * dirent/scandirat64.c: New file.
12512 * sysdeps/wordsize-64/scandirat.c: New file.
12513 * sysdeps/wordsize-64/scandirat64.c: New file.
12514 * dirent/opendir.c: Define opendirat.
12515 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12516 using scandirat.
12517 * dirent/scandir64.c: Adjust for scandir.c change.
12518 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12519 __scandirat64, and __scandir_cancel_handler.
12520 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12521 additional parameter and use openat instead of open (outside of ld.so).
12522 Add new __opendir as wrapper around __opendirat.
12523 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12524 here without requiring old scandirat implementation.
12525
879165f2
UD
125262011-08-08 Ulrich Drepper <drepper@gmail.com>
12527
12528 * dirent/scandir.c (cancel_handler): Renamed to
12529 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12530 defined. Adjust users.
12531 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12532 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12533
cb7e923b
UD
125342011-08-04 Ulrich Drepper <drepper@gmail.com>
12535
16292edd
UD
12536 * string/test-string.h (IMPL): Use __STRING to expand name and then
12537 stringify it.
12538
cb7e923b
UD
12539 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12540 of cleanups.
12541
cff82933
LD
125422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12543
12544 * string/Makefile: Update.
12545 (strop-tests): Append strncat.
12546 * string/test-wcscmp.c: New file.
12547 New comprehensive test for wcscmp.
12548 * string/test-strcmp.c: Update.
12549 (WIDE): New define.
12550
9be9bfcc
AS
125512011-07-22 Andreas Schwab <schwab@redhat.com>
12552
12553 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12554 line.
12555
2e96f1c7
AS
125562011-07-26 Andreas Schwab <schwab@redhat.com>
12557
12558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12559 encoding to ACE if AI_IDN.
12560
85188888
JJ
125612011-08-01 Jakub Jelinek <jakub@redhat.com>
12562
12563 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12564 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12565
5fa16e9b
LD
125662011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12567
12568 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12569 Fix overflow bug in strncat.
12570 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12571
12572 * string/test-strncat.c: Update.
12573 Add new tests for checking overflow bugs.
12574
125752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12576
12577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12578 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12579 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12580 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12581 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12582 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12583 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12584 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12585 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12586
12587 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12588 (USE_AS_STRCAT): Define.
12589 Add strcat and strncat support.
12590 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12591
8c1a459f
AS
125922011-07-25 Andreas Schwab <schwab@redhat.com>
12593
12594 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12595 __n bigger than INT_MAX+1.
12596 (__strncmp_g): Likewise.
12597
bba33c28
UD
125982011-07-23 Ulrich Drepper <drepper@gmail.com>
12599
798be72d
UD
12600 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12601 * libio/stido.h: Likewise.
12602
8accd4dc
UD
12603 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12604 (AF_NFC): Define.
12605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12606 (AF_NFC): Define.
12607
cbff0d96
UD
12608 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12609 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12610 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12611 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12612 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12613
9191c04a
UD
12614 [BZ #13021]
12615 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12616 installed.
12617
bba33c28
UD
12618 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12619 typo.
12620 (_dl_x86_64_save_sse): Likewise.
12621
90f139dd
UD
126222011-07-22 Ulrich Drepper <drepper@gmail.com>
12623
1aae088a
UD
12624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12625 OSXSAVE.
12626 (_dl_x86_64_save_sse): Likewise.
12627
8e2045f5
UD
12628 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12629
90f139dd
UD
12630 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12631
1d002f25
AS
126322011-07-21 Andreas Schwab <schwab@redhat.com>
12633
12634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12635 change.
12636 (_dl_x86_64_save_sse): Use correct AVX check.
12637
21137f89
UD
126382011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12639
12640 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12641 bug in strncpy/strncat.
12642 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12643
a65c0b7a
UD
126442011-07-21 Ulrich Drepper <drepper@gmail.com>
12645
12646 * string/tester.c (test_strcat): Add tests for different alignments
12647 of source and destination.
12648 (test_strncat): Likewise.
12649
6986b98a
UD
126502011-07-20 Ulrich Drepper <drepper@gmail.com>
12651
90bb2039
UD
12652 [BZ #12852]
12653 * posix/glob.c (glob): Check passed in values before using them in
12654 expressions to avoid some overflows.
12655 (glob_in_dir): Likewise.
12656
5644ef54
UD
12657 [BZ #13007]
12658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12659 check for AVX enablement so that we don't crash with old kernels and
12660 new hardware.
12661 * elf/tst-audit4.c: Add same checks here.
12662 * elf/tst-audit6.c: Likewise.
12663
12664 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12665
bfc9dc9b
AS
126662011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12667
12668 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12669
702e64bb
UD
126702011-07-20 Ulrich Drepper <drepper@gmail.com>
12671
12672 * po/cs.po: Update from translation team.
12673 * po/bg.po: Likewise.
12674
295e904f
MP
126752011-07-12 Marek Polacek <mpolacek@redhat.com>
12676
12677 * misc/sys/cdefs.h: Add support for const attribute.
12678 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12679 to gnu_dev_{major,minor,makedev} functions.
12680
3ff94596
MP
126812011-07-20 Marek Polacek <mpolacek@redhat.com>
12682
12683 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12684
28b59fca
AS
126852011-07-20 Andreas Schwab <schwab@redhat.com>
12686
12687 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12688 strlen results.
12689
19df733e
AK
126902011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12691
12692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12693 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12694 register in order to avoid conflicts with the soft frame pointer
12695 being held in r11 when necessary.
12696 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12697 (INTERNAL_VSYSCALL_NCS): Likewise.
12698
c8835729
MP
126992011-07-14 Marek Polacek <mpolacek@redhat.com>
12700
12701 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12702 * elf/dl-fini.c (_dl_fini): Adjust caller.
12703 * elf/dl-close.c (_dl_close_worker): Likewise.
12704 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12705
b902330c
MP
127062011-07-15 Marek Polacek <mpolacek@redhat.com>
12707
8991e135
MP
12708 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12709 "aux_cache->nlibs < 0".
12710
b902330c
MP
12711 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12712 in the reload-count case.
12713
99710781
LD
127142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12715
12716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12717 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12718 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12719 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12720 * sysdeps/x86_64/multiarch/strcat.S: New file.
12721 * sysdeps/x86_64/multiarch/strncat.S: New file.
12722 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12723 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12724 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12725 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12726 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12727 (USE_AS_STRCAT): Define.
12728 Add strcat and strncat support.
12729 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12730 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12731 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12732 * string/strncat.c: Update.
12733 (USE_AS_STRNCAT): Define.
12734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12735 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12736 and i7.
12737 * sysdeps/x86_64/multiarch/init-arch.h
12738 (bit_Prefer_PMINUB_for_stringop): New.
12739 (index_Prefer_PMINUB_for_stringop): Likewise.
12740 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12741 bit_Prefer_PMINUB_for_stringop.
12742
7dc6bd90
UD
127432011-07-19 Ulrich Drepper <drepper@gmail.com>
12744
12745 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12746 buffer64.
12747 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12748 of casting of buffer.
12749 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12750 buffer32 and buffer64.
12751 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12752 writes instead of casting of buffer.
12753 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12754 buffer32.
12755 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12756 casting of buffer.
12757
e0e72284
AS
127582011-07-19 Andreas Schwab <schwab@redhat.com>
12759
12760 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12761
feb1eb0b
UD
127622011-07-19 Ulrich Drepper <drepper@gmail.com>
12763
12764 * nscd/nscd.c (termination_handler): Don't do anything for a database
12765 if it has not yet been initialized.
12766
298711ff
UD
127672011-07-18 Ulrich Drepper <drepper@gmail.com>
12768
12769 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12770
127712011-07-15 Marek Polacek <mpolacek@redhat.com>
12772
12773 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12774
f9d68389
UD
127752011-07-18 Ulrich Drepper <drepper@gmail.com>
12776
12777 * po/nl.po: Update from translation team.
12778 * po/sv.po: Likewise.
12779
db290cf5
RM
127802011-07-16 Roland McGrath <roland@hack.frob.com>
12781
12782 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12783 now disallowed by GCC.
5c550700 12784
fd5e21c7
RM
12785 * configure.in (use-default-link): Default to yes if a test -shared
12786 link meets our qualifications.
12787 * configure: Regenerated.
12788
5c550700
RM
12789 * config.make.in (output-format): New variable.
12790 * configure.in: Check for ld --print-output-format support.
12791 * configure: Regenerated.
12792 * Makerules ($(common-objpfx)format.lds)
12793 [$(output-format) != unknown]: Just use $(output-format),
12794 instead of the linker-script munging.
12795
9fa2c032
RM
127962011-07-14 Roland McGrath <roland@hack.frob.com>
12797
a6928d51
RM
12798 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12799 of $(common-objpfx)shlib.lds.
12800 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12801
661607b3
RM
12802 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12803 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12804
9fa2c032
RM
12805 * configure.in (-z relro check): Adjust test code to add a large
12806 writable data section after it.
12807 * configure: Regenerated.
12808
defe9061
RM
128092011-07-11 Roland McGrath <roland@hack.frob.com>
12810
12811 * configure.in (-z relro check): Fix test code to make the variable
12812 truly const.
12813 * configure: Regenerated.
12814
319b9ad4
UD
128152011-07-11 Ulrich Drepper <drepper@gmail.com>
12816
12817 * nscd/nscd.h (struct traced_file): Define.
12818 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12819 elements. Add traced_files.
12820 (inotify_fd): Declare.
12821 (register_traced_file): Declare.
12822 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12823 (inotify_fd): Export.
12824 (resolv_conf_descr): Remove.
12825 (nscd_init): Move inotify descriptor creation to main.
12826 Don't register files for notification here.
12827 (register_traced_file): New function.
12828 (invalidate_cache): Don't use reset_res to determine whether to call
12829 res_init, go through the list of registered files.
12830 (main_loop_poll): The inotify descriptors are now stored in the
12831 structures for the traced files.
12832 (main_loop_epoll): Likewise
12833 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12834 to __nss_disable_nscd.
12835 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12836 for a database anymore. Check the records for all the registered
12837 files instead.
12838 * nss/Makefile (libnss_files-routines): Add files-init.
12839 (libnss_db-routines): Add db-init.
12840 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12841 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12842 * nss/nss_db/db-init.c: New file.
12843 * nss/nss_files/files-init.c: New file.
12844 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12845 __nss_lookup_function.
12846 (__nss_lookup_function): Call nss_load_library.
12847 (nss_load_all_libraries): New function.
12848 (__nss_disable_nscd): Take parameter with callback function for files
12849 to register. Set is_nscd. Load all the DSOs for the NSS modules
12850 used for the cached services.
12851 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12852 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12853 options for features to all the files in nscd.
12854
12855 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12856
23bee3e8
RM
128572011-07-10 Roland McGrath <roland@hack.frob.com>
12858
12859 * csu/elf-init.c (__libc_csu_init): Comment typo.
12860
46a5b7f0
UD
128612011-07-09 Ulrich Drepper <drepper@gmail.com>
12862
12863 * po/pl.po: Update from translation team.
12864 * po/ja.po: Likewise.
12865 * po/ru.po: Likewise.
12866 * po/ko.po: Likewise.
12867 * po/fr.po: Likewise.
12868
d30cf5bb
RM
128692011-07-09 Roland McGrath <roland@hack.frob.com>
12870
113ddea4
RM
12871 * configure.in (.ctors/.dtors header and trailer check):
12872 Use an empirical test on a built program.
12873 * configure: Regenerated.
12874
574920b4
RM
12875 * configure.in (-z relro check): Use an empirical test on a built DSO.
12876 Detect, but do not require, on ia64.
12877 * configure: Regenerated.
12878
d30cf5bb
RM
12879 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12880 Update tests that use readelf to use $READELF instead.
12881 * configure: Regenerated.
12882
8538fdb3
UD
128832011-07-08 Ulrich Drepper <drepper@gmail.com>
12884
12885 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12886 if the result is not used.
12887
04d08991
AJ
128882011-07-05 Andreas Jaeger <aj@suse.de>
12889
12890 [BZ#9696]
12891 * stdlib/tst-strtod.c: Add testcase.
12892
de283087
AD
128932011-07-07 Ulrich Drepper <drepper@gmail.com>
12894
4e5f31c8 12895 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12896 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12897 The latter has a higher limit. Take additional parameter to pass to
12898 the new function.
12899 (__pathconf): Pass file to __statfs_link_max.
12900 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12901 __statfs_link_max.
12902 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12903 __statfs_link_max.
12904
de283087
AD
12905 [BZ #12868]
12906 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12907 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12908 Handle Lustre.
12909 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12910 (__statfs_filesize_max): Likewise.
12911 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12912
c75fa153
AJ
129132011-07-05 Andreas Jaeger <aj@suse.de>
12914
12915 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12916
1a544854
UD
129172011-07-06 Marek Polacek <mpolacek@redhat.com>
12918
12919 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12920 `status' variable.
12921 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12922 Likewise.
12923
6f0eec67
UD
129242011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12925
12926 * Makefile (strop-tests): Add strncat.
12927 * string/test-strncat.c: New file.
12928
aae30307
UD
129292011-06-30 Marek Polacek <mpolacek@redhat.com>
12930
12931 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12932
c0cfb5eb
UD
129332011-06-21 Andreas Jaeger <aj@suse.de>
12934
12935 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12936 Copy rule from iconvdata/Makefile.
12937
01636b21
UD
129382011-07-06 Ulrich Drepper <drepper@gmail.com>
12939
12940 [BZ #12922]
12941 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12942 but no long options are defined, just return 'W'.
12943
9895c8bc
UD
129442011-06-22 Marek Polacek <mpolacek@redhat.com>
12945
12946 [BZ #9696]
12947 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12948
5d4cf042
UD
129492011-07-06 Ulrich Drepper <drepper@gmail.com>
12950
12951 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12952 netgroups to read.
960e5535 12953 (innetgr): Likewise.
5d4cf042 12954
751eb97e
RM
129552011-07-05 Roland McGrath <roland@hack.frob.com>
12956
12957 * config.make.in (install_root): Default to $(DESTDIR).
12958
f15f1e45
UD
129592011-07-05 Ulrich Drepper <drepper@gmail.com>
12960
12961 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12962
4e34ac6a
RM
129632011-07-02 Roland McGrath <roland@hack.frob.com>
12964
5e9b6af4
RM
12965 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12966
84f9ea0f
RM
12967 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12968 containing directory rather than embedding absolute directory names.
12969
ea5ee9f7
RM
12970 * scripts/check-local-headers.sh: Rewritten using awk.
12971 Match by word, not by line. Print error messages for matches.
12972 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12973
1b74661a
RM
12974 * Makerules [shlib-lds-flags empty]:
12975 ($(common-objpfx)libc_pic.opts): New target.
12976 ($(common-objpfx)libc_pic.os.clean): New target.
12977 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12978
12979 * config.make.in (OBJCOPY): New variable.
12980 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12981 * configure: Regenerated.
12982
f781ef40
RM
12983 * config.make.in (use-default-link): New variable.
12984 * configure.in (use_default_link): Grok --with-default-link to set it.
12985 * configure: Regenerated.
12986 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12987 (shlib-lds, shlib-lds-flags): Define to empty.
12988
2d4fa81e
RM
12989 * Makerules (shlib-lds): New variable.
12990 (shlib-lds-flags): New variable.
12991 (build-shlib, build-moduile, build-module-asneeded): Use it.
12992 ($(common-objpfx)libc.so): Use $(shlib-lds).
12993 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12994 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12995
31fffa6b
RM
12996 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12997 DT_FLAGS/DT_FLAGS_1 with zero flags.
12998
4e34ac6a
RM
12999 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13000 linker script munging.
13001
fcfc776b
UD
130022011-07-02 Ulrich Drepper <drepper@gmail.com>
13003
13004 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13005 as 128-bit value.
13006 * crypt/sha512.c (sha512_process_block): Perform total addition using
13007 128-bit if possible.
13008 (__sha512_finish_ctx): Likewise.
13009 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13010 as 64-bit value.
13011 * crypt/sha256.c (SWAP64): Define.
13012 (sha256_process_block): Perform total addition using 64-bit if
13013 possible.
13014 (__sha256_finish_ctx): Likewise.
13015
99231d9a
UD
130162011-07-01 Ulrich Drepper <drepper@gmail.com>
13017
13018 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13019 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13020 * nscd/hstcache.c (cache_addhst): Likewise.
13021 * nscd/grpcache.c (cache_addgr): Likewise.
13022 * nscd/aicache.c (addhstaiX): Likewise
13023 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13024
445b4a53
TK
130252011-07-01 Thorsten Kukuk <kukuk@suse.de>
13026
13027 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13028 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13029 * nscd/hstcache.c (cache_addhst): Likewise.
13030 * nscd/grpcache.c (cache_addgr): Likewise.
13031 * nscd/aicache.c (addhstaiX): Likewise
13032
6d4d8e8e
AS
130332011-07-01 Andreas Schwab <schwab@redhat.com>
13034
13035 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13036 domain only when needed.
13037
89f654c5
AS
130382011-06-30 Andreas Schwab <schwab@redhat.com>
13039
13040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13041 is always restored.
13042
cf3b23ff
UD
130432011-06-29 Ulrich Drepper <drepper@gmail.com>
13044
13045 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13046 are re-adding the entry.
13047 * nscd/servicescache.c (cache_addserv): Likewise.
13048
751626f9
AJ
130492011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13050
13051 * sysdeps/generic/dl-irel.h: fix protection against multiple
13052 inclusions.
13053 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13054
9113ea1f
UD
130552011-06-28 Ulrich Drepper <drepper@gmail.com>
13056
5c0b8d90
UD
13057 [BZ #12935]
13058 * malloc/memusage.sh: Fix quoting in message.
13059 * debug/xtrace.sh: Likewise.
13060
9113ea1f
UD
13061 * configure.in: Remove support for --experimental-malloc option, make
13062 it the default.
13063 * config.make.in: Likewise.
13064 * malloc/Makefile: Likewise.
13065
a4172181
AS
130662011-06-27 Andreas Schwab <schwab@redhat.com>
13067
13068 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13069 two-byte characters.
13070
78a7eee7
RM
130712011-06-27 Roland McGrath <roland@hack.frob.com>
13072
62bede13
RM
13073 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13074 AC_CACHE_CHECK invocation.
13075 * configure: Regenerated.
13076
78a7eee7
RM
13077 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13078
5ce33a62
UD
130792011-06-27 Ulrich Drepper <drepper@gmail.com>
13080
034807a9
UD
13081 [BZ #12350]
13082 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13083 bit from old_res_options.
13084
4902da17
UD
13085 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13086
5ce33a62
UD
13087 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13088 value type for setfct.
13089
c2344f56
L
130902011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13091
13092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13093 __gettimeofday instead of gettimeofday.
13094
68468076
UD
130952011-06-26 Ulrich Drepper <drepper@gmail.com>
13096
13097 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13098
acb0d739
L
130992011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13100
13101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13102
13103 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13104 info.
13105
8912479f
L
131062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13107
13108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13109 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13110 strcpy-sse2-unaligned strncpy-sse2-unaligned
13111 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13112 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13113 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13114 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13115 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13116 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13117 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13118 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13119 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13120 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13121 (STRCPY): Support SSE2 and SSSE3 versions.
13122
d5495a11
UD
131232011-06-24 Ulrich Drepper <drepper@gmail.com>
13124
13125 [BZ #12874]
13126 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13127 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13128 kernels which artificially limit size of requests.
13129
0b1cbaae
L
131302011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13131
13132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13133 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13134 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13135 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13136 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13137 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13138 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13139 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13140 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13141 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13142 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13143 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13144 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13145 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13146 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13148 Enable unaligned load optimization for Intel Core i3, i5 and i7
13149 processors.
13150 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13151 Define.
13152 (index_Fast_Unaligned_Load): Define.
13153 (HAS_FAST_UNALIGNED_LOAD): Define.
13154
07f494a0
MP
131552011-06-23 Marek Polacek <mpolacek@redhat.com>
13156
13157 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13158
fa3fc0fe
UD
131592011-06-22 Ulrich Drepper <drepper@gmail.com>
13160
13161 [BZ #12907]
13162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13163 until it is clear that the information is realy needed.
13164 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13165
e12df166
AS
131662011-06-22 Andreas Schwab <schwab@redhat.com>
13167
13168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13169
852eb34d
UD
131702011-06-22 Ulrich Drepper <drepper@gmail.com>
13171
84e2a551
UD
13172 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13173 /sys/devices/system/cpu/online if it is usable.
13174
852eb34d
UD
13175 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13176 reading the information from the /proc filesystem to once a second.
13177
6e502e19
UD
131782011-06-21 Andreas Jaeger <aj@suse.de>
13179
13180 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13181 NULL after inclusion of kernel headers.
13182
75d39ff2
UD
131832011-06-21 Ulrich Drepper <drepper@gmail.com>
13184
51f9aa6a
UD
13185 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13186 calls to internal_setent.
13187
c0244a9d
UD
13188 [BZ #12885]
13189 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13190 addresses using gethostbyname4_r ignore IPv4 addresses.
13191
c5e3c2ae
UD
13192 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13193 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13194
75d39ff2
UD
13195 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13196
42675c6f
DM
131972011-06-20 David S. Miller <davem@davemloft.net>
13198
13199 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13200 inclusions.
13201 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13202
13203 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13204 (elf_irel): Use it.
13205 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13206 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13207 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13208 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13209 * sysdeps/x86_64/dl-irel.h: Likewise.
13210
13211 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13212 * elf/dl-sym.c: Likewise.
13213
57912a71
UD
132142011-06-15 Ulrich Drepper <drepper@gmail.com>
13215
13216 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13217 need to dereference resplen2.
13218
ee22793d
AS
132192011-06-14 Andreas Schwab <schwab@redhat.com>
13220
13221 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13222
a9e836b0
UD
132232011-06-15 Ulrich Drepper <drepper@gmail.com>
13224
77fb9117
UD
13225 * Makeconfig: Define vardbdir and inst_vardbdir.
13226 * nss/Makefile: Add rules to install db-Makefile.
13227
40c1b22c
UD
13228 * nss/nss_db/db-XXX.c: Cleanup.
13229
9f2da732
UD
13230 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13231 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13232 GLIBC_PRIVATE.
13233 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13234 * nss/makedb.c: Implement -g option to specify that value strings
13235 are generated and should not be added to table iterated over for
13236 get*ent calls.
13237 * nss/nss_db/db-initgroups.c: New file.
13238
82e9a1f7
UD
13239 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13240 interface.
13241
c41af17e
UD
13242 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13243 (internal_getgrouplist): Adjust to name change.
13244 Update use_initgroups_entry if this is not the first call.
13245 * nss/databases.def: Add initgroups entry.
13246
a9e836b0
UD
13247 * nss/makedb.c (compute_tables): Check result of multiple hash table
13248 sizes to minimize maximum chain length.
13249
2666d441
UD
132502011-06-14 Ulrich Drepper <drepper@gmail.com>
13251
13252 * Versions.def: Add entry for libnss_db.
13253 * shlib-versions: Likewise.
13254 * nss/Makefile: Add rules to build libnss_db.
13255 * nss/Versions: Add libnss_db information. Organize libnss_files
13256 entries better.
13257 * nss/db-Makefile: Add gshadow support. Change rules for the new
13258 makedb progra. Some minor improvements to generate smaller files.
13259 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13260 here from...
13261 * nss/makedb.c: ...here.
13262 Improve database format to be smaller and require less memory at
13263 runtime.
13264 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13265 db anymore.
13266 * nss/nss_db/db-netgrp.c: Likewise.
13267 * nss/nss_db/db-open.c: Likewise.
13268 * nss/nss_files/flies-XXX.x: Adjust comments.
13269 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13270 * nss/nss_files/files-grp.c: Likewise.
13271 * nss/nss_files/files-hosts.c: Likewise.
13272 * nss/nss_files/files-network.c: Likewise.
13273 * nss/nss_files/files-proto.c: Likewise.
13274 * nss/nss_files/files-pwd.c: Likewise.
13275 * nss/nss_files/files-rpc.c: Likewise.
13276 * nss/nss_files/files-service.c: Likewise.
13277 * nss/nss_files/files-sgrp.c: Likewise.
13278 * nss/nss_files/files-spwd.c: Likewise.
13279 * nss/nss_db/db-alias.c: Removed.
13280 * nss/nss_db/dummy-db.h: Removed.
13281
9ee76b5a
UD
132822011-06-02 Ulrich Drepper <drepper@gmail.com>
13283
13284 * nss/makedb.c: Rewritten to not use database library.
13285 * nss/Makefile: Update to build new makedb program.
13286
c71ca1f8
AJ
132872011-06-14 Andreas Jaeger <aj@suse.de>
13288
13289 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13290 memset declaration.
13291
3154bfb8
UD
132922011-06-10 Andreas Schwab <schwab@redhat.com>
13293
13294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13295 tmpbuf.
13296
b350afab
RM
132972011-06-10 Roland McGrath <roland@hack.frob.com>
13298
decd4e50
RM
13299 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13300 * elf/Makefile ($(objpfx)ld.so): Likewise.
13301
5615eaf2
RM
13302 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13303 Don't list ld.so twice in dependencies.
13304
13305 * posix/bug-regex31.c: Include <stdlib.h>.
13306
13307 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13308
13309 * nis/nss_compat/compat-spwd.c
13310 (getspent_next_nss_netgr): Remove unused variable.
13311 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13312
13313 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13314 nonmembers" output to use the right array.
13315
13316 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13317
13318 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13319
13320 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13321 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13322 * catgets/gencat.c (read_input_file): Likewise.
13323 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13324
13325 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13326 variable definition inside #if's controlling its use.
13327
13328 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13329
13330 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13331
13332 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13333
13334 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13335 unreachable code.
13336
13337 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13338
b68e08db
RM
13339 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13340 * configure: Regenerated.
13341
b350afab
RM
13342 * Makerules: Revert last change.
13343 * elf/Makefile: Likewise.
13344
28368601
RM
133452011-06-09 Roland McGrath <roland@hack.frob.com>
13346
13347 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13348 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13349 (reloc-link): Likewise.
13350
11988f8f
UD
133512011-06-09 Ulrich Drepper <drepper@gmail.com>
13352
13353 * elf/Makefile: Add rules to build pldd.
13354 * elf/pldd.c: New file.
13355 * elf/pldd-xx.c: New file.
13356
e80fab37
UD
133572011-06-07 Ulrich Drepper <drepper@gmail.com>
13358
13359 * version.h: Update for 2.15 development version.
13360
9b849836
DM
133612011-06-07 David S. Miller <davem@davemloft.net>
13362
13363 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13364 ifuncs.
13365 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13366 elf_machine_lazy_rel): Likewise.
13367 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13368 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13369 elf_machine_lazy_rel): Likewise.
13370 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13371 dl_hwcap via passed in argument.
13372 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13373 Likewise.
13374
5a31b283
AK
133752011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13376
13377 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13378
069e52f8
RM
133792011-06-06 Roland McGrath <roland@hack.frob.com>
13380
13381 [BZ #12849]
13382 * manual/fdl-1.1.texi: New file, verbatim from:
13383 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13384 * manual/lgpl-2.1.texi: New file, verbatim from:
13385 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13386 * manual/Makefile (licenses): New variable, list those new file names.
13387 (texis): Use it.
13388 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13389
13390 * manual/fdl.texi: File removed.
13391 * manual/lesser.texi: File removed.
13392 * manual/libc.texinfo (Copying, Documentation License):
13393 Use new @include file names, put @appendix directive before @include.
13394
f16846a5
JJ
133952011-06-04 Jakub Jelinek <jakub@redhat.com>
13396
13397 [BZ #12841]
13398 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13399 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13400 (mq_open): Add __NTH.
13401
3d29045b
L
134022011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13403
13404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13405 Assume Intel Core i3/i5/i7 processor if AVX is available.
13406
8c297311
UD
134072011-05-31 Ulrich Drepper <drepper@gmail.com>
13408
13409 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13410 typo.
13411
c8fc0c91
UD
134122011-05-31 Andreas Schwab <schwab@redhat.com>
13413
13414 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13415 memory. Use alloca_account. Fix memory leak when retrying.
13416
5b27a807
UD
134172011-05-31 Ulrich Drepper <drepper@gmail.com>
13418
356f8bc6
UD
13419 * version.h (RELEASE): Bump for 2.14 release.
13420 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13421
5b27a807
UD
13422 * config.make.in (RANLIB): Remove entry.
13423
01f16ab0
UD
134242011-05-30 Ulrich Drepper <drepper@gmail.com>
13425
41fce8bd
UD
13426 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13427 (libc.pot): Work around missing support for .ksh extension in xgettext.
13428
4769ae77
UD
13429 [BZ #12684]
13430 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13431 if both request failed.
13432 (send_dg): In case of server errors clear resplen or *resplen2.
13433
6b1e7d19
UD
13434 [BZ #12454]
13435 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13436 when there are multiple maps.
13437 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13438 (_dl_fini): Remove test here.
13439
01f16ab0
UD
13440 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13441
b1ebd700
UD
134422011-05-29 Ulrich Drepper <drepper@gmail.com>
13443
7ae22829
UD
13444 [BZ #12350]
13445 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13446 bit from old_res_options.
13447 (gaih_inet): Likewise.
13448
553149f6 13449 [BZ #11099]
18a84741 13450 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13451 as signed.
13452
652ffab1
UD
13453 * resolv/res_init.c (res_setoptions): Make the code more compact.
13454
16985fd0
UD
13455 [BZ #11558]
13456 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13457 set RES_USEVC.
13458
0464f746
UD
13459 [BZ #11634]
13460 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13461
7d17596c
UD
13462 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13463
cf6bbbd7
UD
13464 [BZ #11781]
13465 * malloc/malloc.h: Declare malloc hook variables as volatile.
13466
13f1ab36
UD
13467 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13468 in last patch.
13469
b1ebd700
UD
13470 [BZ #11799]
13471 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13472 raise in the comment.
80e2212d
UD
13473 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13474 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13475 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13476
ce67228d
UD
134772011-05-28 Ulrich Drepper <drepper@gmail.com>
13478
8887a920
UD
13479 [BZ #12811]
13480 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13481 grow the buffers more if it already has to be sufficient.
13482 (build_wcs_upper_buffer): Likewise.
13483 * posix/regexec.c (check_matching): Likewise.
13484 (clean_state_log_if_needed): Likewise.
13485 (extend_buffers): Don't enlarge buffers beyond size of the input
13486 buffer.
13487 Patches mostly by Emil Wojak <emil@wojak.eu>.
13488 * posix/bug-regex32.c: New file.
13489 * posix/Makefile (tests): Add bug-regex32.
13490
4f031072
UD
13491 * locale/findlocale.c (_nl_find_locale): Return right away if
13492 _nl_explode_name failed.
13493 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13494
d0478f0c
UD
13495 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13496
de81b246
UD
13497 * debug/xtrace.sh: Unify messages.
13498 * malloc/memusage.sh: Likewise.
13499
c738465a
UD
13500 [BZ #12813]
13501 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13502 time symbol from vDSO. Substitute with vsyscall if not available.
13503 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13504 __vdso_time.
13505
f1f929d7
UD
13506 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13507 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13508 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13509 Add sendmmsg and internal_sendmmsg.
13510 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13511 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13512 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13513
ce67228d
UD
13514 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13515 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13516 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13517
e57420c6
UD
135182011-05-27 Ulrich Drepper <drepper@gmail.com>
13519
a8509ca5
UD
13520 [BZ #12813]
13521 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13522 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13523 available.
13524 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13525 __vdso_getcpu.
13526
e57420c6
UD
13527 [BZ #12814]
13528 * iconvdata/Makefile (tests): Add bug-iconv9.
13529 * iconvdata/bug-iconv9.c: New file.
13530
4d07db15
AS
135312011-05-27 Andreas Schwab <schwab@redhat.com>
13532
13533 [BZ #12814]
13534 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13535
ea486f69
JJ
135362011-05-25 Jakub Jelinek <jakub@redhat.com>
13537
13538 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13539 (struct user_regs_struct): Change intcs field back to cs.
13540
6f038433
UD
135412011-05-25 Ulrich Drepper <drepper@gmail.com>
13542
13543 * po/ja.po: Update from translation team.
13544
67f86a25
UD
135452011-05-23 Ulrich Drepper <drepper@gmail.com>
13546
13547 [BZ #12795]
13548 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13549 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13550
def7fbd6
AS
135512011-05-20 Andreas Schwab <schwab@redhat.com>
13552
13553 * stdlib/longlong.h: Update from GCC.
13554
f50ef8f1
AS
135552011-05-23 Andreas Schwab <schwab@redhat.com>
13556
13557 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13558 parameter name.
13559 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13560 Add parameter name.
13561 (__sysconf): Pass it down.
13562
de7ce8f1
UD
135632011-05-22 Ulrich Drepper <drepper@gmail.com>
13564
f2962a71
UD
13565 [BZ #12671]
13566 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13567 some situations.
13568 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13569 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13570 add in in __libc_use_alloca calls. Adjust callers.
13571 (glob): Use malloc in some situations.
13572
de7ce8f1
UD
13573 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13574 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13575 pltexit.
13576
aec84f53
UD
135772011-05-21 Ulrich Drepper <drepper@gmail.com>
13578
05bb4a68
UD
13579 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13580 and CLOCK_BOOTTIME_ALARM.
13581
7ea72f99
UD
13582 [BZ #12782]
13583 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13584 is returned.
13585
7e4afad5
UD
13586 * string/_strerror.c (__strerror_r): Print negative errors as signed
13587 numbers.
13588
8e211fec
UD
13589 [BZ #12777]
13590 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13591 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13592 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13593
f7d82dc9
UD
13594 * configure.in: Fix typo in redirection and correct removal of test
13595 files in two cases.
13596
cc9e536d
UD
13597 [BZ #12788]
13598 * locale/setlocale.c (new_composite_name): Fix test to check for
13599 identical name of all categories.
13600
aec84f53
UD
13601 [BZ #12792]
13602 * libio/filedoalloc.c (local_isatty): New function.
13603 (_IO_file_doallocate): Use local_isatty.
13604 * stdio-common/perror.c (perror): In case a new stream is used
13605 forward the stream error.
13606 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13607 error flag.
13608
78e64fdc
RT
136092011-05-20 Ulrich Drepper <drepper@gmail.com>
13610
34a9094f
UD
13611 [BZ #11869]
13612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13613 alloca.
13614 * include/alloca.h (extend_alloca_account): Define.
13615
78e64fdc
RT
13616 [BZ #11857]
13617 * posix/regex.h: Fix comments with documentation of user-accessible
13618 fields after compilation and describe correct free'ing of pattern
13619 after re_compile_pattern.
13620 Patch by Reuben Thomas <rrt@sc3d.org>.
13621
457bddfc
RA
136222011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13623
13624 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13625 and -mno-altivec to prevent the compiler from using Altivec and/or
13626 VSX instructions when the corresponding registers are not available.
13627
a4527b51
AS
136282011-05-19 Andreas Schwab <schwab@redhat.com>
13629
13630 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13631
ed690b2f
UD
136322011-05-19 Ulrich Drepper <drepper@gmail.com>
13633
13634 * libio/freopen.c (freopen): Use __dup2, not dup2.
13635 * libio/freopen64.c (freopen64): Likewise.
13636
8db73634
L
136372011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13638
13639 [BZ #12775]
13640 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13641 * math/Makefile (tests): Add test-powl.
13642 (CFLAGS-test-powl.c): Define.
13643 * math/test-powl.c: New file.
13644
0a197a9d
L
136452011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13646
13647 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13648
ee30c380
UD
136492011-05-17 Ulrich Drepper <drepper@gmail.com>
13650
13651 [BZ #11837]
13652 * iconvdata/gb18030.c: Update to GB18020-2005.
13653
6ce75379
UD
136542011-05-16 Ulrich Drepper <drepper@gmail.com>
13655
a4b89fd8
AR
13656 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13657 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13658 Patch by Aharon Robbins <arnold@skeeve.com>.
13659
ea389b12
UD
13660 [BZ #11892]
13661 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13662 on the stack.
13663
68a3f91f
UD
13664 [BZ #11895]
13665 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13666 through underflows.
13667
15cc7dd1
UD
13668 [BZ #12766]
13669 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13670 point to strings before performing equality test for error_one_per_line
13671 mode.
13672
f3799213
UD
13673 [BZ #11697]
13674 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13675
d79a9c94
UD
13676 [BZ #11820]
13677 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13678 (struct user_fpregs_struct): Avoid __uint*_t types.
13679
56e5eb46
UD
13680 [BZ #6420]
13681 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13682 symbol info. Use it instead of calling _dl_addr locally.
13683 (lock_and_info): New function.
13684 (tr_freehook): Call lock_and_info and pass symbol info as additional
13685 parameter to tr_where.
13686 (tr_mallochook): Likewise.
13687 (tr_reallochook): Likewise.
13688 (tr_memalignhook): Likewise.
13689
6ce75379
UD
13690 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13691 used and couldn't be at all thread-safe.
13692
f8a3b5bf
UD
136932011-05-15 Ulrich Drepper <drepper@gmail.com>
13694
94b7cc37
UD
13695 * libio/freopen.c (freopen): Don't close old file descriptor
13696 before the new one is opened. Instead dup the new file descriptor
13697 to the old one after the new stream is created.
13698 * libio/freopen64.c (freopen64): Likewise.
13699 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13700 * libio/fileops.c (_IO_new_file_close_it): Handle new
13701 _IO_FLAGS2_NOCLOSE flag.
13702 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13703 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13704 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13705 _IO_FLAGS2_NOCLOSE flag.
13706 * include/unistd.h: Add hidden_proto for dup3.
13707 Define __have_dup3.
13708 * io/dup3.c: Define hidden symbol.
13709 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13710
bd25564e
UD
13711 [BZ #7101]
13712 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13713 when an incomplete long option is used.
13714 * posix/tst-getopt_long1.c: New file.
13715 * posix/Makefile (tests): Add tst-getopt_long1.
13716
c84cfef4
UD
13717 [BZ #10138]
13718 * scripts/config.guess: Update from autoconf-2.68.
13719 * scripts/config.sub: Likewise.
13720
3b85df27
UD
13721 [BZ #10157]
13722 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13723 tests into ...
13724 (has_cpuclock): ...this. New function.
13725 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13726 macro here based on has_cpuclock code.
13727
15a856b1
UD
13728 [BZ #10149]
13729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13730 First byte (not low byte) is now always NUL.
13731 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13732
05f399e6
UD
13733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13734 Use non-cancelable interfaces.
13735
10a52685 13736 [BZ #9809]
94ecc67d
UD
13737 * locale/iso-639.def: Add entry for Sorani.
13738
f8a3b5bf
UD
13739 [BZ #11901]
13740 * include/stdlib.h: Move include protection to the right place.
13741 Define abort_msg_s. Declare __abort_msg with it.
13742 * stdlib/abort.c (__abort_msg): Adjust type.
13743 * assert/assert.c (__assert_fail_base): New function. Majority
13744 of code from __assert_fail. Allocate memory for __abort_msg with
13745 mmap.
13746 (__assert_fail): Now call __assert_fail_base.
13747 * assert/assert-perr.c: Remove bulk of implementation. Use
13748 __assert_fail_base.
13749 * include/assert.hL Declare __assert_fail_base.
13750 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13751 mmap.
13752 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13753
1af4e298
UD
137542011-05-14 Ulrich Drepper <drepper@gmail.com>
13755
f8a3b5bf 13756 [BZ #11952]
d26dfc60
MG
13757 [BZ #12453]
13758 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13759 until all modules are registered in the DTV.
13760 * elf/Makefile: Add rules to build and run tst-tls19.
13761 * elf/tst-tls19.c: New file.
13762 * elf/tst-tls19mod1.c: New file.
13763 * elf/tst-tls19mod2.c: New file.
13764 * elf/tst-tls19mod3.c: New file.
13765 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13766
2fc54d6f
UD
13767 [BZ #12083]
13768 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13769 correctly.
13770
98d76b46
UD
13771 [BZ #12601]
13772 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13773 two-byte sequence errors.
13774 * iconvdata/Makefile (tests): Add bug-iconv8.
13775 * iconvdata/bug-iconv8.c: New file.
13776
da3c19ef
UD
13777 [BZ #12626]
13778 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13779 buf2 definition.
13780
ca408c15
UD
13781 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13782
d6f67f7d
UD
13783 [BZ #12432]
13784 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13785 (dummy_getcfa): New function.
13786 (init): Get _Unwind_GetCFA address, use dummy if not found.
13787 (backtrace_helper): In recursion check, also check whether CFA changes.
13788 (__backtrace): Completely initialize arg.
13789
1af4e298 13790 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13791 storing incomplete byte sequence in state object. Avoid testing for
13792 guaranteed too small input if we know there is enough data available.
1af4e298 13793
da62f81b
AS
137942011-05-11 Andreas Schwab <schwab@redhat.com>
13795
13796 * Makeconfig (+link-pie): Indent.
13797 * Rules (binaries-pie): Define if $(have-fpie) and
13798 $(build-shared).
13799 (binaries-shared): Also filter out $(binaries-pie).
13800 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13801 * nscd/Makefile (others-pie): Add nscd.
13802 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13803 ($(objpfx)nscd): Remove command override.
13804 * login/Makefile (others-pie): Add pt_chown.
13805 ($(objpfx)pt_chown): Remove command override.
13806 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13807 remove command overrides.
13808
fcabc0f8
UD
138092011-05-13 Ulrich Drepper <drepper@gmail.com>
13810
20030ae6
UD
13811 * libio/tst_putwc.c: Fix error messages.
13812
fcabc0f8
UD
13813 [BZ #12724]
13814 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13815 currently writing and seek to current position when not.
13816 * libio/Makefile (tests): Add bug-fclose1.
13817 * libio/bug-fclose1.c: New file.
13818
320a5dc0
PB
138192011-05-12 Ulrich Drepper <drepper@gmail.com>
13820
13821 [BZ #12511]
13822 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13823 don't set DF_1_NODELETE here.
13824 (do_lookup_x): When entering new entry test for copy relocation
13825 and if necessary set DF_1_NODELETE flag.
13826 * elf/tst-unique4.cc: New file.
13827 * elf/tst-unique4.h: New file.
13828 * elf/tst-unique4lib.cc: New file.
13829 * elf/Makefile: Add rules to build and run tst-unique4.
13830 Patch by Piotr Bury <pbury@goahead.com>.
13831
22836f52
UD
138322011-05-11 Ulrich Drepper <drepper@gmail.com>
13833
f574184a
UD
13834 [BZ #12052]
13835 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13836
e1fb097f
UD
13837 [BZ #12625]
13838 * misc/mntent_r.c (addmntent): Flush the stream after the output
13839
22836f52
UD
13840 [BZ #12393]
13841 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13842 (is_trusted_path_normalize): Skip initial colon. Append slash
13843 to empty buffer. Duplicate is_trusted_path code but allow
13844 constructed patch to be prefix.
13845 (is_dst): Allow $ORIGIN followed by /.
13846 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13847 Correct testing of result of is_trusted_path_normalize
13848 (decompose_rpath): Fix warning.
13849
7b3b0b2a
UD
138502011-05-10 Ulrich Drepper <drepper@gmail.com>
13851
13852 [BZ #11257]
13853 * grp/initgroups.c (internal_getgrouplist): When we found the service
13854 list through the initgroups entry in nsswitch.conf do not always
13855 continue on a successful lookup. Don't always use the
eac80ce2 13856 __nss_group_database value if it is set.
7b3b0b2a
UD
13857 * nss/nsswitch.conf (initgroups): Change action for successful db
13858 lookup to continue for compatibility.
13859
2a81eaa5
UD
138602011-05-09 Ulrich Drepper <drepper@gmail.com>
13861
be97a69e
UD
13862 [BZ #11532]
13863 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13864 and CP774 modules.
13865 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13866 and CP774 modules.
13867 * iconvdata/tst-tables.sh: Likewise.
13868 * iconvdata/cp770.c: New file.
13869 * iconvdata/cp771.c: New file.
13870 * iconvdata/cp772.c: New file.
13871 * iconvdata/cp773.c: New file.
13872 * iconvdata/cp774.c: New file.
13873 * iconvdata/testdata/CP770: New file.
13874 * iconvdata/testdata/CP770..UTF8: New file.
13875 * iconvdata/testdata/CP771: New file.
13876 * iconvdata/testdata/CP771..UTF8: New file.
13877 * iconvdata/testdata/CP772: New file.
13878 * iconvdata/testdata/CP772..UTF8: New file.
13879 * iconvdata/testdata/CP773: New file.
13880 * iconvdata/testdata/CP773..UTF8: New file.
13881 * iconvdata/testdata/CP774: New file.
13882 * iconvdata/testdata/CP774..UTF8: New file.
13883
13884 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13885 END CHARMAP line.
13886 * iconvdata/gen-8bit-gap.sh: Likewise.
13887 * iconvdata/gen-8bit.sh: Likewise.
13888
c1e9e399
UD
13889 * locale/iso-639.def: Add ary entry.
13890
24c55fb3 13891 [BZ #11258]
96b4b1b0
UD
13892 * locale/C-translit.h.in: Add U20A1 transliteration.
13893
bdc2f971
KB
13894 [BZ #12178]
13895 * locale/iso-639.def: Add wae entry.
13896 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13897
2952b117
UD
13898 [BZ #12545]
13899 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13900 for n.
13901
2a81eaa5
UD
13902 [BZ #12711]
13903 * locale/C-translit.h.in: Add entry for U20B9.
13904 Patch by pravin.d.s@gmail.com.
13905
28377d1b
UD
139062011-05-08 Ulrich Drepper <drepper@gmail.com>
13907
7fb90fb8
UD
13908 [BZ #12713]
13909 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13910 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13911 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13912 in rtld. Use *stat64.
7fb90fb8 13913 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13914 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13915 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13916 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13917 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13918 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13919 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13920 __fstatat64 macros.
7fb90fb8
UD
13921 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13922 * dirent/rewinddir.c: Add libc_hidden_def.
13923 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13924 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13925
28377d1b
UD
13926 * include/dirent.h (__alloc_dir): Add flags parameter.
13927 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13928 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13929 __alloc_dir.
13930 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13931 from fdopendir if O_CLOEXEC is already set.
13932
66bdbaa4
AM
139332011-03-15 Alan Modra <amodra@gmail.com>
13934
13935 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13936 l_tls_firstbyte_offset non-zero. Save padding offset in
13937 l_tls_firstbyte_offset for later use.
13938 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13939 freeing static tls block.
13940
95721191
JN
139412011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13942
13943 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13944 where #ifdef was intended. The intent is to prevent ARG_MAX from
13945 being defined by the kernel headers.
13946
f87dfb1f
UD
139472011-05-07 Ulrich Drepper <drepper@gmail.com>
13948
13949 [BZ #12734]
13950 * resolv/resolv.h: Define RES_NOTLDQUERY.
13951 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13952 no-tld-query and set RES_NOTLDQUERY.
13953 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13954 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13955 modern BIND to search name as TLD unless forbidden.
13956
47c3cd7a
UD
139572011-05-07 Petr Baudis <pasky@suse.cz>
13958 Ulrich Drepper <drepper@gmail.com>
13959
13960 [BZ #12393]
13961 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13962 (is_trusted_path): ...to here.
c1e9ea35 13963 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13964 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13965 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13966
8a35c912
PP
139672011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13968
13969 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13970 __BEGIN/__END_DECLS.
13971
acd41f47
UD
139722011-05-06 Ulrich Drepper <drepper@gmail.com>
13973
13974 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13975 NSS_STATUS_NOTFOUND if no record was found.
13976
597df647
AS
139772011-05-05 Andreas Schwab <schwab@redhat.com>
13978
13979 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13980 (headers-not-in-tirpc): Remove rpc/netdb.h
13981 * resolv/netdb.h: Revert last change.
13982
b9af1301
PP
139832011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13984
13985 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13986 circular dependency between libgcc.a and libc.a.
13987
4e34d5f5
AS
139882011-05-05 Andreas Schwab <schwab@redhat.com>
13989
13990 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13991 * nis/Makefile: Don't install rpcsvc/*.
13992 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13993 instead of <rpc/types.h>.
13994 (MAXHOSTNAMELEN): Define.
13995
00ee369c
AS
139962011-05-03 Andreas Schwab <schwab@redhat.com>
13997
13998 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13999
0b592a30
MB
140002011-04-28 Maciej Babinski <mbabinski@google.com>
14001
14002 [BZ #12714]
14003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14004 gethostbyname4_r when IPv6 results are possible.
14005
6e04cbbe
UD
140062011-05-02 Ulrich Drepper <drepper@gmail.com>
14007
14008 [BZ #12723]
14009 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14010 _PC_PIPE_BUF handling.
14011
e4ecafe0
BH
140122011-04-30 Bruno Haible <bruno@clisp.org>
14013
14014 [BZ #12717]
14015 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14016 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14017 to 'int'.
14018 * inet/getnameinfo.c (getnameinfo): Likewise.
14019
125ee683
UD
140202011-04-29 Ulrich Drepper <drepper@gmail.com>
14021
14022 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14023 to groups setting in database lookup.
14024 * nss/nsswitch.conf: Add initgroups entry.
14025
b722481a
EB
140262011-04-22 Ulrich Drepper <drepper@gmail.com>
14027
14028 [BZ #12685]
14029 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14030 mode string.
14031 Patch by Eric Blake <eblake@redhat.com>.
14032
4df46dbd
L
140332011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14034
14035 * sunrpc/Makefile (need-export-routines): Add svc_run.
14036 (routines): Remove svc_run.
14037 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14038 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14039 * sunrpc/svc_run.c (svc_run): Likewise.
14040 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14041
e84142d2
UD
140422011-04-21 Ulrich Drepper <drepper@gmail.com>
14043
14044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14045 problem in reallocation in last patch.
14046
877175d8
UD
140472011-04-20 Ulrich Drepper <drepper@gmail.com>
14048
14049 * sunrpc/Makefile: Move inclusion of Rules.
14050
ab8eed78
UD
140512011-04-19 Ulrich Drepper <drepper@gmail.com>
14052
14053 * nss/nss_files/files-initgroups.c: New file.
14054 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14055 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14056 _nss_files_initgroups_dyn.
14057
e3d8f584
RS
140582011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14059
14060 * elf/elf.h (R_ARM_IRELATIVE): Define.
14061
af190f45
UD
140622011-04-19 Ulrich Drepper <drepper@gmail.com>
14063
14064 * po/ru.po: Update from translation team.
14065
53cf59ef
UD
140662011-04-17 Ulrich Drepper <drepper@gmail.com>
14067
14068 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14069 dependencies.
14070
4c559bcd
MF
140712011-02-06 Mike Frysinger <vapier@gentoo.org>
14072
14073 [BZ #12653]
14074 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14075 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14077 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14078 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14079
4420675c
AS
140802011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14081
14082 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14083 differing bytes.
14084 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14085 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14086 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14087
75ea32ab
UD
140882011-04-17 Ulrich Drepper <drepper@gmail.com>
14089
14090 [BZ #12420]
14091 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14092 storing it.
14093 * stdlib/bug-getcontext.c: New file.
14094 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14095
27390476
AK
140962011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14097
14098 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14099 instructions into .machine "z9-109".
14100 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14101 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14102
10442705
AK
141032011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14104
14105 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14106 between environment variables and auxiliary vector.
14107
7b57bfe5
UD
141082011-04-16 Ulrich Drepper <drepper@gmail.com>
14109
14110 * Makefile: Add rules to build linkobj/libc.so.
14111 * include/libc-symbols.h: Define libc_hidden_nolink.
14112 * include/rpc/auth.h: Mark functions which are to be hidden.
14113 * include/rpc/auth_des.h: Likewise.
14114 * include/rpc/auth_unix.h: Likewise.
14115 * include/rpc/clnt.h: Likewise.
14116 * include/rpc/des_crypt.h: Likewise.
14117 * include/rpc/key_prot.h: Likewise.
14118 * include/rpc/pmap_clnt.h: Likewise.
14119 * include/rpc/pmap_prot.h: Likewise.
14120 * include/rpc/pmap_rmt.h: Likewise.
14121 * include/rpc/rpc_msg.h: Likewise.
14122 * include/rpc/svc.h: Likewise.
14123 * include/rpc/svc_auth.h: Likewise.
14124 * include/rpc/xdr.h: Likewise.
14125 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14126 * nss/Makefile: Likewise.
14127 * sunrpc/Makefile: Don't install headers. Build library with normal
14128 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14129 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14130 for the compat linking library. Remove use of INTDEF/INTUSE.
14131 * sunrpc/auth_none.c: Likewise.
14132 * sunrpc/auth_unix.c: Likewise.
14133 * sunrpc/authdes_prot.c: Likewise.
14134 * sunrpc/authuxprot.c: Likewise.
14135 * sunrpc/clnt_gen.c: Likewise.
14136 * sunrpc/clnt_perr.c: Likewise.
14137 * sunrpc/clnt_raw.c: Likewise.
14138 * sunrpc/clnt_simp.c: Likewise.
14139 * sunrpc/clnt_tcp.c: Likewise.
14140 * sunrpc/clnt_udp.c: Likewise.
14141 * sunrpc/clnt_unix.c: Likewise.
14142 * sunrpc/des_crypt.c: Likewise.
14143 * sunrpc/des_soft.c: Likewise.
14144 * sunrpc/get_myaddr.c: Likewise.
14145 * sunrpc/key_call.c: Likewise.
14146 * sunrpc/key_prot.c: Likewise.
14147 * sunrpc/netname.c: Likewise.
14148 * sunrpc/pm_getmaps.c: Likewise.
14149 * sunrpc/pm_getport.c: Likewise.
14150 * sunrpc/pmap_clnt.c: Likewise.
14151 * sunrpc/pmap_prot.c: Likewise.
14152 * sunrpc/pmap_prot2.c: Likewise.
14153 * sunrpc/pmap_rmt.c: Likewise.
14154 * sunrpc/publickey.c: Likewise.
14155 * sunrpc/rpc_cmsg.c: Likewise.
14156 * sunrpc/rpc_common.c: Likewise.
14157 * sunrpc/rpc_dtable.c: Likewise.
14158 * sunrpc/rpc_prot.c: Likewise.
14159 * sunrpc/rpc_thread.c: Likewise.
14160 * sunrpc/rtime.c: Likewise.
14161 * sunrpc/svc.c: Likewise.
14162 * sunrpc/svc_auth.c: Likewise.
14163 * sunrpc/svc_authux.c: Likewise.
14164 * sunrpc/svc_raw.c: Likewise.
14165 * sunrpc/svc_run.c: Likewise.
14166 * sunrpc/svc_simple.c: Likewise.
14167 * sunrpc/svc_tcp.c: Likewise.
14168 * sunrpc/svc_udp.c: Likewise.
14169 * sunrpc/svc_unix.c: Likewise.
14170 * sunrpc/svcauth_des.c: Likewise.
14171 * sunrpc/xcrypt.c: Likewise.
14172 * sunrpc/xdr.c: Likewise.
14173 * sunrpc/xdr_array.c: Likewise.
14174 * sunrpc/xdr_float.c: Likewise.
14175 * sunrpc/xdr_intXX_t.c: Likewise.
14176 * sunrpc/xdr_mem.c: Likewise.
14177 * sunrpc/xdr_rec.c: Likewise.
14178 * sunrpc/xdr_ref.c: Likewise.
14179 * sunrpc/xdr_sizeof.c: Likewise.
14180 * sunrpc/xdr_stdio.c: Likewise.
14181
e6c61494
UD
141822011-04-10 Ulrich Drepper <drepper@gmail.com>
14183
14184 [BZ #12650]
14185 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14186 * sysdeps/ia64/dl-tls.h: Likewise.
14187 * sysdeps/powerpc/dl-tls.h: Likewise.
14188 * sysdeps/s390/dl-tls.h: Likewise.
14189 * sysdeps/sh/dl-tls.h: Likewise.
14190 * sysdeps/sparc/dl-tls.h: Likewise.
14191 * sysdeps/x86_64/dl-tls.h: Likewise.
14192 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14193
34fe483e
AS
141942011-03-14 Andreas Schwab <schwab@redhat.com>
14195
14196 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14197 rpath element also skip the following colon.
14198 (expand_dynamic_string_token): Add is_path parameter and pass
14199 down to DL_DST_REQUIRED and _dl_dst_substitute.
14200 (decompose_rpath): Call expand_dynamic_string_token with
14201 non-zero is_path. Ignore empty rpaths.
14202 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14203 with zero is_path.
14204
f12a32e6
AS
142052011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14206
14207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14208 Make cancelable.
14209
38a7d692
UD
142102011-04-09 Ulrich Drepper <drepper@gmail.com>
14211
14212 [BZ #12655]
14213 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14214 Patch by Filipe David Manana <fdmanana@apache.org>.
14215
e451d22b
AS
142162011-04-07 Andreas Schwab <schwab@redhat.com>
14217
14218 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14219 Maintain aligned stack.
14220 (CHECK_RSP): Remove unused macro.
14221
dedc7c7b
UD
142222011-04-03 Ulrich Drepper <drepper@gmail.com>
14223
14224 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14225 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14226
94521213
UD
142272011-04-02 Ulrich Drepper <drepper@gmail.com>
14228
14229 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14230
8cb700c0 14231 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14232
0354e355
L
142332011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14234
14235 [BZ #12518]
14236 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14237 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14238 * sysdeps/x86_64/memmove.c: New file.
14239 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14240 (memcpy): Renamed to ...
14241 (__new_memcpy): This.
14242 (memcpy): Provide GLIBC_2_14 memcpy.
14243 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14244 (memcpy): Provide GLIBC_2_2_5 memcpy.
14245
8593482f
UD
142462011-04-01 Ulrich Drepper <drepper@gmail.com>
14247
14248 [BZ #12631]
14249 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14250
81a5726b
AS
142512011-03-30 Andreas Schwab <schwab@redhat.com>
14252
14253 * misc/syncfs.c: New file.
14254 * misc/Makefile (routines): Add syncfs.
14255 * posix/unistd.h: Declare syncfs.
14256 * sysdeps/unix/syscalls.list: Add syncfs.
14257
00e5419f
AS
142582011-04-01 Andreas Schwab <schwab@redhat.com>
14259
14260 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14261 open_by_handle_at.
14262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14263 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14265 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14267 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14268 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14269
748876bf
UD
142702011-04-01 Ulrich Drepper <drepper@gmail.com>
14271
658e451d
UD
14272 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14273 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14274 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14275 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14276 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14278 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14279
748876bf
UD
14280 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14281 sync_file_range.c with -fexceptions.
14282 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14283 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14284 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14285 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14286 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14287 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14288 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14289 sync_file_range as cancellation point
14290 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14291 now a wrapper around __call_sync_file_range with cancellation handling.
14292 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14293 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14294 function name to __call_sync_file_range.
14295 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14296 Add call_sync_file_range.
748876bf 14297
6e63d5e1
AS
142982011-04-01 Andreas Schwab <schwab@redhat.com>
14299
14300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14301 bits/timex.h.
6e63d5e1 14302
46998f74
UD
143032011-04-01 Ulrich Drepper <drepper@gmail.com>
14304
4c1423ed
UD
14305 * iconv/iconv.h: Fix typo in comment.
14306 * io/fcntl.h: Likewise.
14307 * libio/stdio.h: Likewise.
14308 * posix/spawn.h: Likewise.
14309 * posix/unistd.h: Likewise.
14310 * stdlib/stdlib.h: Likewise.
14311 * time/time.h: Likewise.
14312 * wcsmbs/wchar.h: Likewise.
14313
158648c0
UD
14314 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14315 open_by_handle): Add.
14316 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14317 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14318 Augment a few comments.
14319 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14321 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14323 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14324 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14325 open_by_handle.
14326
46998f74
UD
14327 * io/fcntl.h (AT_EMPTY_PATH): Define.
14328
83fe108b
UD
143292011-03-30 Ulrich Drepper <drepper@gmail.com>
14330
14331 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14332 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14333 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14334 to...
14335 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14336 * Versions.def: Add GLIBC_2.14.
14337 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14338 Export.
83fe108b 14339
bb242059
UD
143402011-03-22 Ulrich Drepper <drepper@gmail.com>
14341
14342 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14343 round counter.
14344 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14345
c97a1282
L
143462011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14347
14348 [BZ #12597]
14349 * string/test-strncmp.c (do_page_test): New function.
14350 (check2): Likewise.
14351 (test_main): Call check2.
14352 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14353
2a115601
UD
143542011-03-20 Ulrich Drepper <drepper@gmail.com>
14355
14356 [BZ #12587]
14357 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14358 Handle cache information in CPU leaf 4.
14359 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14360
8126d904
UD
143612011-03-18 Ulrich Drepper <drepper@gmail.com>
14362
042c49c6 14363 [BZ #12583]
8126d904
UD
14364 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14365 character representation.
14366 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14367
ccfe366e
RA
143682011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14369
14370 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14371 END(__isnan) to END(__isnanf) to match function entry point/label
14372 EALIGN(__isnanf,...).
14373
c6e13027
JJ
143742011-03-10 Jakub Jelinek <jakub@redhat.com>
14375
14376 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14377
33f85a3f
UD
143782011-03-10 Ulrich Drepper <drepper@gmail.com>
14379
028478fa
UD
14380 [BZ #12510]
14381 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14382 copy from the symbol referenced in the relocation to initialize the
14383 used variable.
14384 Patch by Piotr Bury <pbury@goahead.com>.
14385 * elf/Makefile: Add rules to build and tst-unique3.
14386 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14387 * elf/tst-unique3.cc: New file.
14388 * elf/tst-unique3.h: New file.
14389 * elf/tst-unique3lib.cc: New file.
14390 * elf/tst-unique3lib2.cc: New file.
14391
33f85a3f
UD
14392 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14393
03592fc7
MF
143942011-03-10 Mike Frysinger <vapier@gentoo.org>
14395
14396 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14397 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14398 to _start.
03592fc7 14399
6a5ee102
UD
144002011-03-06 Ulrich Drepper <drepper@gmail.com>
14401
14402 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14403 to-be-loaded object along a path to loader is ld.so.
14404
7e4ba49c
HJ
144052011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14406 Ulrich Drepper <drepper@gmail.com>
14407
14408 * sysdeps/x86_64/memset.S: After aligning destination, code
14409 branches to different locations depending on the value of
14410 misalignment, when multiarch is enabled. Fix this.
14411
144122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14413
14414 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14415 Set _x86_64_preferred_memory_instruction for AMD processsors.
14416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14417 Set bit_Prefer_SSE_for_memop for AMD processors.
14418
13a804de
UD
144192011-03-04 Ulrich Drepper <drepper@gmail.com>
14420
14421 * libio/fmemopen.c (fmemopen): Optimize a bit.
14422
9d25c392
AS
144232011-03-03 Andreas Schwab <schwab@redhat.com>
14424
14425 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14426
a5543c6a
RM
144272011-03-03 Roland McGrath <roland@redhat.com>
14428
14429 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14430
012d35f7
DM
144312011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14432
7e4ba49c 14433 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14434 __bzero_ultra1 instead of __memset_ultra1.
14435
4bff6e01
AS
144362011-02-23 Andreas Schwab <schwab@redhat.com>
14437 Ulrich Drepper <drepper@gmail.com>
14438
14439 [BZ #12509]
14440 * include/link.h (struct link_map): Add l_orig_initfini.
14441 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14442 returning unsuccessfully.
14443 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14444 close of a file loaded at startup, restore the original l_initfini
14445 list.
14446 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14447 list, store the pointer.
14448 * elf/Makefile ($(objpfx)noload-mem): New rule.
14449 (noload-ENV): Define.
14450 (tests): Add $(objpfx)noload-mem.
14451 * elf/noload.c: Include <memcheck.h>.
14452 (main): Call mtrace. Close all opened handles.
14453
f2092faf
AS
144542011-02-17 Andreas Schwab <schwab@redhat.com>
14455
14456 [BZ #12454]
14457 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14458 dependencies are missing.
14459
6c8a2e88
ST
144602011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14461
f2092faf 14462 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14463 Hurd needs munmap.
14464 * sysdeps/mach/hurd/ifreq.h: New file.
14465
84a42118
PB
144662011-01-27 Petr Baudis <pasky@suse.cz>
14467 Ulrich Drepper <drepper@gmail.com>
14468
071f805e 14469 [BZ 12445]#
84a42118
PB
14470 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14471 to extend_alloca().
14472 * stdio-common/bug23.c: New file.
14473 * stdio-common/Makefile (tests): Add bug23.
14474
e23fe25b
AS
144752010-09-28 Andreas Schwab <schwab@redhat.com>
14476 Ulrich Drepper <drepper@gmail.com>
14477
14478 [BZ #12489]
14479 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14480 before performing relro protection. At old place add assertion
14481 to make sure nothing changed.
14482
d3f02e10
NS
144832011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14484 Glauber de Oliveira Costa <glommer@gmail.com>
14485
14486 * elf/elf.h: Add new ARM TLS relocs.
14487
d55fd7a5
RA
144882011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14489
14490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14491 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14492 cast from r3.
14493 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14494 'tests' variable.
14495 * sysdeps/wordsize-64/tst-writev.c: New file.
14496
2206397e
RA
144972011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14498
14499 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14500 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14501 insns in _dl_start to prevent a TOC reference before relocs are
14502 resolved.
14503
e9433893
UD
145042011-02-15 Ulrich Drepper <drepper@gmail.com>
14505
14506 [BZ #12469]
14507 * Makeconfig: Remove RANLIB definition.
14508 * Makerules: Don't use RANLIB.
14509 * aclocal.m4: Remove ranlib test.
14510 * configure.in: No need to check for ranlib.
14511 * elf/rtld-Rules: Don't use RANLIB.
14512
f75286c6
ST
145132011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14514
8e31c82d
ST
14515 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14516 protection macro.
14517 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14518 inclusion protection macro.
14519
f75286c6
ST
14520 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14521 SIGRTMIN and SIGRTMAX and print information in that case only when
14522 SIGRTMIN is defined.
14523
c1d0e639
JJ
145242011-02-11 Jakub Jelinek <jakub@redhat.com>
14525
14526 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14527 arginfo fn returning -1.
14528
14529 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14530 and thousands string is zero terminated.
14531
edf9294e
AS
145322011-02-03 Andreas Schwab <schwab@redhat.com>
14533
14534 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14535 sysdeps/unix/sysv/linux/bits/socket.h.
14536
2b7e92df
ST
145372011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14538
edf9294e
AS
14539 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14540 (__CPU_COUNT): Remove old macros.
14541 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14542 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14543 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14544 (__sched_cpualloc, __sched_cpufree): Add declarations.
14545
a4c7ea7b
UD
145462011-02-05 Ulrich Drepper <drepper@gmail.com>
14547
14548 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14549 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14550 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14551 (readdhstai): Return value of addhstaiX call.
14552 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14553 (addgrbyX): Return value returned by cache_addgr.
14554 (readdgrbyname): Return value returned by addgrbyX.
14555 (readdgrbygid): Likewise.
14556 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14557 (addpwbyX): Return value returned by cache_addpw.
14558 (readdpwbyname): Return value returned by addhstbyX.
14559 (readdpwbyuid): Likewise.
14560 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14561 (addservbyX): Return value returned by cache_addserv.
14562 (readdservbyname): Return value returned by addservbyX:
14563 (readdservbyport): Likewise.
14564 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14565 (addhstbyX): Return value returned by cache_addhst.
14566 (readdhstbyname): Return value returned by addhstbyX.
14567 (readdhstbyaddr): Likewise.
14568 (readdhstbynamev6): Likewise.
14569 (readdhstbyaddrv6): Likewise.
14570 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14571 (readdinitgroups): Return value returned by addinitgroupsX.
14572 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14573 (prune_cache): Keep track of timeout value of re-added entries.
14574 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14575 * nscd/nscd.h: Adjust prototypes of readd* functions.
14576
a0bf67cc
RM
145772011-02-04 Roland McGrath <roland@redhat.com>
14578
14579 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14580 (nis_stats): Likewise.
14581 * nis/nis_modify.c (nis_modify): Likewise.
14582 * nis/nis_remove.c (nis_remove): Likewise.
14583 * nis/nis_add.c (nis_add): Likewise.
14584
14585 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14586
14587 * posix/fnmatch_loop.c: Add some consts.
14588
14589 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14590
435b95eb
L
145912011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14592
14593 [BZ #12460]
14594 * config.make.in (config-cflags-novzeroupper): Define.
14595 * configure.in: Substitute libc_cv_cc_novzeroupper.
14596 * elf/Makefile (AVX-CFLAGS): Define.
14597 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14598 (CFLAGS-tst-auditmod4a.c): Likewise.
14599 (CFLAGS-tst-auditmod4b.c): Likewise.
14600 (CFLAGS-tst-auditmod6b.c): Likewise.
14601 (CFLAGS-tst-auditmod6c.c): Likewise.
14602 (CFLAGS-tst-auditmod7b.c): Likewise.
14603 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14604
8517b15e
UD
146052011-02-02 Ulrich Drepper <drepper@gmail.com>
14606
14607 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14608 function to the callback.
14609 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14610
10a656fe
AS
146112011-02-02 Andreas Schwab <schwab@redhat.com>
14612
14613 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14614 of errno.
14615
968dad0a
UD
146162011-01-19 Ulrich Drepper <drepper@gmail.com>
14617
9f94d2ea 14618 [BZ #11724]
968dad0a
UD
14619 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14620 of constructors.
14621 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14622 of destructors.
14623 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14624
14625 [BZ #11724]
14626 * elf/Makefile: Add rules to build and run new test.
14627 * elf/tst-initorder.c: New file.
14628 * elf/tst-initorder.exp: New file.
14629 * elf/tst-initordera1.c: New file.
14630 * elf/tst-initordera2.c: New file.
14631 * elf/tst-initordera3.c: New file.
14632 * elf/tst-initordera4.c: New file.
14633 * elf/tst-initorderb1.c: New file.
14634 * elf/tst-initorderb2.c: New file.
14635 * elf/tst-order-a1.c: New file.
14636 * elf/tst-order-a2.c: New file.
14637 * elf/tst-order-a3.c: New file.
14638 * elf/tst-order-a4.c: New file.
14639 * elf/tst-order-b1.c: New file.
14640 * elf/tst-order-b2.c: New file.
14641 * elf/tst-order-main.c: New file.
14642 New test case by George Gensure <werkt0@gmail.com>.
14643
86e92359
UD
146442010-10-01 Andreas Schwab <schwab@redhat.com>
14645
14646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14647 decoding ACE if AI_CANONIDN.
14648
5d5732b0
UD
146492011-01-18 Ulrich Drepper <drepper@gmail.com>
14650
14651 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14652
a77e8cbc
UD
146532011-01-17 Ulrich Drepper <drepper@gmail.com>
14654
6392473f
UD
14655 * version.h (RELEASE): Bump for 2.13 release.
14656 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14657
620a0529
UD
14658 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14659
18ba70a5
UD
14660 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14661 MADV_NOHUGEPAGE.
32465c3e
UD
14662 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14663 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14664 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14665 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14666 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14667 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14668
c0dafcf1
UD
14669 * posix/getconf.c: Update copyright year.
14670 * catgets/gencat.c: Likewise.
14671 * csu/version.c: Likewise.
14672 * debug/catchsegv.sh: Likewise.
14673 * debug/xtrace.sh: Likewise.
14674 * elf/ldconfig.c: Likewise.
14675 * elf/ldd.bash.in: Likewise.
14676 * elf/sprof.c (print_version): Likewise.
14677 * iconv/iconv_prog.c: Likewise.
14678 * iconv/iconvconfig.c: Likewise.
14679 * locale/programs/locale.c: Likewise.
14680 * locale/programs/localedef.c: Likewise.
14681 * malloc/memusage.sh: Likewise.
14682 * malloc/mtrace.pl: Likewise.
14683 * nscd/nscd.c (print_version): Likewise.
14684 * nss/getent.c: Likewise.
14685
a77e8cbc
UD
14686 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14687 PF_CAIF, and PF_ALG.
14688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14689
77e8bddf
AS
146902011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14691
1f20b93a
AS
14692 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14693 (modules-names): Use them.
14694 (ifunc-test-modules, ifunc-pie-tests): Define.
14695 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14696 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14697 (test-extras): Likewise.
14698 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14699 $(compile-command.c).
14700 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14701 (all-built-dso): Define.
14702 (check-textrel.out, check-execstack.out): Depend on it.
14703
77e8bddf
AS
14704 * configure.in: Don't override --enable-multi-arch.
14705
bc425b33
UD
147062011-01-15 Ulrich Drepper <drepper@gmail.com>
14707
14708 [BZ #6812]
14709 * nscd/hstcache.c (tryagain): Define.
14710 (cache_addhst): Return tryagain not notfound for temporary errors.
14711 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14712 failed.
14713
794c3ad3
UD
147142011-01-14 Ulrich Drepper <drepper@gmail.com>
14715
70181fdd
UD
14716 [BZ #10563]
14717 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14718 to make the syscall.
14719 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14720
794c3ad3
UD
14721 [BZ #12378]
14722 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14723 and fall back to matching as normal character if the string ends before
14724 the matching ']' is found. This is what POSIX requires.
14725 * posix/testfnm.c: Adjust test result.
14726 * posix/globtest.sh: Adjust test result. Add new test.
14727 * posix/tst-fnmatch.input: Likewise.
14728 * posix/tst-fnmatch2.c: Add new test.
14729
68dc9497
AS
147302010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14731
14732 * elf/Makefile (check-execstack): Revert last change. Depend on
14733 check-execstack.h.
14734 (check-execstack.h): New target.
14735 (generated): Add check-execstack.h.
14736 * elf/check-execstack.c: Include "check-execstack.h".
14737 (main): Revert last change.
14738 (handle_file): Return zero if GNU_STACK is absent and
14739 DEFAULT_STACK_PERMS doesn't include PF_X.
14740
451f001b
UD
147412011-01-13 Ulrich Drepper <drepper@gmail.com>
14742
cfa28e56
UD
14743 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14744 in child fails because the descriptor is already closed.
8cf8ce17
UD
14745 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14746 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14747 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14748
1086d70d
UD
14749 [BZ #12397]
14750 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14751 syscall.
14752
451f001b
UD
14753 [BZ #10484]
14754 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14755 temporary buffer used to handle multi lookups locally.
a85b5cb4 14756 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14757
08769175
UD
147582011-01-12 Ulrich Drepper <drepper@gmail.com>
14759
14760 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14761 loader is ld.so.
14762
5e49c52e
UD
147632011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14764
14765 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14766 alignment for SSE2.
14767
60522a5f
UD
147682011-01-12 Ulrich Drepper <drepper@gmail.com>
14769
14770 [BZ #12394]
14771 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14772 characters. When rounding increased number of integer digits recompute
14773 number of groups.
14774 * stdio-common/tst-grouping.c: New file.
14775 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14776
f257bbd7
UD
147772011-01-09 Ulrich Drepper <drepper@gmail.com>
14778
14779 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14780 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14781
14782 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14783 void.
14784 * bits/select.h: Likewise.
14785
fa9c15cb
UD
147862011-01-08 Ulrich Drepper <drepper@gmail.com>
14787
14788 * po/ja.po: Update from translation team.
14789
16c2895f
DM
147902011-01-04 David S. Miller <davem@sunset.davemloft.net>
14791
14792 [BZ #11155]
14793 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14794 implementation just like for lxstat, fxstatat, et al.
14795
2543fef2
JM
147962010-12-27 Jim Meyering <meyering@redhat.com>
14797
14798 [BZ #12348]
14799 * posix/regexec.c (build_trtable): Return failure indication upon
14800 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14801
98727dbe
UD
148022010-12-25 Ulrich Drepper <drepper@gmail.com>
14803
5bd6dc5c
UD
14804 [BZ #12201]
14805 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14806 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14807 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14808 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14809
97983464
UD
14810 [BZ #12207]
14811 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14812
98727dbe
UD
14813 [BZ #12204]
14814 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14815 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14816
4a531bb0
L
148172010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14818
14819 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14820 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14821 script has SORT_BY_INIT_PRIORITY.
14822 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14823 NO_CTORS_DTORS_SECTIONS is defined.
14824 * elf/soinit.c: Likewise.
14825 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14826 NO_CTORS_DTORS_SECTIONS is defined.
14827 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14828 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14829 * sysdeps/sh/init-first.c: Likewise.
14830 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14831
07eb4b71
UD
148322010-12-24 Ulrich Drepper <drepper@gmail.com>
14833
14834 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14835 always use the slow path.
14836
30950a5f
RA
148372010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14838
14839 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14840 similar rule which adds the sysdep directories to the header search in
14841 order to pick up the correct platform stackinfo.h.
14842 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14843 perform test if it is, otherwise return successfully without testing.
14844 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14845 DEFAULT_STACK_PERMS define in stackinfo.h.
14846 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14847 defined in stackinfo.h.
14848 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14849 DEFAULT_STACK_PERMS defined in stackinfo.h.
14850 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14851 * sysdeps/ia64/stackinfo.h: Likewise.
14852 * sysdeps/s390/stackinfo.h: Likewise.
14853 * sysdeps/sh/stackinfo.h: Likewise.
14854 * sysdeps/sparc/stackinfo.h: Likewise.
14855 * sysdeps/x86_64/stackinfo.h: Likewise.
14856 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14857 PF_X for powerpc64. Retain PF_X for powerpc32.
14858
db753e2c
UD
148592010-12-19 Ulrich Drepper <drepper@gmail.com>
14860
14b697f7
UD
14861 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14862 accurately.
db753e2c
UD
14863 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14864 GETDENTS_64BIT_ALIGNED.
14865
28300719
UD
148662010-12-14 Ulrich Drepper <dreper@gmail.com>
14867
14b697f7 14868 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14869
4f197237
AS
148702010-12-10 Andreas Schwab <schwab@redhat.com>
14871
dbb0472f
AS
14872 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14873 _GNU_SOURCE.
14874
4f197237
AS
14875 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14876 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14877 Remove __restrict.
14878 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14879 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14880
fb88ac72
UD
148812010-12-09 Ulrich Drepper <drepper@gmail.com>
14882
14883 [BZ #11655]
14884 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14885 are initialized.
14886
42acbb92
JJ
148872010-12-09 Jakub Jelinek <jakub@redhat.com>
14888
14889 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14890
c038d98d
UD
148912010-12-03 Ulrich Drepper <drepper@gmail.com>
14892
14893 * po/it.po: Update from translation team.
14894
3a4a2499
L
148952010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14896
14897 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14898 unused codes.
14899
1e24cf6e
UD
149002010-11-30 Ulrich Drepper <drepper@gmail.com>
14901
14902 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14903
a7690819
AS
149042010-11-24 Andreas Schwab <schwab@redhat.com>
14905
14906 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14907 specially.
14908 (gaih_getanswer_slice): Likewise.
14909
3bf8d1b1
JJ
149102010-10-20 Jakub Jelinek <jakub@redhat.com>
14911
14912 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14913
6db52fbb
PB
149142010-05-31 Petr Baudis <pasky@suse.cz>
14915
14916 [BZ #11149]
14917 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14918 silently even in the chroot mode.
14919
eaca7569
UD
149202010-11-22 Ulrich Drepper <drepper@gmail.com>
14921
14922 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14923 last patch a bit. Pretty printing
14924
3056dcdb
UD
149252010-05-31 Petr Baudis <pasky@suse.cz>
14926
14927 [BZ #10085]
14928 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14929 initialization of skip_initgroups_dyn.
14930
cf7c9078
UD
149312010-11-19 Ulrich Drepper <drepper@gmail.com>
14932
14933 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14934 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14935
a1fb5e3e
UD
149362010-11-16 Ulrich Drepper <drepper@gmail.com>
14937
14938 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14939
3540d66b
AS
149402010-11-11 Andreas Schwab <schwab@redhat.com>
14941
14942 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14943 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14944 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14945 ($(objpfx)tst-fnmatch-mem): New rule.
14946 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14947 * posix/tst-fnmatch.c (main): Call mtrace.
14948
13b69574
L
149492010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14950
14951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14952 Support Intel processor model 6 and model 0x2c.
14953
da93d214
LM
149542010-11-10 Luis Machado <luisgpm@br.ibm.com>
14955
14956 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14957 signed comparison.
14958
8ca52c6e
L
149592010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14960
14961 [BZ #12205]
14962 * string/test-strncasecmp.c (check_result): New function.
14963 (do_one_test): Use it.
14964 (check1): New function.
14965 (test_main): Use it.
14966 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14967 Support strcasecmp and strncasecmp.
14968
69da074d
UD
149692010-11-08 Ulrich Drepper <drepper@gmail.com>
14970
14971 [BZ #12194]
14972 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14973 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14974
ff02d528
L
149752010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14976
14977 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14978 IFUNC support.
14979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14980 memset-x86-64.
14981 * sysdeps/x86_64/multiarch/bzero.S: New file.
14982 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14983 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14984 * sysdeps/x86_64/multiarch/memset.S: New file.
14985 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14987 Set bit_Prefer_SSE_for_memop for Intel processors.
14988 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14989 Define.
14990 (index_Prefer_SSE_for_memop): Define.
14991 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14992
344d0b54
LM
149932010-11-04 Luis Machado <luisgpm@br.ibm.com>
14994
14995 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14996 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14997
c0dde15b
UD
149982010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14999
15000 [BZ #12191]
15001 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15002 (__x86_64_raw_data_cache_size_half): Likewise.
15003 (__x86_64_raw_shared_cache_size): Likewise.
15004 (__x86_64_raw_shared_cache_size_half): Likewise.
15005
15006 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15007 (__x86_64_raw_data_cache_size_half): Likewise.
15008 (__x86_64_raw_shared_cache_size): Likewise.
15009 (__x86_64_raw_shared_cache_size_half): Likewise.
15010 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15011 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15012 and __x86_64_raw_shared_cache_size_half. Round
15013 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15014 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15015 to multiple of 256 bytes.
15016
0e516e0e
MS
150172010-11-03 Ulrich Drepper <drepper@gmail.com>
15018
15019 [BZ #12167]
15020 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15021 of inacessible symlinks. Verify result of symlink before returning it.
15022 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15023 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15024
0e012e87
ER
150252010-10-28 Erich Ritz <erichritz@gmail.com>
15026
15027 * math/math.h (isinf): Fix typo in comment.
15028
de0ff7bc
UD
150292010-11-01 Ulrich Drepper <drepper@gmail.com>
15030
15031 * po/da.po: Update from translation team.
15032
fa41c84d
UD
150332010-10-26 Ulrich Drepper <drepper@gmail.com>
15034
15035 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15036 is added to the list.
15037
f0967738
AK
150382010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15039 Ulrich Drepper <drepper@gmail.com>
15040
15041 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15042 the global list here. Move code to...
15043 (_dl_add_to_namespace_list): ...here. New function.
15044 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15045 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15046 * elf/dl-load.c (lose): Don't remove the element from the list.
15047 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15048 (_dl_map_object): Likewise.
15049
150502010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15051
15052 [BZ #12159]
15053 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15054 into all bytes of SSE register.
15055 Patch by Richard Li <richardpku@gmail.com>.
15056
f0967738 150572010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15058
15059 [BZ #12140]
15060 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15061 perturbing.
15062
d0b9e94f
MB
150632010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15064
15065 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15066 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15067 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15068 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15070 submachine.
15071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15072
8e9f92e9
AS
150732010-10-22 Andreas Schwab <schwab@redhat.com>
15074
15075 * include/dlfcn.h (__RTLD_SECURE): Define.
15076 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15077 mode & __RTLD_SECURE instead.
15078 (open_path): Rename preloaded parameter to secure.
15079 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15080 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15081 * elf/dl-deps.c (openaux): Likewise.
15082 * elf/rtld.c (struct map_args): Remove is_preloaded.
15083 (map_doit): Don't use it.
15084 (dl_main): Likewise.
15085 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15086 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15087
bc96fbda
AS
150882010-09-09 Andreas Schwab <schwab@redhat.com>
15089
15090 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15091 (sysd-rules-targets): Remove duplicates.
15092 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15093 rtld-%.$o dependency.
15094
22cd1c9b
AS
150952010-10-18 Andreas Schwab <schwab@redhat.com>
15096
15097 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15098 _dl_map_object do it.
15099
18edac48
UD
151002010-10-19 Ulrich Drepper <drepper@gmail.com>
15101
15102 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15103 fast fma builtins, define the macros in the C99 standard.
15104 (FP_FAST_FMAF): Likewise.
15105 (FP_FAST_FMAL): Likewise.
15106 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15107
15108 * bits/mathdef.h: Update copyright year.
15109 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15110
d2050124
MM
151112010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15112
15113 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15114 builtins, define the macros in the C99 standard.
15115 (FP_FAST_FMAF): Likewise.
15116 (FP_FAST_FMAL): Likewise.
15117 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15118 multiply/add.
15119 (FP_FAST_FMAF): Likewise.
15120
475facd1
JJ
151212010-10-15 Jakub Jelinek <jakub@redhat.com>
15122
15123 [BZ #3268]
15124 * math/libm-test.inc (fma_test): Some new testcases.
15125 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15126 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15127 y and infinite z. Do multiplication by C already in long double.
15128 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15130 y and infinite z. Do bitwise or of inexact bit into u.d.
15131 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15132 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15133 * sysdeps/i386/fpu/s_fma.S: Removed.
15134 * sysdeps/i386/fpu/s_fmal.S: Removed.
15135
7c08a05c
JJ
151362010-10-16 Jakub Jelinek <jakub@redhat.com>
15137
15138 [BZ #3268]
15139 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15141 computation is not scheduled after fetestexcept. Fix value
15142 of minimum denormal long double.
15143
f3f7372d
JJ
151442010-10-14 Jakub Jelinek <jakub@redhat.com>
15145
15146 [BZ #3268]
15147 * math/libm-test.inc (fma_test): Add some more tests.
15148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15149 correctly.
15150
14d43591
AS
151512010-10-15 Andreas Schwab <schwab@redhat.com>
15152
15153 * scripts/data/localplt-s390-linux-gnu.data: New file.
15154 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15155
5e908464
JJ
151562010-10-13 Jakub Jelinek <jakub@redhat.com>
15157
15158 [BZ #3268]
15159 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15160 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15161 instead of dbl-64.
15162 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15163 inlines.
15164 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15166 if one of x and y is very large and the other is subnormal.
15167 * sysdeps/s390/fpu/s_fmaf.c: New file.
15168 * sysdeps/s390/fpu/s_fma.c: New file.
15169 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15170 * sysdeps/powerpc/fpu/s_fma.S: New file.
15171 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15172 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15173 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15174
151752010-10-12 Jakub Jelinek <jakub@redhat.com>
15176
15177 [BZ #3268]
15178 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15179 fma tests.
15180 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15181 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15182 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15183 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15184 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15185 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15186 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15187
b833d51f
UD
151882010-10-12 Ulrich Drepper <drepper@redhat.com>
15189
15190 [BZ #12078]
15191 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15192 * posix/bug-regex31.input: Add test case.
15193
1751705d
UD
151942010-10-11 Ulrich Drepper <drepper@gmail.com>
15195
e9b9cbf5
UD
15196 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15197 * posix/bug-regex31.input: New file.
15198
15199 [BZ #12078]
15200 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15201 (parse_sub_exp): Fix last change, use postorder.
15202
ef06edbe
UD
15203 * posix/bug-regex31.c: New file.
15204 * posix/Makefile: Add rules to build and run bug-regex31.
15205
a129c80d
UD
15206 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15207
15208 [BZ #12078]
15209 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15210
b76b818e
UD
15211 [BZ #12108]
15212 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15213 to have entries in sys_siglist.
15214
1751705d
UD
15215 [BZ #12093]
15216 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15217 be NULL.
15218
9ff8d36f
JJ
152192010-10-07 Jakub Jelinek <jakub@redhat.com>
15220
15221 [BZ #3268]
15222 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15223 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15224 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15225 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15226 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15227 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15228 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15229 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15230 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15231 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15232 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15233 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15234 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15235 * math/ftestexcept.c (fetestexcept): Likewise.
15236 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15237 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15238 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15239 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15240 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15241 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15242 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15243
af325969
UD
152442010-10-11 Ulrich Drepper <drepper@gmail.com>
15245
c579b202 15246 [BZ #12107]
af325969
UD
15247 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15248 newline.
15249
67a67b95
UD
152502010-10-06 Ulrich Drepper <drepper@gmail.com>
15251
15252 * string/bug-strstr1.c: New file.
15253 * string/Makefile: Add rules to build and run bug-strstr1.
15254
5fb308bc
EB
152552010-10-05 Eric Blake <eblake@redhat.com>
15256
15257 [BZ #12092]
15258 * string/str-two-way.h (two_way_long_needle): Always clear memory
15259 when skipping input due to the shift table.
15260
45db99c7
UD
152612010-10-03 Ulrich Drepper <drepper@gmail.com>
15262
3b111893
UD
15263 [BZ #12005]
15264 * malloc/mcheck.c: Handle large requests.
15265
45db99c7
UD
15266 [BZ #12077]
15267 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15268 for strncmp and strncasecmp.
15269 * string/stratcliff.c: Add tests for strcmp and strncmp.
15270 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15271
cf7a1eb8
NI
152722010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15273
15274 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15275 __set_fpscr.
15276
6484ba5e
AJ
152772010-09-30 Andreas Jaeger <aj@suse.de>
15278
15279 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15280 (CGROUP_SUPER_MAGIC): Define.
15281 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15282 Handle btrfs and cgroup file systems.
15283 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15284 Likewise.
15285
91c42559
LM
152862010-09-27 Luis Machado <luisgpm@br.ibm.com>
15287
15288 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15289 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15290
87a97932
AK
152912010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15292
15293 [BZ #12067]
15294 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15295 trying to locate the ELF header.
15296
c21cc9bc
AS
152972010-09-27 Andreas Schwab <schwab@redhat.com>
15298
15299 [BZ #11611]
15300 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15301 Mask out sign-bit copies when constructing f_fsid.
15302
315970f6
PB
153032010-09-24 Petr Baudis <pasky@suse.cz>
15304
15305 * debug/stack_chk_fail_local.c: Add missing licence exception.
15306 * debug/warning-nop.c: Likewise.
15307
1ac7a2c7
JM
153082010-09-15 Joseph Myers <joseph@codesourcery.com>
15309
15310 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15311 implementing getdents64 using getdents syscall, set d_type if
15312 __ASSUME_GETDENTS32_D_TYPE.
15313
56801c50
AS
153142010-09-16 Andreas Schwab <schwab@redhat.com>
15315
15316 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15317 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15318
dda51327
UD
153192010-09-21 Ulrich Drepper <drepper@redhat.com>
15320
15321 [BZ #12037]
15322 * posix/unistd.h: Undo change of feature selection for ftruncate from
15323 2010-01-11.
15324
8ffcee4a
UD
153252010-09-20 Ulrich Drepper <drepper@redhat.com>
15326
a545ecd9 15327 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15328 detection.
15329
e24f0a8b
AS
153302010-09-20 Andreas Schwab <schwab@redhat.com>
15331
15332 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15333 fanotify_mark.
15334 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15335
7291c56f
AS
153362010-09-14 Andreas Schwab <schwab@redhat.com>
15337
15338 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15339 variables after CHECK_SP call.
15340 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15341
bc5fb037
AS
153422010-09-13 Andreas Schwab <schwab@redhat.com>
15343 Ulrich Drepper <drepper@redhat.com>
15344
15345 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15346 re-relocationg ld.so.
15347 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15348 _dl_init_paths call.
15349 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15350 here anymore.
15351
e66e7419
UD
153522010-09-14 Ulrich Drepper <drepper@redhat.com>
15353
15354 * resolv/res_init.c (__res_vinit): Count the default server we added.
15355
c044aa75
CLT
153562010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15357 Ulrich Drepper <drepper@redhat.com>
15358
15359 [BZ #11968]
15360 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15361 (____longjmp_chk): Use %ebx for saving value across system call.
15362 Add unwind info.
15363
32cf4069
AS
153642010-09-06 Andreas Schwab <schwab@redhat.com>
15365
15366 * manual/Makefile: Don't mix pattern rules with normal rules.
15367
817328ee
AS
153682010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15369
15370 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15371 operation.
15372 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15373 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15374 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15375 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15376 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15377 Likewise.
15378
29fddf61
UD
153792010-09-04 Ulrich Drepper <drepper@redhat.com>
15380
15381 [BZ #11979]
15382 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15383 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15384
0959ffc9
UD
153852010-09-02 Ulrich Drepper <drepper@redhat.com>
15386
15387 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15388 * sysdeps/x86_64/addmul_1.S: Likewise.
15389 * sysdeps/x86_64/lshift.S: Likewise.
15390 * sysdeps/x86_64/mul_1.S: Likewise.
15391 * sysdeps/x86_64/rshift.S: Likewise.
15392 * sysdeps/x86_64/sub_n.S: Likewise.
15393 * sysdeps/x86_64/submul_1.S: Likewise.
15394
ece29840
ST
153952010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15396
0959ffc9
UD
15397 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15398 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15399 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15400 * bits/sched.h [__need_schedparam]
ece29840 15401 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15402 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15403 (__defined_schedparam): Define to 1.
ece29840
ST
15404 (__sched_param): New structure, identical to sched_param.
15405 (__need_schedparam): Undefine.
15406
e53a31fe
MF
154072010-08-31 Mike Frysinger <vapier@gentoo.org>
15408
fdc0c10d
MF
15409 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15410 (epoll_create1): Declare.
15411
e53a31fe
MF
15412 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15413
a726d796
AS
154142010-08-31 Andreas Schwab <schwab@redhat.com>
15415
15416 [BZ #7066]
15417 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15418 shifting retval into place.
15419
2f3e3dc7
UD
154202010-09-01 Ulrich Drepper <drepper@redhat.com>
15421
f2933da9
UD
15422 * nis/rpcsvc/nis.h: Update copyright notice.
15423 * nis/rpcsvc/nis.x: Likewise.
15424 * nis/rpcsvc/nis_callback.h: Likewise.
15425 * nis/rpcsvc/nis_callback.x: Likewise.
15426 * nis/rpcsvc/nis_object.x: Likewise.
15427 * nis/rpcsvc/nis_tags.h: Likewise.
15428 * nis/rpcsvc/yp.h: Likewise.
15429 * nis/rpcsvc/yp.x: Likewise.
15430 * nis/rpcsvc/ypupd.h: Likewise.
15431 * nis/yp_xdr.c: Likewise.
15432 * nis/ypupdate_xdr.c: Likewise.
15433
2f3e3dc7
UD
15434 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15435 mainly the body of pmap_getport. Add parameters to specify timeouts.
15436 (pmap_getport): Use __libc_rpc_getport.
15437 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15438 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15439 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15440
f3dcc2f9
AS
154412010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15442
15443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15444 fanotify_mark.
15445
6d34eb5b
RM
154462010-08-27 Roland McGrath <roland@redhat.com>
15447
15448 * sysdeps/i386/i686/multiarch/Makefile
15449 (CFLAGS-varshift.c): New variable.
15450
9ea3de11
UD
154512010-08-27 Ulrich Drepper <drepper@redhat.com>
15452
c96d23fc
UD
15453 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15454 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15455
9ea3de11
UD
15456 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15457
15458 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15459
623aac7f
L
154602010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15461
15462 * sysdeps/x86_64/strlen.S: Unroll the loop.
15463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15464 strlen-sse2 strlen-sse2-bsf.
15465 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15466 __strlen_no_bsf if bit_Slow_BSF is set.
15467 (__strlen_sse42): Removed.
15468 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15469 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15470
8b2b7715
RM
154712010-08-25 Roland McGrath <roland@redhat.com>
15472
15473 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15474 * sysdeps/x86_64/multiarch/varshift.c: New file.
15475 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15476 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15477 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15478 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15479
e73015f2
L
154802010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15481
15482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15483 strlen-sse2 strlen-sse2-bsf.
15484 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15485 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15486 (__strlen_sse2): Removed.
15487 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15488 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15490 bit_Slow_BSF for Atom.
15491 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15492 (index_Slow_BSF): Define.
15493 (HAS_SLOW_BSF): Define.
15494
df24a73e
UD
154952010-08-25 Ulrich Drepper <drepper@redhat.com>
15496
15497 [BZ #10851]
15498 * resolv/res_init.c (__res_vinit): When no server address at all
15499 is given default to loopback.
15500
f2ac4868
RM
155012010-08-24 Roland McGrath <roland@redhat.com>
15502
09055553
RM
15503 * configure.in: Remove config-name.h generation.
15504 * configure: Regenerated.
15505 * config-name.in: File removed.
15506 * scripts/config-uname.sh: New file.
15507 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15508 ($(objdir)config-name.h): New target.
15509
f2ac4868
RM
15510 * sunrpc/rpc_parse.h: Avoid nested comment.
15511
73f27d5e
RH
155122010-08-24 Richard Henderson <rth@redhat.com>
15513 Ulrich Drepper <drepper@redhat.com>
15514 H.J. Lu <hongjiu.lu@intel.com>
15515
15516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15518 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15519 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15520 _mm_alignr_epi8 with _mm_loadu_si128.
15521 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15522 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15523 (__m128i_shift_right): Removed.
15524 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15525 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15526 * sysdeps/x86_64/multiarch/varshift.h: New file.
15527 * sysdeps/x86_64/multiarch/varshift.S: New file.
15528
84b9230c
MF
155292010-08-21 Mike Frysinger <vapier@gentoo.org>
15530
15531 * configure.in: Move assembler checks to before sysdep dir checking.
15532
9bbd0ddc
PB
155332010-08-20 Petr Baudis <pasky@suse.cz>
15534
15535 * LICENSES: Sync the sunrpc license.
15536
9da4bb31
UD
155372010-08-19 Ulrich Drepper <drepper@redhat.com>
15538
a7ab6ec8
UD
15539 * sunrpc/auth_des.c: Update copyright notice once again.
15540 * sunrpc/auth_none.c: Likewise.
15541 * sunrpc/auth_unix.c: Likewise.
15542 * sunrpc/authdes_prot.c: Likewise.
15543 * sunrpc/authuxprot.c: Likewise.
15544 * sunrpc/bindrsvprt.c: Likewise.
15545 * sunrpc/clnt_gen.c: Likewise.
15546 * sunrpc/clnt_perr.c: Likewise.
15547 * sunrpc/clnt_raw.c: Likewise.
15548 * sunrpc/clnt_simp.c: Likewise.
15549 * sunrpc/clnt_tcp.c: Likewise.
15550 * sunrpc/clnt_udp.c: Likewise.
15551 * sunrpc/clnt_unix.c: Likewise.
15552 * sunrpc/des_crypt.c: Likewise.
15553 * sunrpc/des_soft.c: Likewise.
15554 * sunrpc/get_myaddr.c: Likewise.
15555 * sunrpc/getrpcport.c: Likewise.
15556 * sunrpc/key_call.c: Likewise.
15557 * sunrpc/key_prot.c: Likewise.
15558 * sunrpc/openchild.c: Likewise.
15559 * sunrpc/pm_getmaps.c: Likewise.
15560 * sunrpc/pm_getport.c: Likewise.
15561 * sunrpc/pmap_clnt.c: Likewise.
15562 * sunrpc/pmap_prot.c: Likewise.
15563 * sunrpc/pmap_prot2.c: Likewise.
15564 * sunrpc/pmap_rmt.c: Likewise.
15565 * sunrpc/rpc/auth.h: Likewise.
15566 * sunrpc/rpc/auth_unix.h: Likewise.
15567 * sunrpc/rpc/clnt.h: Likewise.
15568 * sunrpc/rpc/des_crypt.h: Likewise.
15569 * sunrpc/rpc/key_prot.h: Likewise.
15570 * sunrpc/rpc/netdb.h: Likewise.
15571 * sunrpc/rpc/pmap_clnt.h: Likewise.
15572 * sunrpc/rpc/pmap_prot.h: Likewise.
15573 * sunrpc/rpc/pmap_rmt.h: Likewise.
15574 * sunrpc/rpc/rpc.h: Likewise.
15575 * sunrpc/rpc/rpc_des.h: Likewise.
15576 * sunrpc/rpc/rpc_msg.h: Likewise.
15577 * sunrpc/rpc/svc.h: Likewise.
15578 * sunrpc/rpc/svc_auth.h: Likewise.
15579 * sunrpc/rpc/types.h: Likewise.
15580 * sunrpc/rpc/xdr.h: Likewise.
15581 * sunrpc/rpc_clntout.c: Likewise.
15582 * sunrpc/rpc_cmsg.c: Likewise.
15583 * sunrpc/rpc_common.c: Likewise.
15584 * sunrpc/rpc_cout.c: Likewise.
15585 * sunrpc/rpc_dtable.c: Likewise.
15586 * sunrpc/rpc_hout.c: Likewise.
15587 * sunrpc/rpc_main.c: Likewise.
15588 * sunrpc/rpc_parse.c: Likewise.
15589 * sunrpc/rpc_parse.h: Likewise.
15590 * sunrpc/rpc_prot.c: Likewise.
15591 * sunrpc/rpc_sample.c: Likewise.
15592 * sunrpc/rpc_scan.c: Likewise.
15593 * sunrpc/rpc_scan.h: Likewise.
15594 * sunrpc/rpc_svcout.c: Likewise.
15595 * sunrpc/rpc_tblout.c: Likewise.
15596 * sunrpc/rpc_util.c: Likewise.
15597 * sunrpc/rpc_util.h: Likewise.
15598 * sunrpc/rpcinfo.c: Likewise.
15599 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15600 * sunrpc/rpcsvc/key_prot.x: Likewise.
15601 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15602 * sunrpc/rpcsvc/mount.x: Likewise.
15603 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15604 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15605 * sunrpc/rpcsvc/rex.x: Likewise.
15606 * sunrpc/rpcsvc/rstat.x: Likewise.
15607 * sunrpc/rpcsvc/rusers.x: Likewise.
15608 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15609 * sunrpc/rpcsvc/spray.x: Likewise.
15610 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15611 * sunrpc/rtime.c: Likewise.
15612 * sunrpc/svc.c: Likewise.
15613 * sunrpc/svc_auth.c: Likewise.
15614 * sunrpc/svc_authux.c: Likewise.
15615 * sunrpc/svc_raw.c: Likewise.
15616 * sunrpc/svc_run.c: Likewise.
15617 * sunrpc/svc_simple.c: Likewise.
15618 * sunrpc/svc_tcp.c: Likewise.
15619 * sunrpc/svc_udp.c: Likewise.
15620 * sunrpc/svc_unix.c: Likewise.
15621 * sunrpc/svcauth_des.c: Likewise.
15622 * sunrpc/xcrypt.c: Likewise.
15623 * sunrpc/xdr.c: Likewise.
15624 * sunrpc/xdr_array.c: Likewise.
15625 * sunrpc/xdr_float.c: Likewise.
15626 * sunrpc/xdr_mem.c: Likewise.
15627 * sunrpc/xdr_rec.c: Likewise.
15628 * sunrpc/xdr_ref.c: Likewise.
15629 * sunrpc/xdr_sizeof.c: Likewise.
15630 * sunrpc/xdr_stdio.c: Likewise.
15631
9da4bb31
UD
15632 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15633 handling.
15634
bdaa77bc
AS
156352010-08-19 Andreas Schwab <schwab@redhat.com>
15636
15637 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15638
fe2f79db
LM
156392010-08-19 Luis Machado <luisgpm@br.ibm.com>
15640
15641 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15642 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15643 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15644 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15645 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15646 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15647 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15648 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15650 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15651 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15652 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15653 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15654 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15655
b9b42ee0
AB
156562010-07-26 Anton Blanchard <anton@samba.org>
15657
15658 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15659 * malloc/arena.c (heap_trim): Likewise.
15660
1c06ba31
UD
156612010-08-16 Ulrich Drepper <drepper@redhat.com>
15662
15663 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15664 here. Not...
15665 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15666 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15667
f8392f40
L
156682010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15669
15670 * sysdeps/i386/elf/Makefile: New file.
15671
3162f12e
AS
156722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15673
15674 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15675 from fanotify_init.
15676 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15677 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15678
28c90b2c
UD
156792010-08-15 Ulrich Drepper <drepper@redhat.com>
15680
15681 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15682 of strncasecmp_l.
1feccb6c 15683 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15684
ca6bb004
UD
156852010-08-14 Ulrich Drepper <drepper@redhat.com>
15686
e9f82e0d
UD
15687 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15688 strncase_l-nonascii.
15689 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15690 Add strncase_l-ssse3.
15691 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15692 * sysdeps/x86_64/strcmp.S: Likewise.
15693 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15694 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15695 * sysdeps/x86_64/strncase.S: New file.
15696 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15697 * sysdeps/x86_64/strncase_l.S: New file.
15698 * string/Makefile (strop-tests): Add strncasecmp.
15699 * string/test-strncasecmp.c: New file.
15700
15701 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15702 warning.
15703
ca6bb004
UD
15704 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15705 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15706
052fa7b3
AS
157072010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15708
15709 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15710
962dba78
UD
157112010-08-12 Ulrich Drepper <drepper@redhat.com>
15712
15713 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15714 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15715 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15716
bebff237
AM
157172010-05-01 Alan Modra <amodra@gmail.com>
15718
15719 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15720 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15721 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15722 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15723 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15724 tidying. Don't tail-call __sigjmp_save for static lib.
15725 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15726 save location.
15727 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15728 (CALL_MCOUNT): Add eh info, and nop after bl.
15729 (TAIL_CALL_SYSCALL_ERROR): New macro.
15730 (PSEUDO_RET): Use it.
15731 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15732 Correct save location of integer regs and cr.
15733 (_dl_profile_resolve): Correct cr save location. Delete nops
15734 after bl when SHARED. Reduce cfi size a little by better
15735 placement of cfi directives.
15736 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15737 make a stack frame. Instead use parm save area as a temp.
15738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15739 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15741 Don't make a stack frame for parent, use parm save area.
15742 Increase child stack frame to 112 bytes. Don't save unused reg,
15743 and adjust reg usage. Set up cfi on error recovery and
15744 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15746 (__makecontext): Add dummy nop after jump to exit.
15747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15748 Use correct parm save area and cr save, reduce stack frame.
15749 Correct cfi for possible PSEUDO_RET frame setup.
15750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15751 Branch to local label emitted by PSEUDO_RET rather than
15752 __syscall_error.
15753
02637374
AS
157542010-08-12 Andreas Schwab <schwab@redhat.com>
15755
15756 [BZ #11904]
15757 * locale/programs/locale.c (print_assignment): New function.
15758 (show_locale_vars): Use it.
15759
c3e2f19b
UD
157602010-08-11 Ulrich Drepper <drepper@redhat.com>
15761
3cdaa6ad
UD
15762 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15763 field.
15764 (struct statfs64): Likewise.
15765 (_STATFS_F_FLAGS): Define.
15766 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15767 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15768 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15769 (ST_VALID): Define locally.
15770 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15771 __statvfs_getflags, use the provided value.
15772 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15773 __ASSUME_STATFS_F_FLAGS.
15774
754f7da3
UD
15775 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15776
10b3bedc
UD
15777 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15778 Add sys/fanotify.h.
15779 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15780 fanotify_mask for GLIBC_2.13.
15781 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15782 fanotify_init and fanotify_mark.
15783 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15784 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15785
c08fb0d7
UD
15786 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15787 Add prlimit.
15788 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15789 prlimit64 for GLIBC_2.13.
15790 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15791 prlimit64.
15792 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15793 syscall.
15794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15795 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15796 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15797 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15798 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15799 add prlimit alias.
15800 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15801
15bac72b
UD
15802 [BZ #11903]
15803 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15804 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15805
c3e2f19b
UD
15806 * nss/Makefile: Add rules to build and run tst-nss-test1.
15807 * shlib-versions: Add entry for libnss_test1.
15808 * nss/nss_test1.c: New file.
15809 * nss/tst-nss-test1.c: New file.
15810
15811 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15812 (__nss_configure_lookup): Set appropriate entry in
15813 __nss_configure_lookup to true.
15814 * nss/nsswitch.h: Define enum with indeces of databases in
15815 databases and __nss_database_custom arrays. Declare
15816 __nss_database_custom.
15817 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15818 to avoid using nscd when custom rules are installed.
15819 * nss/getXXbyYY_r.c: Likewise.
15820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15821
15822 * nss/nss_files/files-parse.c: Whitespace fixes.
15823
f15ce4d8
UD
158242010-08-09 Ulrich Drepper <drepper@redhat.com>
15825
15826 [BZ #11883]
15827 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15828 * posix/fnmatch_loop.c: Likewise.
15829
d22e4cc9
AK
158302010-07-17 Andi Kleen <ak@linux.intel.com>
15831
15832 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15833 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15834 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15835 * Versions.def [GLIBC_2.13]: Add.
15836
805bc17d
UD
158372010-08-06 Ulrich Drepper <drepper@redhat.com>
15838
15839 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15840 Also fail if tpwd after pwuid call is NULL.
15841
5a42321d
ST
158422010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15843
15844 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15845 when converting to ms.
15846
fd3ebeda
ST
158472010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15848
15849 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15850 EOPNOTSUPP errors with ENOTTY.
15851 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15852 EOPNOTSUPP errors with ENOTTY.
15853
73507d3a
UD
158542010-07-31 Ulrich Drepper <drepper@redhat.com>
15855
15856 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15857 Add strcasecmp_l-ssse3.
15858 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15859 strcasecmp.
15860 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15861 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15862 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15863
fe36dd02
UD
158642010-07-30 Ulrich Drepper <drepper@redhat.com>
15865
66f6765a
UD
15866 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15867
42e08a54
UD
15868 * string/Makefile (strop-tests): Add strcasecmp.
15869 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15870 strcasecmp_l-nonascii.
15871 (gen-as-const-headers): Add locale-defines.sym.
15872 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15873 * sysdeps/x86_64/strcasecmp.S: New file.
15874 * sysdeps/x86_64/strcasecmp_l.S: New file.
15875 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15876 * sysdeps/x86_64/locale-defines.sym: New file.
15877 * string/test-strcasecmp.c: New file.
15878
fe36dd02
UD
15879 * string/test-strcasestr.c: Test both ends of the range of characters.
15880 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15881
48cbc0d6
RM
158822010-07-29 Roland McGrath <roland@redhat.com>
15883
76e6d6bc 15884 [BZ #11856]
48cbc0d6
RM
15885 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15886
880113d9
UD
158872010-07-27 Ulrich Drepper <drepper@redhat.com>
15888
15889 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15890 for ld.so.
15891
deb9cabb
AS
158922010-07-27 Andreas Schwab <schwab@redhat.com>
15893
15894 * manual/memory.texi (Malloc Tunable Parameters): Document
15895 M_PERTURB.
15896
1c7570ff
RM
158972010-07-26 Roland McGrath <roland@redhat.com>
15898
15899 [BZ #11840]
15900 * configure.in (-fgnu89-inline check): Set and substitute
15901 gnu89_inline, not libc_cv_gnu89_inline.
15902 * configure: Regenerated.
15903 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15904
24fb0f88
UD
159052010-07-26 Ulrich Drepper <drepper@redhat.com>
15906
15907 * string/test-strnlen.c: New file.
15908 * string/Makefile (strop-tests): Add strnlen.
15909 * string/tester.c (test_strnlen): Add a few more test cases.
15910 * string/tst-strlen.c: Better error reporting.
15911
15912 * sysdeps/x86_64/strnlen.S: New file.
15913
8e96b93a
UD
159142010-07-24 Ulrich Drepper <drepper@redhat.com>
15915
15916 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15917 lower-latency instructions.
15918
dbc676d4
UD
159192010-07-23 Ulrich Drepper <drepper@redhat.com>
15920
15921 * string/test-strcasestr.c: New file.
15922 * string/test-strstr.c: New file.
15923 * string/Makefile (strop-tests): Add strstr and strcasestr.
15924 * string/str-two-way.h: Don't undefine MAX.
15925 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15926
f6a31e0e
AS
159272010-07-21 Andreas Schwab <schwab@redhat.com>
15928
15929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15930 strcasestr-nonascii.
15931 (CFLAGS-strcasestr-nonascii.c): Define.
15932 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15933 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15934 Remove unused attribute.
15935
5dbc3b6c
RM
159362010-07-20 Roland McGrath <roland@redhat.com>
15937
15938 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15939 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15940 ld.so.cache was broken. With it, there is no way to disable dsocaps
15941 like LD_HWCAP_MASK can disable hwcaps.
15942
23d101d8
EPM
159432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15944
15945 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15946
cc9f2e47
UD
159472010-07-16 Ulrich Drepper <drepper@redhat.com>
15948
15949 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15950 call in strcasestr.
15951 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15952 __strcasestr_sse42_nonascii.
15953 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15954 strcasestr-nonascii.c.
15955 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15956
77c1b069
LM
159572010-06-15 Luis Machado <luisgpm@br.ibm.com>
15958
15959 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15960 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15961 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15962 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15963
440566c3
UD
159642010-07-09 Ulrich Drepper <drepper@redhat.com>
15965
15966 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15967 fcntl.
15968
5be9d05d
AS
159692010-07-06 Andreas Schwab <schwab@redhat.com>
15970
c30b7ee2 15971 [BZ #11577]
5be9d05d
AS
15972 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15973 dl_signal_cerror.
15974
8a492a67
UD
159752010-07-06 Ulrich Drepper <drepper@redhat.com>
15976
15977 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15978 _PC_PIPE_BUF using F_GETPIPE_SZ.
15979
713df3d5
RM
159802010-07-05 Roland McGrath <roland@redhat.com>
15981
15982 * manual/arith.texi (Rounding Functions): Fix rint description
15983 implicit in round description.
15984
702e8f14
UD
159852010-07-02 Ulrich Drepper <drepper@redhat.com>
15986
15987 * elf/Makefile: Fix linking for a few tests to make recent linker
15988 happy.
15989
52ed8be9
AS
159902010-06-30 Andreas Schwab <schwab@redhat.com>
15991
15992 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15993 $(common-objpfx)libc_nonshared.a.
15994
f47c9a11
LM
159952010-06-21 Luis Machado <luisgpm@br.ibm.com>
15996
15997 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15998 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15999 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16000 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16001 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16002 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16003 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16004 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16019 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16020 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16021 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16022 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16023 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16024 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16025 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16026 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16027 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16028 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16029 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16030 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16045
6fb8cbcb
L
160462010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16047
16048 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16049 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16050 * string/memmove.c (memmove): Renamed to ...
16051 (MEMMOVE): ...this. Default to memmove.
16052 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16053 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16054 (END_CHK): Define.
16055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16056 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16057 mempcpy-ssse3-back memmove-ssse3-back.
16058 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16059 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16060 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16061 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16062 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16063 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16064 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16065 * sysdeps/x86_64/multiarch/memmove.c: New file.
16066 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16067 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16068 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16069 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16070 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16071 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16072 Define.
16073 (index_Fast_Copy_Backward): Define.
16074 (HAS_ARCH_FEATURE): Define.
16075 (HAS_FAST_REP_STRING): Define.
16076 (HAS_FAST_COPY_BACKWARD): Define.
16077
4e733bac 160782010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16079
16080 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16081 Restore proper fallback handling.
16082
63c4ed22
UD
160832010-06-19 Ulrich Drepper <drepper@redhat.com>
16084
ac2b484c
UD
16085 [BZ #11701]
16086 * posix/group_member.c (__group_member): Correct checking loop.
16087
63c4ed22
UD
16088 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16089 OOM in getpwuid_r correctly. Return error number when the caller
16090 should return, otherwise -1.
16091 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16092 call returning > 0 value.
16093 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16094
765ade4b
AS
160952010-06-07 Andreas Schwab <schwab@redhat.com>
16096
16097 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16098 libc_nonshared.a from targets in modules-names.
16099
80da2e09
KS
161002010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16101
16102 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16103 requires it.
16104
158db122
LM
161052010-06-10 Luis Machado <luisgpm@br.ibm.com>
16106
16107 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16108 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16109 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16110 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16111
caa78cf8
AS
161122010-06-02 Andreas Schwab <schwab@redhat.com>
16113
16114 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16115
b2ef2c01
UD
161162010-06-14 Ulrich Drepper <drepper@redhat.com>
16117
16118 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16119 and F_GETPIPE_SZ.
16120 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16122 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16124 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16125 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16126
fbd643b6
RM
161272010-06-14 Roland McGrath <roland@redhat.com>
16128
16129 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16130
f32f2869
JJ
161312010-06-07 Jakub Jelinek <jakub@redhat.com>
16132
16133 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16134 __REDIRECT followed by __THROW.
16135 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16136 * posix/getopt.h (getopt): Likewise.
16137
2a50c078
EPM
161382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16139
16140 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16141 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16142 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16143 in AT_FLAGS.
16144 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16145 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16146
eb5ad2eb
LM
161472010-05-28 Luis Machado <luisgpm@br.ibm.com>
16148
16149 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16150
3c88fe1e
L
161512010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16152
16153 [BZ #11640]
16154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16155 Properly check family and model.
16156
d2f73151
TY
161572010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16158
16159 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16160
ebd2e13d
LM
161612010-05-24 Luis Machado <luisgpm@br.ibm.com>
16162
16163 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16164
b32b8b45
UD
161652010-05-21 Ulrich Drepper <drepper@redhat.com>
16166
16167 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16168 symbol reference.
16169
9acbe24d
AS
161702010-05-19 Andreas Schwab <schwab@redhat.com>
16171
16172 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16173 symbol reference.
16174
f0ccf6ea
AS
161752010-05-21 Andreas Schwab <schwab@redhat.com>
16176
3d04ff3a
AS
16177 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16178 and internal_recvmmsg.
16179 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16180 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16181 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16182 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16183
f0ccf6ea
AS
16184 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16185 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16186 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16187
5b08ac57
AS
161882010-05-20 Andreas Schwab <schwab@redhat.com>
16189
16190 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16191
4828935d
LM
161922010-05-17 Luis Machado <luisgpm@br.ibm.com>
16193
16194 POWER7 optimizations.
16195 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16196 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16197
373d545e
UD
161982010-05-19 Ulrich Drepper <drepper@redhat.com>
16199
16200 * version.h: Update for 2.13 development version.
16201
21a2b1ae
AS
162022010-05-12 Andrew Stubbs <ams@codesourcery.com>
16203
16204 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16205 exceptions. Return 0.
16206
3f7dcb2b
RM
162072010-05-07 Roland McGrath <roland@redhat.com>
16208
16209 * elf/ldconfig.c (main): Add a const.
16210
5f24d53a 162112010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16212
a160f8d8
UD
16213 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16214 (args_options): Add no-idn option.
16215 (ahosts_keys_int): Add idn_flags to ai_flags.
16216 (parse_option): Handle 'i' option to clear idn_flags.
16217
5f24d53a
UD
16218 * malloc/malloc.c (_int_free): Possible race in the most recently
16219 added check. Only act on the data if no current modification
16220 happened.
265bb1ce
UD
16221
16222See ChangeLog.17 for earlier changes.