]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use __SWORD_TYPE for __FSWORD_T_TYPE with -m32
[thirdparty/glibc.git] / ChangeLog
CommitLineData
67b6df78
L
12012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2
57c6cf40
L
3 [BZ #14183]
4 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
5 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6
67b6df78 7 [BZ #14117]
8eb6281e
L
8 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10
aac639f4
L
11 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13
67b6df78
L
14 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15 Defined to 1 if __x86_64__ isn't defined.
16 (_STAT_VER_LINUX_OLD): New.
17 (st_atime): Remove duplicate.
18 (st_mtime): Likewise.
19 (st_ctime): Likewise.
20
1c2cfe81
DM
212012-05-31 David S. Miller <davem@davemloft.net>
22
23 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24 entries.
25
5be8418c
AS
262012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27
e7725326
AS
28 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29 gen-libm-test.pl.
30
5be8418c
AS
31 [BZ #14132]
32 * elf/dl-reloc.c: Include <_itoa.h>.
33 (_dl_reloc_bad_type): Remove use of INTUSE.
34 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36 * stdio-common/psiginfo.c (psiginfo): Likewise.
37 * stdio-common/psignal.c (psignal): Likewise.
38 * string/strsignal.c (strsignal): Likewise.
39 * include/signal.h (_sys_siglist): Declare hidden proto.
40 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41 INTVARDEF with libc_hidden_data_def.
42 * stdio-common/itoa-udigits.c: Likewise.
43 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44 (_itoa_lower_digits_internal): Remove declaration.
45 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47 (_sys_sigabbrev_internal): Remove aliases.
48 (_sys_siglist): Define hidden alias.
49
507352f1
MT
502012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
51
52 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53 bits/sysctl.h.
54
42bbb1c3
L
552012-05-31 H.J. Lu <hongjiu.lu@intel.com>
56
57 [BZ #14117]
6bd784b6
L
58 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
59 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60
8bca20f0
L
61 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
66 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67
f9e890a9
L
68 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
70 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71
471101a1
L
72 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
73 with __addr.
74 (insw): Likewise.
75 (insl): Likewise.
76 (outsb): Likewise.
77 (outsw): Likewise.
78 (outsl): Likewise.
79
6451c862
L
80 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
81 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
82 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
83
a254b8c9
L
84 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
85 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
86 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
87 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
88 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
89 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
90
b8dfdd92
L
91 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
92 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
93
578cd270
L
94 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
95 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
96
de662f5f
L
97 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
98 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
99 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
100
25653439
L
101 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
102 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
103 to ...
104 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
105
6bad24a0
L
106 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
107 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
108 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
109
42bbb1c3
L
110 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
111 for x86-64.
112 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
113
2d10d547
JM
1142012-05-31 Joseph Myers <joseph@codesourcery.com>
115
116 * math/math.h (M_El): Use two more decimal places.
117 (M_LOG2El): Likewise.
118 (M_LOG10El): Likewise.
119 (M_LN2l): Likewise.
120 (M_LN10l): Likewise.
121 (M_PIl): Likewise.
122 (M_PI_2l): Likewise.
123 (M_PI_4l): Likewise.
124 (M_1_PIl): Likewise.
125 (M_2_PIl): Likewise.
126 (M_2_SQRTPIl): Likewise.
127 (M_SQRT2l): Likewise.
128 (M_SQRT1_2l): Likewise.
129
f230c29b
DM
1302012-05-31 David S. Miller <davem@davemloft.net>
131
132 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
133 values between float registers.
134 * sysdeps/sparc/sparc64/memset.S: Likewise.
135 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
136
fed806c3
MF
1372012-05-31 Mike Frysinger <vapier@gentoo.org>
138
139 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
140 -D_FORTIFY_SOURCE=1.
141 (CPPFLAGS-tst-longjmp_chk.c): Define.
142 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
143 (CPPFLAGS-tst-longjmp_chk2.c): Define.
144 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
145 CFLAGS-tst-wchar-h.c.
146
30917259
MP
1472012-05-31 Marek Polacek <polacek@redhat.com>
148
149 [BZ #14132]
150 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
151 __endmntent_internal): Remove declaration.
152 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
153 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
154 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
155
1c58d5dc
DM
1562012-05-30 David S. Miller <davem@davemloft.net>
157
158 * sysdeps/sparc/sparc32/soft-fp/q_util.c
159 (___Q_simulate_exceptions): Use real FP ops rather than writing
160 into the %fsr.
161 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
162 Likewise.
163
7dc00e0d
L
1642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
165
166 [BZ #14117]
0bd53985
L
167 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
168 * sysdeps/x86/bits/xtitypes.h: This.
169
3a257e66
L
170 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
171 * sysdeps/x86/bits/wordsize.h: This.
172
62f62904
L
173 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
174 * sysdeps/x86/bits/huge_vall.h: This.
175
404fe9d9
L
176 * sysdeps/i386/bits/select.h: Removed.
177 * sysdeps/x86_64/bits/select.h: Renamed to ...
178 * sysdeps/x86/bits/select.h: This.
179
d48d0446
L
180 * sysdeps/i386/bits/setjmp.h: Removed.
181 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
182 * sysdeps/x86/bits/setjmp.h: This.
183
7dc00e0d
L
184 * sysdeps/i386/bits/mathdef.h: Removed.
185 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
186 * sysdeps/x86/bits/mathdef.h: This.
187
03277f8f
AS
1882012-05-30 Andreas Schwab <schwab@linux-m68k.org>
189
190 [BZ #14132]
191 * include/sys/socket.h (__connect_internal)
192 (__libc_sa_len_internal): Remove declaration.
193 (__connect, __libc_sa_len): Declare hidden_proto.
194 (SA_LEN): Remove use of INTUSE.
195 * socket/connect.c: Add libc_hidden_def.
196 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
197 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
198 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
199 alias.
200 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
201 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
202 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
203 of adding _internal alias.
204
13764867
L
2052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
206
207 [BZ #14117]
6bd97696
L
208 * sysdeps/i386/bits/link.h: Removed.
209 * sysdeps/i386/bits/linkmap.h: Likewise.
210 * sysdeps/x86_64/bits/link.h: Renamed to ...
211 * sysdeps/x86/bits/link.h: This.
212 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
213 * sysdeps/x86/bits/linkmap.h: This.
214
f726f0bb
L
215 * sysdeps/i386/bits/endian.h: Removed.
216 * sysdeps/x86_64/bits/endian.h: Renamed to ...
217 * sysdeps/x86/bits/endian.h: This.
218
13764867
L
219 * sysdeps/i386/bits/byteswap.h: Removed.
220 * sysdeps/i386/bits/byteswap-16.h: Likewise.
221 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
222 * sysdeps/x86/bits/byteswap.h: This.
223 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
224 * sysdeps/x86/bits/byteswap-16.h: This.
225 * sysdeps/i386/Implies: Add x86.
226 * sysdeps/x86_64/Implies: Likewise.
227
ae251b0b
DM
2282012-05-30 David S. Miller <davem@davemloft.net>
229
230 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
231 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
232 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
233 (FP_TRAPPING_EXCEPTIONS): Define.
234 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
235 (FP_TRAPPING_EXCEPTIONS): Define.
236 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
237 subnormals only when inexact has been signalled or underflow
238 exceptions are enabled.
239 (_FP_PACK_CANONICAL): Likewise.
240
d5c90867
L
2412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
242
243 [BZ #14183]
244 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
245 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
246
63f1549e
RH
2472012-05-30 Richard Henderson <rth@twiddle.net>
248
8d8f2279
RH
249 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
250 with #ifndef NOT_IN_libc.
251
63f1549e
RH
252 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
253 marked to avoid plt entry.
254
0ab0291b
L
2552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
256
257 [BZ #14112]
258 * Makeconfig (default-abi): New macro.
259 (abi-includes): Likewise.
260 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
261 $(abi-$(default-abi)-lib-soname) for soname if defined.
262 ($(common-objpfx)gnu/lib-names.stmp): Generate from
263 abi-variants.
264 * Makefile (installed-stubs): Likewise.
265 * include/stubs-biarch.h: Removed.
266 * scripts/lib-names.awk: Only handle one library at a time.
267 * scripts/soversions.awk: Remove WORDSIZE support.
268 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
269 entries.
270 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
271 Removed.
272 (syscall-list-default-condition): Likewise.
273 (syscall-list-default-condition): Likewise.
274 (syscall-list-includes): Likewise.
275 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
276 syscall-list-* with abi-*. Handle undefined abi-variants.
277 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
278 * sysdeps/unix/sysv/linux/i386/Implies: New file.
279 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
280 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
281 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
282 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
283 Removed.
284 (syscall-list-32-options): Likewise.
285 (syscall-list-32-condition): Likewise.
286 (syscall-list-64-options): Likewise.
287 (syscall-list-64-condition): Likewise.
288 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
289 macro.
290 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
291 Renamed to ...
292 (abi-*): This.
293 (abi-64-ld-soname): New macro.
294 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
295 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
296 Renamed to ...
297 (abi-*): This.
298 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
299 * sysdeps/x86_64/x32/shlib-versions: Likewise.
300
4da0431d
JM
3012012-05-30 Joseph Myers <joseph@codesourcery.com>
302
3a85279c
JM
303 * sysdeps/unix/sysv/linux/kernel-features.h
304 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
305 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
306 include <kernel-features.h>.
307 [!__NR_ftruncate64]: Remove conditional code.
308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
309 [__NR_ftruncate64]: Make code unconditional.
310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
311 * sysdeps/unix/sysv/linux/truncate64.c: Do not
312 include <kernel-features.h>.
313 [!__NR_ftruncate64]: Remove conditional code.
314 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
315 [__NR_ftruncate64]: Make code unconditional.
316 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
318 include <kernel-features.h>.
319 [!__NR_ftruncate64]: Remove conditional code.
320 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
321 [__NR_ftruncate64]: Make code unconditional.
322 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
324 include <kernel-features.h>.
325 [!__NR_ftruncate64]: Remove conditional code.
326 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
327 [__NR_ftruncate64]: Make code unconditional.
328 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
329
4da0431d
JM
330 * configure.in (libc_cv_fpie): Weaken to a compile test using
331 LIBC_TRY_CC_OPTION.
332 * configure: Regenerated.
333
11ef492c
AK
3342012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
335
336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
340 Refreshed.
341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
347 Refreshed.
348
d66ef399
DM
3492012-05-27 David S. Miller <davem@davemloft.net>
350
351 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
352 (___Q_zero): New.
353 (__Q_simulate_exceptions): Return void. Change to simulate
354 exceptions by writing into the %fsr.
355 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
356 (__Qp_handle_exceptions): Likewise.
357 (numbers): Delete.
358 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
359 __Qp_handle_exceptions.
360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
361 __Qp_handle_exceptions.
362 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
363 as unused and give dummy FP_RND_NEAREST initializer.
364 (FP_INHIBIT_RESULTS): Define.
365 (___Q_simulate_exceptions): Update declaration.
366 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
367 formatting.
368 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
369 as unused and give dummy FP_RND_NEAREST initializer.
370 (__Qp_handle_exceptions): Update declaration.
371 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
372 formatting.
373
04fb54b5
TS
3742012-05-27 Thomas Schwinge <thomas@codesourcery.com>
375
376 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
377 the temporary FPU control word.
378 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
379 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
380 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
381 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
382 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
383 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
384 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
385 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
386 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
387 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
388 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
389
3f99608f
KK
3902012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
391
392 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
393 fields.
394
65a4de4e
CLT
3952012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
396
397 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
398 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
399 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
400 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
401 Likewise.
402 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
403 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
404 Likewise.
405
15749d40
UD
4062012-05-27 Ulrich Drepper <drepper@gmail.com>
407
408 * po/h.po: Update from translation team.
409
25dbcb27
AS
4102012-05-26 Andreas Schwab <schwab@linux-m68k.org>
411
3d3f8e55
AS
412 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
413
25dbcb27
AS
414 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
415 handling of denormals.
416 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
417 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
418 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
419 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
420 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
422 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
423 Likewise.
424
7ad47a80 4252012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
426
427 [BZ #14152]
428 * math/libm-test.inc (fma_test): Don't always expect underflow
429 exception.
430
9c6ea9fa
SP
4312012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
432
433 [BZ #12416]
434 * elf/tst-execstack.c: Include stackinfo.h.
435 (do_test): Adjust test case to ensure that pthread_getattr_np
436 behaviour remains the same after marking stack executable.
437
a8239222
JM
4382012-05-25 Joseph Myers <joseph@codesourcery.com>
439
440 * sysdeps/unix/sysv/linux/kernel-features.h
441 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
442 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
443 kernel-features.h.
444 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
445 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
446 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
447 kernel-features.h.
448 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
449 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
450
918b5606
L
4512012-05-25 H.J. Lu <hongjiu.lu@intel.com>
452
453 * configure.in: Define the default includes to being none.
454 * configure: Regenerated.
455
3a097cc7
RM
4562012-05-25 Roland McGrath <roland@hack.frob.com>
457
8422c9a5
RM
458 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
459 * sysdeps/x86_64/setjmp.S: Likewise.
460 * sysdeps/i386/bsd-setjmp.S: Likewise.
461 * sysdeps/i386/bsd-_setjmp.S: Likewise.
462 * sysdeps/i386/setjmp.S: Likewise.
463 * sysdeps/i386/__longjmp.S: Likewise.
464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
465 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
466
3a097cc7
RM
467 * include/stap-probe.h: New file.
468 * configure.in: Handle --enable-systemtap.
469 * configure: Regenerated.
470 * config.h.in (USE_STAP_PROBE): New #undef.
471 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
472 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
473 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
474
21708942
JM
4752012-05-25 Joseph Myers <joseph@codesourcery.com>
476
477 [BZ #13717]
478 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
479 to 2.4.0 where earlier.
480 * sysdeps/unix/sysv/linux/configure: Regenerated.
481 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
482 <kernel-features.h>.
483 [__ASSUME_32BITUIDS]: Make code unconditional.
484 [!__ASSUME_32BITUIDS]: Remove conditional code.
485 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
486 <kernel-features.h>.
487 [__ASSUME_32BITUIDS]: Make code unconditional.
488 [!__ASSUME_32BITUIDS]: Remove conditional code.
489 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
490 [__ASSUME_32BITUIDS]: Make code unconditional.
491 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
492 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
493 <kernel-features.h>.
494 [__ASSUME_32BITUIDS]: Make code unconditional.
495 [!__ASSUME_32BITUIDS]: Remove conditional code.
496 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
497 <kernel-features.h>.
498 [__ASSUME_32BITUIDS]: Make code unconditional.
499 [!__ASSUME_32BITUIDS]: Remove conditional code.
500 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
501 <kernel-features.h>.
502 [__ASSUME_32BITUIDS]: Make code unconditional.
503 [!__ASSUME_32BITUIDS]: Remove conditional code.
504 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
505 <kernel-features.h>.
506 [__ASSUME_32BITUIDS]: Make code unconditional.
507 [!__ASSUME_32BITUIDS]: Remove conditional code.
508 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
509 <kernel-features.h>.
510 [__ASSUME_32BITUIDS]: Make code unconditional.
511 [!__ASSUME_32BITUIDS]: Remove conditional code.
512 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
513 <kernel-features.h>.
514 [__ASSUME_32BITUIDS]: Make code unconditional.
515 [!__ASSUME_32BITUIDS]: Remove conditional code.
516 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
517 <kernel-features.h>.
518 [__ASSUME_32BITUIDS]: Make code unconditional.
519 [!__ASSUME_32BITUIDS]: Remove conditional code.
520 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
521 <kernel-features.h>.
522 [__ASSUME_32BITUIDS]: Make code unconditional.
523 [!__ASSUME_32BITUIDS]: Remove conditional code.
524 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
525 <kernel-features.h>.
526 [__ASSUME_32BITUIDS]: Make code unconditional.
527 [!__ASSUME_32BITUIDS]: Remove conditional code.
528 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
529 <kernel-features.h>.
530 [__ASSUME_32BITUIDS]: Make code unconditional.
531 [!__ASSUME_32BITUIDS]: Remove conditional code.
532 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
533 <kernel-features.h>.
534 [__NR_setresgid] (__setresgid): Do not declare.
535 [__ASSUME_32BITUIDS]: Make code unconditional.
536 [!__ASSUME_32BITUIDS]: Remove conditional code.
537 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
538 <kernel-features.h>.
539 [__NR_setresuid] (__setresuid): Do not declare.
540 [__ASSUME_32BITUIDS]: Make code unconditional.
541 [!__ASSUME_32BITUIDS]: Remove conditional code.
542 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
543 <kernel-features.h>.
544 [__ASSUME_32BITUIDS]: Make code unconditional.
545 [!__ASSUME_32BITUIDS]: Remove conditional code.
546 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
547 <kernel-features.h>.
548 [__ASSUME_32BITUIDS]: Make code unconditional.
549 [!__ASSUME_32BITUIDS]: Remove conditional code.
550 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
551 <kernel-features.h>.
552 [__ASSUME_32BITUIDS]: Make code unconditional.
553 [!__ASSUME_32BITUIDS]: Remove conditional code.
554 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
555 <kernel-features.h>.
556 [__ASSUME_32BITUIDS]: Make code unconditional.
557 [!__ASSUME_32BITUIDS]: Remove conditional code.
558 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
559 <kernel-features.h>.
560 [__ASSUME_32BITUIDS]: Make code unconditional.
561 [!__ASSUME_32BITUIDS]: Remove conditional code.
562 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
563 <kernel-features.h>.
564 [__ASSUME_32BITUIDS]: Make code unconditional.
565 [!__ASSUME_32BITUIDS]: Remove conditional code.
566 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
567 <kernel-features.h>.
568 [__ASSUME_32BITUIDS]: Make code unconditional.
569 [!__ASSUME_32BITUIDS]: Remove conditional code.
570 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
571 <kernel-features.h>.
572 [__ASSUME_32BITUIDS]: Make code unconditional.
573 [!__ASSUME_32BITUIDS]: Remove conditional code.
574 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
575 <kernel-features.h>.
576 [__ASSUME_32BITUIDS]: Make code unconditional.
577 [!__ASSUME_32BITUIDS]: Remove conditional code.
578 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
579 <kernel-features.h>.
580 [__ASSUME_32BITUIDS]: Make code unconditional.
581 [!__ASSUME_32BITUIDS]: Remove conditional code.
582 * sysdeps/unix/sysv/linux/kernel-features.h
583 (__ASSUME_SETRESUID_SYSCALL): Remove.
584 (__ASSUME_SETRESGID_SYSCALL): Likewise.
585 (__ASSUME_32BITUIDS): Likewise.
586 (__ASSUME_LDT_WORKS): Likewise.
587 (__ASSUME_O_DIRECTORY): Likewise.
588 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
589 architecture but not kernel version.
590 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
591 (__ASSUME_MMAP2_SYSCALL): Likewise.
592 (__ASSUME_STAT64_SYSCALL): Likewise.
593 (__ASSUME_IPC64): Likewise.
594 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
595 <kernel-features.h>.
596 [__ASSUME_32BITUIDS]: Make code unconditional.
597 [!__ASSUME_32BITUIDS]: Remove conditional code.
598 * sysdeps/unix/sysv/linux/opendir.c: Do not include
599 <kernel-features.h>.
600 [__ASSUME_O_DIRECTORY]: Make code unconditional.
601 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
602 132096]: Remove conditional code.
603 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
604 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
605 <kernel-features.h>.
606 [__ASSUME_32BITUIDS]: Make code unconditional.
607 [!__ASSUME_32BITUIDS]: Remove conditional code.
608 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
609 <kernel-features.h>.
610 [__ASSUME_32BITUIDS]: Make code unconditional.
611 [!__ASSUME_32BITUIDS]: Remove conditional code.
612 * sysdeps/unix/sysv/linux/setegid.c: Do not include
613 <kernel-features.h>.
614 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
615 unconditional.
616 (__setresgid): Do not declare.
617 [__ASSUME_32BITUIDS]: Make code unconditional.
618 [!__ASSUME_32BITUIDS]: Remove conditional code.
619 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
620 <kernel-features.h>.
621 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
622 unconditional.
623 (__setresuid): Do not declare.
624 [__ASSUME_32BITUIDS]: Make code unconditional.
625 [!__ASSUME_32BITUIDS]: Remove conditional code.
626 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
627 <kernel-features.h>.
628 [__ASSUME_32BITUIDS]: Make code unconditional.
629 [!__ASSUME_32BITUIDS]: Remove conditional code.
630 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
631 <kernel-features.h>.
632 [__ASSUME_32BITUIDS]: Make code unconditional.
633 [!__ASSUME_32BITUIDS]: Remove conditional code.
634
a386f1cc
RH
6352012-05-25 Richard Henderson <rth@twiddle.net>
636
637 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
638 dl_hwcap to ifunc resolver.
639 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
640 elf_ifunc_invoke.
641 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
642 dl_hwcap to ifunc resolver.
643 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
644
b6550497
JM
6452012-05-24 Joseph Myers <joseph@codesourcery.com>
646
647 [BZ #14153]
648 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
649 for |x| <= 2**-26, not 2**-57.
650 * math/libm-test.inc (acos_test): Do not allow spurious underflow
651 exception.
652
b0bc23a1
JL
6532012-05-24 Jeff Law <law@redhat.com>
654
655 * stdio-common/Makefile (tests): Add bug25.
656 * stdio-common/bug25.c: New test.
657
347c92e9
L
6582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
659
660 [BZ #13576]
661 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
662 multiple of MALLOC_ALIGNMENT in size.
663 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
664
6bcc8b3f
JM
6652012-05-24 Joseph Myers <joseph@codesourcery.com>
666
667 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
668 Require >= 256.
669 (FILENAME_MAX): Use macro-int-constant.
670 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
671 (_IOFBF): Use macro-int-constant.
672 (_IOLBF): Likewise.
673 (_IONBF): Likewise.
674 (SEEK_CUR): Likewise.
675 (SEEK_END): Likewise.
676 (SEEK_SET): Likewise.
677 (TMP_MAX): Likewise.
678 (EOF): Use macro-int-constant. Require < 0.
679 (NULL): Use macro-constant. Require == 0.
680 (stdin): Require type to be FILE *.
681 (stdout): Likewise.
682 (stderr): Likewise.
683 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
684 macro-int-constant.
685 (EXIT_SUCCESS): Likewise.
686 (NULL): Use macro-constant. Require == 0.
687 (RAND_MAX): Use macro-int-constant.
688 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
689 [C99-based standards] (strtof): Require function.
690 [C99-based standards] (strtold): Likewise.
691 [C99-based standards] (strtoll): Likewise.
692 [C99-based standards] (strtoull): Likewise.
693 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
694 [ISO || ISO99 || ISO11] (limits.h): Likewise.
695 [ISO || ISO99 || ISO11] (math.h): Likewise.
696 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
697 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
699
d18ea0c5
AS
7002012-05-24 Andreas Schwab <schwab@linux-m68k.org>
701
702 [BZ #14132]
56d25bb8
AS
703 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
704 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
705 * intl/dgettext.c (DCGETTEXT): Likewise.
706 * intl/gettext.c (DCGETTEXT): Likewise.
707 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
708 * posix/regex_internal.h (gettext): Likewise.
709 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
710 Remove declaration.
711 * include/argz.h (__argz_count_internal)
712 (__argz_stringify_internal): Remove declaration.
713 (__argz_count, __argz_stringify): Declare hidden proto.
714 * intl/dcgettext.c: Remove use of INTDEF.
715 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
716 * string/argz-stringify.c: Likewise.
717 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
718 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
719 Declare hidden proto.
d18ea0c5
AS
720 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
721 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
722 Declare hidden proto.
723 * include/stdio.h (__asprintf_internal): Don't declare.
724 (__asprintf): Don't define as macro. Declare hidden proto.
725 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
726 (__fsetlocking): Declare hidden proto.
727 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
728 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
729 hidden proto.
730 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
731 (_IO_setlinebuf): Remove use of INTUSE.
732 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
733 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
734 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
735 Remove declaration.
736 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
737 (_IO_do_flush): Remove use of INTUSE.
738 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
739 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
740 (_IO_adjust_column, _IO_least_wmarker)
741 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
742 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
743 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
744 (_IO_default_doallocate, _IO_wdefault_doallocate)
745 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
746 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
747 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
748 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
749 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
750 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
751 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
752 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
753 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
754 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
755 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
756 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
757 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
758 proto.
759 (_IO_flush_all_internal, _IO_adjust_column_internal)
760 (_IO_default_uflow_internal, _IO_default_finish_internal)
761 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
762 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
763 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
764 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
765 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
766 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
767 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
768 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
769 (_IO_file_close_internal, _IO_file_close_it_internal)
770 (_IO_file_underflow_internal, _IO_file_overflow_internal)
771 (_IO_file_init_internal, _IO_file_attach_internal)
772 (_IO_file_fopen_internal, _IO_file_read_internal)
773 (_IO_file_sync_internal, _IO_file_seek_internal)
774 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
775 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
776 (_IO_str_underflow_internal, _IO_str_overflow_internal)
777 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
778 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
779 (_IO_list_all_internal, _IO_link_in_internal)
780 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
781 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
782 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
783 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
784 (_IO_do_write_internal, _IO_padn_internal)
785 (_IO_getline_info_internal, _IO_getline_internal)
786 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
787 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
788 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
789 (_IO_vfscanf_internal, _IO_vfprintf_internal)
790 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
791 (_IO_init_internal, _IO_un_link_internal): Don't declare.
792 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
793 with libc_hidden_ver, remove use of INTUSE.
794 * libio/genops.c: Likewise.
795 * libio/freopen.c: Likewise.
796 * libio/freopen64.c: Likewise.
797 * libio/iofclose.c: Likewise.
798 * libio/iofdopen.c: Likewise.
799 * libio/iofflush.c: Likewise.
800 * libio/iofflush_u.c: Likewise.
801 * libio/iofgets.c: Likewise.
802 * libio/iofgets_u.c: Likewise.
803 * libio/iofopen.c: Likewise.
804 * libio/iofopncook.c: Likewise.
805 * libio/iofread.c: Likewise.
806 * libio/iofread_u.c: Likewise.
807 * libio/ioftell.c: Likewise.
808 * libio/iofwrite.c: Likewise.
809 * libio/iogetline.c: Likewise.
810 * libio/iogets.c: Likewise.
811 * libio/iogetwline.c: Likewise.
812 * libio/iopadn.c: Likewise.
813 * libio/iopopen.c: Likewise.
814 * libio/ioseekoff.c: Likewise.
815 * libio/ioseekpos.c: Likewise.
816 * libio/iosetbuffer.c: Likewise.
817 * libio/iosetvbuf.c: Likewise.
818 * libio/ioungetc.c: Likewise.
819 * libio/ioungetwc.c: Likewise.
820 * libio/iovdprintf.c: Likewise.
821 * libio/iovsprintf.c: Likewise.
822 * libio/iovsscanf.c: Likewise.
823 * libio/memstream.c: Likewise.
824 * libio/obprintf.c: Likewise.
825 * libio/oldfileops.c: Likewise.
826 * libio/oldiofclose.c: Likewise.
827 * libio/oldiofdopen.c: Likewise.
828 * libio/oldiofopen.c: Likewise.
829 * libio/oldiopopen.c: Likewise.
830 * libio/oldstdfiles.c: Likewise.
831 * libio/putc.c: Likewise.
832 * libio/setbuf.c: Likewise.
833 * libio/setlinebuf.c: Likewise.
834 * libio/stdfiles.c: Likewise.
835 * libio/strops.c: Likewise.
836 * libio/vasprintf.c: Likewise.
837 * libio/vscanf.c: Likewise.
838 * libio/vsnprintf.c: Likewise.
839 * libio/vswprintf.c: Likewise.
840 * libio/wfiledoalloc.c: Likewise.
841 * libio/wfileops.c: Likewise.
842 * libio/wgenops.c: Likewise.
843 * libio/wmemstream.c: Likewise.
844 * libio/wstrops.c: Likewise.
845 * libio/__fpurge.c: Likewise.
846 * libio/__fsetlocking.c: Likewise.
847 * assert/assert.c: Likewise.
848 * debug/fgets_chk.c: Likewise.
849 * debug/fgets_u_chk.c: Likewise.
850 * debug/fread_chk.c: Likewise.
851 * debug/fread_u_chk.c: Likewise.
852 * debug/gets_chk.c: Likewise.
853 * debug/obprintf_chk.c: Likewise.
854 * debug/vasprintf_chk.c: Likewise.
855 * debug/vdprintf_chk.c: Likewise.
856 * debug/vsnprintf_chk.c: Likewise.
857 * debug/vsprintf_chk.c: Likewise.
858 * malloc/mtrace.c: Likewise.
859 * misc/error.c: Likewise.
860 * misc/syslog.c: Likewise.
861 * stdio-common/asprintf.c: Likewise.
862 * stdio-common/fxprintf.c: Likewise.
863 * stdio-common/getw.c: Likewise.
864 * stdio-common/isoc99_fscanf.c: Likewise.
865 * stdio-common/isoc99_scanf.c: Likewise.
866 * stdio-common/isoc99_vfscanf.c: Likewise.
867 * stdio-common/isoc99_vscanf.c: Likewise.
868 * stdio-common/isoc99_vsscanf.c: Likewise.
869 * stdio-common/printf-prs.c: Likewise.
870 * stdio-common/printf_fp.c: Likewise.
871 * stdio-common/printf_fphex.c: Likewise.
872 * stdio-common/printf_size.c: Likewise.
873 * stdio-common/putw.c: Likewise.
874 * stdio-common/scanf.c: Likewise.
875 * stdio-common/sprintf.c: Likewise.
876 * stdio-common/tmpfile.c: Likewise.
877 * stdio-common/vfprintf.c: Likewise.
878 * stdio-common/vfscanf.c: Likewise.
879 * stdlib/strfmon_l.c: Likewise.
880 * sunrpc/openchild.c: Likewise.
881 * sunrpc/xdr_stdio.c: Likewise.
882 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
883 * sysdeps/mach/hurd/tmpfile.c: Likewise.
884
d6c33fda
RM
8852012-05-24 Roland McGrath <roland@hack.frob.com>
886
c1487492
RM
887 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
888
889 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
890 in the third column, to generate for the shared library an IFUNC
891 that uses _dl_vdso_vsym.
892 * Makerules (COMPILE.c, compile-stdin.c): New variables.
893 * Makeconfig (object-suffixes-noshared): New variable.
894
895 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
896 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
897 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
898 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
899
d6c33fda
RM
900 [BZ #14132]
901 * include/sys/time.h (__gettimeofday): Remove macro.
902 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
903 * time/gettimeofday.c (__gettimeofday): Remove #undef.
904 Remove INTDEF.
905 (__gettimeofday): Add libc_hidden_def.
906 (gettimeofday): Add libc_hidden_weak.
907 * sysdeps/mach/gettimeofday.c: Likewise.
908 * sysdeps/posix/gettimeofday.c: Likewise.
909 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
910 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
912 (__gettimeofday_internal): Remove strong_alias.
913 (__gettimeofday): Add libc_hidden_def.
914 (gettimeofday): Add libc_hidden_weak.
915 * sysdeps/unix/syscalls.list (gettimeofday):
916 Remove __gettimeofday_internal alias.
917
b5a2bbe6
L
9182012-05-24 Daniel Jacobowitz <drow@false.org>
919 H.J. Lu <hongjiu.lu@intel.com>
920
921 [BZ #12495]
922 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
923 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
924 (largebin_index_32_big): New.
925 (largebin_index): Use it for 16-byte alignment.
926 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
927 correction with front_misalign.
928
cfba4fda
L
9292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
930
7f907421
L
931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
933 Likewise.
934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
935 Likewise.
936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
937 Likewise.
938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
939 Likewise.
940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
941 Likewise.
942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
943 Likewise.
944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
945 Likewise.
946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
947 Likewise.
948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
949 Likewise.
950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
951 Likewise.
952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
953 Likewise.
954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
955 Likewise.
956
cfba4fda
L
957 * scripts/data/c++-types-x32-linux-gnu.data: New file.
958 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
959
80bad0cc
JM
9602012-05-24 Joseph Myers <joseph@codesourcery.com>
961
7a25eb06
JM
962 [BZ #10846]
963 [BZ #14036]
964 * math/libm-test.inc (exp_test): Add test from bug 14036.
965 (pow_test): Add test from bug 10846.
966
795405f9
JM
967 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
968 and other flags.
969 (special_function): Do not include flags in test name.
970 (parse_args): Likewise.
971 * sysdeps/i386/fpu/libm-test-ulps: Update.
972 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
973 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
974 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
976
80bad0cc
JM
977 * math/gen-libm-test.pl (%beautify): Add entries for underflow
978 exceptions.
979 * math/libm-test.inc ("Philosophy"): Update comment about
980 exception testing.
981 (UNDERFLOW_EXCEPTION): New macro.
982 (UNDERFLOW_EXCEPTION_OK): Likewise.
983 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
984 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
985 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
986 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
987 (INVALID_EXCEPTION_OK): Update value.
988 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
989 (OVERFLOW_EXCEPTION_OK): Likewise.
990 (IGNORE_ZERO_INF_SIGN): Likewise.
991 (test_exceptions): Handle underflow exceptions.
992 (acos_test): Update for underflow exception expectations.
993 (cexp_test): Likewise.
994 (clog_test): Likewise.
995 (clog10_test): Likewise.
996 (csqrt_test): Likewise.
997 (ctan_test): Likewise.
998 (ctanh_test): Likewise.
999 (exp_test): Likewise.
1000 (exp10_test): Likewise.
1001 (exp2_test): Likewise.
1002 (expm1_test): Likewise.
1003 (fma_test): Likewise.
1004 (j0_test): Likewise.
1005 (jn_test): Likewise.
1006 (nexttoward_test): Likewise.
1007 (pow_test): Likewise.
1008 (scalbn_test): Likewise.
1009 (scalbln_test): Likewise.
1010 (tan_test): Likewise.
1011 (y1_test): Likewise.
1012 * sysdeps/i386/fpu/libm-test-ulps: Update.
1013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1014
9e0e3d0b
DM
10152012-05-23 David S. Miller <davem@davemloft.net>
1016
1017 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1018 (__libc_sigaction): Remove unused local variables.
1019
ccd0a08f
L
10202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1023
62bdf9a6
PE
10242012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1025
f8591f80
PE
1026 mktime: avoid signed integer overflow
1027 * time/mktime.c (__mktime_internal): Do not mishandle the case
1028 where diff == INT_MIN.
1029
94c7d826
PE
1030 mktime: simplify computation of average
1031 * time/mktime.c (ranged_convert): Use new time_t_avg function
1032 instead of rolling our own (probably-slower) code.
1033
ce73d683
PE
1034 mktime: do not assume signed right shift propagates sign bit
1035 * time/mktime.c (isdst_differ): New static function.
1036 (__mktime_internal): No need to normalize tm_isdst now.
1037 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1038 tm_isdst values.
1039
72a22e59
PE
1040 mktime: merge another wrapv change from gnulib
1041 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1042 from some compilers.
1043
68605433
PE
1044 mktime: remove incorrect attempt at unusual arithmetics
1045 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1046 The code didn't really work on such machines anyway.
1047 (TYPE_MINIMUM): Assume two's complement.
1048 (twos_complement_arithmetic): Verify that long_int and time_t
1049 are two's complement (or unsigned, in the latter case).
1050
03cf7fe3
PE
1051 mktime: check signed shifts on long_int and time_t, too
1052 * time/mktime.c (SHR): Check that shifts work as desired
1053 on the types long_int and time_t too, as SHR is used on
1054 such types.
1055
f04dfbc2
PE
1056 mktime: do not assume 'long' is wide enough
1057 * time/mktime.c (verify): Move decl up.
1058 (long_int): New type.
1059 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1060 to remove assumption in the code that 'long' is wide enough to
1061 store year values. This assumption is not true on x32 and on
1062 some non-glibc platforms.
1063
62bdf9a6
PE
1064 mktime: merge wrapv change from gnulib
1065 * time/mktime.c (WRAPV): New macro.
1066 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1067 (guess_time_tm, __mktime_internal): Do not assume that signed
1068 integer overflow wraps around; modern compilers generate code
1069 where this assumption is no longer valid.
1070
5e292e4f
L
10712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1072
1073 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1074 Replace "jmp L(pseudo_end)" with "ret".
1075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1076 Likewise.
1077
8caf8c87
AJ
10782012-05-23 Andreas Jaeger <aj@suse.de>
1079
1080 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1081 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1082
1a09dc56
AJ
10832012-05-23 Andreas Jaeger <aj@suse.de>
1084 Maximilian Attems <max@stro.at>
1085
1086 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1087 New macros.
1088
1c87aba0
L
10892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1090
1091 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1092 code so that pseudo_end is just ret and the stack pointer is
1093 correct also for static library in error case.
1094
40e45bd5
JM
10952012-05-23 Joseph Myers <joseph@codesourcery.com>
1096
c2670533
JM
1097 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1098 move to syscalls.list.
1099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1103
40e45bd5
JM
1104 * manual/install.texi (Running make install): Do not mention Linux
1105 kernel version for which pt_chown is not needed.
1106 (Linux): Do not mention problems with nscd with 2.0 kernels.
1107 * INSTALL: Regenerated.
1108
be08eda5
AJ
11092012-05-23 Andreas Jaeger <aj@suse.de>
1110
1111 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1112 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1113 macro.
1114 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1115 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1116 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1118 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1119 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1121 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1122 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1123 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1124 * sysdeps/unix/sysv/linux/bits/in.h
1125 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1126
a6a056bb
RM
11272012-05-22 Roland McGrath <roland@hack.frob.com>
1128
1129 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1130 (PREPARE_VERSION): Just use assert instead, it will be elided
1131 under [NDEBUG] anyway.
1132
c9009328
L
11332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1134
1135 * sysdeps/unix/sysv/linux/Makefile: Include
1136 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1137 (sysdep_routines): Remove sysctl.
c9009328
L
1138 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1139 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1140 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1141 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1142 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1143
73338355
AJ
11442012-05-22 Andreas Jaeger <aj@suse.de>
1145
1146 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1147 that pseudo_end is just ret and the stack pointer is correct also
1148 for static library in error case.
1149
d44638b0
PP
11502012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1151
1152 [BZ #14122]
1153 * nss/nsswitch.c (defconfig_entries): New variable.
1154 (__nss_database_lookup): Don't leak defconfig entries.
1155 (nss_parse_service_list): Don't leak on error paths.
1156 (free_database_entries): New function.
1157 (free_defconfig): New function.
1158 (free_mem): Move common code to free_database_entries.
1159
31a39bd8
L
11602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1161
da0331a8
L
1162 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1163 Add arch_prctl.
1164 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1165
31a39bd8
L
1166 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1167 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1169 New macro.
1170 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1171 (INTERNAL_SYSCALL_TYPES): Likewise.
1172 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1173 (LOAD_REGS_TYPES_[1-6]): Likewise.
1174 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1175 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1176
45470df3
AZ
11772012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1178
1179 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1180 copysignl for GLIBC_2_0.
1181 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1182 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1183 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1184 logbl for GLIBC_2_0.
1185 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1186 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1187
98a61bcb
L
11882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1189
a4f6e481
L
1190 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1191 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1192
f63d5db6
L
1193 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1194 Use "neg %eax".
1195
98a61bcb
L
1196 * time/mktime.c: Update copyright years.
1197
95770f14
PE
11982012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1199
6226efbd
PE
1200 mktime: merge comment-quoting-style change from gnulib
1201 * time/mktime.c: Quote 'like this' in comments.
1202 The GNU coding standards suggest that we no longer quote `like this',
1203 as "`" and "'" are typically rendered asymmetrically nowadays.
1204 The typical gnulib style is to quote 'like this' when quoting
1205 code, and "like this" when quoting English.
1206
b99e4f78
PE
1207 * time/mktime.c (compile-command): Add "-I.".
1208
643e01e6
PE
1209 mktime: merge mktime-internal.h change from gnulib
1210 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1211
2554247d
PE
1212 mktime: merge time_r change from gnulib
1213 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1214
826dd0ab
PE
1215 mktime: merge DEBUG change from gnulib
1216 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1217 case system <time.h> has a #define.
1218
bd83aabe
PE
1219 mktime: merge <sys/types.h> change from gnulib
1220 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1221 since <time.t> is now guaranteed to define time_t.
1222
95770f14
PE
1223 mktime: merge HAVE_CONFIG_H change from gnulib
1224 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1225
5e1a27a9
L
12262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1227
0e44a77e
L
1228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1229 Use "neg %eax".
1230
5e1a27a9
L
1231 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1232 __rlim_t cast.
1233 (struct rusage): Use anonymous union to pad each field to
1234 __syscall_slong_t.
1235
46259bec
DM
12362012-05-21 David S. Miller <davem@davemloft.net>
1237
1238 * Makefules (o-iterator): Remove .s cases.
1239 (compile-command.s): Delete.
1240 (COMPILE.s): Delete.
1241 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1242
59f0c22e
JM
12432012-05-21 Joseph Myers <joseph@codesourcery.com>
1244
1245 * configure.in (libc_cv_predef_stack_protector): Only consider
1246 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1247 * configure: Regenerated.
1248
20c07380
L
12492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1250
bbb3154b
L
1251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1252 New macro. Use R*LP on int and pointer.
1253 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1254 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1255 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1256 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1257
20c07380
L
1258 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1259 [__WORDSIZE_TIME64_COMPAT32] instead of
1260 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1261 (struct utmp): Likewise.
1262 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1263 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1264 Renamed to ...
1265 (__WORDSIZE_TIME64_COMPAT32): This.
1266 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1267 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1268 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1269 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1270 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1271 (__WORDSIZE_TIME64_COMPAT32): New macro.
1272
d8d1017e
AJ
12732012-05-21 Andreas Jaeger <aj@suse.de>
1274
1275 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1276 only if [SHARED]. Add prototype for __wcschr_ia32.
1277
6c7fb145
RM
12782012-05-21 Roland McGrath <roland@hack.frob.com>
1279
1280 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1281 of %rbp unmolested in the jmp_buf while mangling the low bits.
1282 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1283 unmolested high bits of %rbp while demangling the low bits.
1284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1285
66274218
AJ
12862012-05-21 Andreas Jaeger <aj@suse.de>
1287
07c58f8f
AJ
1288 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1289 * sunrpc/svc_simple.c: Use it for registerrpc.
1290 * sunrpc/xcrypt.c: Use it for passwd2des.
1291
66274218
AJ
1292 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1293
61f65140
L
12942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1295
1296 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1297 Don't define if [__SYSCALL_WORDSIZE != 32].
1298 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1299 New macro.
1300
5fefb436
AJ
13012012-05-21 Bruno Haible <bruno@clisp.org>
1302 Andreas Jaeger <aj@suse.de>
1303
1304 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1305 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1306 inptr and inend for must_buffer_ch.
1307 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1308 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1309 * stdio-common/Makefile (tests): Remove bug15.
1310 (bug15-ENV): Remove macro.
1311 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1312 anymore.
1313
d8e272ab
AJ
13142012-05-19 Andreas Jaeger <aj@suse.de>
1315 Roland McGrath <roland@hack.frob.com>
1316
1317 * manual/contrib.texi: Completely rewritten. It contains now an
1318 alphabetical list of contributors and their contributions.
1319
4a56a162
RH
13202012-05-21 Richard Henderson <rth@twiddle.net>
1321
1322 * misc/getauxval.c (__getauxval): Use unsigned long int.
1323 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1324 (getauxval): Use unsigned long int.
1325
d024d23c
L
13262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1327
1328 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1329
cbc00a03
RM
13302012-05-21 Roland McGrath <roland@hack.frob.com>
1331
1332 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1333 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1334 __alignof__ (long double).
1335
478143fa
AZ
13362012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1337
1338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1339
c7683a6d
RH
13402012-05-20 Richard Henderson <rth@twiddle.net>
1341
1342 * misc/getauxval.c: New file.
1343 * misc/sys/auxv.h: New file.
1344 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1345 (routines): Add getauxval.
1346 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1347 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1348 * elf/dl-sysdep.c (_dl_auxv): Remove.
1349 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1350 * elf/dl-support.c (_dl_auxv): New variable.
1351 (_dl_aux_init): Initialize it.
1352 * manual/startup.texi (Auxiliary Vector): New node.
1353 * sysdeps/generic/bits/hwcap.h: New file.
1354 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1355 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1356 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1357 * sysdeps/sparc/sysdep.h: ... here. Include it.
1358 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1359 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1361 Update.
c7683a6d
RH
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1365 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1370
a6f1845d
AZ
13712012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1372
1373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1374
cbcbe830
DM
13752012-05-19 David S. Miller <davem@davemloft.net>
1376
1377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1378
e0b16cc2
JM
13792012-05-19 Joseph Myers <joseph@codesourcery.com>
1380
1381 [BZ #14123]
1382 * math/s_ccosh.c: Include <float.h>
1383 (__ccosh): Avoid internal overflow calculating sinh and cosh
1384 values before multiplying by sin and cos values.
1385 * math/s_ccoshf.c: Likewise.
1386 * math/s_ccoshl.c: Likewise.
1387 * math/s_csin.c: Likewise.
1388 * math/s_csinf.c: Likewise.
1389 * math/s_csinl.c: Likewise.
1390 * math/s_csinh.c: Likewise.
1391 * math/s_csinhf.c: Likewise.
1392 * math/s_csinhl.c: Likewise.
1393 * math/libm-test.inc (ccos_test): Add more tests.
1394 (ccosh_test): Likewise.
1395 (csin_test): Likewise.
1396 (csinh_test): Likewise.
1397 * sysdeps/i386/fpu/libm-test-ulps: Update.
1398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1399
6ad13e08
L
14002012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1401
f66f0ce8
L
1402 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1403 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1404
6ad13e08
L
1405 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1406
b1d072a7
JM
14072012-05-19 Joseph Myers <joseph@codesourcery.com>
1408
1409 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1410 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1411 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1412 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1413 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1414 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1415 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1416 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1417 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1418 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1419 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1420 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1421 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1422 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1423 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1424 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1425 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1426 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1427 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1428 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1429 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1430 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1431 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1432 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1433 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1434 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1435 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1436 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1437 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1438 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1439 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1440
9eae47cb
AJ
14412012-05-18 Andreas Jaeger <aj@suse.de>
1442
1443 * csu/.gitignore: Delete.
1444
bb07f69f
L
14452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1448 (timex): Use __syscall_slong_t.
1449
e6bdb741
AJ
14502012-05-18 Andreas Jaeger <aj@suse.de>
1451 Carlos O'Donell <carlos_odonell@mentor.com>
1452
1453 * manual/install.texi (Configuring and compiling): Update
1454 description about files modified in the source directory.
d6c33fda 1455 * INSTALL: Regenerated.
e6bdb741 1456
1b74487e
L
14572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1458
1459 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1460 value. Use "or" to set return value to -1.
1461 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1462 negate return value.
1463
a88b64b9
TMQMF
14642012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1465
1466 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1467 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1468 failure if the compiler has Graphite support disabled.
1469 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1470 Likewise.
1471 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1472 CFLAGS-memmove.c): Likewise.
1473 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1474 Likewise.
1475
3707636e
L
14762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1477
610b8622
L
1478 * sysdeps/x86_64/x32/_itoa.h: New file.
1479
7cd195df
L
1480 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1481 getdents system call only if kernel and user dirents have the
1482 same d_ino and d_off.
1483
94b07d20
L
1484 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1485 LLONG_MAX != LONG_MAX.
1486 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1487 (_fitoa_word): Likewise.
1488
18298070
L
1489 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1490 years.
1491 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1492 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1493 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1494
553c7ea4
L
1495 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1496 include <bits/wordsize.h>. Check __x86_64__ instead of
1497 __WORDSIZE.
1498 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1499 if __x86_64__ is defined. Use anonymous union on fpstate.
1500
3707636e
L
1501 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1502 anonymous union.
1503
b53ef01a
AS
15042012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1505
37fb1dc0
AS
1506 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1507 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1508 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1509 Refer to _rtld_local_ro instead of _rtld_global_ro.
1510 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1511 Likewise.
1512 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1513 Likewise.
1514 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1515 Likewise.
1516 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1517 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1518 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1519
b53ef01a
AS
1520 * sysdeps/powerpc/powerpc32/dl-machine.c
1521 (__elf_machine_runtime_setup) [PROF]: Don't reference
1522 _dl_prof_resolve.
1523
7a185db2
AJ
15242012-05-18 Andreas Jaeger <aj@suse.de>
1525
1526 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1527 function only available for GCCs before 3.4 since GCC 3.4
1528 introduced a builtin.
1529 (lrint): Likewise.
1530 (llrintf): Likewise.
1531 (llrint): Likewise.
1532 (fmaxf): Likewise.
1533 (fmax): Likewise.
1534 (fminf): Likewise.
1535 (fmin): Likewise.
1536 (rint): Likewise.
1537 (rintf): Likewise.
1538 (nearbyint): Likewise.
1539 (nearbyintf): Likewise.
1540 (ceil): Likewise.
1541 (ceilf): Likewise.
1542 (floor): Likewise.
1543 (floorf): Likewise.
1544
3e5aef87
L
15452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1546
428bd707
L
1547 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1548 on both fields and cast pointer to __syscall_ulong_t.
1549
3e5aef87
L
1550 * bits/types.h (__fsword_t): New type.
1551 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1552 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1553 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1554 (__FSWORD_T_TYPE): Likewise.
1555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1556 (__FSWORD_T_TYPE): Likewise.
1557 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1558 (__FSWORD_T_TYPE): Likewise.
1559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1560 (__FSWORD_T_TYPE): Likewise.
1561 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1562 __SWORD_TYPE with __fsword_t.
1563 (statfs64): Likewise.
1564
1ba7c3dc
DM
15652012-05-17 David S. Miller <davem@davemloft.net>
1566
1567 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1568
59910343
AJ
15692012-05-17 Andreas Jaeger <aj@suse.de>
1570
1571 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1572 warning.
1573
2e4c1e9e
L
15742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1575
1576 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1577
de7f5ce7
AJ
15782012-05-17 Andreas Jaeger <aj@suse.de>
1579
1580 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1581 when it is used.
1582
286abc3d
CM
15832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1584
1585 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1586
477cc68e
L
15872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1590 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1591
1a0994f5
CD
15922012-05-17 Andreas Jaeger <aj@suse.de>
1593 Carlos O'Donell <carlos_odonell@mentor.com>
1594
1595 [BZ #14059]
1596 * sysdeps/x86_64/multiarch/init-arch.h
1597 (bit_YMM_Usable): Rename to...
1598 (bit_AVX_Usable): ... this.
1599 (bit_FMA4_Usable): New macro.
1600 (bit_XMM_state): New macro.
1601 (bit_YMM_state): New macro.
1602 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1603 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1604 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1605 (CPUID_OSXSAVE): New macro.
1606 (CPUID_AVX): New macro.
1607 (CPUID_FMA4): New macro.
1608 (index_YMM_Usable): Rename to...
1609 (index_AVX_Usable): ... this.
1610 (HAS_AVX): Use HAS_ARCH_FEATURE.
1611 (HAS_FMA4): Likewise.
1612 (HAS_YMM_USABLE): Remove.
1613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1614 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1615 are present.
1616 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1617 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1618 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1619 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1620 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1621
0af797de
CM
16222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1623
1624 * math/libm-test.c: Support platforms without multiple rounding modes.
1625 * math/bug-nextafter.c: Support platforms without FP exceptions.
1626 * math/bug-nexttoward.c: Likewise.
1627 * math/test-fenv.c: Likewise.
1628 * math/test-misc.c: Likewise.
1629 * stdlib/bug-getcontext.c: Likewise.
1630
e39745ff
AJ
16312012-05-17 Andreas Jaeger <aj@suse.de>
1632
1633 * manual/examples/search.c (critter_cmp): Change signature to
1634 avoid warnings.
1635 * manual/string.texi (Collation Functions): Likewise.
1636
48970aba
L
16372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1638
1639 * bits/types.h: Fold copyright years.
1640 * bits/typesizes.h: Likewise.
1641 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1645 * time/time.h: Likewise.
1646
bedee953
PP
16472012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1648
1649 [BZ #208]
1650 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1651 in instead of returning them. Return void.
1652 (__libc_mallinfo): Accumulate over all arenas.
1653 (__malloc_stats): Adjust for change in int_mallinfo interface.
1654
61653dfb
RM
16552012-05-16 Roland McGrath <roland@hack.frob.com>
1656
30b99d79
RM
1657 [BZ #10375]
1658 * configure.in (NM): Add AC_CHECK_TOOL for it.
1659 (libc_extra_cflags): New substituted variable.
1660 Check for -fstack-protector being used implicitly.
1661 * configure: Regenerated.
1662 * config.make.in (config-extra-cflags): New variable,
1663 gets @libc_extra_cflags@.
1664 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1665
61653dfb
RM
1666 [BZ #10375]
1667 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1668 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1669 * configure: Regenerated.
1670 * config.make.in (CPPUNDEFS): New substituted variable.
1671 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1672 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1673 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1674
661768bb
L
16752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1676
1677 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1678 (mq_attr): Use __syscall_slong_t.
1679
d4261567
L
16802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1681
1682 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1683 Check __x86_64__ instead of __WORDSIZE.
1684 (_STAT_VER_LINUX): Likewise.
1685 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1686 __syscall_ulong_t and __syscall_slong_t.
1687 (stat64): Likewise.
1688
cf3ff365
L
16892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1690
1691 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1692
76cf3e4d
L
16932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1694
1695 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1696
a637753a
L
16972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1698
1699 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1700 __syscall_ulong_t.
1701
d5e05119
L
1702 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1703 include <bits/wordsize.h>. Check __x86_64__ instead of
1704 __WORDSIZE.
1705 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1706 defined.
1707 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1708
f62ee380
L
1709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1710 include <bits/wordsize.h>. Check __x86_64__ instead of
1711 __WORDSIZE.
1712 (user_regs_struct): Use "__extension__ unsigned long long"
1713 instead of "unsigned long" if __x86_64__ is defined.
1714 (user): Likewise. Pad after pointer field if __ILP32__ is
1715 defined.
1716
4e124ced
JM
17172012-05-16 Joseph Myers <joseph@codesourcery.com>
1718
6a3951a0
JM
1719 * configure.in (makeinfo): Require version 4.5 or later. Allow
1720 versions 5 to 9.
1721 * configure: Regenerated.
1722 * manual/install.texi (texinfo): Increase version requirement to
1723 4.5 or later.
1724 * INSTALL: Regenerated.
1725
4e124ced
JM
1726 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1727
953ca31a
L
17282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1729
1730 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1731
617aca05
L
1732 * sysdeps/x86_64/x32/ffs.c: New file.
1733
5762f7ae
L
1734 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1735 __syscall_ulong_t.
1736 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1737 defined. Use __syscall_ulong_t.
1738 (shminfo): Use __syscall_ulong_t.
1739 (shm_info): Likewise.
1740
a26b6856
L
1741 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1742 __syscall_ulong_t.
1743
cb2b9ef7
L
1744 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1745 <bits/wordsize.h>.
1746 (msgqnum_t): Use __syscall_ulong_t.
1747 (msglen_t): Likewise.
1748 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1749 __syscall_ulong_t.
1750
34683bb0
L
1751 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1752 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1753
84a68786
L
1754 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1755
48baa5f1
L
1756 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1757 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1758
180be88b
L
1759 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1760 __syscall_slong_t.
1761
5e90c8ad
L
1762 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1763 include <bits/wordsize.h>. Check __x86_64__ instead of
1764 __WORDSIZE.
1765
23dfb58b
L
1766 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1767 "unsigned long long int" if __x86_64__ is defined.
1768 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1769
ce5d54b0
L
1770 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1771 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1772 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1773
13dc9eac
L
1774 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1775 <stdint.h>.
1776 (GET_PC): Cast to uintptr_t first.
1777 (GET_FRAME): Likewise.
1778 (GET_STACK): Likewise.
1779
a7895d15
L
1780 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1781 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1782 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1783 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1784 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1785 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1786 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1787 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1788 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1789 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1790 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1791 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1792 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1793 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1794 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1795 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1796 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1797 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1798 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1799 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1800 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1801 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1802 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1803 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1804 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1805 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1806 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1807 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1808 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1809
656416c9
AS
18102012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1811
5bd66283
AS
1812 * Makerules (+depfiles): Also collect depfiles from .oS in
1813 $(extra-objs).
1814 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1815 .oS, $(libnldbl-routines)).
1816
656416c9
AS
1817 * Makerules (native-compile-mkdep-flags): Define.
1818 * sunrpc/Makefile (extra-objs): Add $(addprefix
1819 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1820 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1821 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1822 calling $(make-target-directory).
1823
a46f2169
L
18242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1825
1826 * bits/types.h (__snseconds_t): Removed.
1827 * time/time.h (struct timespec): Replace __snseconds_t with
1828 __syscall_slong_t.
1829 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1830 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1831 Likewise.
1832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1833 (__SNSECONDS_T_TYPE): Likewise.
1834 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1835 (__SNSECONDS_T_TYPE): Likewise.
1836 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1837 (__SNSECONDS_T_TYPE): Likewise.
1838
6af6528b
L
18392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1840
1841 * sysdeps/mach/hurd/bits/typesizes.h
1842 (__SYSCALL_SLONG_TYPE): New macro.
1843 (__SYSCALL_ULONG_TYPE): Likewise.
1844
de986b56
L
18452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1846
1847 * bits/types.h (__syscall_slong_t): New type.
1848 (__syscall_ulong_t): Likewise.
1849
1850 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1851 (__SYSCALL_ULONG_TYPE): Likewise.
1852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1853 (__SYSCALL_SLONG_TYPE): Likewise.
1854 (__SYSCALL_ULONG_TYPE): Likewise.
1855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1856 (__SYSCALL_SLONG_TYPE): Likewise.
1857 (__SYSCALL_ULONG_TYPE): Likewise.
1858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1859 (__SYSCALL_SLONG_TYPE): Likewise.
1860 (__SYSCALL_ULONG_TYPE): Likewise.
1861
85736dc7
L
18622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1863
1864 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1865 Add sigaltstack-offsets.sym.
1866 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1867 <sigaltstack-offsets.h>.
1868 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1869 longjmp_msg pointer.
1870 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1871 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1872 signal stack.
1873 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1874
cc03b296
JM
18752012-05-15 Joseph Myers <joseph@codesourcery.com>
1876
a9538892
JM
1877 * elf/stackguard-macros.h: Remove file.
1878 * sysdeps/generic/stackguard-macros.h: New file.
1879 * sysdeps/i386/stackguard-macros.h: Likewise.
1880 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1881 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1882 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1883 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1884 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1885 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1886 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1887 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1888 <elf/stackguard-macros.h>.
1889
cc03b296
JM
1890 [BZ #14109]
1891 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1892 __aligned__ in attribute.
1893 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1894 (gregset_t): Likewise.
1895
93171016
L
18962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1897
1898 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1899 * sysdeps/x86_64/64/Implies-after: Here. New file.
1900 * sysdeps/x86_64/x32/Implies-after: New file.
1901
d86813a0
L
19022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1905 and access return value for _dl_profile_fixup. Use R10_LP to
1906 load frame size.
1907
2953ec75
L
19082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1909
1910 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1911
3b550e9e
L
19122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1913
1914 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1915 * sysdeps/x86_64/x32/sysdep.h: New file.
1916
eda41706
L
19172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1918
1919 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1920 * sysdeps/x86_64/setjmp.S: Likewise.
1921
9ea01d93
AZ
19222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1923
1924 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1925 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1926 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1927 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1928 remove unused global constant.
1929
02a91938
CM
19302012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1931
1932 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1933 include of <not-cancel.h>.
1934
6540185f
RM
19352012-05-15 Roland McGrath <roland@hack.frob.com>
1936
1937 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1938
509072a0
AJ
19392012-05-15 Jeff Law <law@redhat.com>
1940 Andreas Jaeger <aj@suse.de>
1941
1942 [BZ #13594]
1943 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1944 out from...
1945 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1946 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1947 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1948 code changing __hst_map_handle.map.
1949
ba75122d
RM
19502012-05-15 Roland McGrath <roland@hack.frob.com>
1951
1952 * configure.in (sysnames): Look for Implies-before and Implies-after
1953 files.
1954 * configure: Regenerated.
1955
890d8bd8
L
19562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1957
1958 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1959 8-byte data alignment with LP_SIZE alignment.
1960
f6ee6623
L
19612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1962
1963 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1964 into R10_LP.
1965
ea2626f6
L
19662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1967
1968 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1969
085f715e
L
19702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1971
1972 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1973 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1974 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1975 Likewise.
1976 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1977
be8498fc
L
19782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1979
1980 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1981 (stackinfo_sub_sp): Likewise.
1982
70bc83b9
L
19832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1984
1985 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1986 RAX_LP.
1987
9bc0b730
L
19882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1989
1990 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1991 into R*_LP.
1992
6d2850e7
L
19932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1994
1995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1996 sizes into R*_LP.
1997
3cb84561
L
19982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1999
2000 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2001
54e2ed81
L
20022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2003
2004 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2005 into R11_LP and load __x86_64_shared_cache_size_half into
2006 R8_LP.
2007
8a17f349
L
20082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2009
2010 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2011 R8_LP.
2012
777b1eea
AZ
20132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2014
2015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2016 logb for POWER7.
2017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2018 logbf for POWER7.
2019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2020 logbl for POWER7.
2021 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2022 powerpc32/power7/fpu/s_logb.c via #include.
2023 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2024 powerpc32/power7/fpu/s_logbf.c via #include.
2025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2026 powerpc32/power7/fpu/s_logbl.c via #include.
2027
d20d4ac2
JM
20282012-05-15 Joseph Myers <joseph@codesourcery.com>
2029
2030 * README.libm: Remove file.
2031
6cdef1ab
L
20322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2033
2034 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2035 count for x32. Use R*_LP and omit operand-size suffix.
2036
0b254d8f
L
20372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2038
2039 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2040 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2041 * sysdeps/x86_64/x32/shlib-versions: New file.
2042
ceb809dc
RM
20432012-05-14 Roland McGrath <roland@hack.frob.com>
2044
2045 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2046 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2047 Use _dl_fatal_printf instead.
2048
37f1abd4
JM
20492012-05-14 Joseph Myers <joseph@codesourcery.com>
2050
2051 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2052 set if not set by the user. Do not allow for being unset.
2053 * sysdeps/unix/sysv/linux/configure: Regenerated.
2054
11de3a33
L
20552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2058 the `q' suffix from lea and replace .quad with ASM_ADDR.
2059
e02f153a
L
20602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2061
2062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2063 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2064 instead of $17.
2065 (PTR_DEMANGLE): Likewise.
2066
520ae0fd
L
20672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2068
2069 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2070 (LP_OP): Likewise.
2071 (ASM_ADDR): Likewise.
2072 (RAX_LP): Likewise.
2073 (RBP_LP): Likewise.
2074 (RBX_LP): Likewise.
2075 (RCX_LP): Likewise.
2076 (RDI_LP): Likewise.
2077 (RSI_LP): Likewise.
2078 (RSP_LP): Likewise.
2079 (R8_LP): Likewise.
2080 (R9_LP): Likewise.
2081 (R10_LP): Likewise.
2082 (R10_LP): Likewise.
2083 (R11_LP): Likewise.
2084 (R12_LP): Likewise.
2085 (R13_LP): Likewise.
2086 (R14_LP): Likewise.
2087 (R15_LP): Likewise.
2088
b985be81
L
20892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2090
2091 * sysdeps/x86_64/x32/dl-machine.h: New file.
2092
6a4888ff
AJ
20932012-05-14 Andreas Jaeger <aj@suse.de>
2094
2095 * manual/Makefile (subdir): Remove export of subdir.
2096 (all): Remove target.
2097 (.PHONY): Remove all from list.
2098 (mkinstalldirs): Remove.
2099 (.PHONY): Remove installdirs from list.
2100 ($(inst_infodir)/libc.info): Use make-target-directory.
2101 (installdirs): Remove.
2102 (subdir_%): Remove.
2103 (glibc-targets): Remove.
2104 (lib): Remove.
2105 (stubs): Remove.
2106 ($(objpfx)stubs ../po/manual.pot): Remove.
2107 ($(objpfx)stamp%): Remove.
2108 (make-target-directory): Remove.
2109 (subdir_install): Remove.
2110 (routines): Remove.
2111 (aux): Remove.
2112 (sources): Remove.
2113 (objects): Remove.
2114 (headers): Remove.
2115
2116 [BZ #13750]
2117 * manual/.gitignore: Remove, it's not needed anymore.
2118 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2119 all files in it.
2120 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2121 directory.
2122 (texis): Renamed to $(objpfx)texis.
2123 (texis-path): New, contains path to generated files.
2124 (chapters.%): Use texis-path for complete path, add extra argument
2125 libc-texinfo.sh.
2126 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2127 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2128 (summary,texi, stamp-summary): Use complete path of
2129 files. Generate files in build dir.
2130 (dir-add.texi): Build in build dir.
2131 (libm-err.texi,stamp-libm-err): Likewise.
2132 (version.texi, stamp-version): Likewise.
2133 (.%c.texi): Likewise.
2134 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2135 (mostlyclean): Remove target.
2136 (realclean): Remove target.
2137 (generated): Add new variable with contents from mostlyclean and
2138 realclean, remove entries duplicated in common-mostlyclean, add
2139 stamp-libm-err and stamp-version.
2140 (generated-dirs): Add libc directory.
2141 ($(inst_infodir)/libc.info): Install files from build dir.
2142
2143 * manual/install.texi (Configuring and compiling): Adjust since
2144 the info files are not part of the tar ball anymore.
2145
7ac77294
AJ
21462012-05-14 Andreas Jaeger <aj@suse.de>
2147
2148 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2149 variable.
2150
ffb7875d
JM
21512012-05-14 Joseph Myers <joseph@codesourcery.com>
2152
2153 [BZ #13717]
2154 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2155 to 2.2.0 where earlier.
2156 * sysdeps/unix/sysv/linux/configure: Regenerated.
2157 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2158 Remove conditional code.
2159 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2160 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2161 Remove conditional code.
2162 [!__NR_lchown]: Likewise.
2163 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2164 [__NR_lchown]: Likewise.
2165 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2166 comment referencing __ASSUME_LCHOWN_SYSCALL.
2167 * sysdeps/unix/sysv/linux/i386/sigaction.c
2168 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2169 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2170 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2171 Remove conditional code.
2172 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2173 (__protocol_available): Remove #if 0 code.
2174 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2175 conditional code.
2176 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2177 * sysdeps/unix/sysv/linux/kernel-features.h
2178 (__ASSUME_GETCWD_SYSCALL): Don't define.
2179 (__ASSUME_REALTIME_SIGNALS): Likewise.
2180 (__ASSUME_PREAD_SYSCALL): Likewise.
2181 (__ASSUME_PWRITE_SYSCALL): Likewise.
2182 (__ASSUME_POLL_SYSCALL): Likewise.
2183 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2184 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2185 non-SPARC.
2186 (__ASSUME_SIOCGIFNAME): Don't define.
2187 (__ASSUME_MSG_NOSIGNAL): Likewise.
2188 (__ASSUME_SENDFILE): Define unconditionally.
2189 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2190 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2191 conditional code.
2192 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2193 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2194 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2195 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2196 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2197 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2198 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2200 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2212 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2215 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2221 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2223 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2224 Remove conditional code.
2225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2226 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2227 Remove conditional code.
2228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2229 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2230 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2231 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2232 Remove conditional code.
2233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2234 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2235 Remove conditional code.
2236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2237 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2238 Remove conditional code.
2239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2240 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2241 Remove conditional code.
2242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2243 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2244 Remove conditional code.
2245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2246 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2249 * sysdeps/unix/sysv/linux/sigaction.c
2250 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2251 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2252 * sysdeps/unix/sysv/linux/sigpending.c
2253 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2254 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2255 * sysdeps/unix/sysv/linux/sigprocmask.c
2256 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2257 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2258 * sysdeps/unix/sysv/linux/sigsuspend.c
2259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2261 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2262 (__libc_missing_rt_sigs): Remove.
2263 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2264 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2265 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2266 Remove conditional code.
2267 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2268 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2269 return 1.
2270 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2271 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2272 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2273 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2274
1bfb7291
AJ
22752012-05-14 Andreas Jaeger <aj@suse.de>
2276
caae5a81
AJ
2277 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2278 it's not used in glibc.
2279 (__coshm1): Likewise.
2280 (__acosh1p): Likewise.
2281 (__sgn): Likewise.
2282
1bfb7291
AJ
2283 * manual/string.texi (Copying and Concatenation): Add missing
2284 variable in concat example.
2285 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2286
c044d724
L
22872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2288
144c5467 2289 [BZ #14103]
c044d724
L
2290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2291 __builtin_clzl with __builtin_clzll.
2292
2523c62b
L
22932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2294
2295 [BZ #14104]
2296 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2297 libc_freeres_ptr.
2298
d7bb4c42
LD
22992012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2300
2301 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2302 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2303 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2304 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2305
9dc4e1fb
MF
23062012-05-14 Mike Frysinger <vapier@gentoo.org>
2307
2308 * NEWS: Update ia64 info.
2309
c7df0112
AS
23102012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2311
2312 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2313 used as bcopy.
2314
dc70356c
TS
23152012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2316
2317 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2318 * sysdeps/unix/syscalls.list (dup3): Likewise.
2319 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2320 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2321
9fb1a21f
L
23222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2323
2324 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2325 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2326
4822a2a5
L
23272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2328
2329 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2330 thread pointer.
2331 (TLS_IE): Use mov/add instead of movq/addq to load thread
2332 pointer.
2333 (TLS_GD_PREFIX): New.
2334 (TLS_GD): Use it.
2335
842b81d6
DM
23362012-05-11 David S. Miller <davem@davemloft.net>
2337
2338 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2339 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2340 (_FPU_SETCW): Likewise.
2341
1cf463cd
L
23422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2343
2344 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2345 is 32-byte aligned.
2346
60cc4a18
AS
23472012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2348
2349 [BZ #11837]
2350 * iconvdata/gb18030.c: Update tables.
2351 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2352 characters specially.
2353 (BODY for TO_LOOP): Add encoding of missing ranges.
2354
febb44a4
TS
23552012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2356
2357 [BZ #13673]
2358 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2359 * sysdeps/mach/hurd/dup3.c: Likewise.
2360 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2361 * sysdeps/powerpc/memmove.c:: Likewise.
2362
0a10fb9e
L
23632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2364
2365 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2366 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2367
df8a552f
L
23682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2369
2370 * elf/elf.h (R_X86_64_RELATIVE64): New.
2371 (R_X86_64_NUM): Updated.
2372 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2373 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2374 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2375 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2376 tst-quad1pie tst-quad2pie
2377 (modules-names): Add tst-quadmod1 tst-quadmod2.
2378 ($(objpfx)tst-quad1): New dependency.
2379 ($(objpfx)tst-quad2): Likewise.
2380 ($(objpfx)tst-quad1pie): Likewise.
2381 ($(objpfx)tst-quad2pie): Likewise.
2382 * sysdeps/x86_64/tst-quad1.c: New file.
2383 * sysdeps/x86_64/tst-quad1pie.c: New file.
2384 * sysdeps/x86_64/tst-quad2.c: Likewise.
2385 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2386 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2387 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2388 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2389 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2390
f34d6f84
ST
23912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2392
f42d41d1
ST
2393 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2394 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2395 * streams/stropts.h (t_scalar_t): Define type.
2396
3c3571fc
ST
2397 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2398 (_PATH_PRESERVE): Set to "/var/lib".
2399 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2400
61f06bd3
ST
2401 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2402 instead of int.
2403
918d4d71
ST
2404 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2405 if __dir_mkfile succeeded.
2406
f34d6f84
ST
2407 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2408 checking for _hurd_dtablesize. Unlock it right after having
2409 finished _hurd_dtable allocation.
2410
10589b4a
TS
24112012-05-10 Thomas Schwinge <thomas@schwinge.name>
2412
674cdbc7
TS
2413 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2414 * sysdeps/mach/hurd/configure: Regenerated.
2415 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2416 special-casing to...
2417 * sysdeps/gnu/configure.in: ... this new file.
2418 * sysdeps/unix/sysv/linux/configure: Regenerated.
2419 * sysdeps/gnu/configure: New generated file.
2420
8e41b99f
TS
2421 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2422 for Linux: use nsec instead of usec, as well as:
2423 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2424 members of type struct timespec.
2425 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2426 New macros.
2427 (struct stat64): Likewise.
2428 (_STATBUF_ST_NSEC): New macro.
2429 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2430
10589b4a
TS
2431 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2432 __strtoul_internal rather than strtoul.
2433
63643c85
PT
24342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2435
2436 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2437 and reject them.
2438
3faebe6a
ST
24392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2440
2441 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2442 which preserves existing values.
2443 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2444
c6474b07
PT
24452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2446
2447 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2448 TIMEOUT values. Return EINVAL for NFDS values either negative or
2449 greater than FD_SETSIZE.
2450
1043890b
ST
24512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2452
2453 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2454 allocated, call __vm_protect to finish enabling the existing space, and
2455 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2456 allocate the remainder.
2457
37ed8b9b
PT
24582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2459
2460 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2461 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2462
db653660
ST
24632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2464
37ed8b9b
PT
2465 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2466 sysdeps/mach/hurd/readlink.c.
b29d4053 2467
db653660
ST
2468 * posix/tst-sysconf.c (posix_options): Only use
2469 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2470 _POSIX_SYNCHRONIZED_IO when they are defined
2471 * sysdeps/mach/hurd/bits/posix_opt.h:
2472 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2473 (_XOPEN_REALTIME): Undefine macro.
2474 (_XOPEN_REALTIME_THREADS): Undefine macro.
2475 (_XOPEN_SHM): Undefine macro.
2476 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2477 macro to -1.
2478 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2479 macro to -1.
2480 (_POSIX_ASYNC_IO): Undefine macro.
2481 (_POSIX_PRIORITIZED_IO): Undefine macro.
2482 (_POSIX_SPIN_LOCKS): Define macro to -1.
2483
ee16e894
ST
2484 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2485 SA_NODEFER, SA_RESETHAND.
2486 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2487 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2488 F_DUPFD_CLOEXEC.
2489
6103ae3b
TS
24902012-05-10 Thomas Schwinge <thomas@schwinge.name>
2491
2492 * elf/Makefile (pldd-modules): Define unconditionally.
2493
80b4e5f3
TS
24942012-05-10 Thomas Schwinge <thomas@schwinge.name>
2495
2496 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2497
edadcbd6
ST
24982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2499
2500 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2501 Return ENOENT when name is empty.
2502 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2503
80694780
TS
25042012-05-10 Thomas Schwinge <thomas@schwinge.name>
2505
1792c087
TS
2506 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2507
80694780
TS
2508 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2509
6b645f0d
ST
25102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2511
80694780
TS
2512 Fix mlock in all cases except non-readable pages.
2513 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2514 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2515
6b645f0d
ST
2516 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2517 (__mkdir): When path is `/', just fail with EEXIST.
2518 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2519
e468f8a3
TS
25202012-05-10 Thomas Schwinge <thomas@schwinge.name>
2521
2522 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2523 <sys/uio.h> (for writev).
2524 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2525 and <sys/param.h> (for MIN).
2526
a4186cff
PT
25272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2528
2529 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2530 REQUESTED_TIME. Properly set the remaining time and return EINTR
2531 if interrupted.
2532
510bbf14
TS
25332012-05-10 Thomas Schwinge <thomas@schwinge.name>
2534
2535 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2536 Depend on against $(link-rpcuserlibs).
2537
5d5722e8
ST
25382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2539
a4186cff
PT
2540 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2541 (__libc_stack_end): Do not use attribute_relro.
2542 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2543 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2544 to libthread-provided value.
a4186cff
PT
2545 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2546 attribute_relro.
5d5722e8 2547
37233df9
TS
25482012-05-10 Thomas Schwinge <thomas@schwinge.name>
2549
be971a2b
TS
2550 [BZ #3748]
2551 * bits/libc-lock.h (__libc_once_get): New macro.
2552 * sysdeps/mach/bits/libc-lock.h: Likewise.
2553 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2555 instead of using implementation details.
2556
37233df9
TS
2557 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2558 * libio/freopen.c: Likewise.
2559 * libio/freopen64.c: Likewise.
2560 * misc/syslog.c: Likewise.
2561 * nscd/connections.c: Likewise.
2562 * nscd/netgroupcache.c: Likewise.
2563 * sysdeps/posix/getcwd.c: Likewise.
2564
38de94a5
RM
25652012-05-10 Roland McGrath <roland@hack.frob.com>
2566
2567 * math/w_ilogbf.c: Add #include <limits.h>.
2568
67530489
ST
25692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2570
a4186cff 2571 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2572 path instead of returning without unlocking.
2573
67530489
ST
2574 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2575 immediate-write ioctls.
2576 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2577
5aa3a74a
TS
25782012-05-10 Thomas Schwinge <thomas@schwinge.name>
2579
18bad2ae
TS
2580 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2581 __builtin_frame_address instead of making assumptions about the
2582 location of the return address relative to DATA. Force early load of
2583 the return address.
2584 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2585 __builtin_frame_address.
2586
5aa3a74a
TS
2587 dup3 for GNU Hurd.
2588 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2589 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2590 implement dup3 and do some further code clean-ups.
2591 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2592 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2593
ecd0de9a
ST
25942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2595
cd9fa985
ST
2596 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2597
a4186cff
PT
2598 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2599 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2600 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2601 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2602 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2603 d->port.lock.
802ca5a5 2604
a4186cff
PT
2605 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2606 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2607 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2608
bcf55240
TS
26092012-05-10 Thomas Schwinge <thomas@schwinge.name>
2610
6960eb42
TS
2611 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2612 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2613 definitions.
2614
eb43375f
TS
2615 accept4 for GNU Hurd.
2616 * include/sys/socket.h (__libc_accept4): New prototype.
2617 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2618 to implement __libc_accept4.
2619 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2620 __libc_accept4.
2621 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2622
bcf55240
TS
2623 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2624 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2625 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2626 signal-defines.sym.
2627
6178c55b
ST
26282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2629
a4186cff 2630 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2631
6f080c2f
TS
26322012-05-10 Thomas Schwinge <thomas@schwinge.name>
2633
2634 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2635 assertion on O_CLOEXEC flag.
2636 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2637 * hurd/intern-fd.c: Likewise.
2638 * hurd/port2fd.c: Likewise.
2639
bcfe3a54
ST
26402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2641
2642 [BZ #3906]
2643 * bits/in.h (IPV6_PKTINFO): Define new macro.
2644 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2645
89c9aa49
AZ
26462012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2647
2648 [BZ #13954]
2649 [BZ #13955]
2650 [BZ #13956]
2651 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2652 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2653 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2654 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2655 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2656 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2657 * math/libm-test.inc (logb_test) : Additional logb tests.
2658
021db4be
AJ
26592012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2660 Andreas Jaeger <aj@suse.de>
2661
2662 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2663 * configure: Regenerated.
2664 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2665 * config.make.in (link-obsolete-rpc): New substituted variable.
2666 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2667 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2668 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2669 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2670 so that libc.a contains the symbols.
2671 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2672 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2673 * sunrpc/auth_none.c: Likewise.
2674 * sunrpc/auth_unix.c: Likewise.
2675 * sunrpc/authdes_prot.c: Likewise.
2676 * sunrpc/authuxprot.c: Likewise.
2677 * sunrpc/clnt_gen.c: Likewise.
2678 * sunrpc/clnt_perr.c: Likewise.
2679 * sunrpc/clnt_raw.c: Likewise.
2680 * sunrpc/clnt_simp.c: Likewise.
2681 * sunrpc/clnt_tcp.c: Likewise.
2682 * sunrpc/clnt_udp.c: Likewise.
2683 * sunrpc/clnt_unix.c: Likewise.
2684 * sunrpc/des_crypt.c: Likewise.
2685 * sunrpc/des_soft.c: Likewise.
2686 * sunrpc/get_myaddr.c: Likewise.
2687 * sunrpc/key_call.c: Likewise.
2688 * sunrpc/key_prot.c: Likewise.
2689 * sunrpc/netname.c: Likewise.
2690 * sunrpc/pm_getmaps.c: Likewise.
2691 * sunrpc/pm_getport.c: Likewise.
2692 * sunrpc/pmap_clnt.c: Likewise.
2693 * sunrpc/pmap_prot.c: Likewise.
2694 * sunrpc/pmap_prot2.c: Likewise.
2695 * sunrpc/pmap_rmt.c: Likewise.
2696 * sunrpc/publickey.c: Likewise.
2697 * sunrpc/rpc_cmsg.c: Likewise.
2698 * sunrpc/rpc_common.c: Likewise.
2699 * sunrpc/rpc_dtable.c: Likewise.
2700 * sunrpc/rpc_prot.c: Likewise.
2701 * sunrpc/rpc_thread.c: Likewise.
2702 * sunrpc/rtime.c: Likewise.
2703 * sunrpc/svc.c: Likewise.
2704 * sunrpc/svc_auth.c: Likewise.
2705 * sunrpc/svc_raw.c: Likewise.
2706 * sunrpc/svc_run.c: Likewise.
2707 * sunrpc/svc_tcp.c: Likewise.
2708 * sunrpc/svc_udp.c: Likewise.
2709 * sunrpc/svc_unix.c: Likewise.
2710 * sunrpc/svcauth_des.c: Likewise.
2711 * sunrpc/xcrypt.c: Likewise.
2712 * sunrpc/xdr.c: Likewise.
2713 * sunrpc/xdr_array.c: Likewise.
2714 * sunrpc/xdr_float.c: Likewise.
2715 * sunrpc/xdr_intXX_t.c: Likewise.
2716 * sunrpc/xdr_mem.c: Likewise.
2717 * sunrpc/xdr_rec.c: Likewise.
2718 * sunrpc/xdr_ref.c: Likewise.
2719 * sunrpc/xdr_sizeof.c: Likewise.
2720 * sunrpc/xdr_stdio.c: Likewise.
2721
b5c086a2
RM
27222012-05-10 Roland McGrath <roland@hack.frob.com>
2723
2724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2725 change. Update copyright years.
2726
6d74dd09
JM
27272012-05-10 Joseph Myers <joseph@codesourcery.com>
2728
2729 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2730
28e72501
MK
27312012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2732 Joseph Myers <joseph@codesourcery.com>
2733 Paul Pluzhnikov <ppluzhnikov@google.com>
2734
2735 [BZ #14012]
2736 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2737 requiring rpcgen.
2738 [cross-compiling] (extra-libs): Likewise.
2739 [cross-compiling] (extra-libs-others): Likewise.
2740 [cross-compiling] (librpcsvc-routines): Likewise.
2741 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2742 [cross-compiling] (omit-deps): Likewise.
2743 (sunrpc-CPPFLAGS): New variable.
2744 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2745 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2746 (cross-rpcgen-objs): New variable.
2747 (extra-objs): Append $(cross-rpcgen-objs).
2748 ($(cross-rpcgen-objs)): New rule.
2749 ($(objpfx)cross-rpcgen): Likewise.
2750 (rpcgen-cmd): Define to use $(built-program-file). Expand
2751 comment.
2752 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2753 ($(objpfx)x%.stmp): Likewise.
2754 * sunrpc/proto.h [IS_IN_build] (_): Define.
2755 [IS_IN_build] (_libc_intl_domainname): Likewise.
2756
c8c59454
L
27572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2758
2759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2760 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2761 and R_X86_64_TPOFF64.
2762
6f27cd16
JM
27632012-05-10 Joseph Myers <joseph@codesourcery.com>
2764
2765 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2766 sysdeps/unix/sysv/syscalls.list.
2767 (stime): Likewise.
2768 (utime): Likewise.
2769 * sysdeps/unix/sysv/syscalls.list: Remove file.
2770
02467e1c
PE
27712012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2772
2773 [BZ #3440]
2774 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2775 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2776 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2777 (__LC_IDENTIFICATION): Make these macros useful in #if
2778 expressions, as required by C99.
2779
da392631
AS
27802012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2781
2782 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2783 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2784 after this.
2785
8115f29b
L
27862012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2787
2788 * stdlib/longlong.h: Updated from GCC.
2789
bdd74070
AJ
27902012-05-09 Andreas Jaeger <aj@suse.de>
2791
edfe0dbe
AJ
2792 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2793 default is first entry.
2794 (run_mode): Set type.
2795 (main): Remove informal message about syslog.
2796 (options): Fix typo.
2797
bcfe3a54
ST
2798 [BZ #14053]
2799 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2800 to asm.
bcfe3a54
ST
2801 (lrint): Likewise.
2802 (llrintf): Likewise.
2803 (llrint): Likewise.
2804 (rint): Likewise.
2805 (rintf): Likewise.
2806 (nearbyint): Likewise.
2807 (nearbyintf): Likewise.
bdd74070 2808
91d8d69e
AJ
28092012-05-09 Andreas Jaeger <aj@suse.de>
2810 Pedro Alves <palves@redhat.com>
2811
2812 * nscd/nscd.c (run_mode): Use enum.
2813 (main): Cleanup coding style issue.
2814
bb90b80b
AJ
28152012-05-09 Alexandre Oliva <aoliva@redhat.com>
2816 Andreas Jaeger <aj@suse.de>
2817
bcfe3a54
ST
2818 * nscd/nscd.c (go_background): Replaced with...
2819 (run_mode): ... this.
bb90b80b 2820 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2821 (options): Add -F --foreground.
2822 (main): Implement it.
2823 (parse_opt): Parse it.
bb90b80b 2824
1a4b75a1
AJ
28252012-05-09 Andreas Jaeger <aj@suse.de>
2826
2827 [BZ #14083]
2828 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2829 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2830 -Wconversion warning.
2831 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2832 Likewise.
2833
b1cc2472
JM
28342012-05-09 Joseph Myers <joseph@codesourcery.com>
2835
2836 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2837 == 0.
2838 (LC_ALL): Use macro-int-constant.
2839 (LC_COLLATE): Likewise.
2840 (LC_CTYPE): Likewise.
2841 (LC_MESSAGES): Likewise.
2842 (LC_MONETARY): Likewise.
2843 (LC_NUMERIC): Likewise.
2844 (LC_TIME): Likewise.
2845 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2846 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2847 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2848 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2849 Specify type.
2850 [C99-based standards] (float_t): Expect type.
2851 [C99-based standards] (double_t): Expect type.
2852 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2853 type.
2854 [C99-based standards] (HUGE_VALL): Likewise.
2855 [C99-based standards] (INFINITY): Likewise.
2856 [C99-based standards] (NAN): Likewise.
2857 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2858 [C99-based standards] (FP_NAN): Likewise.
2859 [C99-based standards] (FP_NORMAL): Likewise.
2860 [C99-based standards] (FP_SUBNORMAL): Likewise.
2861 [C99-based standards] (FP_ZERO): Likewise.
2862 [C99-based standards] (FP_FAST_FMA): Use
2863 optional-macro-int-constant. Specify type. Require == 1.
2864 [C99-based standards] (FP_FAST_FMAF): Likewise.
2865 [C99-based standards] (FP_FAST_FMAL): Likewise.
2866 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2867 [C99-based standards] (FP_ILOGBNAN): Likewise.
2868 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2869 Specify type.
2870 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2871 [C99-based standards] (math_errhandling): Specify type.
2872 [ISO99 || ISO11] (signgam): Do not allow.
2873 [non-C99-based standards] (copysignf): Do not allow.
2874 [non-C99-based standards] (exp2f): Likewise.
2875 [non-C99-based standards] (log2f): Likewise.
2876 [non-C99-based standards] (modff): Allow.
2877 [non-C99-based standards] (erff): Do not allow.
2878 [non-C99-based standards] (erfcf): Likewise.
2879 [non-C99-based standards] (gammaf): Likewise.
2880 [non-C99-based standards] (hypotf): Likewise.
2881 [non-C99-based standards] (j0f): Likewise.
2882 [non-C99-based standards] (j1f): Likewise.
2883 [non-C99-based standards] (jnf): Likewise.
2884 [non-C99-based standards] (lgammaf): Likewise.
2885 [non-C99-based standards] (tgammaf): Likewise.
2886 [non-C99-based standards] (y0f): Likewise.
2887 [non-C99-based standards] (y1f): Likewise.
2888 [non-C99-based standards] (ynf): Likewise.
2889 [non-C99-based standards] (isnanf): Likewise.
2890 [non-C99-based standards] (acoshf): Likewise.
2891 [non-C99-based standards] (asinhf): Likewise.
2892 [non-C99-based standards] (atanhf): Likewise.
2893 [non-C99-based standards] (cbrtf): Likewise.
2894 [non-C99-based standards] (expm1f): Likewise.
2895 [non-C99-based standards] (ilogbf): Likewise.
2896 [non-C99-based standards] (log1pf): Likewise.
2897 [non-C99-based standards] (logbf): Likewise.
2898 [non-C99-based standards] (nextafterf): Likewise.
2899 [non-C99-based standards] (remainderf): Likewise.
2900 [non-C99-based standards] (rintf): Likewise.
2901 [non-C99-based standards] (scalbf): Likewise.
2902 [non-C99-based standards] (copysignl): Likewise.
2903 [non-C99-based standards] (exp2l): Likewise.
2904 [non-C99-based standards] (log2l): Likewise.
2905 [non-C99-based standards] (modfl): Allow.
2906 [non-C99-based standards] (erfl): Do not allow.
2907 [non-C99-based standards] (erfcl): Likewise.
2908 [non-C99-based standards] (gammal): Likewise.
2909 [non-C99-based standards] (hypotl): Likewise.
2910 [non-C99-based standards] (j0l): Likewise.
2911 [non-C99-based standards] (j1l): Likewise.
2912 [non-C99-based standards] (jnl): Likewise.
2913 [non-C99-based standards] (lgammal): Likewise.
2914 [non-C99-based standards] (tgammal): Likewise.
2915 [non-C99-based standards] (y0l): Likewise.
2916 [non-C99-based standards] (y1l): Likewise.
2917 [non-C99-based standards] (ynl): Likewise.
2918 [non-C99-based standards] (isnanl): Likewise.
2919 [non-C99-based standards] (acoshl): Likewise.
2920 [non-C99-based standards] (asinhl): Likewise.
2921 [non-C99-based standards] (atanhl): Likewise.
2922 [non-C99-based standards] (cbrtl): Likewise.
2923 [non-C99-based standards] (expm1l): Likewise.
2924 [non-C99-based standards] (ilogbl): Likewise.
2925 [non-C99-based standards] (log1pl): Likewise.
2926 [non-C99-based standards] (logbl): Likewise.
2927 [non-C99-based standards] (nextafterl): Likewise.
2928 [non-C99-based standards] (remainderl): Likewise.
2929 [non-C99-based standards] (rintl): Likewise.
2930 [non-C99-based standards] (scalbl): Likewise.
2931 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2932 [non-C99-based standards] (FP_*): Do not allow.
2933 [C99-based standards] (FP_*): Change to
2934 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2935 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2936 allow.
2937 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2938 (SIG_ERR): Likewise.
2939 [X/Open-based standards] (SIG_HOLD): Likewise.
2940 (SIG_IGN): Likewise.
2941 (SIGABRT): Use macro-int-constant. Specify type. Require
2942 positive value.
2943 (SIGFPE): Likewise.
2944 (SIGILL): Likewise.
2945 (SIGINT): Likewise.
2946 (SIGSEGV): Likewise.
2947 (SIGTER): Likewise.
2948 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2949 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2950 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2951 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2952 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2953 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2954 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2955 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2956 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2957 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2958 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2959 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2960 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2961 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2962 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2963 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2964 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2965 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2966 [X/Open-based standards] (SIGTRAP): Likewise.
2967 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2968 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2969 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2970 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2971 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2972 allow.
2973
b9f1922d
IW
29742012-05-08 Ian Wienand <ianw@vmware.com>
2975
2976 [BZ #14080]
2977 * time/tzset.c (__tzset_parse_tz): Update default rules for
2978 daylight time changes in the Energy Policy Act of 2005.
2979
1db86e88
AJ
29802012-05-09 Andreas Jaeger <aj@suse.de>
2981
2982 [BZ #13983]
2983 * elf/ldconfig.c (parse_conf): Change string to make clear that
2984 ldconfig only issued a warning if ld.so.conf does not exist.
2985
dee4a4e3
DM
29862012-05-08 David S. Miller <davem@davemloft.net>
2987
ee0db190
DM
2988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2989 movxtod instead of popping the value on the stack.
2990
dee4a4e3
DM
2991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2992
6a43ec98
CD
29932012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2994
2995 * config.h.in: Add HAVE_ARM_PCS_VFP.
2996
05c2c961
RMG
29972012-05-08 Roland Mc Grath <roland@hack.frob.com>
2998
bcfe3a54
ST
2999 [BZ #13979]
3000 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3001 checking but the checks are disabled for any reason.
05c2c961 3002
4b30f61a
L
30032012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3004
3005 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3006 and ELF64_R_TYPE with ELFW(R_TYPE).
3007
eee2bc67
JM
30082012-05-08 Joseph Myers <joseph@codesourcery.com>
3009
7ea5391a
JM
3010 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3011 (ulimit): Likewise.
3012
eee2bc67
JM
3013 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3014 (settimeofday): Likewise.
3015
abb66a67
MF
30162012-05-08 Mike Frysinger <vapier@gentoo.org>
3017
3018 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3019 a struct th_u2 inside the union, and move tu_block/tu_code into
3020 a new th_u3 union of tu_block/tu_code inside of that. Move
3021 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3022 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3023 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3024 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3025 (th_stuff): Change to th_u1.tu_stuff.
3026 (th_data): Define.
3027 (th_msg): Change to th_u1.th_u2.tu_data.
3028
7f18b530
DM
30292012-05-07 David S. Miller <davem@davemloft.net>
3030
05760585
DM
3031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3032
7f18b530
DM
3033 [BZ #14074]
3034 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3035 (SETUP_PIC_REG): Use it.
3036 (SETUP_PIC_REG_LEAF): Use it.
3037
495fd99f
JM
30382012-05-07 Joseph Myers <joseph@codesourcery.com>
3039
3040 [BZ #13885]
3041 [BZ #13923]
3042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3043 USE_AS_EXPM1L.
3044 (EXPL_FINITE): Likewise.
3045 (FLDLOG): Likewise.
3046 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3047 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3048 e_expl.S.
3049 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3050 USE_AS_EXPM1L.
3051 (EXPL_FINITE): Likewise.
3052 (FLDLOG): Likewise.
3053 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3054 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3055 e_expl.S.
3056 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3057 test of -max_value argument for long double.
3058 * sysdeps/i386/fpu/libm-test-ulps: Update.
3059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3060
6693d694
DM
30612012-05-06 David S. Miller <davem@davemloft.net>
3062
3063 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3064 quad soft-float symbols whose references which are compiler
3065 generated.
3066 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3067
6c23e11c
JM
30682012-05-06 Joseph Myers <joseph@codesourcery.com>
3069
d8b82cad
JM
3070 [BZ #13884]
3071 [BZ #13914]
3072 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3073 USE_AS_EXP10L.
3074 (EXPL_FINITE): Likewise.
3075 (FLDLOG): Likewise.
3076 (c0): Likewise.
3077 (c1): Likewise.
3078 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3079 Adjust comments for base varying.
3080 (__expl_finite): Change alias to EXPL_FINITE.
3081 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3082 e_expl.S.
3083 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3084 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3085 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3086 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3087 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3088 USE_AS_EXP10L.
3089 (EXPL_FINITE): Likewise.
3090 (FLDLOG): Likewise.
3091 (c0): Likewise.
3092 (c1): Likewise.
3093 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3094 Adjust comments for base varying.
3095 (__expl_finite): Change alias to EXPL_FINITE.
3096 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3097 tests for bugs.
3098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3099
6c23e11c
JM
3100 [BZ #14064]
3101 * math/libm-test.inc (check_float_internal): Correct ulp
3102 calculation for subnormal expected results.
3103
29ba805c
AJ
31042012-05-06 Andreas Jaeger <aj@suse.de>
3105
3106 * Makeconfig (+math-flags): New, set to -frounding-math.
3107 (+cflags): Add +math-flags so that all of glibc gets compiled with
3108 it.
3109
3110 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3111
7b17aeda
JM
31122012-05-05 Joseph Myers <joseph@codesourcery.com>
3113
5779f134
JM
3114 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3115 Disable one test.
3116
41498f4d
JM
3117 [BZ #13787]
3118 [BZ #13922]
3119 [BZ #14036]
3120 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3121 (__ieee754_expl): Allow for and saturate large arguments.
3122 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3123 (u_threshold): Likewise.
3124 (__exp): Call __ieee754_exp before checking for overflow and
3125 underflow.
3126 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3127 (u_threshold): Likewise.
3128 (__expf): Call __ieee754_expf before checking for overflow and
3129 underflow.
3130 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3131 (u_threshold): Likewise.
3132 (__expl): Call __ieee754_expl before checking for overflow and
3133 underflow.
3134 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3135 (__ieee754_expl): Allow for and saturate large arguments.
3136 * math/libm-test.inc (exp_test): Add another test. Do not allow
3137 missing overflow exception on overflow.
3138 (expm1_test): Do not allow missing overflow exception on overflow.
3139
6698b8bf
JM
3140 * sysdeps/i386/fpu/e_expl.c: Move to ...
3141 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3142 rather than using inline asm.
3143 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3144 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3145 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3146
7b17aeda
JM
3147 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3148 (nice): Likewise.
3149 (poll): Likewise.
3150 (signal): Likewise.
3151 (time): Likewise.
3152 (times): Likewise.
3153
f7c85819
JM
31542012-05-04 Joseph Myers <joseph@codesourcery.com>
3155
3156 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3157 sysdeps/unix/common/syscalls.list.
3158 (fchmod): Likewise.
3159 (fchown): Likewise.
3160 (ftruncate): Likewise.
3161 (getrusage): Likewise.
3162 (gettimeofday): Likewise.
3163 (setpgid): Likewise.
3164 (setregid): Likewise.
3165 (setreuid): Likewise.
3166 (sigaction): Likewise.
3167 (truncate): Likewise.
3168 (vhangup): Likewise.
3169 * sysdeps/unix/common/syscalls.list: Remove file.
3170 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3171 * sysdeps/unix/sysv/linux/Implies: Likewise.
3172
336270d0
L
31732012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3174
3175 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3177 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3178 Moved to ...
3179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3180 Here.
3181 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3182 to ...
3183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3184 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3185 to ...
3186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3187 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3188 to ...
3189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3190 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3191 to ...
3192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3193 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3194 to ...
3195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3196 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3197 to ...
3198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3199 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3200 to ...
3201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3202 Here.
3203 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3204 to ...
3205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3206 Here.
3207 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3208 to ...
3209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3210 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3211 Moved to ...
3212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3213 Here.
3214 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3215 to ...
3216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3217
d128e450
JM
32182012-05-04 Joseph Myers <joseph@codesourcery.com>
3219
fa8ee516
JM
3220 * sysdeps/unix/common/bits/dirent.h: Remove file.
3221 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3222
d128e450
JM
3223 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3224 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3225 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3226 * sysdeps/unix/bsd/isatty.c: Likewise.
3227 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3228 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3229 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3230
ff8faaf0 32312012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3232
62881be4 3233 [BZ #13563]
31dc8730
AZ
3234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3235 long double comparison inaccuracies.
3236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3238
6fef930c
AS
32392012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3240
3241 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3243
8f203e6c
JM
32442012-05-04 Joseph Myers <joseph@codesourcery.com>
3245
3246 [BZ #14049]
3247 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3248 nonzero digits before rounding a hex value.
3249 * stdlib/tst-strtod.c (tests): Add another test.
3250
5197d9c2
AK
32512012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3252
3253 * sysdeps/s390/fpu/libm-test-ulps: Update.
3254
f0c1dedf
AJ
32552012-05-03 Andreas Jaeger <aj@suse.de>
3256
3257 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3258 does not get optimized out.
3259 (malloc_opt_barrier): New.
3260
a65ef2ae 32612012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3262 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3263
2b942cb7 3264 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3265 intermediate file deletion.
2b942cb7 3266 (generated): Add .symlist files.
a65ef2ae 3267
54b71e02
JM
32682012-05-03 Joseph Myers <joseph@codesourcery.com>
3269
3270 [BZ #13775]
3271 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3272 Redirect under this condition.
3273 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3274 [__USE_GNU] (__dprintf_chk): Not under this condition.
3275 [__USE_GNU] (__vdprintf_chk): Likewise.
3276 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3277 under this condition.
3278 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3279 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3280 [__USE_XOPEN2K8] (vdprintf): Likewise.
3281 [__USE_GNU] (__dprintf_chk): Not under this condition.
3282 [__USE_GNU] (__vdprintf_chk): Likewise.
3283 [__USE_GNU] (dprintf): Likewise.
3284 [__USE_GNU] (vdprintf): Likewise.
3285
d3dfcc41
RM
32862012-05-03 Roland McGrath <roland@hack.frob.com>
3287
3288 * elf/Makefile (common-generated): Set this instead of generated for
3289 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3290 $(all-built-dso)-derived lists.
3291
7ac30cc5
AJ
32922012-05-03 Andreas Jaeger <aj@suse.de>
3293
0c51e550
AJ
3294 * sysdeps/i386/fpu/libm-test-ulps: Update.
3295
7ac30cc5
AJ
3296 * FAQ: Removed.
3297 * FAQ.in: Likewise.
3298 * scripts/gen-FAQ.pl: Likewise.
3299 * manual/install.texi (Installation): Point to online location of
3300 FAQ.
3301 * Makefile (files-for-dist): Remove FAQ.
3302 (FAQ): Remove.
3303
d4c2917f
AM
33042012-05-02 Allan McRae <allan@archlinux.org>
3305
3306 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3307 (LDFLAGS-reldepmod5.so): Likewise.
3308 (LDFLAGS-reldep6mod1.so): Likewise.
3309 (LDFLAGS-reldep6mod4.so): Likewise.
3310 (LDFLAGS-reldep8mod3.so): Likewise.
3311 (LDFLAGS-unload4mod1.so): Likewise.
3312 (LDFLAGS-unload4mod2.so): Likewise.
3313 (LDFLAGS-tst-initorder): Likewise.
3314 (LDFLAGS-tst-initordera2.so): Likewise.
3315 (LDFLAGS-tst-initordera3.so): Likewise.
3316 (LDFLAGS-tst-initordera4.so): Likewise.
3317 (LDFLAGS-tst-initorderb2.so): Likewise.
3318 (LDFLAGS-noload): Likewise.
3319 (LDFLAGS-next): Likewise.
3320 (LDFLAGS-order2mod1.so): Likewise.
3321 (LDFLAGS-order2mod2.so): Likewise.
3322 (LDFLAGS-tst-initorder2): Likewise.
3323 (LDFLAGS-tst-initorder2a.so): Likewise.
3324 (LDFLAGS-tst-initorder2b.so): Likewise.
3325 (LDFLAGS-tst-initorder2c.so): Likewise.
3326 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3327
d77f993f
DM
33282012-05-02 David S. Miller <davem@davemloft.net>
3329
3330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3331
171a70b4
PP
33322012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3333
3334 [BZ #14055]
3335 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3336
0be196ad
AJ
33372012-05-02 Andreas Jaeger <aj@suse.de>
3338
3339 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3340 since we manipulate rounding mode.
3341 (CPPFLAGS-test-idouble.c): Likewise.
3342 (CPPFLAGS-test-ifloat.c): Likewise.
3343 (CFLAGS-test-ldouble.c): Likewise.
3344 (CFLAGS-test-double.c): Likewise.
3345 (CFLAGS-test-float.c): Likewise.
3346 (CFLAGS-test-misc.c): Likewise.
3347 (CFLAGS-test-test-fenv.c): Likewise.
3348
4f9d04aa
AZ
33492012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3350
2b942cb7
RM
3351 [BZ #2550]
3352 [BZ #2570]
3353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3354 comparisons to determine direction to adjust input.
4f9d04aa 3355
82a79e7d
RM
33562012-05-01 Roland McGrath <roland@hack.frob.com>
3357
f5a01ca9
RM
3358 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3359 output to the target.
3360
90fe4186
RM
3361 * scripts/localplt.awk: New file.
3362 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3363 (check-localplt-CFLAGS): Variable removed.
3364 ($(all-built-dso:=.jmprel)): New static pattern rule.
3365 (generated): Add those targets.
3366 (localplt-built-dso): New variable.
3367 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3368
3369 * elf/check-localplt.c: File removed.
3370
82397ed6
RM
3371 * scripts/check-execstack.awk: New file.
3372 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3373 (check-execstack-CFLAGS): Variable removed.
3374 ($(objpfx)check-execstack.h): Target removed.
3375 ($(objpfx)execstack-default): New target.
3376 (generated): Add that instead of check-execstack.h.
3377 ($(all-built-dso:=.phdr)): New static pattern rule.
3378 (generated): Add those targets.
3379 * elf/check-execstack.c: File removed.
3380
82a79e7d
RM
3381 * scripts/check-textrel.awk: New file.
3382 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3383 (check-textrel-CFLAGS): Variable removed.
3384 (all-built-dso): Use := to define.o
3385 ($(all-built-dso:=.dyn)): New static pattern rule.
3386 (generated): Add those targets.
3387 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3388 * config.make.in (READELF): New substituted variable.
3389 * elf/check-textrel.c: File removed.
3390
62fde54f 33912012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3392
615605c9
JM
3393 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3394 allow.
3395 * conform/data/ctype.h-data [C99-based standards] (isblank):
3396 Expect function.
3397 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3398 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3399 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3400 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3401 Specify type. Require positive value.
3402 (EILSEQ): Likewise.
3403 (ERANGE): Likewise.
3404 [ISO || POSIX] (EILSEQ): Do not expect.
3405 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3406 Specify type. Require positive value.
3407 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3408 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3409 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3410 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3411 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3412 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3413 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3414 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3415 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3416 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3417 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3418 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3419 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3420 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3421 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3422 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3423 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3424 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3425 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3426 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3427 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3428 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3429 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3430 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3431 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3432 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3433 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3434 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3435 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3436 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3437 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3438 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3439 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3440 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3441 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3442 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3443 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3444 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3445 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3446 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3447 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3448 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3449 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3450 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3451 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3452 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3453 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3454 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3455 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3456 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3457 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3458 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3459 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3460 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3461 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3462 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3463 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3464 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3465 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3466 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3467 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3468 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3469 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3470 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3471 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3472 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3473 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3474 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3475 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3476 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3477 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3478 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3479 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3480 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3481 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3482 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3483 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3484 Require >= 2.
3485 (FLT_ROUNDS): Expect as macro, not constant.
3486 (FLT_MANT_DIG): Use macro-int-constant.
3487 (DBL_MANT_DIG): Likewise.
3488 (LDBL_MANT_DIG): Likewise.
3489 (FLT_DIG): Likewise.
3490 (DBL_DIG): Likewise.
3491 (LDBL_DIG): Likewise.
3492 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3493 (DBL_MIN_EXP): Likewise.
3494 (LDBL_MIN_EXP): Likewise.
3495 (FLT_MAX_EXP): Use macro-int-constant.
3496 (DBL_MAX_EXP): Likewise.
3497 (LDBL_MAX_EXP): Likewise.
3498 (FLT_MAX_10_EXP): Likewise.
3499 (DBL_MAX_10_EXP): Likewise.
3500 (LDBL_MAX_10_EXP): Likewise.
3501 (FLT_MAX): Use macro-constant.
3502 (DBL_MAX): Likewise.
3503 (LDBL_MAX): Likewise.
3504 (FLT_EPSILON): Use macro-constant. Give upper bound.
3505 (DBL_EPSILON): Likewise.
3506 (LDBL_EPSILON): Likewise.
3507 (FLT_MIN): Likewise.
3508 (DBL_MIN): Likewise.
3509 (LDBL_MIN): Likewise.
3510 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3511 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3512 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3513 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3514 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3515 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3516 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3517 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3518 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3519 [ISO11] (FLT_TRUE_MIN): Likewise.
3520 [ISO11] (LDBL_TRUE_MIN): Likewise.
3521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3522 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3523 (SCHAR_MIN): Use macro-int-constant. Specify type.
3524 (SCHAR_MAX): Likewise.
3525 (UCHAR_MAX): Likewise.
3526 (CHAR_MIN): Likewise.
3527 (CHAR_MAX): Likewise.
3528 (MB_LEN_MAX): Use macro-int-constant.
3529 (SHRT_MIN): Use macro-int-constant. Specify type.
3530 (SHRT_MAX): Likewise.
3531 (USHRT_MAX): Likewise.
3532 (INT_MAX): Likewise.
3533 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3534 bound negative.
3535 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3536 bound with "U".
3537 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3538 bound with "L".
3539 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3540 bound negative. Suffix upper bound with "L".
3541 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3542 bound with "UL".
3543 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3544 Specify type.
3545 [C99-based standards] (LLONG_MAX): Likewise.
3546 [C99-based standards] (ULLONG_MAX): Likewise.
3547 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3548 == 0.
3549 [ISO11] (max_align_t): Require type.
3550 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3551
c9140a62
JM
3552 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3553 from $CFLAGS, without defining away __attribute__ calls.
3554 (checknamespace): Use $CFLAGS_namespace.
3555
9af0bf29
JM
3556 * conform/conformtest.pl (@keywords): Only include C99 keywords
3557 for standards based on C99 or C11.
3558
343222a2
JM
3559 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3560 Disable tests.
3561 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3562 UNIX98]: Likewise.
3563
661f8cf0
JM
3564 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3565 usability of symbols in #if.
3566
ee74b9cb
JM
3567 * conform/conformtest.pl: If macro or constant types start
3568 "promoted:", expect the symbol to be of the following type
3569 promoted by the integer promotions.
62fde54f 3570
aafc49b3
JM
3571 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3572 in one place. Also handle "macro-constant".
3573
fefdf574
JM
3574 * conform/conformtest.pl: Only accept expected macro values with
3575 "==". Parse all "macro" lines in one place.
3576 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3577
f2d922fe
JM
3578 * conform/conformtest.pl: Handle braced types on "constant" lines
3579 instead of handling "typed-constant".
3580 * conform/data/signal.h-data: Use "constant" instead of
3581 "typed-constant".
3582
d22956c9
JM
3583 * conform/conformtest.pl: Handle "optional-" at start of lines in
3584 one place rather than duplicating several cases. Handle each
3585 format of "macro" line with initial "optional-".
3586
028e2e38
JM
3587 * conform/conformtest.pl: Only accept expected constant or
3588 optional-constant values with "==". Parse all "constant" lines in
3589 one place. Parse all "optional-constant" lines in one place.
3590 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3591 * conform/data/fmtmsg.h-data: Likewise.
3592 * conform/data/netinet/in.h-data: Likewise.
3593 * conform/data/tar.h-data: Likewise.
3594 * conform/data/limits.h-data: Use "==" form on "constant" and
3595 "optional-constant" lines.
3596
1b8f2850
JM
3597 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3598 Use -std=c99 for XOPEN2K.
3599 (@knownproblems): Remove.
3600 (newtoken): Don't check %isknown.
3601
a05a144b
JM
3602 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3603 Do not expect macro.
3604 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3616 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3617 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3620 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3621 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3622 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3624 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3625 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3626 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3627 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3628 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3629 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3630 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3631 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3632 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3634 [XPG3] (acosh): Likewise.
3635 [XPG3] (asinh): Likewise.
3636 [XPG3] (atanh): Likewise.
3637 [XPG3] (cbrt): Likewise.
3638 [XPG3] (expm1): Likewise.
3639 [XPG3] (ilogb): Likewise.
3640 [XPG3] (log1p): Likewise.
3641 [XPG3] (logb): Likewise.
3642 [XPG3] (nextafter): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3644 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3645 [XPG3] (remainder): Likewise.
3646 [XPG3] (rint): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3654 [UNIX98 || XOPEN2K] (scalb): Expect.
3655 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3656 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3702 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3705 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3708 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3709 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3714 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3716 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3717 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3718 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3719 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3720 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3721 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3722 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3723 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3724 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3725 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3726 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3727 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3728 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3729 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3730 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3731 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3732 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3733 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3734 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3735 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3736 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3738 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3739 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3744 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3745 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3746 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3747 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3748 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3749 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3769 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3770 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3772 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3773 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3774 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3775 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3776 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3777 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3778 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3779 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3780 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3781 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3782 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3783 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3784 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3785 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3786 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3787 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3788 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3789 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3790 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3791 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3792
73c5ebe3
JM
3793 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3794 _XOPEN_SOURCE_EXTENDED for XPG4.
3795
39c33b6c
JM
3796 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3797
62fde54f
JM
3798 * Makeconfig (localtime): Remove variable.
3799 (inst_localtime-file): Likewise.
3800
0741d64c
AS
38012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3802
3803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3804 Update.
3805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3806 Update.
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3808 Update.
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3810 Update.
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3812 Update.
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3814 Update.
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3816 Update.
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3818 Update.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3820 Update.
3821
7cb029ee
JM
38222012-05-01 Joseph Myers <joseph@codesourcery.com>
3823
3824 [BZ #2550]
3825 [BZ #2570]
3826 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3827 comparisons to determine direction to adjust input.
3828 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3829 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3830 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3831 Likewise.
3832 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3833 Likewise.
3834 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3835 Likewise.
3836 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3837 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3838 Likewise.
3839 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3840 Likewise.
3841 * math/libm-test.inc (nexttoward_test): Add more tests.
3842
412bd966
AS
38432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3844
3845 [BZ #14040]
3846 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3847 in version GLIBC_2.1, not GLIBC_2.0.
3848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3849 Likewise.
3850
9568c0c2
JM
38512012-04-30 Joseph Myers <joseph@codesourcery.com>
3852
adfbc8ac
JM
3853 [BZ #13942]
3854 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3855 (1 - x) * (1 + x).
3856 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3857 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3858 * math/libm-test.inc (acos_test): Add more tests.
3859 (asin_test): Likewise.
3860 * sysdeps/i386/fpu/libm-test-ulps: Update.
3861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3862
5ba3cc69
JM
3863 [BZ #14034]
3864 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3865 of square root.
3866 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3867 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3868 * math/libm-test.inc (acos_test_tonearest): New function.
3869 (acos_test_towardzero): Likewise.
3870 (acos_test_downward): Likewise.
3871 (acos_test_upward): Likewise.
3872 (asin_test_tonearest): Likewise.
3873 (asin_test_towardzero): Likewise.
3874 (asin_test_downward): Likewise.
3875 (asin_test_upward): Likewise.
3876 (main): Call the new functions.
3877 * sysdeps/i386/fpu/libm-test-ulps: Update.
3878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3879
9568c0c2
JM
3880 [BZ #13884]
3881 [BZ #13924]
3882 * math/e_exp10.c: Include <float.h>.
3883 (__ieee754_exp10): Handle underflow here rather than multiplying
3884 large negative argument by M_LN10.
3885 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3886 of __ieee754_expf.
3887 * math/e_exp10l.c: Include <float.h>.
3888 (__ieee754_exp10l): Handle underflow here rather than multiplying
3889 large negative argument by M_LN10l.
3890 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3891 spurious overflow exception on underflow.
3892
5ac3ea17
MP
38932012-04-29 Marek Polacek <polacek@redhat.com>
3894
3895 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3896 (__fortify_function): New macro.
3897 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3898 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3899 __extern_always_inline.
3900 * libio/bits/stdio2.h: Likewise.
3901 * libio/bits/stdio.h: Likewise.
3902 * string/string.h: Likewise.
3903 * string/bits/string3.h: Likewise.
3904 * include/stdio.h: Likewise.
3905 * stdlib/bits/stdlib.h: Likewise.
3906 * stdlib/stdlib.h: Likewise.
3907 * rt/bits/mqueue2.h: Likewise.
3908 * rt/mqueue.h: Likewise.
3909 * posix/bits/unistd.h: Likewise.
3910 * posix/unistd.h: Likewise.
3911 * io/bits/poll2.h: Likewise.
3912 * io/bits/fcntl2.h: Likewise.
3913 * io/fcntl.h: Likewise.
3914 * io/sys/poll.h: Likewise.
3915 * misc/bits/syslog.h: Likewise.
3916 * misc/bits/syslog-ldbl.h: Likewise.
3917 * misc/sys/syslog.h: Likewise.
3918 * socket/bits/socket2.h: Likewise.
3919 * socket/sys/socket.h: Likewise.
3920 * debug/tst-chk1.c: Likewise.
3921 * wcsmbs/bits/wchar2.h: Likewise.
3922 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3923 * wcsmbs/wchar.h: Likewise.
3924
ecf0ebfb
AJ
39252012-04-29 Andreas Jaeger <aj@suse.de>
3926
3927 * Makerules (tests): Remove enable-check-abi protection.
3928 (check-abi-warn): Remove.
3929 (check-abi-%): Remove check-abi-warn usage.
3930
3931 * configure.in: Remove check-abi configure option.
3932 * configure: Regenerated.
3933 * config.make.in (enable-check-abi): Remove.
3934
6d5c57fa
AS
39352012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3936
24c5d07e 3937 [BZ #14033]
ded5180a
AS
3938 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3939 double functions to double *_finite functions.
3940
7e0d315d
AS
3941 [BZ #13941]
3942 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3943 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3944 LDBL_MIN_EXP.
3945 * stdio-common/Makefile (tests): Add tst-sprintf3.
3946 * stdio-common/tst-sprintf3.c: New file.
3947
6d5c57fa
AS
3948 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3949 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3950
0749ff8b
JM
39512012-04-28 Joseph Myers <joseph@codesourcery.com>
3952
3953 * conform/conformtest.pl: Remove duplicate typed-constant
3954 handling.
3955
8dbd5d7b
DM
39562012-04-28 David S. Miller <davem@davemloft.net>
3957
3958 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3959 (check-abi-%): Remove AWK script prerequisite and explicit
3960 abilist directory.
3961 (check-abi): Rewrite to just diff the symlist with the abilist.
3962 (config-tls, config-abi-config): Delete, no longer used.
3963 (update-abi-%): Remove AWK script and explicit abilist directory.
3964 (update-abi): Rewrite to simply compare and conditionally copy the
3965 symlist and the sysdep abilist file. Remove update-abi-config
3966 checks.
3967 * abilist/ld.abilist: Remove.
3968 * abilist/libBrokenLocale.abilist: Remove.
3969 * abilist/libanl.abilist: Remove.
3970 * abilist/libcrypt.abilist: Remove.
3971 * abilist/libdl.abilist: Remove.
3972 * abilist/librt.abilist: Remove.
3973 * abilist/libthread_db.abilist: Remove.
3974 * abilist/libutil.abilist: Remove.
3975 * scripts/extract-abilist.awk: Remove.
3976 * scripts/merge-abilist.awk: Remove.
3977 * sysdeps/generic/libcidn.abilist: New file.
3978 * sysdeps/generic/libnss_compat.abilist: New file.
3979 * sysdeps/generic/libnss_db.abilist: New file.
3980 * sysdeps/generic/libnss_dns.abilist: New file.
3981 * sysdeps/generic/libnss_files.abilist: New file.
3982 * sysdeps/generic/libnss_hesiod.abilist: New file.
3983 * sysdeps/generic/libnss_nis.abilist: New file.
3984 * sysdeps/generic/libnss_nisplus.abilist: New file.
3985 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3986 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3987 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3988 file.
3989 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3990 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3991 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3992 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3993 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3994 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3995 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3996 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3997 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3998 file.
3999 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4000 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4001 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4002 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4003 file.
4004 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4005 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4006 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4007 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4008 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4009 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4010 file.
4011 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4012 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4013 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4014 file.
4015 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4017 New file.
4018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4019 New file.
4020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4021 New file.
4022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4023 New file.
4024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4025 New file.
4026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4027 New file.
4028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4029 New file.
4030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4031 New file.
4032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4033 New file.
4034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4035 New file.
4036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4037 New file.
4038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4039 New file.
4040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4041 New file.
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4043 file.
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4045 New file.
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4047 New file.
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4049 file.
4050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4051 New file.
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4053 New file.
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4055 file.
4056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4057 New file.
4058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4059 New file.
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4061 New file.
4062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4063 New file.
4064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4065 New file.
4066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4067 New file.
4068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4070 file.
4071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4072 New file.
4073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4074 file.
4075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4076 file.
4077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4078 file.
4079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4080 file.
4081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4082 file.
4083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4084 New file.
4085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4086 file.
4087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4088 file.
4089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4090 New file.
4091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4092 file.
4093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4095 file.
4096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4097 New file.
4098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4099 file.
4100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4101 file.
4102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4103 file.
4104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4105 file.
4106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4107 file.
4108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4109 New file.
4110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4111 file.
4112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4113 file.
4114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4115 New file.
4116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4117 file.
4118 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4119 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4120 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4121 file.
4122 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4123 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4124 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4125 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4126 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4127 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4128 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4129 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4130 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4131 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4134 file.
4135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4136 New file.
4137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4138 file.
4139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4140 file.
4141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4142 file.
4143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4144 file.
4145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4146 file.
4147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4148 New file.
4149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4150 New file.
4151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4152 file.
4153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4154 New file.
4155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4156 file.
4157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4159 file.
4160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4161 New file.
4162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4163 file.
4164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4165 file.
4166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4167 file.
4168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4169 file.
4170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4171 file.
4172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4173 New file.
4174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4175 New file.
4176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4177 file.
4178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4179 New file.
4180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4181 file.
4182
41d73a1b
JM
41832012-04-28 Joseph Myers <joseph@codesourcery.com>
4184
4185 * conform/conformtest.pl: Fix typo in handling typed-constant from
4186 allow-header.
4187
28aeeda4
JM
41882012-04-27 Joseph Myers <joseph@codesourcery.com>
4189
adae8f5e
JM
4190 * README: Cut down references to pre-2.6 Linux kernels and
4191 Linuxthreads. Update lists of configurations in libc and ports
4192 and sort alphabetically. Say "or newer" with Linux kernel version
4193 requirements.
4194
28aeeda4
JM
4195 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4196
a462cb63
RA
41972012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4198
4199 [BZ #887]
4200 * math/libm-test.inc (logb_test_downward): New test to expose
4201 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4202 rounding mode.
4203
6ad3493e
JM
42042012-04-27 Joseph Myers <joseph@codesourcery.com>
4205
4206 [BZ #14027]
4207 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4208 to be done.
4209 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4210 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4211
2ce4f015
JM
42122012-04-26 Joseph Myers <joseph@codesourcery.com>
4213
5aeb141a
JM
4214 * sysdeps/unix/i386/brk.S: Remove file.
4215 * sysdeps/unix/i386/dl-brk.S: Likewise.
4216 * sysdeps/unix/i386/pipe.S: Likewise.
4217 * sysdeps/unix/i386/sigreturn.S: Likewise.
4218 * sysdeps/unix/i386/syscall.S: Likewise.
4219 * sysdeps/unix/i386/vfork.S: Likewise.
4220 * sysdeps/unix/i386/wait.S: Likewise.
4221
7143acae
JM
4222 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4223 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4224
2ce4f015
JM
4225 * configure.in (arm*-none*): Do not allow without
4226 --enable-hacker-mode.
4227 (netbsd*): Remove case setting base_os.
4228 (386bsd*): Likewise.
4229 (freebsd*): Likewise.
4230 (bsdi*): Likewise.
4231 (osf*): Likewise.
4232 (sunos*): Likewise.
4233 (ultrix*): Likewise.
4234 (newsos*): Likewise.
4235 (dynix*): Likewise.
4236 (*bsd*): Likewise.
4237 (sysv*): Likewise.
4238 (isc*): Likewise.
4239 (esix*): Likewise.
4240 (sco*): Likewise.
4241 (minix*): Likewise.
4242 (irix4*): Likewise.
4243 (irix6*): Likewise.
4244 (solaris[2-9]*): Likewise.
4245 (none): Likewise.
4246 * configure: Regenerated.
4247
0ac229c8
AZ
42482012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4249
4250 [BZ #11521]
4251 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4252 overflow or cancellation in calculating denominator.
4253 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4254 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4255 down expression to avoid unexpected rounding in newer GCCs.
4256 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4257
33f244f4
DM
42582012-04-26 David S. Miller <davem@davemloft.net>
4259
4260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4261 long-double compat symbols.
4262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4275
cfa1f3e8
DM
42762012-04-25 David S. Miller <davem@davemloft.net>
4277
4278 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4279 HWCAP_* values only after the memory barriers have been defined.
4280 (atomic_full_barrier): Define.
4281 (atomic_read_barrier): Define.
4282 (atomic_write_barrier): Define.
4283
6e236b92
SP
42842012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4285
4286 * shlib-versions: Add libgcc_s version information.
4287 * sysdeps/generic/libgcc_s.h: Remove.
4288 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4289 libgcc_s.h.
4290 * sysdeps/gnu/unwind-resume.c: Likewise.
4291 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4292
aab39a09
DM
42932012-04-25 David S. Miller <davem@davemloft.net>
4294
4295 * sysdeps/unix/sparc/brk.S: Delete.
4296 * sysdeps/unix/sparc/dl-brk.S: Delete.
4297 * sysdeps/unix/sparc/pipe.S: Delete.
4298 * sysdeps/unix/sparc/sysdep.S: Delete.
4299 * sysdeps/unix/sparc/sysdep.h: Delete.
4300 * sysdeps/unix/sparc/vfork.S: Delete.
4301 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4302 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4303 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4304 ret_ERRVAL, r0, r1, MOVE): Define.
4305 (JUMPTARGET): Remove.
4306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4307 sysdeps/unix/sparc/sysdep.h
4308 (ENTRY, END): Remove.
4309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4310
a3cc4f48
JM
43112012-04-25 Joseph Myers <joseph@codesourcery.com>
4312
2ed8cda2
JM
4313 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4314 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4315 -DIS_IN_build.
4316
35d76d59
JM
4317 * timezone/README: Update upstream location and email address for
4318 tzcode and tzdata.
4319 * timezone/zdump.c: Update from tzcode 2012b.
4320 * timezone/zic.c: Likewise.
4321
a3cc4f48
JM
4322 * configure.in (libc_cv_as_needed): Remove test.
4323 * configure: Regenerated.
4324 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4325 conditional definition.
4326 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4327 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4328 * config.make.in (have-as-needed): Remove variable.
4329
ceab42c3
SP
43302012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4331 Paul Pluzhnikov <ppluzhnikov@google.com>
4332
4333 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4334 strings correctly.
4335
3ce2865f
CLT
43362012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4337
4338 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4339 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4340 * sysdeps/sh/strlen.S: Likewise.
4341
f37e0d68
JM
43422012-04-24 Joseph Myers <joseph@codesourcery.com>
4343
ae186e9a
JM
4344 * sysdeps/unix/fork.S: Remove file.
4345 * sysdeps/unix/i386/fork.S: Likewise.
4346 * sysdeps/unix/sparc/fork.S: Likewise.
4347
b96914af
JM
4348 * sysdeps/unix/system.c: Remove file.
4349 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4350
f37e0d68
JM
4351 * sysdeps/unix/getegid.S: Remove file.
4352 * sysdeps/unix/geteuid.S: Likewise.
4353
87ef29ca
RM
43542012-04-24 Roland McGrath <roland@hack.frob.com>
4355
83bcd236
RM
4356 * scripts/check-localplt.awk: New file.
4357 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4358 of diff.
4359 * scripts/data/localplt-generic.data: Add a comment.
4360
87ef29ca
RM
4361 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4362 NODE when __dir_mkfile failed.
4363 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4364 Reported by Ludovic Courtès <ludo@gnu.org>.
4365
e5a6e567
AJ
43662012-04-24 Andreas Jaeger <aj@suse.de>
4367
4368 * Makerules (common-clean): Also remove gen-as-const-headers
4369 files.
4370
c1820385
JM
43712012-04-24 Joseph Myers <joseph@codesourcery.com>
4372
4373 * Makerules (native-compile): Do not change working directory for
4374 build. Use $(OUTPUT_OPTION) in command.
4375 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4376
94e02fc4
AZ
43772012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4378
4379 [BZ #13886]
4380 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4381 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4382 * math/libm-test.inc (floor_test): Add more tests.
4383 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4384
3a533ca3
JM
43852012-04-24 Joseph Myers <joseph@codesourcery.com>
4386
940ab4b3
JM
4387 * sysdeps/unix/getdents.c: Remove file.
4388 * sysdeps/unix/sysv/getdents.c: Likewise.
4389 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4390
90e037bd
JM
4391 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4392 sysdeps/unix/mman/syscalls.list.
4393 (mmap): Likewise.
4394 (mprotect): Likewise.
4395 (msync): Likewise.
4396 (munmap): Likewise.
4397 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4398 * sysdeps/unix/mman/syscalls.list: Remove.
4399 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4400
3a533ca3
JM
4401 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4402 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4403 * configure: Regenerated.
4404 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4405 $(libgcc_s_suffix).
4406 * config.make.in (libgcc_s_suffix): Remove variable.
4407
1ad743de
JM
44082012-04-23 Joseph Myers <joseph@codesourcery.com>
4409
4ad451e2
JM
4410 * sysdeps/unix/sysv/gethostname.c: Move to ...
4411 * sysdeps/posix/gethostname.c: ... here.
4412
5e37ce39
JM
4413 * sysdeps/unix/execve.S: Remove file.
4414
1ad743de
JM
4415 * sysdeps/unix/_exit.S: Remove file.
4416
4e681b5b
AJ
44172012-04-23 Andreas Jaeger <aj@suse.de>
4418
4419 [BZ #13739]
4420 * manual/Makefile: Remove make dist support, there's no
4421 need for a stand-alone documentation tar ball.
4422 (TEXI2DVI): Define always, it's not in Makeconfig.
4423 (dist): Removed.
4424 (tar-it): Removed.
4425 (edition): Removed.
4426 (glibc-doc-$(edition).tar): Removed
4427 (%.Z): Removed.
4428 (%.gz): Removed.
4429 (%.uu): Removed.
4430 (ETAGS): Remove, it's in Makeconfig.
4431 (move-if-change): Remove, it's in Makeconfig.
4432
c0baea34
PE
44332013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4434
4435 [BZ #13970]
4436 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4437 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4438 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4439 (strtod_l, strtof_l, strtold_l): Remove __wur.
4440 It is not necessarily an error to ignore strtol's return value.
4441 One can reliably look at the stored endptr to decide whether
4442 the number had valid syntax.
4443
7c0616fa
AJ
44442012-04-21 Andreas Jaeger <aj@suse.de>
4445
803cb6b7 4446 [BZ #13739]
7c0616fa
AJ
4447 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4448
b0fe253f
JM
44492012-04-21 Joseph Myers <joseph@codesourcery.com>
4450
4451 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4452 * sysdeps/unix/sysv/Versions: Remove file.
4453
8280f22d
MT
44542012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4455
4456 [BZ #13927]
4457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4458
75ce411f 44592012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4460
4461 [BZ #7064]
4462 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4463 version from __vm86.
4464
097d59fa
JM
44652012-04-20 Joseph Myers <joseph@codesourcery.com>
4466
a90f3bcb
JM
4467 * sysdeps/unix/common/lxstat.c: Remove file.
4468 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4469
edc7ea78
JM
4470 * sysdeps/unix/sysv/Makefile: Remove file.
4471
cb78c221
JM
4472 * sysdeps/unix/sysv/direct.h: Remove file.
4473
efa6a45f
JM
4474 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4475 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4476 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4477 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4478 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4479 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4480 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4481
9c9f2d0c
JM
4482 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4483
4541c83b
JM
4484 * sysdeps/unix/xmknod.c: Remove file.
4485 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4486
f5d153a0
JM
4487 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4488
aa746595
JM
4489 * sysdeps/unix/sysv/i386/time.S: Remove file.
4490
cce5905e
JM
4491 * sysdeps/unix/fxstat.c: Remove file.
4492 * sysdeps/unix/xstat.c: Likewise.
4493 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4494
37fa3841
JM
4495 * sysdeps/unix/sysv/sigaction.c: Remove file.
4496
ff1962a3
JM
4497 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4498 (sysdep_headers): Remove variable.
4499 [termio.h not in sysdep_headers] (generated): Likewise.
4500 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4501 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4502 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4503 * sysdeps/unix/sysv/tcflow.c: Likewise.
4504 * sysdeps/unix/sysv/tcflush.c: Likewise.
4505 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4506 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4507 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4508 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4509 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4510
e7740d31
JM
4511 * sysdeps/unix/siglist.c: Remove file.
4512
ee06f18b
JM
4513 * sysdeps/unix/getppid.S: Remove file.
4514
097d59fa
JM
4515 * sysdeps/unix/mkdir.c: Remove file.
4516 * sysdeps/unix/rmdir.c: Likewise.
4517
ff3d51ec
AS
45182012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4519
4520 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4521 ERR_MAX value.
4522 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4523 errlist-compat value.
4524
50f81fd7
DM
45252012-04-18 David S. Miller <davem@davemloft.net>
4526
4527 * sysdeps/generic/memcopy.h (reg_char): Delete.
4528 * debug/strcat_chk.c: Use char, not reg_char.
4529 * debug/strcpy_chk.c: Likewise.
4530 * debug/strncat_chk.c: Likewise.
4531 * debug/strncpy_chk.c: Likewise.
4532 * string/memchr.c: Likewise.
4533 * string/memrchr.c: Likewise.
4534 * string/rawmemchr.c: Likewise.
4535 * string/strcat.c: Likewise.
4536 * string/strchr.c: Likewise.
4537 * string/strchrnul.c: Likewise.
4538 * string/strcmp.c: Likewise.
4539 * string/strcpy.c: Likewise.
4540 * string/strncat.c: Likewise.
4541 * string/strncmp.c: Likewise.
4542 * string/strncpy.c: Likewise.
4543
8ff41c46
WS
45442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4545
4546 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4547 __builtin_memcopy is called when src and dest ranges are known to not
4548 overlap.
4549
6b652f46
WS
45502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4551
4552 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4553 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4554 fwd_align_merge macro call.
4555 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4556 bwd_align_merge macro call.
4557 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4558
b282631e
WS
45592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4560
4561 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4562 bwd_align_merge macros.
4563 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4564 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4565 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4566
95aa737c
DM
45672012-04-18 David S. Miller <davem@davemloft.net>
4568
4569 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4570
7a99a614
AJ
45712012-04-18 Andreas Jaeger <aj@suse.de>
4572
4573 [BZ# 6794]
4574 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4575 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4577
4578 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4579 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4580 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4581
4582 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4583 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4584 Adjust for changed ldbl-128 files.
4585
4586 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4587 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4588 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4589
e5270c23
DM
45902012-04-17 David S. Miller <davem@davemloft.net>
4591
4592 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4593
fb5e92c9
AS
45942012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4595
4596 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4597 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4598 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4599 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4600 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4601 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4602
76da7265
AZ
46032012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4604
4605 [BZ #6794]
4606 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4607 * math/libm-test.inc: Add ilogb errno and exception tests.
4608 * math/w_ilogb.c: New file: ilogb wrapper.
4609 * math/w_ilogbf.c: New file: ilogbf wrapper.
4610 * math/w_ilogbl.c: New file: ilogbl wrapper.
4611 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4612 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4613 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4614 exception being thrown with 0.0 as argument.
4615 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4616 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4617 exception being thrown with 0.0 as argument.
4618 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4619 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4620 exception being thrown with 0.0 as argument.
4621 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4622 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4623 exception being thrown with 0.0 as argument.
4624 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4625 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4626 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4627 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4628 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4629 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4630 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4631 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4632 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4633
0396e69d
PB
46342012-04-17 Petr Baudis <pasky@ucw.cz>
4635
4636 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4637 with altivec.
4638
750b5926
MP
46392012-04-16 Marek Polacek <polacek@redhat.com>
4640
4641 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4642
751728a1
MP
46432012-04-16 Marek Polacek <polacek@redhat.com>
4644
4645 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4646 operands of fdivp instruction.
4647
34a27407
L
46482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4649
4650 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4651 * elf/tst-auditmod3b.c: Likewise.
4652 * elf/tst-auditmod4b.c: Likewise.
4653 * elf/tst-auditmod5b.c: Likewise.
4654 * elf/tst-auditmod6b.c: Likewise.
4655 * elf/tst-auditmod6c.c: Likewise.
4656 * elf/tst-auditmod7b.c: Likewise.
4657 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4658 * sysdeps/x86_64/preconfigure.in: Likewise.
4659 * sysdeps/x86_64/preconfigure: Regenerated.
4660
7e73e17d
L
46612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4662
4663 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4664 __ILP32__.
4665
c7a6ab72
AB
46662012-04-13 Antoine Balestrat <merkil33@gmail.com>
4667
4668 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4669 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4670
a9e8e0e0
CL
46712012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4672
4673 [BZ #13973]
4674 * locale/iso-639.def: Fix gl language name. Spotted by
4675 Yaron Shahrabani.
4676
ec98af7d
RM
46772012-04-12 Roland McGrath <roland@hack.frob.com>
4678
4679 [BZ #2074]
4680 * libio/libio.h (__io_write_fn): Update comment.
4681
247c3ede
PB
46822012-04-12 Petr Baudis <pasky@ucw.cz>
4683
4684 [BZ #2074]
4685 * stdio.texi (Hook Functions): The user provided writer function
4686 is not allowed to return -1.
4687
55939d6d
DM
46882012-04-11 David S. Miller <davem@davemloft.net>
4689
4690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4691
90020f5a
MF
46922012-04-11 Mike Frysinger <vapier@gentoo.org>
4693
4694 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4695 Add a leading slash to rtkaio.
4696
288f9098
JM
46972012-04-11 Jim Meyering <meyering@redhat.com>
4698
90020f5a
MF
4699 [BZ #11959]
4700 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4701 It is not necessarily an error to ignore fwrite's return
4702 value. One can reliably use ferror to test for errors after
4703 the fact.
288f9098 4704
4be2b570
L
47052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4706
4707 * bits/types.h (__snseconds_t): New type.
4708 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4709
4710 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4712 (__SNSECONDS_T_TYPE): Likewise.
4713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4714 (__SNSECONDS_T_TYPE): Likewise.
4715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4716 (__SNSECONDS_T_TYPE): Likewise.
4717
288f9098 47182012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4719
4720 [BZ #2636]
4721 * manual/time.texi (Processor Time): Return type of times is
4722 elapsed real time since an arbitrary point in the past.
4723 (CPU Time): Move CLK_TCK from here...
4724 (Processor Time): ...to here. Correct description.
4725 * manual/conf.texi (Constants for Sysconf): Correct description of
4726 _SC_CLK_TCK.
4727
d7dd4413
DM
47282012-04-10 David S. Miller <davem@davemloft.net>
4729
4730 [BZ #13967]
4731 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4732 where the is a gap between DT_REL(A) and DT_JMPREL.
4733
b46068fc
L
47342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4735
4736 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4737 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4738 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4739
73d65cc3
SP
47402012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4741
4742 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4743 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4744 (dl_main): Handle --inhibit-cache.
4745 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4746 _dl_inhibit_cache.
4747 * elf/dl-load.c (_dl_map_object): Use it.
4748 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4749
bcc8d661
JM
47502012-04-09 Joseph Myers <joseph@codesourcery.com>
4751
8f9a2fae
JM
4752 [BZ #13872]
4753 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4754 (__ieee754_powl): Saturate large exponents rather than testing for
4755 overflow of y*log2(x).
4756 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4757 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4758 exceptions.
4759
bcc8d661
JM
4760 [BZ #11521]
4761 * math/s_ctan.c: Include <float.h>.
4762 (__ctan): Avoid internal overflow or cancellation in calculating
4763 denominator.
4764 * math/s_ctanf.c: Likewise.
4765 * math/s_ctanl.c: Likewise.
4766 * math/s_ctanh.c: Likewise.
4767 * math/s_ctanhf.c: Likewise.
4768 * math/s_ctanhl.c: Likewise.
4769 * math/libm-test.inc (ctan_test): Add more tests.
4770 (ctanh_test): Likewise.
4771 * sysdeps/i386/fpu/libm-test-ulps: Update.
4772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4773
823fbbb4
AJ
47742012-04-09 Andreas Jaeger <aj@suse.de>
4775
03879793
AJ
4776 [BZ #6894]
4777 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4778 is an optional BSD extension.
4779
823fbbb4
AJ
4780 [BZ #10254]
4781 * manual/stdio.texi (Opening Streams): Document additional fopen
4782 parameters.
4783
8de131cb
RM
47842012-04-09 Roland McGrath <roland@hack.frob.com>
4785
4786 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4787 %eax without telling the compiler.
4788
c0ed9d7d
CD
47892012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4790
4791 [BZ # 13963]
4792 * manual/install.texi: Use sourceware.org.
4793
c483f6b4
JM
47942012-04-09 Joseph Myers <joseph@codesourcery.com>
4795
d7dd9453
JM
4796 [BZ #13873]
4797 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4798 (__ieee754_pow): Generate overflow and underflow using huge*huge
4799 and tiny*tiny rather than just returning constant infinity or zero
4800 for large exponents.
4801 * math/libm-test.inc (pow_test): Require overflow exceptions for
4802 applicable cases of large exponents.
4803
c483f6b4
JM
4804 [BZ #706]
4805 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4806 (__ieee754_pow): Use iterative multiplication algorithm only for
4807 integer exponents with absolute value below 1024. Check for odd
4808 integer exponents when using algorithm for real exponents.
4809 * math/libm-test.inc (pow_test): Add more tests.
4810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4811
d2de7579
JM
48122012-04-08 Joseph Myers <joseph@codesourcery.com>
4813
4814 [BZ #13705]
4815 * math/libm-test.inc (exp_test): Do not allow overflow exception
4816 on underflow test.
4817
f77f1232
AJ
48182012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4819
4820 [BZ #13705]
4821 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4822 instead of __kernel_standard_f.
4823
3884932b
MF
48242012-04-08 Mike Frysinger <vapier@gentoo.org>
4825
4826 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4827 * sysdeps/x86_64/memset_chk.S: Likewise.
4828
54472e9c
AJ
48292012-04-08 Andreas Jaeger <aj@suse.de>
4830
6ab0fbfc
AJ
4831 [BZ #10153]
4832 * manual/startup.texi (Environment Access): Describe return value
4833 for putenv and setenv.
4834
61efba8c
AJ
4835 [BZ #6895]
4836 * manual/filesys.texi (Directory Entries): Add description for
4837 DT_LNK.
4838
95c3f29a
AJ
4839 [BZ #6890]
4840 * manual/filesys.texi (Directory Entries): Clarify that it's file
4841 system not operating system in the description of DT_UNKNOWN.
4842
54472e9c
AJ
4843 [BZ #6578]
4844 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4845
624254b1
SC
48462012-04-08 Stephen Compall <s11@member.fsf.org>
4847
4848 [BZ #6649]
4849 * manual/llio.texi (Opening and Closing Files): Add cross
4850 reference to explain mode argument.
4851
1e4920e0
MF
48522012-04-07 Mike Frysinger <vapier@gentoo.org>
4853
4854 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4855 * sysdeps/x86_64/memset_chk.S: Likewise.
4856
5ed848f3
DM
48572012-04-07 David S. Miller <davem@davemloft.net>
4858
4859 * elf/elf.h (R_SPARC_WDISP10): Define.
4860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4861 R_SPARC_SIZE32.
4862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4863 R_SPARC_SIZE64 and R_SPARC_H34.
4864
96154cd8
CD
48652012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4866
4867 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4868 conditions and remove no longer applicable assertion.
4869
9904dc47
L
48702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4871
4872 * bits/byteswap.h: Include <features.h>.
4873 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4874 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4875
f8887d0a
L
48762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4877
4878 * bits/byteswap.h (__bswap_16): Removed.
4879 Include <bits/byteswap-16.h> to get __bswap_16.
4880 * sysdeps/i386/bits/byteswap.h: Likewise.
4881 * sysdeps/s390/bits/byteswap.h: Likewise.
4882 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4883 * bits/byteswap-16.h: New file.
4884 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4885 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4886 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4887 * string/Makefile (headers): Add bits/byteswap-16.h.
4888
62470f60
PP
48892012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4890
4891 [BZ #13895]
4892 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4893 extra indirection.
4894 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4895 * nss/tst-nss-static.c: New.
4896
4dad7bab
RM
48972012-04-06 Robert Millan <rmh@gnu.org>
4898
4899 [BZ #6486]
4900 * manual/llio.texi (File Position Primitive): lseek
4901 refers to WHENCE when it really means OFFSET.
4902
e9142a17
AJ
49032012-04-06 Andreas Jaeger <aj@suse.de>
4904
2c040eff
AJ
4905 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4906 strncmp declarations.
4907
e9142a17
AJ
4908 * abilist/libc.abilist: Add __poll and __ppoll.
4909
ff9f1c5f
DM
49102012-04-05 David S. Miller <davem@davemloft.net>
4911
dcd2ae90
DM
4912 * scripts/check-local-headers.sh: Accept a host triplet in the
4913 path matched by the exclude regexp.
4914
993eb054
DM
4915 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4916 definition.
4917 * sysdeps/powerpc/powerpc32/dl-machine.h
4918 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4919 * sysdeps/s390/s390-32/dl-machine.h
4920 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4921 * sysdeps/sparc/sparc32/dl-machine.h
4922 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4923 * sysdeps/sparc/sparc64/dl-machine.h
4924 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4925
ff9f1c5f
DM
4926 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4927 lazy binding.
48e2e132 4928 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4929 undefined symbol errors.
4930
48e2e132 4931 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4932 DT_NEEDED entries.
4933
e80d6f94
MM
49342012-04-05 Michael Matz <matz@suse.de>
4935
4936 [BZ #13592]
4937 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4938
349fa79f
AJ
49392012-04-05 Andreas Jaeger <aj@suse.de>
4940
4941 [BZ #13908]
4942 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4943 comment.
4944
f402708f
KK
49452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4946
4947 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4948 which ROUND is no valid rounding mode.
4949
2ecccfc9
KK
49502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4951
4952 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4953 read again.
4954 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4955
8a53f50f
KK
49562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4957
4958 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4959 an exception using FPU order intentionally.
4960
49612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4962
4963 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4964 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4965 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4966 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4967
d653abb7
SJ
49682012-04-05 Simon Josefsson <simon@josefsson.org>
4969
4970 [BZ #12340]
4971 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4972 EINVAL when BUFLEN is too smal.
4973
c3b1bf7d
TS
49742012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4975
4976 [BZ #13553]
4977 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4978 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4979
b1aa60f3
AJ
49802012-04-03 Andreas Jaeger <aj@suse.de>
4981
c3b1bf7d 4982 [BZ #13938]
67f60a26
AJ
4983 * manual/setjmp.texi (System V contexts): Fix sentence.
4984
b1aa60f3
AJ
4985 [BZ #13926]
4986 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4987 New macro for this case.
4988 [!__GNUC__] (__bswap_64): New inline function for this case.
4989 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4990 * bits/byteswap.h: Likewise.
4991 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4992 ull, guard with __GLIBC_HAVE_LONG_LONG.
4993
4994 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4995 __GLIBC_HAVE_LONG_LONG.
4996
4997 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4998 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4999
39c59c35
TMQMF
50002012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5001
5002 [BZ #13691]
5003 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5004 inptr and inend, rather than using last_ch.
5005
135ffda8
DM
50062012-04-02 David S. Miller <davem@davemloft.net>
5007
5008 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5009 * stdio-common/printf-parse.h (read_int): Change return type to
5010 'int', return -1 on INT_MAX overflow.
5011 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5012 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5013 overflows INT_MAX. Check for overflow of in-format-string precision
5014 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5015 SIZE_MAX not INT_MAX for integer overflow test.
5016 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5017 skip the construct in the format string but do not record anything.
5018 * stdio-common/bug22.c: Adjust to test both width/prevision
5019 INT_MAX overflow as well as total length INT_MAX overflow. Check
5020 explicitly for proper errno values.
5021
228c019e
TS
50222012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5023
302cadd3
TS
5024 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5025 CHAR_MAX.
5026 * string/test-strcmp.c [! WIDE]: Likewise.
5027 * time/tst-mktime2.c: Likewise for INT_MAX.
5028 * string/test-string.h: #include <sys/param.h> for MIN.
5029
228c019e
TS
5030 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5031 * sysdeps/i386/init-first.c (init): Likewise.
5032 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5033 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5034 * sysdeps/sh/init-first.c (init): Likewise.
5035
cfa633f5
UD
50362012-04-01 Ulrich Drepper <drepper@gmail.com>
5037
5038 * po/ru.po: Update from translation team.
d1635ef8 5039 * po/vi.po: Likewise.
cfa633f5 5040
6cd0a5ea
SP
50412012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5042
5043 * resolv/nss_dns/dns-host.c: Merge copyright years.
5044
4b43400f
LD
50452012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5046
5047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5048 Optimize memcpy with prefetch if
5049 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5050 src, dst pointers have unequal 16 byte alignments.
5051
48c41d04
SP
50522012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5053
5054 [BZ #13928]
5055 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5056 from a CNAME entry and return the minimum ttl for the query.
5057 (gaih_getanswer_slice): Likewise.
5058
b8dc394d
JL
50592012-03-30 Jeff Law <law@redhat.com>
5060
5061 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5062 due to long keys.
5063 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5064 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5065
2f5a5ed0
JL
5066 * resolv/nss_dns/dns-host.c: Update copyright year.
5067
1d39e359
UD
50682012-03-30 Ulrich Drepper <drepper@gmail.com>
5069
c030f70c 5070 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5071 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5072
1d39e359
UD
5073 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5074 comments for sendmmsg.
5075
50762012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5077
5078 [BZ #13691]
5079 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5080 with only 1 character between 0x0041 and 0x01b0.
5081 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5082 * wcsmbs/tst-mbsnrtowcs.c: New file.
5083
20fde227
DM
50842012-03-29 David S. Miller <davem@davemloft.net>
5085
5086 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5087 small copies by hand.
5088
984a4237
JL
50892012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5090
5091 [BZ #13761]
5092 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5093 _nss_compat_initgroups_dyn): Fall back to malloc/free
5094 for large group memberships.
5095
18c9d62b
DM
50962012-03-28 David S. Miller <davem@davemloft.net>
5097
88d85d4f
DM
5098 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5099 that branches into memcpy.
5100 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5101 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5102 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5103 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5105 bits.
5106 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5107 implementation too.
5108 * sysdeps/sparc/mempcpy.S: New file.
5109
e5aa83e1
DM
5110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5111 the IFUNC routine in the libc case.
5112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5113
88570753
DM
5114 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5115 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5116 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5117 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5118 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5119 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5120 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5121 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5122
249d7567
DM
5123 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5124 loop to 256 bytes instead of 64 bytes and fix test signedness.
5125
18c9d62b
DM
5126 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5127 * sysdeps/sparc/sparc32/Makefile: rather than here...
5128 * sysdeps/sparc/sparc64/Makefile: and here.
5129
05f3d1f6
UD
51302012-03-28 Ulrich Drepper <drepper@gmail.com>
5131
5132 * malloc/mallocbug.c: Avoid warnings about unused variables.
5133
86ae07a8
JL
51342012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5135
5136 [BZ #13760]
5137 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5138 in the right place. Discard and retry query if response is
5139 larger than input buffer size.
5140
41bf21a1
JM
51412012-03-28 Joseph Myers <joseph@codesourcery.com>
5142
d6270972
JM
5143 [BZ #369]
5144 [BZ #2678]
5145 [BZ #3866]
5146 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5147 x for large integer exponent.
5148 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5149 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5150 sign of result as needed afterwards.
5151 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5152 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5153 result for underflowing pow the same as for overflow.
5154 (__kernel_standard_l): Handle powl overflow and underflow here
5155 rather than calling __kernel_standard.
5156 * math/libm-test.inc (pow_test): Add more tests.
5157
414fca03 5158 [BZ #3868]
41bf21a1
JM
5159 [BZ #13879]
5160 [BZ #13910]
5161 [BZ #13911]
5162 [BZ #13912]
5163 [BZ #13913]
5164 [BZ #13915]
5165 [BZ #13916]
5166 [BZ #13917]
5167 [BZ #13918]
5168 [BZ #13919]
5169 [BZ #13920]
5170 [BZ #13921]
5171 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5172 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5173 (__kernel_standard_l): New function.
5174 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5175 __kernel_standard.
5176 * math/w_acosl.c (__acosl): Likewise.
5177 * math/w_asinl.c (__asinl): Likewise.
5178 * math/w_atan2l.c (__atan2l): Likewise.
5179 * math/w_atanhl.c (__atanhl): Likewise.
5180 * math/w_coshl.c (__coshl): Likewise.
5181 * math/w_exp10l.c (__exp10l): Likewise.
5182 * math/w_exp2l.c (__exp2l): Likewise.
5183 * math/w_fmodl.c (__fmodl): Likewise.
5184 * math/w_hypotl.c (__hypotl): Likewise.
5185 * math/w_j0l.c (__j0l, __y0l): Likewise.
5186 * math/w_j1l.c (__j1l, __y1l): Likewise.
5187 * math/w_jnl.c (__jnl, __ynl): Likewise.
5188 * math/w_lgammal.c (__lgammal): Likewise.
5189 * math/w_log10l.c (__log10l): Likewise.
5190 * math/w_log2l.c (__log2l): Likewise.
5191 * math/w_logl.c (__logl): Likewise.
5192 * math/w_powl.c (__powl): Likewise.
5193 * math/w_remainderl.c (__remainderl): Likewise.
5194 * math/w_scalbl.c (sysv_scalbl): Likewise.
5195 * math/w_sinhl.c (__sinhl): Likewise.
5196 * math/w_sqrtl.c (__sqrtl): Likewise.
5197 * math/w_tgammal.c (__tgammal): Likewise.
5198 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5199 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5200 * math/libm-test.inc (acos_test): Add more tests.
5201 (acosh_test): Likewise.
5202 (asin_test): Likewise.
5203 (atanh_test): Likewise.
5204 (exp_test): Likewise.
5205 (exp10_test): Likewise.
5206 (exp2_test): Likewise.
5207 (expm1_test): Likewise.
5208 (lgamma_test): Likewise.
5209 (log_test): Likewise.
5210 (log10_test): Likewise.
5211 (log1p_test): Likewise.
5212 (log2_test): Likewise.
5213 (pow_test): Do not allow some spurious overflow exceptions.
5214 (sqrt_test): Add more tests.
5215 (tgamma_test): Likewise.
5216 (y0_test): Likewise.
5217 (y1_test): Likewise.
5218 (yn_test): Likewise.
5219
dd62fda6
AB
52202012-03-27 Anton Blanchard <anton@samba.org>
5221
5222 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5223 MAP_HUGETLB.
5224 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5225 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5226 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5227
1e3cdfda
AJ
52282012-03-27 David S. Miller <davem@davemloft.net>
5229
b855ab85
DM
5230 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5231
1e3cdfda
AJ
5232 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5233 have-as-vis3 check.
5234
52352012-03-27 Andreas Jaeger <aj@suse.de>
5236
5237 * sysdeps/x86_64/elf/configure.in: Moved to ...
5238 * sysdeps/x86_64/configure.in: ... here.
5239 * sysdeps/x86_64/elf/start.S: Moved to ...
5240 * sysdeps/x86_64/start.S: ... here.
5241 * sysdeps/x86_64/elf/configure: Delete.
5242
5243 * sysdeps/x86_64/configure.in: Merge contents from
5244 sysdeps/i386/configure.in (without i686 check).
5245
5246 * sysdeps/i386/elf/Versions: Merge into ...
5247 * sysdeps/i386/Versions: ... this.
5248 * sysdeps/i386/elf/Versions: Delete file.
5249 * sysdeps/i386/elf/start.S: Moved to ...
5250 * sysdeps/i386/start.S: ...here.
5251 * sysdeps/i386/elf/configure.in: Merge into...
5252 * sysdeps/i386/configure.in: ...here.
5253 * sysdeps/i386/elf/configure.in: Delete file.
5254 * sysdeps/i386/elf/configure: Delete file.
5255
5256 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5257 * debug/backtracesyms.c: ... here.
5258 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5259 * debug/backtracesymsfd.c: ... here.
5260 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5261 * sysdeps/generic/ifunc-sel.h: ... here.
5262
5263 * sysdeps/unix/i386/start.c: Delete file.
5264 * sysdeps/unix/sparc/start.c: Delete file.
5265 * sysdeps/unix/start.c: Delete file.
5266
5267 * sysdeps/sh/elf/configure.in: Moved to ...
5268 * sysdeps/sh/configure.in: ... here.
5269 * sysdeps/sh/elf/start.S: Moved to ...
5270 * sysdeps/sh/start.S: ... here.
5271 * sysdeps/sh/elf/configure: Delete file.
5272
5273 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5274 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5275 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5276 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5277 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5278 * sysdeps/powerpc/powerpc64/start.S: here.
5279 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5280 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5281 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5282 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5283 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5284
5285 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5286 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5287 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5288 * sysdeps/powerpc/powerpc32/start.S: ... here.
5289 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5290 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5291 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5292
5293 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5294 * sysdeps/powerpc/ifunc-sel.h: ... here.
5295 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5296 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5297
5298 * sysdeps/sparc/elf/configure.in: Moved to ...
5299 * sysdeps/sparc/configure.in: ... here.
5300 * sysdeps/sparc/elf/configure: Delete file.
5301 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5302 * sysdeps/sparc/sparc32/start.S: ... here.
5303 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5304 * sysdeps/sparc/sparc64/start.S: ... here.
5305 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5306 * sysdeps/sparc/sparc32/Makefile: ... this.
5307 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5308 * sysdeps/sparc/sparc64/Makefile: ... this.
5309
5310 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5311 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5312 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5313 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5314 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5315 * sysdeps/s390/s390-32/setjmp.S: ... here.
5316 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5317 * sysdeps/s390/s390-32/configure.in: ... here.
5318 * sysdeps/s390/s390-32/elf/configure: Delete file.
5319 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5320 * sysdeps/s390/s390-32/start.S: ... here.
5321
5322 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5323 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5324 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5325 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5326 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5327 * sysdeps/s390/s390-64/setjmp.S: ... here.
5328 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5329 * sysdeps/s390/s390-64/configure.in: ... here
5330 * sysdeps/s390/s390-64/elf/configure: Delete file.
5331 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5332 * sysdeps/s390/s390-64/start.S: ... here.
5333 * sysdeps/s390/s390-64/elf/configure: Delete.
5334
5335 * configure.in: Remove support for elf directories in sysdeps.
5336
5337 * configure: Regenerated.
5338 * sysdeps/i386/configure: Regenerated.
5339 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5340 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5341 * sysdeps/s390/s390-32/configure: Regenerated.
5342 * sysdeps/s390/s390-64/configure: Regenerated.
5343 * sysdeps/sh/configure: Regenerated.
5344 * sysdeps/sparc/configure: Regenerated.
5345 * sysdeps/x86_64/configure: Regenerated.
5346
a3f61311
AS
53472012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5348
c876e002
AS
5349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5350
a3f61311
AS
5351 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5352 denormal result into account.
5353
ac4c54f0
RM
53542012-03-25 Roland McGrath <roland@hack.frob.com>
5355
5356 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5357 Reported by Allan McRae <allan@archlinux.org>.
5358
6a9b9c02
JL
53592012-03-23 Jeff Law <law@redhat.com>
5360
5361 * nss/getnssent.c (__nss_getent): Fix typo.
5362
4c42a0c1
DM
53632012-03-23 David S. Miller <davem@davemloft.net>
5364
5365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5366
1532c7ac
L
53672012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5368
5369 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5370 to pad to uint64_t for each field.
5371 (dl_tls_index): Replace unsigned long with uint64_t.
5372
3ff42526
PP
53732012-03-23 Daniel Jacobowitz <dmj@google.com>
5374 Paul Pluzhnikov <ppluzhnikov@google.com>
5375
5376 [BZ #6528]
5377 * grp/Makefile (otherlibs): Don't set it.
5378 * inet/Makefile (otherlibs): Likewise.
5379 * login/Makefile (otherlibs): Likewise.
5380 * nscd/Makefile (otherlibs): Likewise.
5381 * posix/Makefile (otherlibs): Likewise.
5382 * pwd/Makefile (otherlibs): Likewise.
5383 * rt/Makefile (otherlibs): Likewise.
5384 * sunrpc/Makefile (otherlibs): Likewise.
5385 * nss/Makefile (otherlibs): Likewise.
5386 Add libnss_files to routines and static-only-routines.
5387 ($(objpfx)getent): Remove rule.
5388 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5389 static-only-routines.
5390
7c69cd14
JM
53912012-03-22 Joseph Myers <joseph@codesourcery.com>
5392
5393 [BZ #13892]
5394 * math/s_cexp.c: Include <float.h>.
5395 (__cexp): Handle exp result overflowing not necessarily
5396 overflowing both real and imaginary parts of result.
5397 * math/s_cexpf.c: Likewise.
5398 * math/s_cexpl.c: Likewise.
5399 * math/libm-test.inc (cexp_test): Add more tests.
5400 * sysdeps/i386/fpu/libm-test-ulps: Update.
5401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5402
81b035fe
L
54032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5404
5405 * include/link.h (ELFW): New macro.
5406 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5407 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5408
1da7940c
L
54092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5410
5411 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5412 with uint64_t.
5413
b749dbb9
L
54142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5415
5416 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5417 declaration.
5418 (struct La_x32_retval): Likewise.
5419
2ff87f3f
L
54202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5421
5422 * sysdeps/x86_64/preconfigure.in: New file.
5423 * sysdeps/x86_64/preconfigure: New generated file.
5424
c0df8e69
JM
54252012-03-22 Joseph Myers <joseph@codesourcery.com>
5426
48e44791
JM
5427 [BZ #13824]
5428 * math/e_exp2l.c: Include <float.h>.
5429 (__ieee754_exp2l): Handle overflow and underflow cases
5430 separately. Only pass fractional part of argument to
5431 __ieee754_expl.
5432 * math/libm-test.inc (exp2_test): Add more tests.
5433
c0df8e69
JM
5434 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5435 negating x to take absolute value.
5436 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5437 Likewise.
5438 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5439 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5440 Likewise.
5441 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5442 computing low part if x was negated.
5443 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5444
c8e43ba7
L
54452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5446
5447 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5448 la_x32_gnu_pltexit.
5449 (pltexit): Cast int_retval to ptrdiff_t.
5450 * elf/tst-auditmod3b.c: Likewise.
5451 * elf/tst-auditmod4b.c: Likewise.
5452 * elf/tst-auditmod5b.c: Likewise.
5453 * elf/tst-auditmod6b.c: Likewise.
5454 * elf/tst-auditmod6c.c: Likewise.
5455 * elf/tst-auditmod7b.c: Likewise.
5456
5457 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5458 and x32_gnu_pltexit.
5459
5460 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5461 __ELF_NATIVE_CLASS.
5462 (La_x32_regs): New macro.
5463 (La_x32_retval): Likewise.
5464 (la_x32_gnu_pltenter): New function prototype.
5465 (la_x32_gnu_pltexit): Likewise.
5466
7998fa78
AS
54672012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5468
dcb33988
AS
5469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5470 exponent.
5471
233fc563
AS
5472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5473
7998fa78
AS
5474 * configure.in (libc_cv_cc_nofma): Check for option to disable
5475 generation of FMA instructions.
5476 * configure: Regenerate.
5477 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5478 * sysdeps/ieee754/dbl-64/Makefile: New file.
5479 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5480 Remove brandred-fma4.
5481 (CFLAGS-brandred-fma4.c): Remove.
5482 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5483 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5484 define.
5485 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5486 define.
5487
8e95c99a
L
54882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5489
5490 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5491 LLONG_MAX != LONG_MAX.
5492 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5493 (_fitoa_word): Likewise.
5494 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5495 LLONG_MAX != LONG_MAX.
5496 * stdio-common/_itowa.h: Include <_itoa.h>.
5497 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5498 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5499 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5500 only if not defined.
5501 (_ITOA_WORD_TYPE): Likewise.
5502 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5503 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5504
6f4db457
DM
55052012-03-21 David S. Miller <davem@davemloft.net>
5506
5507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5508
7785fe5a
L
55092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5510
5511 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5512 of x86_64 when setting libc_cv_slibdir, libdir and
5513 libc_cv_localedir.
5514 * sysdeps/unix/sysv/linux/configure: Regenerated.
5515
4535cd55
JM
55162012-03-21 Joseph Myers <joseph@codesourcery.com>
5517
5518 * manual/lang.texi (Old Varargs): Remove section.
5519 (How Variadic): Update menu.
5520 (va_start): Do not mention varargs.h.
5521
17228132
TS
55222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5523 Joseph Myers <joseph@codesourcery.com>
5524
5525 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5526 link test.
5527 * configure: Regenerated.
5528
8149f976
TS
55292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5530
05f3d1f6
UD
5531 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5532 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5533 conformtest.pl
8149f976 5534
1a4ac776
JM
55352012-03-21 Joseph Myers <joseph@codesourcery.com>
5536
be22ce65
JM
5537 * NOTES: Remove.
5538 * Makefile (files-for-dist): Remove NOTES.
5539 (NOTES): Remove rule.
5540 * README: Don't refer to NOTES.
5541 * manual/creature.texi: Don't include macros.texi.
5542 * manual/intro.texi (creature.texi): Remove comment referring to
5543 NOTES.
5544
40b601fb
JM
5545 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5546 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5547 * configure: Regenerated.
5548 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5549 LIBC_TRY_CC_OPTION.
5550 (libc_cv_as_i686): Likewise.
5551 (libc_cv_cc_avx): Likewise.
5552 (libc_cv_cc_sse2avx): Likewise.
5553 (libc_cv_cc_fma4): Likewise.
5554 (libc_cv_cc_novzeroupper): Likewise.
5555 * sysdeps/i386/configure: Regenerated.
5556
1a4ac776
JM
5557 [BZ #13883]
5558 * sysdeps/i386/fpu/s_cexp.S: Remove.
5559 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5560 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5561 * math/libm-test.inc (cexp_test): Add more tests.
5562 * sysdeps/i386/fpu/libm-test-ulps: Update.
5563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5564
a458e7fe
AM
55652012-03-21 Allan McRae <allan@archlinux.org>
5566
5567 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5568
0cb7efc5
JM
55692012-03-21 Joseph Myers <joseph@codesourcery.com>
5570
5571 [BZ #13871]
5572 * math/w_exp2.c: Do not include <float.h>.
5573 (o_threshold, u_threshold): Remove.
5574 (__exp2): Calculate result before checking finiteness and calling
5575 __kernel_standard.
5576 * math/w_exp2f.c: Likewise.
5577 * math/w_exp2l.c: Likewise.
5578 * math/libm-test.inc (exp2_test): Require overflow exception for
5579 1e6 input.
2460d3aa
JM
5580
5581 [BZ #3866]
5582 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5583 range of signed 64-bit integers before using fistpll. Remove
5584 checks for whether integers fit in mantissa bits.
5585 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5586 the range of signed 32-bit integers before using fistpl. Remove
5587 checks for whether integers fit in mantissa bits.
5588 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5589 (__ieee754_powl): Test for y outside the range of signed 64-bit
5590 integers before using fistpll. Reduce 64-bit values to 63-bit
5591 ones as needed.
5592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5593 divide-by-zero is raised for zero to large negative powers.
5594 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5595 (__ieee754_powl): Test for y outside the range of signed 64-bit
5596 integers before using fistpll. Reduce 64-bit values to 63-bit
5597 ones as needed.
5598 * math/libm-test.inc (pow_test): Add more tests.
5599
eb96ffb0
L
56002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5601
5602 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5603 <stdio-common/_itoa.h>.
5604 * debug/segfault.c: Likewise.
5605 * elf/dl-cache.c: Likewise.
5606 * elf/dl-minimal.c: Likewise.
5607 * elf/dl-misc.c: Likewise.
5608 * elf/dl-sysdep.c: Likewise.
5609 * elf/dl-version.c: Likewise.
5610 * elf/rtld.c: Likewise.
5611 * hurd/hurdsock.c: Likewise.
5612 * hurd/lookup-retry.c: Likewise.
5613 * malloc/malloc.c: Likewise.
5614 * malloc/mtrace.c: Likewise.
5615 * nscd/nscd_getgr_r.c: Likewise.
5616 * nscd/nscd_getpw_r.c: Likewise.
5617 * nscd/nscd_getserv_r.c: Likewise.
5618 * posix/getopt_init.c: Likewise.
5619 * posix/wordexp.c: Likewise.
5620 * stdio-common/_itoa.c: Likewise.
5621 * stdio-common/printf_fphex.c: Likewise.
5622 * stdio-common/vfprintf.c: Likewise.
5623 * string/_strerror.c: Likewise.
5624 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5625 * sysdeps/i386/i686/hp-timing.h: Likewise.
5626 * sysdeps/mach/_strerror.c: Likewise.
5627 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5628 * sysdeps/mach/hurd/sethostid.c: Likewise.
5629 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5630 * sysdeps/mach/xpg-strerror.c: Likewise.
5631 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5632 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5633 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5634 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5635 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5636 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5637 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5638 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5639 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5640 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5641 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5642 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5643 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5644 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5645 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5646 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5647 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5648 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5649 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5650 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5651 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5652
5653 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5654
5655 * stdio-common/_itoa.h: Moved to ...
5656 * sysdeps/generic/_itoa.h: Here.
5657
5658 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5659
5660 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5661 instead of "_itoa.h" and "_itowa.h".
5662 * stdio-common/vfprintf.: Likewise.
5663
d1af992d
L
56642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5665
5666 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5667 <bits/wordsize.h>.
5668 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5669 (__signbit): Likwise.
5670 (llrintf): Likwise.
5671 (llrint): Likwise.
5672
114883e0
L
56732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5674
5675 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5676 __WORDSIZE != 64.
5677
c135cc1b
JM
56782012-03-20 Joseph Myers <joseph@codesourcery.com>
5679
5680 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5681 OVERFLOW_EXCEPTION_OK.
5682 * math/libm-test.inc ("Philosophy"): Update comment about
5683 exception testing.
5684 (OVERFLOW_EXCEPTION): Define.
5685 (OVERFLOW_EXCEPTION_OK): Likewise.
5686 (INVALID_EXCEPTION_OK): Renumber.
5687 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5688 (IGNORE_ZERO_INF_SIGN): Likewise.
5689 (test_exceptions): Handle FE_OVERFLOW.
5690 (exp10_test): Expect overflow exceptions.
5691 (exp2_test): Likewise.
5692 (expm1_test): Likewise.
5693 (nextafter_test): Likewise.
5694 (pow_test): Likewise.
5695 (scalbn_test): Likewise.
5696 (scalbln_test): Likewise.
5697
95443d88
L
56982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5699
5700 * sysdeps/x86_64/bits/atomic.h
5701 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5702 64bit integer.
5703 (atomic_exchange_acq): Likewise.
5704 (__arch_exchange_and_add_body): Likewise.
5705 (__arch_add_body): Likewise.
5706 (atomic_add_negative): Likewise.
5707 (atomic_add_zero): Likewise.
5708
490df6c4
L
57092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5710
c2722551 5711 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5712 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5713
5e52b189
L
57142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5715
5716 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5717 Check __x86_64__ instead of __WORDSIZE.
5718
a9879d4c
L
57192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5720
5721 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5722
5df98260
DM
57232012-03-19 David S. Miller <davem@davemloft.net>
5724
e1497744
DM
5725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5726
5df98260
DM
5727 * sysdeps/sparc/fpu/fenv_private.h: New file.
5728 * sysdeps/sparc/fpu/math_private.h: Use it.
5729 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5730 Remove.
5731 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5732 (libc_feholdexcept_setroundl): Remove.
5733 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5734 Remove.
5735 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5736 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5737
b4c35121
L
57382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5739
5740 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5741 int64_t instead of long int.
5742 (INSERT_WORDS64): Likwise.
5743
56965fd7
L
57442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5745
5746 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5747 _Unwind_GetCFA return to _Unwind_Ptr first.
5748
83d1aec8
JM
57492012-03-19 Joseph Myers <joseph@codesourcery.com>
5750
1897ad44
JM
5751 [BZ #13629]
5752 * math/s_clog.c: Include <float.h>.
5753 (__clog): Scale large or subnormal inputs.
5754 * math/s_clogf.c: Likewise.
5755 * math/s_clogl.c: Likewise.
5756 * math/s_clog10.c: Include <float.h>.
5757 (M_LOG10_2): Define.
5758 (__clog10): Scale large or subnormal inputs.
5759 * math/s_clog10f.c: Likewise.
5760 * math/s_clog10l.c: Likewise.
5761 * math/libm-test.inc (clog_test): Add more tests.
5762 (clog10_test): Likewise.
5763 * sysdeps/i386/fpu/libm-test-ulps: Update.
5764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5765
7726d6a9
JM
5766 [BZ #11451]
5767 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5768 x and y.
5769 * math/libm-test.inc (atan2_test): Add another test.
5770
83d1aec8
JM
5771 * Makerules (common-objdir-compile): Remove.
5772 * sysdeps/unix/Makefile (config-generated): Do not add
5773 $(unix-generated) to variable.
5774 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5775 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5776 Remove rule.
5777 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5778 Likewise.
5779 [generic bits/local_lim.h] (before-compile): Do not append to
5780 variable.
5781 [generic bits/local_lim.h] (common-generated): Likewise.
5782 [generic sys/param.h] (before-compile): Do not append to variable.
5783 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5784 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5785 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5786 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5787 include.
5788 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5789 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5790 [generic sys/param.h] ($(addprefix
5791 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5792 [generic sys/param.h] (common-generated): Do not append to
5793 variable.
5794 [generic sys/param.h] (sysdep_headers): Likewise.
5795 [generic bits/errno.h] (before-compile): Do not append to
5796 variable.
5797 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5798 rule.
5799 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5800 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5801 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5802 [generic bits/errno.h] (common-generated): Do not append to
5803 variable.
5804 [generic bits/ioctls.h] (before-compile): Do not append to
5805 variable.
5806 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5807 rule.
5808 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5809 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5810 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5811 rule.
5812 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5813 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5814 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5815 [generic bits/ioctls.h] (common-generated): Do not append to
5816 variable.
5817 [generic sys/syscall.h] (syscall.h): Remove variable.
5818 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5819 rule.
5820 [generic sys/syscall.h] (before-compile): Do not append to
5821 variable.
5822 [generic sys/syscall.h] (common-generated): Likewise.
5823 * sysdeps/unix/errnos-tmpl.c: Remove file.
5824 * sysdeps/unix/errnos.awk: Likewise.
5825 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5826 * sysdeps/unix/ioctls.awk: Likewise.
5827 * sysdeps/unix/mk-local_lim.c: Likewise.
5828 * sysdeps/unix/snarf-ioctls: Likewise.
5829
4851a949
RH
58302012-03-19 Richard Henderson <rth@twiddle.net>
5831
bd37f2ee
RH
5832 * sysdeps/i386/fpu/fenv_private.h: New file.
5833 * sysdeps/i386/fpu/math_private.h: Use it.
5834 (math_opt_barrier, math_force_eval): Remove.
5835 (libc_feholdexcept_setround_53bit): Remove.
5836 (libc_feupdateenv_53bit): Remove.
5837 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5838 (math_opt_barrier, math_force_eval): Remove.
5839 (libc_feholdexcept): Remove.
5840 (libc_feholdexcept_setround): Remove.
5841 (libc_fetestexcept, libc_fesetenv): Remove.
5842 (libc_feupdateenv_test): Remove.
5843 (libc_feupdateenv, libc_feholdsetround): Remove.
5844 (libc_feresetround): Remove.
5845
d0adc922
RH
5846 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5847 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5848
0fe0f1f8
RH
5849 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5850 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5851 (libc_feupdateenv_testl): New.
5852 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5853 (libc_feupdateenv_testf): New.
5854 (libc_feupdateenv): Use libc_feupdateenv_test.
5855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5856 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5857
eb92c487
RH
5858 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5859 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5860 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5861 (libc_feresetround_noex): New.
5862 (libc_feresetround_noexf): New.
5863 (libc_feresetround_noexl): New.
5864 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5865 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5866 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5867 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5868 SET_RESTORE_ROUND.
5869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5871 (__cos): Likewise.
5872 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5873 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5874 SET_RESTORE_ROUND_NOEX.
5875 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5876 SET_RESTORE_ROUND_NOEXF.
5877 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5878 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5879 (libc_feholdsetroundf): New.
5880 (libc_feresetround, libc_feresetroundf): New.
5881
7d2e8012
RH
5882 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5883 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5884 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5885
b4dabbb4
RH
5886 * sysdeps/generic/math_private.h: Include <fenv.h>.
5887 (default_libc_feholdexcept): New.
5888 (default_libc_feholdexcept_setround): New.
5889 (default_libc_fesetenv, default_libc_feupdateenv): New.
5890 (libc_feholdexcept): Only define if undefined.
5891 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5892 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5893 (libc_feholdexcept_setroundl): Likewise.
5894 (libc_feholdexcept_setround_53bit): Likewise.
5895 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5896 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5897 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5898 (libc_feupdateenv_53bit): Likewise.
5899 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5900 (libc_feholdexcept): Convert from macro to inline function.
5901 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5902 (libc_fesetenv, libc_feupdateenv): Likewise.
5903
4851a949
RH
5904 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5905 not previously defined.
5906 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5907 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5908 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5909 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5910 * sysdeps/ieee754/flt-32/math_private.h: New file.
5911 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5912 math_private.h below SET_FLOAT_WORD.
5913 (__isnan, __isinf_ns, __finite): Remove.
5914 (__isnanf, __isinf_nsf, __finitef): Remove.
5915
e79d442e
AS
59162012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5917
5918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5919
90b80344
DM
59202012-03-17 David S. Miller <davem@davemloft.net>
5921
5922 [BZ #6471]
5923 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5924 for 2.16.
5925
edc21804
DM
59262012-03-16 David S. Miller <davem@davemloft.net>
5927
77e927af
DM
5928 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5929 warnings.
5930
374976dd
DM
5931 [BZ #6471]
5932 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5933 properly.
5934 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5935 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5936 sysdep_routines when subdir is sysvipc.
5937 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5938 __getshmlba helper.
5939
edc21804
DM
5940 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5941
473c3ef3
L
59422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5943
5944 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5945 [__LP64__].
5946
eb0f39b6
L
59472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5948
5949 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5950 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5951 (__lround): Renamed to ...
5952 (__llround): This. Replace long int with long long int.
5953 Define lround functions as aliases of llround functions.
5954 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5955
6b6cd74b
L
59562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5957
5958 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5959 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5960 adresses to uintptr_t. Replace "long int" and "unsigned long
5961 int" with "greg_t" on va_arg.
5962
f1a77b01
L
59632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5964
5965 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5966 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5967
5968 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5969 Move e_machine check before EI_CLASS check. Handle x32
5970 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5971 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5972 SKIP_EM_IA_64 and include
5973 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5974
5975 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5976 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5977 (add_system_dir): New macro.
5978
5979 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5980 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5981
11b90b9f
JM
59822012-03-16 Joseph Myers <joseph@codesourcery.com>
5983
c36e1d23
JM
5984 [BZ #2551]
5985 [BZ #2552]
5986 [BZ #2553]
5987 [BZ #2554]
5988 [BZ #2562]
5989 [BZ #2563]
5990 [BZ #2565]
5991 [BZ #2566]
5992 [BZ #2576]
5993 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5994 (y0): Likewise.
5995 * math/w_j0f.c (j0f): Likewise.
5996 (y0f): Likewise.
5997 * math/w_j0l.c (__j0l): Likewise.
5998 (__y0l): Likewise.
5999 * math/w_j1.c (j1): Likewise.
6000 (y1): Likewise.
6001 * math/w_j1f.c (j1f): Likewise.
6002 (y1f): Likewise.
6003 * math/w_j1l.c (__j1l): Likewise.
6004 (__y1l): Likewise.
6005 * math/w_jn.c (jn): Likewise.
6006 (yn): Likewise.
6007 * math/w_jnf.c (jnf): Likewise.
6008 (ynf): Likewise.
6009 * math/w_jnl.c (__jnl): Likewise.
6010 (__ynl): Likewise.
6011 * math/libm-test.inc (j0_test): Add more tests.
6012 (j1_test): Likewise.
6013 (jn_test): Likewise. Add trailing semicolon to existing test.
6014 (y0_test): Likewise.
6015 (y1_test): Likewise.
6016 * sysdeps/i386/fpu/libm-test-ulps: Update.
6017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6018
11b90b9f
JM
6019 [BZ #13851]
6020 [BZ #13854]
6021 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6022 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6023 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6024 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6025 (__tanl): Set errno for infinite argument.
6026 * sysdeps/i386/fpu/mptan.c: Remove.
6027 * sysdeps/i386/fpu/s_tan.S: Likewise.
6028 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6029 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6030 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6031 * math/libm-test.inc (tan_test): Add more tests and enable more
6032 tests for double and long double.
6033 * sysdeps/i386/fpu/libm-test-ulps: Update.
6034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6035
6a1bd2a1
JK
60362012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6037
6038 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6039 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6040
10a803e0
RM
60412012-03-16 Roland McGrath <roland@hack.frob.com>
6042
6043 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6044 * configure.in: Use it for both main tree and add-ons.
6045 * configure: Regenerated.
6046
f196c7f7
L
60472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6048
6049 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6050
8848d99d
JM
60512012-03-16 Joseph Myers <joseph@codesourcery.com>
6052
96cbe7f4
JM
6053 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6054 in comment.
6055
8848d99d
JM
6056 [BZ #13851]
6057 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6058 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6059 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6060 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6061 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6062 infinite argument.
6063 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6065 != 0 for prec == 2.
6066 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6067 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6068 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6069 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6070 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6071 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6072 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6073 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6074 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6075 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6076 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6077 * math/libm-test.inc (cos_test): Add more tests and enable more
6078 tests for long double.
6079 (sin_test): Likewise.
6080 (sincos_test): Likewise.
6081 * sysdeps/i386/fpu/libm-test-ulps: Update.
6082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6083
dd7f4703
DM
60842012-03-16 David S. Miller <davem@davemloft.net>
6085
6086 * sysdeps/sparc/fpu/math_private.h: New file.
6087
006f1daa
DM
60882012-03-15 David S. Miller <davem@davemloft.net>
6089
c0c83bc8
DM
6090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6091 file.
e6a62e18 6092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6094 file.
e6a62e18
DM
6095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6100 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6101 sysdep routines.
6102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6103
88cb87d9
DM
6104 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6105 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6106
006f1daa 6107 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6109 sparc-ifunc.h
006f1daa 6110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6112 Likewise.
6113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6114 Likewise.
006f1daa
DM
6115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6119 Likewise.
006f1daa
DM
6120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6125 Likewise.
6126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6127 Likewise.
006f1daa
DM
6128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6134 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6137 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6146 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6147 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6152
11e0098e
AS
61532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6154
6155 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6156 scaling.
6157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6158
e85b09d0
AJ
61592012-03-15 Andreas Jaeger <aj@suse.de>
6160
6161 [BZ #13852]
6162 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6163 ieee754/flt-32 implementation for sin, cos and sincos.
6164 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6165 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6166 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6167 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6168 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6169 ieee754/flt-32 implementation for tan.
6170
6171 * math/libm-test.inc (cos_test): Enable some large input tests for
6172 float as well
6173 (sin_test): Likewise.
6174 (sincos_test): Likewise.
6175 (tan_test): Add tests for large input.
6176
6177 * sysdeps/i386/fpu/libm-test-ulps: Update.
6178
81c64153
AJ
61792012-03-15 Andreas Jaeger <aj@suse.de>
6180
6181 [BZ #13658]
6182 * math/libm-test.inc (cos_test): Add more test cases.
6183 (sin_test): Likewise.
6184 (sincos_test): Likewise.
6185
7bbfa5c6
AJ
61862012-03-15 Andreas Jaeger <aj@suse.de>
6187
6188 [BZ #13837]
6189 * math/libm-test.inc (cos_test): Add a test case for large input
6190 value.
6191 (sin_test): Likewise.
6192 (sincos_test): Likewise.
6193
61942012-03-15 Andreas Jaeger <aj@suse.de>,
6195 Joseph Myers <joseph@codesourcery.com>
6196
6197 [BZ #13658]
0671f479 6198 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6199 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6200 * sysdeps/i386/fpu/branred.c: Likewise.
6201 * sysdeps/i386/fpu/dosincos.c: Likewise.
6202 * sysdeps/i386/fpu/mpa.c: Likewise.
6203 * sysdeps/i386/fpu/s_cos.S: Likewise.
6204 * sysdeps/i386/fpu/s_sin.S: Likewise.
6205 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6206 * sysdeps/i386/fpu/sincos32.c: Likewise.
6207
6208 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6209 Define.
6210 (libc_feupdateenv_53bit): Define.
6211 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6212 Define.
6213 (libc_feupdateenv_53bit): Define.
6214
6215 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6216 53 bit (without extend i386 double precision).
6217
6218 * math/libm-test.inc (sincos_test): Add tests for large input.
6219 (sin): Likewise.
6220 (cos): Likewise.
6221
6222 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6223
9cad04ea
AS
62242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6225
6226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6227
f7062b9a
DM
62282012-03-15 David S. Miller <davem@davemloft.net>
6229
6230 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6231 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6232 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6233 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6246 file.
f7062b9a 6247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6249 file.
f7062b9a 6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6252 file.
f7062b9a 6253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6255 file.
f7062b9a
DM
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6258 fmin/fmax sysdep routines.
6259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6260
7bd951ff
DM
62612012-03-14 David S. Miller <davem@davemloft.net>
6262
559398ab
DM
6263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6267 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6268 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6269 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6270 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6283 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6284 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6289 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6290 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6292 routines.
6293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6294 file.
559398ab 6295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6297 file.
559398ab 6298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6300 file.
559398ab 6301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6303 file.
559398ab 6304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6306 file.
559398ab 6307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6309 file.
6310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6311 file.
6312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6313 file.
6314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6315 file.
6316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6317 New file.
6318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6319 file.
6320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6321 file.
559398ab 6322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6324 file.
559398ab 6325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6327 file.
559398ab 6328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6330 file.
559398ab 6331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6333 VIS3 routines.
559398ab
DM
6334
6335 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6336 New file.
6337
5a1c1e32
DM
6338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6339
eae47a36
DM
6340 * sysdeps/sparc/configure.in: New file.
6341 * sysdeps/sparc/configure: Generate.
6342 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6343 * configure: Regenerate.
6344 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6345 * config.make.in (have-as-vis3): New.
6346 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6347 available use -Av9d instead of -Av9a.
6348 * sysdeps/sparc/sparc64/Makefile: Likewise.
6349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6351 New file.
6352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6353 file.
6354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6355 New file.
6356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6357 file.
eae47a36
DM
6358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6359 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6360 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6363
c0c83bc8
DM
6364 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6365 fzeros/fnegs to load 0x80000000 into a float register instead of
6366 using the stack.
7bd951ff
DM
6367 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6368
bd951ccb
JM
63692012-03-14 Joseph Myers <joseph@codesourcery.com>
6370
6371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6372 bits/syscall.h.
6373 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6374 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6375 ($(inst_includedir)/bits/syscall.h): Remove rule.
6376 ($(objpfx)bits/syscall.d): Include instead of
6377 $(objpfx)syscall-list.d.
6378 (generated): Change syscall-list.h and syscall-list.d to
6379 bits/syscall.h and bits/syscall.d.
6380
bb4e6db2
RM
63812012-03-14 Roland McGrath <roland@hack.frob.com>
6382
6383 [BZ #13846]
6384 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6385
aa4a2ae1
JM
63862012-03-14 Joseph Myers <joseph@codesourcery.com>
6387
e456826d
JM
6388 [BZ #13841]
6389 * math/s_csqrt.c: Include <float.h>.
6390 (__csqrt): Scale large or subnormal inputs.
6391 * math/s_csqrtf.c: Likewise.
6392 * math/s_csqrtl.c: Likewise.
6393 * math/libm-test.inc (csqrt_test): Add more tests.
6394 * sysdeps/i386/fpu/libm-test-ulps: Update.
6395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6396
aa4a2ae1
JM
6397 [BZ #13840]
6398 * math/libm-test.inc (hypot_test): Add more tests.
6399
7c10fd35
DM
64002012-03-13 David S. Miller <davem@davemloft.net>
6401
6402 [BZ #13840]
6403 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6404 double-precision for the calculation instead of scaling.
6405
f453b98b
JM
64062012-03-13 Joseph Myers <joseph@codesourcery.com>
6407
6408 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6409 manipulate bits before adding and subtracting TWO52[sx].
6410 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6411 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6412 Likewise.
6413 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6414
09a3453f
DM
64152012-03-13 David S. Miller <davem@davemloft.net>
6416
8e59da90
DM
6417 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6418 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6420 rtld-global-offsets.h
6421 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6422
2a8ab7f2
DM
6423 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6424 large parameters.
6425
10f62770
DM
6426 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6427
5f0bdb18
DM
6428 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6429 'err' in the ifdef scope in which it is actually used.
6430
09a3453f
DM
6431 * nss/nss_db/db-init.c: Include string.h
6432
b4b2eb5e
DM
64332012-03-12 David S. Miller <davem@davemloft.net>
6434
98bb2f1c
DM
6435 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6436 masking out of the most significant byte of random value used.
6437 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6438 Fix coding style in previous change.
6439
b4b2eb5e
DM
6440 * sysdeps/unix/sysv/linux/kernel-features.h
6441 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6442 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6443 expression.
6444 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6445 later.
6446
6e226b09
DM
64472012-03-11 David S. Miller <davem@davemloft.net>
6448
a1bcbd40
DM
6449 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6450 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6451 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6452 for 'resultvar' otherwise things get truncated on 64-bit.
6453
cb9d6174
DM
6454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6455 Fix masking out of the most significant byte of random value used.
6456
6e226b09
DM
6457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6458
058c132d
AS
64592012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6460
6461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6462
2d2cd515
DM
64632012-03-09 David S. Miller <davem@davemloft.net>
6464
6465 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6466 variables with appropriate CPP guards.
6467 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6468 frame pointer, not the stack pointer. Correct layout comments. Fix test
6469 on resulting framesize and the management of the outregs buffer for pltexit.
6470 Preserve floating point return values across _dl_call_pltexit call.
6471 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6472 framesize and the management of the outregs buffer for pltexit.
6473 Preserve floating point return values across _dl_call_pltexit
6474 call.
6475 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6476 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6477 (print_exit): Fix format string for return register value.
6478
9a07f9d0
JM
64792012-03-10 Joseph Myers <joseph@codesourcery.com>
6480
6481 * sunrpc/Makefile (others): Add rpcgen.
6482 ($(objpfx)rpcgen): Remove special build rule and dependency on
6483 libc.
6484 * sunrpc/rpcgen.c: New file.
6485
547b5e30
PE
64862012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6487
c524201a
PE
6488 [BZ #13673]
6489 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6490 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6491 * sysdeps/i386/crti.S: Likewise.
6492 * sysdeps/i386/crtn.S: Likewise.
6493 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6494 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6495 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6496 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6497 * sysdeps/sh/crti.S: Likewise.
6498 * sysdeps/sh/crtn.S: Likewise.
6499 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6500
7b6235f2
PE
6501 [BZ #13673]
6502 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6503 with URL.
6504 * locale/programs/locfile-kw.gperf: Likewise.
6505 * locale/programs/charmap-kw.h: Regenerated.
6506 * locale/programs/locfile-kw.h: Likewise.
6507
547b5e30
PE
6508 [BZ #13673]
6509 * intl/plural.y: Replace FSF snail mail address with URL.
6510 * intl/plural.c: Regenerated.
6511
5f0a5dae
RH
65122012-03-09 Richard Henderson <rth@twiddle.net>
6513
6514 * include/math_private.h: Remove file.
6515 * math/math_private.h: Move file ...
6516 * sysdeps/generic/math_private.h: ... here.
6517
b8c03620
RH
6518 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6519 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6520 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6521
4e234f5d 6522 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6523 and <math_private.h>.
6524 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6525 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6526 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6527 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6528 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6530 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6531 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6532 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6533 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6535 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6536 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6546 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6548 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6549 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6550 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6551 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6552 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6554 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6555 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6560 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6561 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6562 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6563 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6564 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6565 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6569 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6570 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6571 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6572 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6573 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6574 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6575 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6576 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6577 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6578 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6579 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6580 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6581 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6582 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6583 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6584 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6585 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6586 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6587 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6588 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6589 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6590 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6591 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6592 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6593 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6594 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6595 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6596 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6598 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6601 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6603 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6604 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6605 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6606 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6610 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6611 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6612 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6615 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6616 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6617 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6618 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6619 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6620 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6621 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6622 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6623 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6624 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6625 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6626 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6627 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6628 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6629 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6630 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6631 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6632 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6633 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6634 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6635 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6636 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6637 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6638 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6639 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6640 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6641 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6642 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6643 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6644 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6645 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6646 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6647 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6648 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6649 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6650 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6651 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6652 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6653 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6654 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6655 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6656 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6657 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6658 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6659 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6660 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6661 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6662 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6663 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6664 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6665 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6666 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6667 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6668 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6669 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6670 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6671 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6672 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6673 * sysdeps/ieee754/k_standard.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6789 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6793 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6794 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6796 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6801 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6806 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6814 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6819 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6822 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6823 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6824 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6828 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6834 * sysdeps/ieee754/s_lib_version.c: Likewise.
6835 * sysdeps/ieee754/s_matherr.c: Likewise.
6836 * sysdeps/ieee754/s_signgam.c: Likewise.
6837 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6838 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6839 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6840 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6841 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6842 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6843 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6844 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6845 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6846 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6847 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6848 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6849 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6850 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6851 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6852 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6853 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6854 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6855 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6856 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6857 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6858
1991fa03
JM
68592012-03-09 Joseph Myers <joseph@codesourcery.com>
6860
6861 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6862 * sunrpc/rpc_main.c: Likewise.
6863 * sunrpc/rpc_svcout.c: Likewise.
6864
60d6f5a6
DM
68652012-03-09 David S. Miller <davem@davemloft.net>
6866
6867 * include/math_private.h: New file.
6868
4962050e
JM
68692012-03-09 Joseph Myers <joseph@codesourcery.com>
6870
02a6f887
JM
6871 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6872 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6873 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6874 from <bits/socket_type.h>.
6875 (enum __socket_type): Don't define here.
6876 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6878 bits/socket_type.h.
6879
c6e013c1
JM
6880 [BZ #13566]
6881 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6882 checking __USE_GNU.
6883
4962050e
JM
6884 * Makerules ($(inst_includedir)/%.h): New rule.
6885 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6886 (install-others): Remove variable setting.
6887 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6888
38842f45
RH
68892012-03-08 Richard Henderson <rth@twiddle.net>
6890
67bb6da6
RH
6891 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6892 from macro to inline function; merge with the
6893 !__LIBC_INTERNAL_MATH_INLINES version.
6894 (__ieee754_sqrtf): Likewise.
6895
15194b4b
RH
6896 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6897 to inline function.
6898 (__rintf, __floor, __floorf): Likewise.
6899
64e21ede
RH
6900 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6901 macro to inline function.
6902 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6903
38842f45
RH
6904 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6905 not <math/math_private.h>.
6906
c64bf5fe
DM
69072012-03-08 David S. Miller <davem@davemloft.net>
6908
6909 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6910 copyright year.
6911 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6912
82d86f28
TS
69132012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6914
6915 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6916 normalization.
6917 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6918 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6919
aea5d727
UD
69202012-03-08 Ulrich Drepper <drepper@gmail.com>
6921
6922 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6923 be defined individually, they must be defined as a block. Define
6924 S for printing a string instead of hidint the different by using a
6925 macro for adding the 'l'.
6926 * stdio-common/tst-fphex-wide.c: Adjust.
6927
70bca0a3
MP
69282012-03-07 Marek Polacek <polacek@redhat.com>
6929
6930 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6931
65b81130
MP
69322012-03-08 Marek Polacek <polacek@redhat.com>
6933
6934 [BZ #13806]
6935 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6936 * stdio-common/tst-fphex.c: Define a few macros to make the
6937 test reusable. Use them.
6938 * stdio-common/tst-fphex-wide.c: New file.
6939
07037eeb
JM
69402012-03-08 Joseph Myers <joseph@codesourcery.com>
6941
a7a93d50
JM
6942 [BZ #6911]
6943 * manual/macros.texi (gnusystems): New macro.
6944 (nongnusystems): Likewise.
6945 (gnulinuxhurdsystems): Likewise.
6946 (gnuhurdsystems): Likewise..
6947 (gnulinuxsystems): Likewise.
6948 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6949 variants of the GNU system, not "GNU system".
6950 * manual/conf.texi: Likewise.
6951 * manual/errno.texi: Likewise. Update example of errno macro
6952 expansion.
6953 * manual/filesys.texi: Likewise.
6954 (getumask): Document as specific to GNU/Hurd.
6955 * manual/install.texi: Likewise. Reword some references to
6956 GNU/Linux.
6957 * manual/intro.texi: Likewise.
6958 * manual/io.texi: Likewise.
6959 (File Name Portability): Detail which constraints are inapplicable
6960 to all GNU systems and which are only inapplicable to GNU/Hurd.
6961 * manual/job.texi: Likewise.
6962 * manual/llio.texi: Likewise.
6963 (O_NOCTTY): Document as present on GNU/Linux.
6964 * manual/maint.texi: Likewise.
6965 * manual/memory.texi: Likewise.
6966 * manual/pattern.texi: Likewise.
6967 * manual/pipe.texi: Likewise.
6968 * manual/process.texi: Likewise.
6969 * manual/resource.texi: Likewise.
6970 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6971 child on GNU/Hurd.
6972 * manual/setjmp.texi: Likewise.
6973 * manual/signal.texi: Likewise.
6974 * manual/startup.texi: Likewise.
6975 * manual/stdio.texi: Likewise.
6976 * manual/terminal.texi: Likewise.
6977 (ONLCR): Document as POSIX.
6978 (OXTABS): Document availability on GNU/Linux as XTABS.
6979 (ONOEOT): Document availability separately from other bits.
6980 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6981 * manual/time.texi: Likewise.
6982 * manual/users.texi: Likewise.
6983 * INSTALL: Regenerated.
6984 * sysdeps/gnu/errlist.c: Regenerated.
6985
07037eeb
JM
6986 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6987 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6988 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6989 puts.
6990 * configure: Regenerated.
6991
d1d3431a
JM
69922012-03-07 Joseph Myers <joseph@codesourcery.com>
6993
af6a1e37
JM
6994 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6995 default includes instead of AC_HEADER_CHECK.
6996 * sysdeps/i386/configure: Regenerated.
6997
d1d3431a
JM
6998 [BZ #10716]
6999 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7000 * math/s_cacoshf.c (__cacoshf): Likewise.
7001 * math/s_cacoshl.c (__cacoshl): Likewise.
7002 * math/s_casinh.c (__casinh): Set signs of result from argument.
7003 * math/s_casinhf.c (__casinhf): Likewise.
7004 * math/s_casinhl.c (__casinhl): Likewise.
7005 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7006 (casinh_test): Add more tests.
7007 * sysdeps/i386/fpu/libm-test-ulps: Update.
7008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7009
482ff4da
UD
70102012-03-07 Ulrich Drepper <drepper@gmail.com>
7011
872fda05
UD
7012 * po/zh_TW.po: Update from translation team.
7013
a4300c7a
UD
7014 * login/Makefile (distribute): Remove variable.
7015 * catgets/Makefile: Likewise.
7016 * mach/Makefile: Likewise.
7017 * malloc/Makefile: Likewise.
7018 * misc/Makefile: Likewise.
7019 * iconv/Makefile: Likewise.
7020 * nscd/Makefile: Likewise.
7021 * hurd/Makefile: Likewise.
7022 * manual/Makefile: Likewise.
7023 * locale/Makefile: Likewise.
7024 * intl/Makefile: Likewise.
7025 * conform/Makefile: Likewise.
7026 * nss/Makefile: Likewise.
7027 * time/Makefile: Likewise.
7028 * soft-fp/Makefile: Likewise.
7029 * dirent/Makefile: Likewise.
7030 * gmon/Makefile: Likewise.
7031 * po/Makefile: Likewise.
7032 * rt/Makefile: Likewise.
7033 * socket/Makefile: Likewise.
7034 * math/Makefile: Likewise.
7035 * signal/Makefile: Likewise.
7036 * debug/Makefile: Likewise.
7037 * elf/Makefile: Likewise.
7038 * timezone/Makefile: Likewise.
7039 * stdlib/Makefile: Likewise.
7040 * iconvdata/Makefile: Likewise.
7041 * sunrpc/Makefile: Likewise.
7042 * io/Makefile: Likewise.
7043 * argp/Makefile: Likewise.
7044 * inet/Makefile: Likewise.
7045 * hesiod/Makefile: Likewise.
7046 * grp/Makefile: Likewise.
7047 * csu/Makefile: Likewise.
7048 * wctype/Makefile: Likewise.
7049 * crypt/Makefile: Likewise.
7050 * libio/Makefile: Likewise.
7051 * string/Makefile: Likewise.
7052 * nis/Makefile: Likewise.
7053 * resolv/Makefile: Likewise.
7054 * stdio-common/Makefile: Likewise.
7055 * wcsmbs/Makefile: Likewise.
7056 * dlfcn/Makefile: Likewise.
7057 * posix/Makefile: Likewise.
7058
3b7c4e74 7059 [BZ #6959]
482ff4da
UD
7060 * timezone/Makefile: Don't install timezone files, just the programs
7061 and scripts.
7062
f72ed77d
UD
70632012-03-06 Ulrich Drepper <drepper@gmail.com>
7064
a000466f
UD
7065 * nss/databases.def: Add missing gshadow entry.
7066
f72ed77d
UD
7067 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7068
a53b7a4e
MP
70692012-03-06 Marek Polacek <polacek@redhat.com>
7070
7071 [BZ #13726]
7072 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7073 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7074 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7075 * stdio-common/tst-long-dbl-fphex.c: New file.
7076
e9258400
DM
70772012-03-06 David S. Miller <davem@davemloft.net>
7078
7079 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7080 (set_obp_int): New function.
7081 (get_obp_int): New function.
7082 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7083 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7084 Avoid unused variable warnings on 'val' and use builtin_expect.
7085 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7086 __builtin_expect.
e9258400
DM
7087 (INLINE_CLONE_SYSCALL): Likewise.
7088
3bd2c723
DM
70892012-03-05 David S. Miller <davem@davemloft.net>
7090
7091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7092
bbb78d03
AS
70932012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7094
884c5db4
AS
7095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7096
bbb78d03
AS
7097 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7098 only for |x| >= 40.
7099 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7100
1c9f702a 71012012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7102
7103 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7104 Replace gettimeofday with __vdso_gettimeofday.
7105
7be16f82
RM
7106 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7107 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7108 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7109
7110 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7111 time with __vdso_time.
7112
ed58a00f
JM
71132012-03-05 Joseph Myers <joseph@codesourcery.com>
7114
7115 * manual/lang.texi (size_t): Note types to which size_t may be
7116 equivalent with the GNU C Library, but do not describe when
7117 differences between them are significant.
7118
30ee4ced
AJ
71192012-03-05 Andreas Jaeger <aj@suse.de>
7120
7121 * sysdeps/i386/fpu/libm-test-ulps: Update.
7122
b7cd39e8
JM
71232012-03-05 Joseph Myers <joseph@codesourcery.com>
7124
7125 [BZ #3976]
7126 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7127 (__ieee754_pow): Save and restore rounding mode and use
7128 round-to-nearest for main computations.
7129 * math/libm-test.inc (pow_test_tonearest): New function.
7130 (pow_test_towardzero): Likewise.
7131 (pow_test_downward): Likewise.
7132 (pow_test_upward): Likewise.
7133 (main): Call the new functions.
7134 * sysdeps/i386/fpu/libm-test-ulps: Update.
7135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7136
7137 [BZ #3976]
7138 * math/libm-test.inc (cosh_test_tonearest): New function.
7139 (cosh_test_towardzero): Likewise.
7140 (cosh_test_downward): Likewise.
7141 (cosh_test_upward): Likewise.
7142 (sinh_test_tonearest): Likewise.
7143 (sinh_test_towardzero): Likewise.
7144 (sinh_test_downward): Likewise.
7145 (sinh_test_upward): Likewise.
7146 (main): Call the new functions.
7147 * sysdeps/i386/fpu/libm-test-ulps: Update.
7148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7149
6c6a98c9
TV
71502012-03-05 Tom de Vries <tom@codesourcery.com>
7151
7152 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7153 default stack guard is set in last bytes.
7154 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7155
21bb2d2e 71562012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7157
21bb2d2e 7158 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7159
21bb2d2e
AJ
7160 [BZ #13656]
7161 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7162 possibly allocate from heap instead of stack.
7163 * stdio-common/bug-vfprintf-nargs.c: New file.
7164 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7165
c6922934
AS
71662012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7167
7168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7169
bc957d53
MP
71702012-03-03 Marek Polacek <polacek@redhat.com>
7171
7172 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7173 * math/math_private.h: Likewise.
7174 * stdlib/tst-strtod.c: Likewise.
7175 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7176 * sysdeps/x86_64/bits/atomic.h: Likewise.
7177
6358490d
DM
71782012-03-02 David S. Miller <davem@davemloft.net>
7179
7180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7184 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7185 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7186 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7187 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7188
01ae168d
RM
71892012-03-02 Roland McGrath <roland@hack.frob.com>
7190
d9a17c07
RM
7191 [BZ #13792]
7192 * manual/examples/README: New file, says the example source files
7193 can be used under GPL>=2.
7194 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7195 line containing just "*/".
7196 * manual/examples/add.c: Add copyright header (GPL>=2).
7197 * manual/examples/argp-ex1.c: Likewise.
7198 * manual/examples/argp-ex2.c: Likewise.
7199 * manual/examples/argp-ex3.c: Likewise.
7200 * manual/examples/argp-ex4.c: Likewise.
7201 * manual/examples/atexit.c: Likewise.
7202 * manual/examples/db.c: Likewise.
7203 * manual/examples/dir.c: Likewise.
7204 * manual/examples/dir2.c: Likewise.
7205 * manual/examples/execinfo.c: Likewise.
7206 * manual/examples/filecli.c: Likewise.
7207 * manual/examples/filesrv.c: Likewise.
7208 * manual/examples/fmtmsgexpl.c: Likewise.
7209 * manual/examples/genpass.c: Likewise.
7210 * manual/examples/inetcli.c: Likewise.
7211 * manual/examples/inetsrv.c: Likewise.
7212 * manual/examples/isockad.c: Likewise.
7213 * manual/examples/longopt.c: Likewise.
7214 * manual/examples/memopen.c: Likewise.
7215 * manual/examples/memstrm.c: Likewise.
7216 * manual/examples/mkfsock.c: Likewise.
7217 * manual/examples/mkisock.c: Likewise.
7218 * manual/examples/mygetpass.c: Likewise.
7219 * manual/examples/pipe.c: Likewise.
7220 * manual/examples/popen.c: Likewise.
7221 * manual/examples/rprintf.c: Likewise.
7222 * manual/examples/search.c: Likewise.
7223 * manual/examples/select.c: Likewise.
7224 * manual/examples/setjmp.c: Likewise.
7225 * manual/examples/sigh1.c: Likewise.
7226 * manual/examples/sigusr.c: Likewise.
7227 * manual/examples/stpcpy.c: Likewise.
7228 * manual/examples/strdupa.c: Likewise.
7229 * manual/examples/strftim.c: Likewise.
7230 * manual/examples/strncat.c: Likewise.
7231 * manual/examples/subopt.c: Likewise.
7232 * manual/examples/swapcontext.c: Likewise.
7233 * manual/examples/termios.c: Likewise.
7234 * manual/examples/testopt.c: Likewise.
7235 * manual/examples/testpass.c: Likewise.
7236 * manual/examples/timeval_subtract.c: Likewise.
7237
01ae168d
RM
7238 [BZ #13792]
7239 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7240 function to ...
7241 * manual/timeval_subtract.c.texi: ... here, new file.
7242
49efa33d
DM
72432012-03-02 David S. Miller <davem@davemloft.net>
7244
7245 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7246
28afd92d
JM
72472012-03-02 Joseph Myers <joseph@codesourcery.com>
7248
804360ed
JM
7249 [BZ #3976]
7250 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7251 (__sin): Save and restore rounding mode and use round-to-nearest
7252 for all computations.
7253 (__cos): Save and restore rounding mode and use round-to-nearest
7254 for all computations.
7255 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7256 <fenv.h>.
7257 (tan): Save and restore rounding mode and use round-to-nearest for
7258 all computations.
7259 * math/libm-test.inc (cos_test_tonearest): New function.
7260 (cos_test_towardzero): Likewise.
7261 (cos_test_downward): Likewise.
7262 (cos_test_upward): Likewise.
7263 (sin_test_tonearest): Likewise.
7264 (sin_test_towardzero): Likewise.
7265 (sin_test_downward): Likewise.
7266 (sin_test_upward): Likewise.
7267 (tan_test_tonearest): Likewise.
7268 (tan_test_towardzero): Likewise.
7269 (tan_test_downward): Likewise.
7270 (tan_test_upward): Likewise.
7271 (main): Call the new functions.
7272 * sysdeps/i386/fpu/libm-test-ulps: Update.
7273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7274
a6d06d7b
JM
7275 [BZ #10135]
7276 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7277 small n, then large n, before computing and testing k+n.
7278 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7280 Likewise.
7281 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7282 Likewise.
7283 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7284 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7285 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7286 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7287 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7288 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7289 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7290 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7291 * math/libm-test.inc (scalbn_test): Add more tests.
7292 (scalbln_test): Likewise.
7293
07e12bb3
JM
7294 * manual/filesys.texi (mode_t): Describe constraints on size and
7295 signedness, not exact equivalence to a particular type.
7296 (ino_t): Likewise.
7297 (ino64_t): Likewise.
7298 (dev_t): Likewise.
7299 (nlink_t): Likewise.
7300 (blkcnt_t): Likewise.
7301 (blkcnt64_t): Likewise.
7302 * manual/llio.texi (off_t): Likewise.
7303
28afd92d
JM
7304 [BZ #3976]
7305 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7306 (__ieee754_exp): Save and restore rounding mode and use
7307 round-to-nearest for all computations.
7308 * math/libm-test.inc (exp_test_tonearest): New function.
7309 (exp_test_towardzero): Likewise.
7310 (exp_test_downward): Likewise.
7311 (exp_test_upward): Likewise.
7312 (main): Call the new functions.
7313 * sysdeps/i386/fpu/libm-test-ulps: Update.
7314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7315
b1eeb65d
CD
73162012-03-01 Chris Demetriou <cgd@google.com>
7317
7318 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7319 have predictable order.
7320
53362a4b
DM
73212012-03-01 David S. Miller <davem@davemloft.net>
7322
3c969083
DM
7323 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7324
759707de
DM
7325 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7326 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7327 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7328 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7329
dfdb8ff2
DM
7330 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7331 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7332 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7334 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7335 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7336 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7337 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7338 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7339
ead89f96
DM
7340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7341
7f66bd07
DM
7342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7343 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7344 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7345
53362a4b
DM
7346 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7347 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7348 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7349 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7350 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7351 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7352 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7353 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7354 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7355 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7356 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7357 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7359 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7360 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7362 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7363 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7364 * sysdeps/sparc/elf/configure: Regenerated.
7365
7b1902cb
JM
73662012-03-01 Joseph Myers <joseph@codesourcery.com>
7367
bec039bc
JM
7368 * configure.in (AS, LD): Require binutils 2.20 or later.
7369 * configure: Regenerated.
7370 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7371 as required minimum version.
7372 * INSTALL: Regenerated.
7373
7b1902cb
JM
7374 [BZ #2541]
7375 [BZ #4108]
7376 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7377 before squaring exponent.
7378 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7379 bottom long double and 27 bits of top long double before squaring
7380 exponent.
7381 * math/libm-test.inc (erfc_test): Add more tests.
7382 * sysdeps/i386/fpu/libm-test-ulps: Update.
7383 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7385
f775c276
KT
73862012-03-01 Kai Tietz <ktietz@redhat.com>
7387
7388 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7389 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7390 containing bit-fields.
7391 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7392 * soft-fp/single.h (_FP_UNION_S): Likewise.
7393 * soft-fp/double.h (_FP_UNION_D): Likewise.
7394
5b8a4d4a
JM
73952012-02-29 Joseph Myers <joseph@codesourcery.com>
7396
0bab47b6
JM
7397 [BZ #13786]
7398 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7399 not include ../strcmp.S.
7400 [USE_AS_STRNCASECMP_L]: Likewise.
7401 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7402 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7403 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7404 (__strncasecmp_l_ia32): Define as alias to
7405 __strncasecmp_l_nonascii.
7406
0fcad3e2
JM
7407 [BZ #5794]
7408 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7409 * sysdeps/i386/fpu/libm-test-ulps: Update.
7410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7411
5b8a4d4a
JM
7412 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7414
8fdceb2e
JL
74152012-02-29 Jeff Law <law@redhat.com>
7416
7417 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7418 out of bounds read.
7419
1f393a11
MP
74202012-02-29 Marek Polacek <polacek@redhat.com>
7421
7422 [BZ #13706]
7423 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7424 * elf/Makefile: Add rules to run tst-unused-dep.out.
7425
8847f037
DM
74262012-02-28 David S. Miller <davem@davemloft.net>
7427
7428 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7429 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7430 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7431 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7432 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7433 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7434
169d7f11
JM
74352012-02-29 Joseph Myers <joseph@codesourcery.com>
7436
7437 * math/libm-test.inc (llround_test): Move one test from
7438 lround_test. Use TEST_f_L in moved test.
7439 (lround_test): Move misplaced test to llround_test. Add testcase
7440 from bug 2561.
7441
39adf059
UD
74422012-02-28 Ulrich Drepper <drepper@gmail.com>
7443
7444 * sysdeps/x86_64/fpu/e_expf.S: New file.
7445 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7446
71b5d1c5
SB
74472012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7448
7449 [BZ #13637]
7450 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7451 of remain_len that may cause incomplete multi-byte character and
7452 false match.
7453 * posix/bug-regex33.c: New file.
7454 * posix/Makefile (tests): Add bug-regex33.
7455
1f77f049
JM
74562012-02-28 Joseph Myers <joseph@codesourcery.com>
7457
7458 * manual/macros.texi: New file.
7459 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7460 * manual/libc.texinfo: Include macros.texi.
7461 * manual/creatute.texi: Likewise.
7462 * manual/install.texi: Likewise.
7463 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7464 @glibcadj{} in references to the GNU C Library.
7465 * manual/charset.texi: Likewise.
7466 * manual/conf.texi: Likewise.
7467 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7468 when not using those macros.
7469 * manual/creature.texi: Likewise.
7470 * manual/crypt.texi: Likewise.
7471 * manual/errno.texi: Likewise.
7472 * manual/filesys.texi: Likewise.
7473 * manual/header.texi: Likewise.
7474 * manual/install.texi: Likewise.
7475 * manual/intro.texi: Likewise.
7476 * manual/io.texi: Likewise.
7477 * manual/job.texi: Likewise.
7478 * manual/lang.texi: Likewise.
7479 * manual/libc.texiinfo: Likewise.
7480 * manual/llio.texi: Likewise.
7481 * manual/locale.texi: Likewise.
7482 * manual/maint.texi: Likewise.
7483 * manual/math.texi: Likewise.
7484 * manual/memory.texi: Likewise.
7485 * manual/message.texi: Likewise.
7486 * manual/nss.texi: Likewise.
7487 * manual/pattern.texi: Likewise.
7488 * manual/process.texi: Likewise.
7489 * manual/resource.texi: Likewise.
7490 * manual/search.texi: Likewise.
7491 * manual/setjmp.texi: Likewise.
7492 * manual/signal.texi: Likewise.
7493 * manual/socket.texi: Likewise.
7494 * manual/startup.texi: Likewise.
7495 * manual/stdio.texi: Likewise.
7496 * manual/string.texi: Likewise.
7497 * manual/sysinfo.texi: Likewise.
7498 * manual/syslog.texi: Likewise.
7499 * manual/terminal.texi: Likewise.
7500 * manual/time.texi: Likewise.
7501 * manual/users.texi: Likewise.
7502 * INSTALL: Regenerated.
7503 * NOTES: Regenerated.
d40c5d54 7504 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7505
450bf206
AS
75062012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7507
7508 * include/dirent.h: Include <dirstream.h> before
7509 <dirent/dirent.h>.
7510
741a235b
DM
75112012-02-28 David S. Miller <davem@davemloft.net>
7512
7513 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7514 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7515 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7516 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7517
d6b5aa58
DM
75182012-02-27 David S. Miller <davem@davemloft.net>
7519
1aff59a3
DM
7520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7522 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7523 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7524
d6b5aa58
DM
7525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7526 frame pointer instead of stack pointer relative arg slot.
7527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7528 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7529 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7530
433f48bf
CD
75312012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7532
7533 [BZ #3992]
7534 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7535
d674b76d
DM
75362012-02-27 David S. Miller <davem@davemloft.net>
7537
7538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7542 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7543 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7544 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7545 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7546
0e7727f7
JM
75472012-02-27 Joseph Myers <joseph@codesourcery.com>
7548
7549 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7550 later. Allow versions 5-9.
43be4ca2 7551 * configure: Regenerated.
0e7727f7
JM
7552 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7553 required minimum version and 4.6 as recommended version. Do not
7554 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7555 * INSTALL: Regenerated.
0e7727f7 7556
a78bc654
DM
75572012-02-27 David S. Miller <davem@davemloft.net>
7558
428d5830
DM
7559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7563 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7564 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7565 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7566 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7567
a78bc654
DM
7568 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7569 manipulate bits before adding and subtracting TWO112[sx].
7570 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7571
4579f81c
RM
75722012-02-27 Roland McGrath <roland@hack.frob.com>
7573
36c8acb4
RM
7574 [BZ #13775]
7575 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7576 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7577 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7578 being in POSIX, because they are in 1003.1-2008.
7579
84ad622b
RM
7580 * rt/tst-aio.c: Include <fcntl.h>.
7581 * rt/tst-aio7.c: Likewise.
7582 * rt/tst-aio64.c: Likewise.
7583
4579f81c
RM
7584 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7585
abd923db
JM
75862012-02-27 Joseph Myers <joseph@codesourcery.com>
7587
7588 * manual/install.texi (--with-headers): Describe headers as
7589 interface headers, not private headers.
7590 (Specific advice for GNU/Linux systems): Describe use of headers
7591 from "make headers_install", not private headers from older
7592 kernels.
43be4ca2 7593 * INSTALL: Regenerated.
abd923db
JM
7594 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7595 Change to 2.6.19.
7596 * sysdeps/unix/sysv/linux/configure: Regenerated.
7597
6664049b
JM
7598 * manual/llio.texi (fclean): Remove documentation.
7599
bb8b6697
JM
7600 * manual/Makefile (libc-texi-generated): New variable. Include
7601 version.texi.
7602 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7603 $(libc-texi-generated), not duplicated list of files.
7604 (version.texi, stamp-version): New rules.
7605 (realclean): Remove $(libc-texi-generated), not individual files
7606 from that list. Do not remove dir-add.texinfo.
7607 * manual/libc.texinfo: Comment out uses of edition numbers and
7608 references to printed manual. Remove last-updated dates.
7609 (EDITION): Comment out.
7610 (ISBN): Likewise.
7611 (VERSION, UPDATED): Remove.
7612 (version.texi): Include.
7613
12e5c3b9
AS
76142012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7615
7616 * sysdeps/posix/spawni.c: Include <signal.h>.
7617 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7618 * sysdeps/pthread/aio_fsync.c: Likewise.
7619
4efeffc1 76202012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7621
ba63ba08
UD
7622 * conform/Makefile (tests): Run only when not cross-compiling and
7623 when fast-check is not defined.
7624
d94a4670
UD
7625 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7626 * conform/data/limits.h-data: Fixes for POSIX2008.
7627 * conform/run-conformtest.sh: Run all tests.
7628 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7629 headers.
7630 * include/bits/dlfcn.h: Likewise.
7631 * include/langinfo.h: Likewise.
7632 * include/monetary.h: Likewise.
7633 * include/sys/poll.h: Likewise.
7634
7635 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7636 for __USE_GNU.
7637 * posix/spawn.h: Define __need_sigset_t.
7638 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7639 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7640 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7641 to get sigevent_t only.
7642 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7643 only for __USE_GNU.
7644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7645 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7646 process_vm_writev only for __USE_GNU.
7647 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7648
7649 * conform/Makefile: For now ignore errors from run-conformtest.
7650 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7651 POSIX to avoid namespace pollution. Don't prepend headers.
7652 * conform/data/aio.h-data: Fixes for POSIX testing.
7653 * conform/data/fcntl.h-data: Likewise.
7654 * conform/data/glob.h-data: Likewise.
7655 * conform/data/grp.h-data: Likewise.
7656 * conform/data/pthread.h-data: Likewise.
7657 * conform/data/pwd.h-data: Likewise.
7658 * conform/data/signal.h-data: Likewise.
7659 * conform/data/spawn.h-data: Likewise.
7660 * conform/data/stdio.h-data: Likewise.
7661 * conform/data/stdlib.h-data: Likewise.
7662 * conform/data/stropts.h-data: Likewise.
7663 * conform/data/sys/mman.h-data: Likewise.
7664 * conform/data/sys/stat.h-data: Likewise.
7665 * conform/data/sys/types.h-data: Likewise.
7666 * conform/data/sys/wait.h-data: Likewise.
7667 * conform/data/time.h-data: Likewise.
7668 * conform/data/unistd.h-data: Likewise.
7669 * conform/data/utime.h-data: Likewise.
7670
7671 * io/sys/stat.h: fchmod was always in POSIX.
7672 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7673 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7674 * rt/aio.h: Define __need_timespec before including <time.h>.
7675 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7676 struct. Add forward declaration of pthread_attr_t and use it in
7677 sigevent.
7678 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7679 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7680 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7681 always remove CLK_TCK definition.
7682
c20105c3
AS
76832012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7684
7685 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7686
7a270350
UD
76872012-02-25 Ulrich Drepper <drepper@gmail.com>
7688
31341567
UD
7689 * conform/run-conformtest.sh: New file.
7690 * conform/Makefile: Run run-conformtest for tests.
7691 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7692 support.
7693
7694 * conform/data/uchar.h-data: New file.
7695 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7696 * conform/data/arpa/inet.h-data: Likewise.
7697 * conform/data/assert.h-data: Likewise.
7698 * conform/data/complex.h-data: Likewise.
7699 * conform/data/cpio.h-data: Likewise.
7700 * conform/data/ctype.h-data: Likewise.
7701 * conform/data/dirent.h-data: Likewise.
7702 * conform/data/dlfcn.h-data: Likewise.
7703 * conform/data/errno.h-data: Likewise.
7704 * conform/data/fcntl.h-data: Likewise.
7705 * conform/data/float.h-data: Likewise.
7706 * conform/data/fmtmsg.h-data: Likewise.
7707 * conform/data/fnmatch.h-data: Likewise.
7708 * conform/data/ftw.h-data: Likewise.
7709 * conform/data/glob.h-data: Likewise.
7710 * conform/data/grp.h-data: Likewise.
7711 * conform/data/iconv.h-data: Likewise.
7712 * conform/data/inttypes.h-data: Likewise.
7713 * conform/data/langinfo.h-data: Likewise.
7714 * conform/data/libgen.h-data: Likewise.
7715 * conform/data/limits.h-data: Likewise.
7716 * conform/data/locale.h-data: Likewise.
7717 * conform/data/math.h-data: Likewise.
7718 * conform/data/monetary.h-data: Likewise.
7719 * conform/data/mqueue.h-data: Likewise.
7720 * conform/data/ndbm.h-data: Likewise.
7721 * conform/data/net/if.h-data: Likewise.
7722 * conform/data/netdb.h-data: Likewise.
7723 * conform/data/netinet/in.h-data: Likewise.
7724 * conform/data/nl_types.h-data: Likewise.
7725 * conform/data/poll.h-data: Likewise.
7726 * conform/data/pthread.h-data: Likewise.
7727 * conform/data/pwd.h-data: Likewise.
7728 * conform/data/regex.h-data: Likewise.
7729 * conform/data/sched.h-data: Likewise.
7730 * conform/data/search.h-data: Likewise.
7731 * conform/data/semaphore.h-data: Likewise.
7732 * conform/data/setjmp.h-data: Likewise.
7733 * conform/data/signal.h-data: Likewise.
7734 * conform/data/spawn.h-data: Likewise.
7735 * conform/data/stdarg.h-data: Likewise.
7736 * conform/data/stdio.h-data: Likewise.
7737 * conform/data/stdlib.h-data: Likewise.
7738 * conform/data/string.h-data: Likewise.
7739 * conform/data/strings.h-data: Likewise.
7740 * conform/data/stropts.h-data: Likewise.
7741 * conform/data/sys/ipc.h-data: Likewise.
7742 * conform/data/sys/mman.h-data: Likewise.
7743 * conform/data/sys/msg.h-data: Likewise.
7744 * conform/data/sys/resource.h-data: Likewise.
7745 * conform/data/sys/select.h-data: Likewise.
7746 * conform/data/sys/sem.h-data: Likewise.
7747 * conform/data/sys/shm.h-data: Likewise.
7748 * conform/data/sys/socket.h-data: Likewise.
7749 * conform/data/sys/stat.h-data: Likewise.
7750 * conform/data/sys/statvfs.h-data: Likewise.
7751 * conform/data/sys/time.h-data: Likewise.
7752 * conform/data/sys/timeb.h-data: Likewise.
7753 * conform/data/sys/times.h-data: Likewise.
7754 * conform/data/sys/types.h-data: Likewise.
7755 * conform/data/sys/uio.h-data: Likewise.
7756 * conform/data/sys/un.h-data: Likewise.
7757 * conform/data/sys/utsname.h-data: Likewise.
7758 * conform/data/sys/wait.h-data: Likewise.
7759 * conform/data/syslog.h-data: Likewise.
7760 * conform/data/tar.h-data: Likewise.
7761 * conform/data/termios.h-data: Likewise.
7762 * conform/data/utime.h-data: Likewise.
7763 * conform/data/utmpx.h-data: Likewise.
7764 * conform/data/varargs.h-data: Likewise.
7765 * conform/data/wchar.h-data: Likewise.
7766 * conform/data/wctype.h-data: Likewise.
7767 * conform/data/wordexp.h-data: Likewise.
7768
7769 * include/stropts.h: New file.
7770 * include/uchar.h: New file.
7771 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7772 * include/assert.h: Likewise.
7773 * include/ctype.h: Likewise.
7774 * include/dirent.h: Likewise.
7775 * include/dlfcn.h: Likewise.
7776 * include/fcntl.h: Likewise.
7777 * include/fnmatch.h: Likewise.
7778 * include/glob.h: Likewise.
7779 * include/grp.h: Likewise.
7780 * include/libio.h: Likewise.
7781 * include/locale.h: Likewise.
7782 * include/math.h: Likewise.
7783 * include/net/if.h: Likewise.
7784 * include/netdb.h: Likewise.
7785 * include/netinet/in.h: Likewise.
7786 * include/pthread.h: Likewise.
7787 * include/pwd.h: Likewise.
7788 * include/regex.h: Likewise.
7789 * include/sched.h: Likewise.
7790 * include/search.h: Likewise.
7791 * include/setjmp.h: Likewise.
7792 * include/signal.h: Likewise.
7793 * include/stdio.h: Likewise.
7794 * include/stdlib.h: Likewise.
7795 * include/string.h: Likewise.
7796 * include/sys/cdefs.h: Likewise.
7797 * include/sys/mman.h: Likewise.
7798 * include/sys/msg.h: Likewise.
7799 * include/sys/resource.h: Likewise.
7800 * include/sys/select.h: Likewise.
7801 * include/sys/socket.h: Likewise.
7802 * include/sys/stat.h: Likewise.
7803 * include/sys/statvfs.h: Likewise.
7804 * include/sys/time.h: Likewise.
7805 * include/sys/times.h: Likewise.
7806 * include/sys/uio.h: Likewise.
7807 * include/sys/utsname.h: Likewise.
7808 * include/sys/wait.h: Likewise.
7809 * include/termios.h: Likewise.
7810 * include/time.h: Likewise.
7811 * include/ulimit.h: Likewise.
7812 * include/unistd.h: Likewise.
7813 * include/utime.h: Likewise.
7814 * include/wchar.h: Likewise.
7815 * include/wctype.h: Likewise.
7816 * include/wordexp.h: Likewise.
7817
7818 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7819
7a270350
UD
7820 * time/time.h: TIME_UTC must be a macro.
7821 Make timespec_get available for ISO C11 only as well.
7822
7724defc
UD
78232012-02-24 Ulrich Drepper <drepper@gmail.com>
7824
7825 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7826 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7827
6b1d1d46
JM
78282012-02-24 Joseph Myers <joseph@codesourcery.com>
7829
7830 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7831
0f8bbd69
JM
78322012-02-24 Joseph Myers <joseph@codesourcery.com>
7833
7834 * manual/texinfo.tex: Update to version 2012-01-19.16.
7835
66ab80bc
JM
78362012-02-24 Joseph Myers <joseph@codesourcery.com>
7837
7838 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7839
74981cc5
RM
78402012-02-24 Roland McGrath <roland@hack.frob.com>
7841
ee968201
RM
7842 [BZ #13738]
7843 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7844 * manual/fdl-1.3.texi: New file.
7845 * manual/fdl-1.1.texi: File removed.
7846
74981cc5
RM
7847 [BZ #13738]
7848 * manual/libc.texinfo (FDL_VERSION): New @set.
7849 Use it for mention of FDL in cover text.
7850 (Documentation License): Use it in @include file name.
7851
7bb764bc
JM
78522012-02-22 Joseph Myers <joseph@codesourcery.com>
7853 Roland McGrath <roland@hack.frob.com>
7854
7855 [BZ #5461]
7856 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7857 not LONG_LONG_MAX and LONG_LONG_MIN.
7858 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7859 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7860 name.
7861 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7862
6cbeae47
JM
78632012-02-22 Joseph Myers <joseph@codesourcery.com>
7864
7865 [BZ #2547]
7866 [BZ #11365]
7867 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7868 manipulate bits before adding and subtracting TWO23[sx].
7869 * math/libm-test.inc (nearbyint_test): Add more tests.
7870
fe45ce09
JM
78712012-02-22 Joseph Myers <joseph@codesourcery.com>
7872
7873 [BZ #2548]
7874 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7875 bits before adding and subtracting TWO23[sx].
7876 * math/libm-test.inc (rint_test): Add more tests.
7877 (rint_test_tonearest): Likewise.
7878 (rint_test_towardzero): Likewise.
7879 (rint_test_downward): Likewise.
7880 (rint_test_upward: Likewise.
7881
ff3b3d82
JM
78822012-02-22 Joseph Myers <joseph@codesourcery.com>
7883
7884 [BZ #10110]
7885 * include/stdc-predef.h: New file. Extracted from features.h.
7886 * include/features.h: Include stdc-predef.h.
7887 * Makefile (headers): Add stdc-predef.h.
7888 * CONFORMANCE (Compiler limitations): Update.
7889
ef0aab35
JM
78902012-02-22 Joseph Myers <joseph@codesourcery.com>
7891
7892 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7893
58639409
DM
78942012-02-21 David S. Miller <davem@davemloft.net>
7895
7896 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7897 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7898
c0e70b25
DM
78992012-02-20 David S. Miller <davem@davemloft.net>
7900
7901 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7902 using a normal save/restore sequence, rather than allocating a
7903 dummy stack frame just to store a frame pointer and restore.
7904 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7905
fb06851d
JM
79062012-02-21 Joseph Myers <joseph@codesourcery.com>
7907
7908 * manual/install.texi: Fix stray word in line-wrapped comment.
7909
7a8b71c3
DM
79102012-02-20 David S. Miller <davem@davemloft.net>
7911
d510c123
DM
7912 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7913 both binutils and gcc support GOTDATA.
7914
0722d7c2
DM
7915 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7916 "rd %pc" in the PIC register setup sequences.
7917
3d2b3019
DM
7918 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7919 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7920 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7921 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7922 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7923 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7924 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7925 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7927 (SYSCALL_ERROR_HANDLER): Likewise.
7928 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7929 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7931 (SYSCALL_ERROR_HANDLER): Likewise.
7932
c80098a9
DM
7933 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7934 (HAVE_GCC_GOTDATA): New.
7935 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7936 relocation support in both binutils and gcc.
7937 * sysdeps/sparc/elf/configure: Regenerate.
7938
3a2545a0
DM
7939 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7940 * sysdeps/sparc/sparc32/elf/configure: Delete.
7941 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7942 * sysdeps/sparc/sparc64/elf/configure: Delete.
7943 * sysdeps/sparc/elf/configure.in: New file.
7944 * sysdeps/sparc/elf/configure: Generate.
7945
7a8b71c3
DM
7946 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7947 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7948 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7949 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7950 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7951
f1e86fca
JM
79522012-02-21 Joseph Myers <joseph@codesourcery.com>
7953
7954 * manual/install.texi: Do not mention specific glibc version
7955 numbers.
7956 * manual/libc.texinfo (VERSION, UPDATED): Update.
7957 (@copying): Use @copyright{} and range of years.
7958
0e7dfaef
JM
79592012-02-21 Joseph Myers <joseph@codesourcery.com>
7960
7961 [BZ #13695]
7962 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7963 [crti.S not in sysdirs] (generated): Do not append.
7964 [crti.S not in sysdirs] (omit-deps): Likewise.
7965 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7966 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7967 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7968 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7969 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7970 Likewise.
7971 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7972 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7973 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7974 * csu/defs.awk: Remove file.
7975 * sysdeps/generic/initfini.c: Likewise.
7976 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7977 variable.
7978 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7979 Likewise.
7980
599af3ca
JM
79812012-02-20 Joseph Myers <joseph@codesourcery.com>
7982
7983 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7984 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7985 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7986 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7987 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7988 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7989 <bits/epoll.h>.
7990 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7991 (__EPOLL_PACKED): Define to empty if not defined by
7992 <bits/epoll.h>.
7993 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7995 bits/epoll.h.
7996
0e499750
JM
79972012-02-20 Joseph Myers <joseph@codesourcery.com>
7998
7999 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8000 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8001 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8002 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8003 <bits/timerfd.h>.
8004 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8006 bits/timerfd.h.
8007
5ad91f6e
JM
80082012-02-20 Joseph Myers <joseph@codesourcery.com>
8009
8010 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8011 in C locale.
8012 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8013 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8014 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8016
06b99b02
AJ
80172012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8018
8019 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8020 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8021
7638c0fd
AS
80222012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8023
8024 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8025 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8026 defined.
8027 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8028 Likewise.
8029 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8030 entry for 2.16.
8031
92221550
AJ
80322012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8033
8034 * math/w_acos.c: Use non-signaling floating-point comparisons.
8035 * math/w_acosf.c: Likewise.
8036 * math/w_acosh.c: Likewise.
8037 * math/w_acoshf.c: Likewise.
8038 * math/w_acoshl.c: Likewise.
8039 * math/w_acosl.c: Likewise.
8040 * math/w_asin.c: Likewise.
8041 * math/w_asinf.c: Likewise.
8042 * math/w_asinl.c: Likewise.
8043 * math/w_atanh.c: Likewise.
8044 * math/w_atanhf.c: Likewise.
8045 * math/w_atanhl.c: Likewise.
8046 * math/w_exp2.c: Likewise.
8047 * math/w_exp2f.c: Likewise.
8048 * math/w_exp2l.c: Likewise.
8049 * math/w_j0.c: Likewise.
8050 * math/w_j0f.c: Likewise.
8051 * math/w_j0l.c: Likewise.
8052 * math/w_j1.c: Likewise.
8053 * math/w_j1f.c: Likewise.
8054 * math/w_j1l.c: Likewise.
8055 * math/w_jn.c: Likewise.
8056 * math/w_jnf.c: Likewise.
8057 * math/w_log.c: Likewise.
8058 * math/w_log10.c: Likewise.
8059 * math/w_log10f.c: Likewise.
8060 * math/w_log10l.c: Likewise.
8061 * math/w_log2.c: Likewise.
8062 * math/w_log2f.c: Likewise.
8063 * math/w_log2l.c: Likewise.
8064 * math/w_logf.c: Likewise.
8065 * math/w_logl.c: Likewise.
8066 * math/w_sqrt.c: Likewise.
8067 * math/w_sqrtf.c: Likewise.
8068 * math/w_sqrtl.c: Likewise.
8069 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8070 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8071 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8072 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8073 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8074
ebaf36eb
JM
80752012-02-19 Joseph Myers <joseph@codesourcery.com>
8076
8077 [BZ #9739]
8078 * manual/string.texi (strnlen): Use correct parameter name in
8079 equivalent expression.
8080
71c254a6
JM
80812012-02-19 Joseph Myers <joseph@codesourcery.com>
8082
8083 [BZ #11174]
8084 * manual/users.texi (seteuid): Consistently use neweuid for
8085 argument name.
8086
16d2c631
JM
80872012-02-19 Joseph Myers <joseph@codesourcery.com>
8088
8089 [BZ #13704]
8090 * manual/nss.texi (Services in the NSS configuration): Correct
8091 list of services in example configuration file.
8092
cd837b09
NB
80932012-02-19 Nick Bowler <nbowler@draconx.ca>
8094
8095 [BZ #11322]
8096 * manual/arith.texi: Remove statements about negative zero
8097 behaving identically to zero.
8098
02c4bbad
JM
80992012-02-18 Joseph Myers <joseph@codesourcery.com>
8100
8101 [BZ #5993]
8102 * manual/install.texi: Do not document upgrading from libc5.
8103
366842e7
JM
81042012-02-18 Joseph Myers <joseph@codesourcery.com>
8105
8106 [BZ #4596]
8107 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8108
dd54084d
DM
81092012-02-18 David S. Miller <davem@davemloft.net>
8110
8111 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8112 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8113 %o7 across the call.
8114 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8115 instead.
8116 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8117 SETUP_PIC_REG_LEAF.
8118 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8119 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8120 * sysdeps/sparc/crtn.S: Likewise.
8121
2bcc53a3
UD
81222012-02-17 Ulrich Drepper <drepper@gmail.com>
8123
8124 * aout/Makefile: Remove.
8125
09c093b5
RK
81262012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8127
8128 [BZ #13058]
8129 * manual/examples/argp-ex1.c (main): Format definition in GNU
8130 style.
8131 * manual/examples/argp-ex2.c (main): Likewise.
8132 * manual/examples/argp-ex3.c (main): Likewise.
8133 * manual/examples/argp-ex4.c (main): Likewise.
8134 * manual/examples/longopt.c (main): Use new-style prototype
8135 definition.
8136 * manual/examples/strncat.c (main): Specify return type and use
8137 (void) for arguments.
8138 * manual/examples/subopt.c (main): Use char **argv argument.
8139
2ee633a2
JM
81402012-02-17 Joseph Myers <joseph@codesourcery.com>
8141
8142 [BZ #5077]
8143 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8144 rounding modes.
8145
0520adde
FB
81462012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8147
8148 [BZ #6907]
8149 * manual/string.texi (strchr): Change when strchrnul is
8150 recommended.
8151
3f4081cd
DGM
81522012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8153
8154 [BZ #174]
8155 * manual/locale.texi (setlocale): Document LOCPATH.
8156
d1b10e78
JM
81572012-02-17 Joseph Myers <joseph@codesourcery.com>
8158
8159 [BZ #10210]
8160 * manual/process.texi (execle): Move @dots{} before last argument.
8161
79c6869c
PB
81622012-02-17 Paul Bolle <pebolle@tiscali.nl>
8163
8164 [BZ #12047]
8165 * manual/charset.texi (Generic Charset Conversion): Fix typo
8166 (LC_TYPE -> LC_CTYPE).
8167
cc6e48bc
NB
81682012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8169
8170 [BZ #5805]
8171 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8172 (scalbnf): Likewise.
8173 (scalbnl): Likewise.
8174 (scalbln): Likewise.
8175 (scalblnf): Likewise.
8176 (scalblnl): Likewise.
8177 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8178 (vwarnx): Likewise.
8179 (verr): Likewise.
8180 (verrx): Likewise.
8181 * manual/filesys.texi (telldir): Use braces around return type.
8182 * manual/llio.texi (mmap): Add space after comma.
8183 (mmap64): Likewise.
8184 * manual/math.texi (jn): Use @var{} on parameter names.
8185 (jnf): Likewise.
8186 (jnl): Likewise.
8187 (yn): Likewise.
8188 (ynf): Likewise.
8189 (ynl): Likewise.
8190 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8191 line.
8192 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8193 "...".
8194 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8195 (sched_get_priority_max): Likewise.
8196 * manual/signal.texi (sigvec): Add space after comma.
8197 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8198 names.
8199 (if_indextoname): Likewise.
8200 (if_freenameindex): Likewise.
8201 (sendto): Use ',' instead of '.' in prototype.
8202 * manual/startup.texi (syscall): Use @dots{} instead of literal
8203 "...".
8204 * manual/stdio.texi (__fpending): Separate initial words of
8205 paragraph from @deftypefun line.
8206 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8207 "...".
8208 (vsyslog): Use @var{} on parameter names.
8209 * manual/terminal.texi (stty): Use @var{} on parameter names.
8210 * manual/users.texi (getutmp): Use @var{} on parameter names.
8211 (getutmpx): Likewise.
8212
5b23062f
JM
82132012-02-17 Joseph Myers <joseph@codesourcery.com>
8214
8215 [BZ #6884]
8216 * manual/stdio.texi (fopen): Fix typos in description of
8217 ",ccs=STRING".
8218
8dee4833
AJ
82192012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8220
8221 [BZ #4026]
8222 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8223 get clock_id definition.
8224
9078ce93
TS
82252012-02-17 Thomas Schwinge <thomas@schwinge.name>
8226
8227 [BZ #4822]
8228 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8229 (madvise): Cast every argument to void on its own.
8230
3835c55f
JM
82312012-02-17 Joseph Myers <joseph@codesourcery.com>
8232
8233 [BZ #9902]
8234 * manual/startup.texi (Exit Status): Fix typo.
8235
35c47e37
JM
82362012-02-17 Joseph Myers <joseph@codesourcery.com>
8237
8238 [BZ #10140]
8239 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8240 * manual/examples/argp-ex2.c: Likewise.
8241 * manual/examples/argp-ex3.c: Likewise.
8242
e3b69ca7
RH
82432012-02-16 Richard Henderson <rth@redhat.com>
8244
8245 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8246 * sysdeps/s390/s390-32/initfini.c: Remove.
8247 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8248 * sysdeps/s390/s390-64/initfini.c: Remove.
8249
df83af67
KK
82502012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8251
8252 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8253 compiler output for sysdeps/generic/initfini.c.
8254 * sysdeps/sh/elf/initfini.c: Remove file.
8255
f63f3380
DM
82562012-02-16 David S. Miller <davem@davemloft.net>
8257
fb59b3a4
DM
8258 [BZ #11494]
8259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8260
f63f3380
DM
8261 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8262 * sysdeps/sparc/crti.S: New file.
8263 * sysdeps/sparc/crtn.S: New file.
8264 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8265 * sysdeps/sparc/sparc64/Makefile: Likewise.
8266
df6a4a4a
MF
82672012-02-15 Mike Frysinger <vapier@gentoo.org>
8268
6dd8f3dc 8269 [BZ #3335]
df6a4a4a
MF
8270 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8271
1cac7236
RM
82722012-02-15 Roland McGrath <roland@hack.frob.com>
8273
d2c736f8
RM
8274 [BZ #4822]
8275 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8276
1cac7236
RM
8277 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8278 (write, read, close): Likewise.
8279 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8280
8e475601
JM
82812012-02-15 Joseph Myers <joseph@codesourcery.com>
8282
8283 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8284 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8285 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8286 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8287 <bits/signalfd.h>.
8288 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8290 bits/signalfd.h.
8291
ed656b40
MP
82922012-02-14 Marek Polacek <polacek@redhat.com>
8293
8294 * sysdeps/x86_64/crti.S: New file.
8295 * sysdeps/x86_64/crtn.S: New file.
8296 * sysdeps/x86_64/elf/initfini.c: Remove file.
8297
2a979d3a
JM
82982012-02-13 Joseph Myers <joseph@codesourcery.com>
8299
8300 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8301 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8302 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8303 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8304 <bits/inotify.h>.
8305 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8307 bits/inotify.h.
8308
2a418ac3
JM
83092012-02-13 Joseph Myers <joseph@codesourcery.com>
8310
8311 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8312 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8313 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8314 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8315 <bits/eventfd.h>.
8316 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8318 bits/eventfd.h.
8319
fb779be7
TS
83202012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8321
e19e83c5
RM
8322 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8323 __feraiseexcept instead of feraiseexcept.
7c35ffed 8324
fb779be7
TS
8325 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8326 nanosleep invocations.
8327 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8328 strings, and add error checking for a nanosleep invocations.
8329
59ba27a6
PE
83302012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8331
8332 Replace FSF snail mail address with URLs, as per GNU coding standards.
8333 Most of the snail mail addresses were wrong anyway, and omitting
8334 them makes the source code easier to maintain. Almost all of the
8335 changes are to license notices and to locale LC_IDENTIFICATION
8336 addresses, except for this one:
8337 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8338 not its snail mail address.
8339
57b957eb
RH
83402012-02-09 Richard Henderson <rth@twiddle.net>
8341
af850b1c
RH
8342 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8343 of kernel-features.h.
8344
57b957eb
RH
8345 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8346
6b73181a
MP
83472012-02-08 Marek Polacek <polacek@redhat.com>
8348
8349 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8350 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8351 * sysdeps/gnu/_G_config.h: Likewise.
8352 * sysdeps/generic/_G_config.h: Likewise.
8353
26ecc33a
AS
83542012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8355
6c6dbc63
AS
8356 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8357 tests.
8358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8359
e216c012
AS
8360 * sysdeps/powerpc/powerpc32/crti.S: New file.
8361 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8362 * sysdeps/powerpc/powerpc64/crti.S: New file.
8363 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8364
26ecc33a
AS
8365 * Makeconfig (have-initfini): Don't set.
8366 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8367 * configure.in (nopic_initfini): Don't substitute.
8368 * config.h.in (HAVE_INITFINI): Don't #undef.
8369 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8370 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8371
3add8e13
JM
83722012-02-08 Joseph Myers <joseph@codesourcery.com>
8373
8374 Support crti.S and crtn.S provided directly by architectures.
8375 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8376 [crti.S in sysdirs] (omit-deps): Likewise.
8377 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8378 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8379 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8380 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8381 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8382 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8383 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8384 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8385 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8386 compiler output for sysdeps/generic/initfini.c.
8387 * sysdeps/i386/elf/Makefile: Remove file.
8388 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8389
a22f12b4
MP
83902012-02-07 Marek Polacek <polacek@redhat.com>
8391
8392 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8393 * sysdeps/gnu/_G_config.h: Likewise.
8394 * sysdeps/mach/hurd/_G_config.h: Likewise.
8395
148cf100
MP
83962012-02-07 Marek Polacek <polacek@redhat.com>
8397
8398 * math/Makefile (tests): Add tst-CMPLX2.
8399 * math/tst-CMPLX2.c: New file.
8400
cfdc0dd7
AS
84012012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8402
84ba42c4
AS
8403 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8404
cfdc0dd7
AS
8405 * math/libm-test.inc (jn_test): Add missing L suffix.
8406
622c86f4
MP
84072012-02-06 Marek Polacek <polacek@redhat.com>
8408
8409 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8410 * sysdeps/i386/fpu/e_powf.S: Likewise.
8411 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8412 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8413 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8414 * sysdeps/i386/fpu/e_pow.S: Likewise.
8415 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8416 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8417 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8418 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8419 * sysdeps/i386/fpu/e_log2.S: Likewise.
8420 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8421 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8422 * sysdeps/i386/fpu/e_powl.S: Likewise.
8423 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8424 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8425 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8426 * sysdeps/i386/fpu/e_logl.S: Likewise.
8427 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8428 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8429 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8430 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8431 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8432 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8433 * sysdeps/i386/fpu/e_log.S: Likewise.
8434 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8435 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8436 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8437 * sysdeps/i386/fpu/e_logf.S: Likewise.
8438 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8439 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8440 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8441 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8442 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8443 * sysdeps/i386/fpu/e_log10.S: Likewise.
8444 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8445 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8446 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8447 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8448 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8449 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8450 * sysdeps/i386/asm-syntax.h: Likewise.
8451 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8452 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8453 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8454 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8455 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8456 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8457 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8458 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8459 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8460 * sysdeps/powerpc/sysdep.h: Likewise.
8461 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8462 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8463
d4a54ac6
JM
84642012-02-06 Joseph Myers <joseph@codesourcery.com>
8465
8466 [BZ #411]
8467 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8468
314054ea
JM
84692012-02-06 Joseph Myers <joseph@codesourcery.com>
8470
8471 * sysdeps/i386/sysdep.h: Include <features.h>.
8472 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8473 version.
8474
d8e0ca50
JM
84752012-02-05 Joseph Myers <joseph@codesourcery.com>
8476
8477 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8478 Define.
8479 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8480 LOAD_PIC_REG_STR.
8481
b1da7dd9
JM
84822012-02-03 Joseph Myers <joseph@codesourcery.com>
8483
8484 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8485 (SETUP_PIC_REG): Use GET_PC_THUNK.
8486 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8487 macro.
8488
9a1d9254
JM
84892012-02-03 Joseph Myers <joseph@codesourcery.com>
8490
8491 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8492 for non-PIC compilation.
8493 (SETUP_PIC_REG): Add .p2align directive.
8494 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8495 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8496 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8497 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8498 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8499 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8501 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8502 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8503 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8504 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8505 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8506 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8507 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8508 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8509 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8510 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8511 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8512 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8513 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8514 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8515 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8516 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8517 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8518 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8519 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8520 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8521 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8522 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8523 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8524 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8525 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8526 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8527 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8528 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8529 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8530 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8531 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8532 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8533 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8534 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8535
65dc3b75
JM
85362012-02-03 Joseph Myers <joseph@codesourcery.com>
8537
8538 * math/tst-CMPLX.c: Include <stdio.h>.
8539
d55bf177
JM
85402012-01-31 Joseph Myers <joseph@codesourcery.com>
8541
8542 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8543 float.
8544 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8545 * sysdeps/sparc/bits/mathdef.h: Likewise.
8546
69db4f8f
MP
85472012-01-31 Marek Polacek <polacek@redhat.com>
8548
8549 * libio/libio.h: Don't define _PARAMS.
8550 * locale/programs/config.h: Don't define PARAMS.
8551 * stdlib/strtol_l.c: Likewise.
8552 (__strtol_l): Remove PARAMS from the prototype.
8553
41b81892
UD
85542012-01-31 Ulrich Drepper <drepper@gmail.com>
8555
3b49edc0
UD
8556 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8557 names. Just use the correct names. Remove unnecessary wrapper
8558 functions.
8559 * malloc/arena.c: Likewise.
8560 * malloc/hooks.c: Likewise.
8561
41b81892
UD
8562 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8563 ARENA_TEST says not to. Simplify test for creation of a new arena.
8564 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8565
27a25b6e
UD
85662012-01-30 Ulrich Drepper <drepper@gmail.com>
8567
8568 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8569 into tail calls.
8570 (update_get_addr): New function.
8571 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8572 GET_ADDR_MODULE parameter.
8573
c8a89e7d
JM
85742012-01-30 Joseph Myers <joseph@codesourcery.com>
8575
8576 * crypt/cert.c: Remove __STDC__ conditionals.
8577 * crypt/crypt-entry.c: Likewise.
8578 * crypt/crypt_util.c: Likewise.
8579 * libio/filedoalloc.c: Likewise.
8580 * libio/fileops.c: Likewise.
8581 * libio/genops.c: Likewise.
8582 * libio/iofclose.c: Likewise.
8583 * libio/iofdopen.c: Likewise.
8584 * libio/iofopen.c: Likewise.
8585 * libio/iofopen64.c: Likewise.
8586 * libio/iogetdelim.c: Likewise.
8587 * libio/iopopen.c: Likewise.
8588 * libio/obprintf.c: Likewise.
8589 * libio/oldfileops.c: Likewise.
8590 * libio/oldiofclose.c: Likewise.
8591 * libio/oldiofdopen.c: Likewise.
8592 * libio/oldiofopen.c: Likewise.
8593 * libio/oldiopopen.c: Likewise.
8594 * libio/wfiledoalloc.c: Likewise.
8595 * libio/wgenops.c: Likewise.
8596 * locale/programs/xmalloc.c: Likewise.
8597 * misc/syslog.c: Likewise.
8598 * stdio-common/xbug.c: Likewise.
8599 * string/memchr.c: Likewise.
8600 * string/memcmp.c: Likewise.
8601 * string/memrchr.c: Likewise.
8602 * string/rawmemchr.c: Likewise.
8603 * sysdeps/posix/getcwd.c: Likewise.
8604 * time/strftime_l.c: Likewise.
8605
3b100462
JM
86062012-01-30 Joseph Myers <joseph@codesourcery.com>
8607
8608 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8609 * config.make.in (config-cflags-sse2avx): Define.
8610 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8611 Fix typo.
8612
607998af
CM
86132012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8614
8615 * scripts/config.guess: Update from upstream config git repository.
8616 * scripts/config.sub: Likewise.
8617
3601428f
CM
86182012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8619
3ac8b282
CM
8620 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8621 (EM_NUM): Update.
8622 (R_TILEPRO_*, R_TILEGX_*): New macros.
8623
e034841e
CM
8624 * scripts/firstversions.awk: Fix bug in version range handling.
8625
540d7568
CM
8626 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8627
3601428f
CM
8628 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8629
463de862
CM
8630 * include/sys/epoll.h: New file.
8631 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8632 libc_hidden_def.
8633
73139a76
UD
86342012-01-28 Ulrich Drepper <drepper@gmail.com>
8635
96bc5b45
UD
8636 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8637 Avoid unnecessary __WORDSIZE == 64 test.
8638 (fmaxf): Use VEX format if possible.
8639 (fmax): Likewise.
8640 (fminf): Likewise.
8641 (fmin): Likewise.
8642
56f6f6a2
UD
8643 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8644 * math/math_private.h: Remove libc_fegetround* and
8645 libc_fesetround*.
8646 * sysdeps/i386/configure.in: Check for -msse2avx.
8647 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8648 also if SSE2AVX is defined.
8649 Remove libc_fegetround* and libc_fesetround*.
8650 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8651 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8652 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8653 of HAS_YMM_USABLE.
8654 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8655 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8656 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8657 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8658 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8659
73139a76
UD
8660 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8661
d73f93a4
AZ
86622012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8663
8664 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8665 size is not set.
8666 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8667
6ee65ed6
UD
86682012-01-27 Ulrich Drepper <drepper@gmail.com>
8669
8670 [BZ #13618]
8671 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8672 relocation.
8673 * Makeconfig (libm): Define.
8674 * elf/Makefile: Add rules to build and run tst-relsort1.
8675 * elf/tst-relsort1.c: New file.
8676 * elf/tst-relsort1mod1.c: New file.
8677 * elf/tst-relsort1mod2.c: New file.
8678
8db21882
JM
86792012-01-27 Joseph Myers <joseph@codesourcery.com>
8680
8681 * math/s_ldexp.c: Remove __STDC__ conditionals.
8682 * math/s_ldexpf.c: Likewise.
8683 * math/s_ldexpl.c: Likewise.
8684 * math/s_nextafter.c: Likewise.
8685 * math/s_nexttowardf.c: Likewise.
8686 * math/s_significand.c: Likewise.
8687 * math/s_significandf.c: Likewise.
8688 * math/s_significandl.c: Likewise.
8689 * math/w_jnl.c: Likewise.
8690 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8691 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8692 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8693 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8694 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8709 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8710 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8711 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8712 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8713 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8714 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8715 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8716 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8717 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8718 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8719 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8720 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8721 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8722 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8723 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8724 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8725 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8726 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8727 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8728 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8729 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8730 * sysdeps/ieee754/k_standard.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8792 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8805 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8806 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8810 * sysdeps/ieee754/s_matherr.c: Likewise.
8811 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8812 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8813 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8814 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8815
965a54a4
JM
88162012-01-26 Joseph Myers <joseph@codesourcery.com>
8817
8818 * crypt/md5.h: Remove __STDC__ conditionals.
8819 * libio/libioP.h: Likewise.
8820 * locale/programs/config.h: Likewise.
8821 * sysdeps/generic/sysdep.h: Likewise.
8822 * sysdeps/i386/asm-syntax.h: Likewise.
8823 * sysdeps/s390/asm-syntax.h: Likewise.
8824 * sysdeps/unix/sysdep.h: Likewise.
8825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8827
7071ad79
JM
88282012-01-26 Joseph Myers <joseph@codesourcery.com>
8829
8830 * libio/libio.h: Remove __STDC__ conditionals.
8831 * malloc/obstack.h: Likewise.
8832 * math/complex.h: Likewise.
8833 * math/math.h: Likewise.
8834 * sysdeps/generic/_G_config.h: Likewise.
8835 * sysdeps/gnu/_G_config.h: Likewise.
8836 * sysdeps/mach/hurd/_G_config.h: Likewise.
8837 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8838 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8839 * sysdeps/sparc/bits/mathdef.h: Likewise.
8840
afc5ed09
UD
88412012-01-26 Ulrich Drepper <drepper@gmail.com>
8842
8843 [BZ #13583]
8844 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8845 Clean up HAS_* macros.
afc5ed09 8846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8847 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8848 possible.
8849 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8850 HAS_AVX.
8851 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8852 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8853 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8854 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8855 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8856
bdb6de1d
JM
88572012-01-25 Joseph Myers <joseph@codesourcery.com>
8858
8859 * elf/tst-unique3.cc (gets): Remove declaration.
8860 * elf/tst-unique3lib.cc (gets): Likewise.
8861 * elf/tst-unique3lib2.cc (gets): Likewise.
8862 * elf/tst-unique4.cc (gets): Likewise.
8863
b15549e6
UD
88642012-01-24 Ulrich Drepper <drepper@gmail.com>
8865
8866 * include/stdio.h: Add C++ protection. Add gets declarations and
8867 definitions.
8868 * debug/tst-chk1.c: Don't declare gets here.
8869 * stdio-common/tst-gets.c: Likewise.
8870
a037381f
JM
88712012-01-24 Joseph Myers <joseph@codesourcery.com>
8872
8873 * posix/glob: Remove directory.
8874
f1d4aa75
JM
88752012-01-24 Joseph Myers <joseph@codesourcery.com>
8876
8877 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8878
81c0c964
PT
88792012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8880
8881 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8882 of the non-standard EPFNOSUPPORT.
8883
0ea698ae
ST
88842011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8885
8886 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8887 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8888 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8889
d220b117
UD
88902012-01-21 Ulrich Drepper <drepper@gmail.com>
8891
8892 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8893
3e1aa84e
UD
88942012-01-20 Ulrich Drepper <drepper@gmail.com>
8895
8896 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8897 transient errors.
8898 * nscd/grpcache.c (cache_addgr): Likewise.
8899 * nscd/hstcache.c (cache_addhst): Likewise.
8900 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8901 * nscd/pwdcache.c (cache_addpw): Likewise.
8902 * nscd/servicescache.c (cache_addserv): Likewise.
8903
400aa020
UD
89042012-01-16 Ulrich Drepper <drepper@gmail.com>
8905
d77e7869
UD
8906 * malloc/malloc.c: Various cleanups.
8907 * malloc/hooks.c: Likewise.
8908
400aa020
UD
8909 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8910 * stdlib/bug-fmtmsg1.c: New file.
8911
8912 * stdlib/fmtmsg.c (init): Add missing unlock.
8913 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8914
e0a309cf
MP
89152012-01-12 Marek Polacek <polacek@redhat.com>
8916
8917 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8918 and _GNU_SOURCE.
8919
929d11c7
WS
89202012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8921
8922 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8923 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8924 macro to ensure uniqueness of label name.
8925 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8926 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8927
41d0e869
UD
89282012-01-11 Ulrich Drepper <drepper@gmail.com>
8929
0cc5ed3b
UD
8930 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8931
41d0e869
UD
8932 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8933 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8934 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8936
a47a831a
UD
89372012-01-10 Ulrich Drepper <drepper@gmail.com>
8938
daa891c0
UD
8939 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8940
8941 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8942 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8944
e58ef0f2
UD
8945 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8946
a47a831a 8947 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8948 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8949 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8951
8952 * math/bits/math-finite.h: Add ldexp support.
8953
a0bfc9c7
MP
89542012-01-10 Marek Polacek <polacek@redhat.com>
8955
8956 * locale/programs/localedef.h (show_archive_content): Add noreturn
8957 attribute.
8958
d6e97a1d
UD
89592012-01-09 Ulrich Drepper <drepper@gmail.com>
8960
8961 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8962
d5835c26
UD
89632012-01-08 Ulrich Drepper <drepper@gmail.com>
8964
e5f484c6
UD
8965 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8966
d5835c26
UD
8967 * io/Makefile (headers): Add bits/poll2.h.
8968
d1f741e9
WS
89692011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8970
8971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8972 typo #include statement.
8973
ec09c1c4
UD
89742012-01-08 Ulrich Drepper <drepper@gmail.com>
8975
8976 * include/sys/cdefs.h: Define __attribute_alloc_size.
8977 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8978 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8979 * elf/pldd.c: Likewise.
8980 * iconv/iconv_charmap.c: Likewise.
8981 * iconv/iconvconfig.c: Likewise.
8982 * iconv/strtab.c: Likewise.
8983 * locale/programs/locale.c: Likewise.
8984 * locale/programs/localedef.h: Likewise.
8985 * locale/programs/simple-hash.c: Likewise.
8986 * nscd/nscd.h: Likewise.
8987 * nss/makedb.c: Likewise.
8988 * sysdeps/generic/ldconfig.h: Likewise.
8989 * locale/programs/localedef.c: Remove xmalloc prototype.
8990 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8991
20b38e03
PP
89922012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8993
8994 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8995 appropriate.
8996
a0da5fe1
UD
89972012-01-08 Ulrich Drepper <drepper@gmail.com>
8998
1d5a644a 8999 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9000 * math/tst-CMPLX.c: New file.
1d5a644a 9001
8784a6db
UD
9002 * math/complex.h (CMPLXL): Fix typo.
9003
d9a216c0
UD
9004 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9005 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9006 GLIBC_2.16.
9007 * debug/tst-chk1.c: Add poll and ppoll tests.
9008 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9009 * include/sys/poll.h: Add hidden proto for ppoll.
9010 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9011 * sysdeps/mach/hurd/ppoll.c: Likewise.
9012 * io/ppoll.c: Likewise.
9013 * debug/poll_chk.c: New file.
9014 * debug/ppoll_chk.c: New file.
9015 * include/bits/poll2.h: New file.
9016 * io/bits/poll2.h: New file.
9017
ac097f5c
UD
9018 [BZ #1350]
9019 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9020
2119dcfa
UD
9021 * configure.in: static is always set to yes. Remove.
9022 * config.make.in: Don't set build-static.
9023 * Makeconfig: Remove use of build-static.
9024 * dlfcn/Makefile: Likewise.
9025 * elf/Makefile: Likewise.
9026 * math/Makefile: Likewise.
9027 * misc/Makefile: Likewise.
9028 * nptl/Makefile: Likewise.
9029 * sysdeps/mach/hurd/Makefile: Likewise.
9030
121766a9
UD
9031 * configure.in: PWD_P is not used anymore.
9032 * config.make.in: Remove PWD_P entry.
9033
51a1d39c 9034 * configure.in: Remove last remnants of RANLIB.
8720d066 9035 No need to check for signed size_t anymore.
215f4bdc
UD
9036 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9037 and IA-64.
3857022a 9038 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9039 * aclocal.m4: Likewise.
9040
d3ed7225
UD
9041 * wcsmbs/mbrtoc16.c: Implement using towc function.
9042 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9043 * wcsmbs/wcsmbsload.c: Likewise.
9044 * iconv/gconv_simple.c: Likewise.
9045 * iconv/gconv_int.h: Likewise.
9046 * iconv/gconv_builtin.h: Likewise.
9047 * iconv/iconv_prog.c: Remove CHAR16 handling.
9048
9049 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9050
9051 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9052
a0da5fe1
UD
9053 * configure.in: Remove --with-elf and --enable-bounded options.
9054 Dont set base_machine for ia64. More non-ELF conditions removed.
9055 Remove testing and setting of leading underscore information.
9056 * config.make.in (build-bounded): Set to no.
9057 * config.h.in: Remove NO_UNDERSCORES entry.
9058 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9059 them.
9060 * csu/start.c: Remove !NO_UNDERSCORE code.
9061 * locale/localeinfo.h: Likewise.
9062 * sysdeps/generic/machine-gmon.h: Likewise.
9063 * sysdeps/generic/sysdep.h: Likewise.
9064 * sysdeps/i386/sysdep.h: Likewise.
9065 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9066 * sysdeps/mach/sysdep.h: Likewise.
9067 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9068 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9069 * sysdeps/sh/sysdep.h: Likewise.
9070 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9071 * sysdeps/unix/i386/sysdep.S: Likewise.
9072 * sysdeps/unix/sparc/start.c: Likewise.
9073 * sysdeps/unix/sparc/sysdep.S: Likewise.
9074 * sysdeps/unix/sparc/sysdep.h: Likewise.
9075 * sysdeps/unix/start.c: Likewise.
9076 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9077 * sysdeps/x86_64/sysdep.h: Likewise.
9078
df78418a
UD
90792012-01-07 Ulrich Drepper <drepper@gmail.com>
9080
a784e502
UD
9081 [BZ #13553]
9082 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9083 for non-gcc.
9084 * argp/argp-fmtstream.h: Use const instead __const.
9085 * argp/argp.h: Likewise.
9086 * assert/assert.h: Likewise.
9087 * bits/fenv.h: Likewise.
9088 * bits/sched.h: Likewise.
9089 * bits/sigset.h: Likewise.
9090 * bits/sigthread.h: Likewise.
9091 * catgets/nl_types.h: Likewise.
9092 * conform/data/pthread.h-data: Likewise.
9093 * crypt/crypt-private.h: Likewise.
9094 * crypt/crypt.h: Likewise.
9095 * crypt/crypt_util.c: Likewise.
9096 * ctype/ctype.h: Likewise.
9097 * debug/execinfo.h: Likewise.
9098 * debug/mbsnrtowcs_chk.c: Likewise.
9099 * debug/mbsrtowcs_chk.c: Likewise.
9100 * debug/wcsnrtombs_chk.c: Likewise.
9101 * debug/wcsrtombs_chk.c: Likewise.
9102 * debug/wcstombs_chk.c: Likewise.
9103 * dirent/dirent.h: Likewise.
9104 * dlfcn/dlfcn.h: Likewise.
9105 * elf/neededtest4.c: Likewise.
9106 * grp/grp.h: Likewise.
9107 * gshadow/gshadow.h: Likewise.
9108 * iconv/gconv.h: Likewise.
9109 * iconv/gconv_int.h: Likewise.
9110 * iconv/gconv_simple.c: Likewise.
9111 * iconv/iconv.h: Likewise.
9112 * iconv/loop.c: Likewise.
9113 * iconv/skeleton.c: Likewise.
9114 * include/aio.h: Likewise.
9115 * include/aliases.h: Likewise.
9116 * include/argz.h: Likewise.
9117 * include/arpa/inet.h: Likewise.
9118 * include/assert.h: Likewise.
9119 * include/dirent.h: Likewise.
9120 * include/dlfcn.h: Likewise.
9121 * include/execinfo.h: Likewise.
9122 * include/fcntl.h: Likewise.
9123 * include/fenv.h: Likewise.
9124 * include/glob.h: Likewise.
9125 * include/grp.h: Likewise.
9126 * include/libintl.h: Likewise.
9127 * include/mntent.h: Likewise.
9128 * include/netdb.h: Likewise.
9129 * include/pwd.h: Likewise.
9130 * include/rpc/netdb.h: Likewise.
9131 * include/sched.h: Likewise.
9132 * include/search.h: Likewise.
9133 * include/shadow.h: Likewise.
9134 * include/signal.h: Likewise.
9135 * include/stdio.h: Likewise.
9136 * include/stdlib.h: Likewise.
9137 * include/string.h: Likewise.
9138 * include/sys/socket.h: Likewise.
9139 * include/sys/stat.h: Likewise.
9140 * include/sys/statfs.h: Likewise.
9141 * include/sys/statvfs.h: Likewise.
9142 * include/sys/syslog.h: Likewise.
9143 * include/sys/time.h: Likewise.
9144 * include/sys/uio.h: Likewise.
9145 * include/time.h: Likewise.
9146 * include/unistd.h: Likewise.
9147 * include/utmp.h: Likewise.
9148 * include/wchar.h: Likewise.
9149 * include/wctype.h: Likewise.
9150 * inet/aliases.h: Likewise.
9151 * inet/arpa/inet.h: Likewise.
9152 * inet/netinet/ether.h: Likewise.
9153 * inet/netinet/in.h: Likewise.
9154 * intl/libintl.h: Likewise.
9155 * io/bits/fcntl2.h: Likewise.
9156 * io/fcntl.h: Likewise.
9157 * io/ftw.h: Likewise.
9158 * io/sys/poll.h: Likewise.
9159 * io/sys/stat.h: Likewise.
9160 * io/sys/statfs.h: Likewise.
9161 * io/sys/statvfs.h: Likewise.
9162 * io/utime.h: Likewise.
9163 * libio/bits/stdio.h: Likewise.
9164 * libio/bits/stdio2.h: Likewise.
9165 * libio/libio.h: Likewise.
9166 * libio/libioP.h: Likewise.
9167 * libio/stdio.h: Likewise.
9168 * locale/lc-ctype.c: Likewise.
9169 * locale/locale.h: Likewise.
9170 * login/utmp.h: Likewise.
9171 * malloc/arena.c: Likewise.
9172 * malloc/malloc.c: Likewise.
9173 * malloc/malloc.h: Likewise.
9174 * malloc/mcheck.c: Likewise.
9175 * malloc/mtrace.c: Likewise.
9176 * math/bits/mathcalls.h: Likewise.
9177 * math/fenv.h: Likewise.
9178 * math/math_private.h: Likewise.
9179 * misc/bits/error.h: Likewise.
9180 * misc/bits/syslog.h: Likewise.
9181 * misc/err.h: Likewise.
9182 * misc/error.h: Likewise.
9183 * misc/fstab.h: Likewise.
9184 * misc/mntent.h: Likewise.
9185 * misc/regexp.h: Likewise.
9186 * misc/search.h: Likewise.
9187 * misc/sgtty.h: Likewise.
9188 * misc/sys/mman.h: Likewise.
9189 * misc/sys/syslog.h: Likewise.
9190 * misc/sys/uio.h: Likewise.
9191 * misc/sys/xattr.h: Likewise.
9192 * misc/ttyent.h: Likewise.
9193 * nis/rpcsvc/ypclnt.h: Likewise.
9194 * nss/nss.h: Likewise.
9195 * posix/bits/unistd.h: Likewise.
9196 * posix/fnmatch.h: Likewise.
9197 * posix/glob.h: Likewise.
9198 * posix/sched.h: Likewise.
9199 * posix/spawn.h: Likewise.
9200 * posix/sys/wait.h: Likewise.
9201 * posix/unistd.h: Likewise.
9202 * posix/wordexp.h: Likewise.
9203 * pwd/pwd.h: Likewise.
9204 * resolv/netdb.h: Likewise.
9205 * resource/sys/resource.h: Likewise.
9206 * rt/aio.h: Likewise.
9207 * rt/bits/mqueue2.h: Likewise.
9208 * rt/mqueue.h: Likewise.
9209 * shadow/shadow.h: Likewise.
9210 * signal/signal.h: Likewise.
9211 * socket/send.c: Likewise.
9212 * socket/sendto.c: Likewise.
9213 * socket/sys/socket.h: Likewise.
9214 * stdio-common/printf.h: Likewise.
9215 * stdlib/bits/stdlib.h: Likewise.
9216 * stdlib/fmtmsg.h: Likewise.
9217 * stdlib/monetary.h: Likewise.
9218 * stdlib/stdlib.h: Likewise.
9219 * stdlib/ucontext.h: Likewise.
9220 * streams/stropts.h: Likewise.
9221 * string/argz.h: Likewise.
9222 * string/bits/string2.h: Likewise.
9223 * string/string.h: Likewise.
9224 * string/strings.h: Likewise.
9225 * sunrpc/rpc/auth.h: Likewise.
9226 * sunrpc/rpc/auth_des.h: Likewise.
9227 * sunrpc/rpc/clnt.h: Likewise.
9228 * sunrpc/rpc/netdb.h: Likewise.
9229 * sunrpc/rpc/pmap_clnt.h: Likewise.
9230 * sunrpc/rpc/xdr.h: Likewise.
9231 * sysdeps/generic/inttypes.h: Likewise.
9232 * sysdeps/generic/net/if.h: Likewise.
9233 * sysdeps/generic/sys/swap.h: Likewise.
9234 * sysdeps/gnu/net/if.h: Likewise.
9235 * sysdeps/gnu/utmpx.h: Likewise.
9236 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9237 * sysdeps/i386/i486/bits/string.h: Likewise.
9238 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9239 * sysdeps/s390/bits/string.h: Likewise.
9240 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9241 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9242 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9243 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9244 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9245 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9246 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9247 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9248 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9249 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9250 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9251 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9252 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9253 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9254 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9255 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9256 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9257 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9258 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9259 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9260 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9261 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9262 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9263 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9264 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9265 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9266 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9267 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9268 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9269 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9270 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9271 * sysvipc/sys/ipc.h: Likewise.
9272 * sysvipc/sys/msg.h: Likewise.
9273 * sysvipc/sys/sem.h: Likewise.
9274 * sysvipc/sys/shm.h: Likewise.
9275 * termios/termios.h: Likewise.
9276 * time/sys/time.h: Likewise.
9277 * time/time.h: Likewise.
9278 * wcsmbs/bits/wchar2.h: Likewise.
9279 * wcsmbs/uchar.h: Likewise.
9280 * wcsmbs/wchar.h: Likewise.
9281 * wctype/wctype.h: Likewise.
9282
0269750c
UD
9283 [BZ #13551]
9284 * Makeconfig: Remove all but ELF support including AIX support.
9285 * Makerules: Likewise.
9286 * config.h.in: Likewise.
9287 * config.make.in: Likewise.
9288 * configure: Likewise.
9289 * configure.in: Likewise.
9290 * csu/Makefile: Likewise.
9291 * csu/version.c: Likewise.
9292 * debug/Makefile: Likewise.
9293 * dlfcn/Makefile: Likewise.
9294 * elf/Makefile: Likewise.
9295 * extra-lib.mk: Likewise.
9296 * iconv/Makefile: Likewise.
9297 * include/libc-symbols.h: Likewise.
9298 * include/shlib-compat.h: Likewise.
9299 * resolv/Makefile: Likewise.
9300 * resolv/res_libc.c: Likewise.
9301 * rt/Makefile: Likewise.
9302 * sysdeps/i386/asm-syntax.h: Likewise.
9303 * sysdeps/i386/sysdep.h: Likewise.
9304 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9305 * sysdeps/mach/sysdep.h: Likewise.
9306 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9307 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9308 * sysdeps/s390/asm-syntax.h: Likewise.
9309 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9310 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9311 * sysdeps/sh/sysdep.h: Likewise.
9312 * sysdeps/unix/sparc/sysdep.h: Likewise.
9313 * sysdeps/wordsize-32/divdi3.c: Likewise.
9314 * sysdeps/x86_64/sysdep.h: Likewise.
9315
00bbd29b
UD
9316 * argp/Versions: Remove _argp_unlock_xxx.
9317
9318 [BZ #13559]
9319 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9320 * abilist/libBrokenLocale.abilist: Likewise.
9321 * abilist/libanl.abilist: Likewise.
9322 * abilist/libc.abilist: Likewise.
9323 * abilist/libcrypt.abilist: Likewise.
9324 * abilist/libdl.abilist: Likewise.
9325 * abilist/libm.abilist: Likewise.
9326 * abilist/libnsl.abilist: Likewise.
9327 * abilist/libpthread.abilist: Likewise.
9328 * abilist/libresolv.abilist: Likewise.
9329 * abilist/librt.abilist: Likewise.
9330 * abilist/libthread_db.abilist: Likewise.
9331 * abilist/libutil.abilist: Likewise.
9332 * abilist/libnss_db.abilist: New file.
9333
9334 * scripts/abilist.awk: Add support for indirect functions.
9335
a2693a0e
UD
9336 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9337
3f05895f
UD
9338 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9339
ecb6fb48
UD
9340 * shlib-versions: Remove entries for ports architectures.
9341
664f8cb9
UD
9342 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9343 files in ports.
9344 * elf/stackguard-macros.h: Remove support for IA-64.
9345 * elf/tst-auditmod1.c: Likewise.
9346 * sysdeps/generic/ldsodefs.h: Likewise.
9347
7ae81d88
UD
9348 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9349 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9350 configure files.
9351
bdeba135
UD
9352 [BZ #13552]
9353 * configure.in: Remove --enable-omitfp support.
9354 * FAQ.in: Adjust.
9355 * config.make.in: Likewise.
9356 * Makeconfig: Likewise.
9357 * manual/install.texi: Likewise.
9358
d75a0a62
UD
9359 In case anyone cares, the IA-64 architecture could move to ports.
9360 * sysdeps/ia64/*: Removed.
9361 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9362 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9363
dcc9756b
UD
9364 [BZ #13555]
9365 * configure.in: Remove entries for unsupported architectures.
9366
d3761ebc 9367 [BZ #13533]
9954432e
UD
9368 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9369 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9370 routines.
9371 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9372 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9373 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9374 fall back to using wcrtomb.
9375 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9376 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9377 renaming.
9378 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9379 * wcsmbs/tst-c16c32-1.c: New file.
9380
9381 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9382 local variable.
9383
c3a87236
UD
9384 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9385
28926a1b
UD
9386 * elf/tst-unique3.cc: Add explicit declaration of gets.
9387 * elf/tst-unique3lib.cc: Likewise.
9388 * elf/tst-unique3lib2.cc: Likewise.
9389 * elf/tst-unique4.cc: Likewise.
9390
df78418a
UD
9391 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9392
8ecd6b2a
JM
93932012-01-06 Joseph Myers <joseph@codesourcery.com>
9394
9395 [BZ #13566]
9396 * assert/assert.h (static_assert): Don't define for C++.
9397 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9398 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9399
9f115170
UD
94002012-01-03 Ulrich Drepper <drepper@gmail.com>
9401
5e0d0300
UD
9402 * iconv/loop.c (single loop): Fix assertion in storing of
9403 remaining bytes.
9404
9f115170
UD
9405 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9406
81fb02b0
UD
94072012-01-01 Ulrich Drepper <drepper@gmail.com>
9408
9409 * posix/getconf.c: Update copyright year.
9410 * nss/getent.c: Likewise.
a316c1f6 9411 * nss/makedb.c: Likewise.
81fb02b0
UD
9412 * iconv/iconvconfig.c: Likewise.
9413 * iconv/iconv_prog.c: Likewise.
9414 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9415 * elf/pldd.c: Likewise.
9416 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9417 * catgets/gencat.c: Likewise.
9418 * csu/version.c: Likewise.
9419 * elf/ldd.bash.in: Likewise.
9420 * elf/sprof.c (print_version): Likewise.
9421 * locale/programs/locale.c: Likewise.
9422 * locale/programs/localedef.c: Likewise.
a316c1f6 9423 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9424 * nscd/nscd.c (print_version): Likewise.
9425 * debug/xtrace.sh: Likewise.
9426 * malloc/memusage.sh: Likewise.
9427 * malloc/mtrace.pl: Likewise.
9428 * debug/catchsegv.sh: Likewise.
9429
2ba92745
JJ
94302011-12-30 Jakub Jelinek <jakub@redhat.com>
9431
9432 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9433 pure attribute.
9434
dadebdae
UD
94352011-12-24 Ulrich Drepper <drepper@gmail.com>
9436
d3761ebc 9437 [BZ #13533]
db6af3eb
UD
9438 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9439 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9440 transformations.
9441 * iconv/gconv_int.h: Likewise.
9442 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9443 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9444 from libc for GLIBC_2.16.
9445 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9446 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9447 * wcsmbs/uchar.h: Really define mbstate_t.
9448 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9449 * wcsmbs/c16rtomb.c: New file.
9450 * wcsmbs/mbrtoc16.c: New file.
9451 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9452 for C/POSIX locale.
9453 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9454 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9455
dadebdae
UD
9456 * wcsmbs/wchar.h: Add missing __restrict.
9457
67371b56
UD
94582011-12-23 Ulrich Drepper <drepper@gmail.com>
9459
74033a25
UD
9460 [BZ #13532]
9461 * time/Makefile (routines): Add timespec_get.
9462 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9463 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9464 timespec for ISO C11.
9465 * time/timespec_get.c: New file.
9466 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9467 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9468
380d7e87
UD
9469 [BZ #13531]
9470 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9471 * stdlib/stdlib.h: Declare aligned_alloc.
9472 * Versions.def: Add GLIBC_2.16 for libc.
9473 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9474
4e9e7a35
UD
9475 [BZ 13527]
9476 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9477 ISO C11.
9478
380d7e87 9479 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9480 code.
9481
03a71829
UD
9482 [BZ #13528]
9483 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9484
839e283e
UD
9485 [BZ #13529]
9486 * assert/assert.h (static_assert): Define.
9487
ce5294e2 9488 * version.h: Update for 2.16 development version.
90fa7312 9489
8d44e150 9490 [BZ #13526]
d7809905
UD
9491 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9492 _ISOC11_SOURCE.
9493
c0da14cd
UD
9494 * version.h (RELEASE): Bump for 2.15 release.
9495 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9496
530a3249
MP
9497 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9498 Patch by Marek Polacek <mpolacek@redhat.com>.
9499
67371b56
UD
9500 * bits/byteswap.h: Protect long long constants with __extension__.
9501 * sysdeps/i386/bits/byteswap.h: Likewise.
9502 * sysdeps/ia64/bits/byteswap.h: Likewise.
9503 * sysdeps/s390/bits/byteswap.h: Likewise.
9504 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9505
15db4de1
LD
95062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9507
9508 [BZ #13540]
bbe315ea
LD
9509 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9510 destination buffer.
15db4de1
LD
9511 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9512
2b2596b1
MP
95132011-12-23 Marek Polacek <polacek@redhat.com>
9514
9515 * elf/dl-addr.c (determine_info): Add inline keyword.
9516 * elf/tst-auditmod4b.c (check_avx): Likewise.
9517 * elf/tst-auditmod6b.c (check_avx): Likewise.
9518 * elf/tst-auditmod6c.c (check_avx): Likewise.
9519 * elf/tst-auditmod7b.c (check_avx): Likewise.
9520
70c6c246
UD
95212011-12-23 Ulrich Drepper <drepper@gmail.com>
9522
9523 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9524 !__SSE_MATH__.
9525
c044cf14
LD
95262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9527
15db4de1 9528 [BZ #13540]
c044cf14
LD
9529 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9530 processing for last bytes.
9531
6b13d9d9
BH
95322011-08-06 Bruno Haible <bruno@clisp.org>
9533
d455f537
BH
9534 [BZ #13061]
9535 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9536 U+0385, not to U+1FEE.
9537
6b13d9d9
BH
9538 [BZ #13062]
9539 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9540 entry for U+00A5 U+0301.
9541
db910efd
UD
95422011-12-22 Ulrich Drepper <drepper@gmail.com>
9543
27deeafc
UD
9544 [BZ #13166]
9545 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9546 buffer for the output is too small.
9547
aed9d171
UD
9548 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9549 optimization.
9550
db910efd
UD
9551 [BZ #13185]
9552 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9553 SSE flags if possible.
9554
2bd779ae
LD
95552011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9556
e7f9dac3 9557 [BZ #13540]
2bd779ae
LD
9558 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9559 processing for last bytes.
9560
154bfc16
JM
95612011-12-22 Joseph Myers <joseph@codesourcery.com>
9562
9563 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9564 (syscall-list-default-options, syscall-list-default-condition)
9565 (syscall-list-includes): Define.
9566 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9567 list of ABIs and options and #if conditions for each ABI. Do not
9568 handle common syscalls between ABIs specially.
9569 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9570 Remove.
9571 (syscall-list-variants, syscall-list-32bit-options)
9572 (syscall-list-32bit-condition, syscall-list-64bit-options)
9573 (syscall-list-64bit-condition): Define.
9574 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9579 Remove.
9580 (syscall-list-variants, syscall-list-32bit-options)
9581 (syscall-list-32bit-condition, syscall-list-64bit-options)
9582 (syscall-list-64bit-condition): Define.
9583 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9584 Remove.
9585 (syscall-list-variants, syscall-list-32bit-options)
9586 (syscall-list-32bit-condition, syscall-list-64bit-options)
9587 (syscall-list-64bit-condition): Define.
9588
21eaf3a5
UD
95892011-12-22 Ulrich Drepper <drepper@gmail.com>
9590
16c6f992
UD
9591 * locale/iso-639.def: Add brx entry.
9592
41043168
UD
9593 [BZ #13328]
9594 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9595 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9596
21eaf3a5
UD
9597 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9598 __feraiseexcept_renamed.
9599
e3a851a2
UD
96002011-12-21 Ulrich Drepper <drepper@gmail.com>
9601
4920765e
UD
9602 [BZ #13538]
9603 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9604 EPOLLET with unsigned values.
9605 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9606 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9607
e3a851a2
UD
9608 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9609 to large cancellation.
9610 * math/s_cacoshf.c: Likewise.
9611 * math/s_cacoshl.c: Likewise.
9612
b27e24b8
RK
96132011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9614
9615 [BZ #13305]
aebefeee 9616 [BZ #12786]
b27e24b8
RK
9617 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9618 * math/s_cacoshf.c: Likewise.
9619 * math/s_cacoshl.c: Likewise.
9620
ee190f67
UD
96212011-12-21 Ulrich Drepper <drepper@gmail.com>
9622
9623 [BZ #13439]
9624 * iconv/gconv.h: Define __GCONV_SWAP.
9625 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9626 * iconvdata/utf-16.c: Likewise.
9627 * iconvdata/utf-32.c: Likewise.
9628
707f25df
AS
96292011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9630
9631 [BZ #13524]
9632 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9633 numerator after shifting it by one limb.
9634
d2daaa1e
RÁE
96352011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9636
9637 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9638 under [__USE_EXTERN_INLINES].
9639
a4647e72
UD
96402011-12-17 Ulrich Drepper <drepper@gmail.com>
9641
9642 [BZ #13446]
9643 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9644
f0b264f1
AZ
96452011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9646
9647 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9648 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9649 optimized code.
9650 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9651 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9652 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9653 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9654 for strncasecmp/strncasecmp_l compilation.
9655 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9656 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9657
8ef4f244
MP
96582011-12-08 Marek Polacek <mpolacek@redhat.com>
9659
9660 [BZ #13484]
9661 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9662 of __asm__.
9663
97ac2654
UD
96642011-12-17 Ulrich Drepper <drepper@gmail.com>
9665
9666 [BZ #13506]
9667 * time/tzfile.c (__tzfile_read): Check values from file header.
9668
91d2a845
WS
96692011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9670
9671 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9672 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9673 * powerpc/powerpc32/dl-start.S: Likewise.
9674 * powerpc/powerpc32/elf/start.S: Likewise.
9675 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9676 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9677 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9678 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9679 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9680 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9681 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9682 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9683 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9684 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9685 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9686 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9687 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9688 * powerpc/powerpc32/memset.S: Likewise.
9689 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9690 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9691 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9692 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9693 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9694 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9695 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9696 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9697 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9698 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9699 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9700 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9701 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9702
a1267ba1
AZ
97032011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9704
9705 * math/libm-test.inc: Added more nearbyint tests.
9706 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9707 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9708 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9709 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9710
ad8ac1bd
RL
97112011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9712
9713 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9714 FD_CLOEXEC.
9715
1d3e4b61
UD
97162011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9717
9718 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9719 Add wcscpy-ssse3 wcscpy-c.
9720 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9721 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9722 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9723 * sysdeps/x86_64/wcschr.S: New file.
9724 * sysdeps/x86_64/wcsrchr.S: New file.
9725 * string/test-strcmp.c: Remove checking of wcscmp function for
9726 wrong alignments.
9727 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9728 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9729 wcsrchr-sse2 wcsrchr-c.
9730 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9731 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9732 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9733 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9734 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9735 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9736 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9737 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9738 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9739 * wcsmbc/wcschr.c (WCSCHR): New macro.
9740
5b330a2d
UD
97412011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9742
9743 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9744 * wcsmbs/test-wcsrchr.c: New file.
9745 * string/test-strrchr.c: Add wcsrchr support.
9746 (WIDE): New macro.
9747 * wcsmbs/test-wcscpy.c: New file.
9748 * string/test-strcpy.c: Add wcscpy support.
9749 (WIDE): New macro.
26428b7c 9750
f039c043
UD
97512011-12-10 Ulrich Drepper <drepper@gmail.com>
9752
9753 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9754 the inner loop.
9755
850fb039
AS
97562011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9757
9758 [BZ #13472]
9759 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9760
4efbd5cb
UD
97612011-12-04 Ulrich Drepper <drepper@gmail.com>
9762
52ff5dd0 9763 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9764 Minor optimizations.
52ff5dd0 9765
4efbd5cb
UD
9766 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9767 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9768 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9769
8a426e12
UD
97702011-12-03 Ulrich Drepper <drepper@gmail.com>
9771
aff2453d
UD
9772 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9773 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9774 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9775 for gcc to avoid warnings.
9776 * inet/Makefile (tests): Add tst-checks.
9777 * inet/tst-checks.c: New file.
9778
9779 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9780 warning.
9781
9782 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9783 __wmemcmp_sse2.
9784
9785 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9786 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9787
8a426e12
UD
9788 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9789
9bea3473
UD
97902011-12-02 Ulrich Drepper <drepper@gmail.com>
9791
3a965496
UD
9792 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9793 problem.
9794
9bea3473
UD
9795 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9796
f101631b
UD
97972011-11-29 Joseph Myers <joseph@codesourcery.com>
9798
9799 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9800 conditional on GCC version.
9801 (__arch_compare_and_exchange_val_8_acq)
9802 (__arch_compare_and_exchange_val_16_acq)
9803 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9804 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9805 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9806
a98275aa
UD
98072011-12-02 Joseph Myers <joseph@codesourcery.com>
9808
9809 * sysdeps/sh/backtrace.c: New file.
9810
d4cc29a2
AS
98112011-12-02 Andreas Schwab <schwab@redhat.com>
9812
9813 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9814 parenthesis.
9815
6257af2d
AS
98162011-12-01 Andreas Schwab <schwab@redhat.com>
9817
9818 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9819 falling back to utime.
9820
b5f44c1a
AS
98212011-11-30 Andreas Schwab <schwab@redhat.com>
9822
9823 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9824 expectations for float.
9825
f3a6cc0a
AS
98262011-11-29 Andreas Schwab <schwab@redhat.com>
9827
9828 * locale/weight.h (findidx): Add parameter len.
9829 * locale/weightwc.h (findidx): Likewise.
9830 * posix/fnmatch_loop.c (FCT): Adjust caller.
9831 * posix/regcomp.c (build_equiv_class): Likewise.
9832 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9833 * posix/regexec.c (check_node_accept_bytes): Likewise.
9834 * string/strcoll_l.c (STRCOLL): Likewise.
9835 * string/strxfrm_l.c (STRXFRM): Likewise.
9836
9d65ea3a
UD
98372011-11-17 Ulrich Drepper <drepper@gmail.com>
9838
9839 * Makefile.in: Remove CVSOPT handling.
9840 * configure.in: Remove use of AC_REVISION.
9841 * iconvdata/Makefile (distribute): No need to filter out CVS.
9842 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9843 handling.
9844
5583a086
AS
98452011-11-16 Andreas Schwab <schwab@redhat.com>
9846
9847 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9848 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9849 [USE_AS_STRNCASECMP_L]: Likewise.
9850 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9851 NO_TLS_DIRECT_SEG_REFS.
9852 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9853 Fix argument offsets for non-PIC.
9854 [USE_AS_STRNCASECMP_L]: Likewise.
9855 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9856 NO_TLS_DIRECT_SEG_REFS.
9857
d62a8200
UD
98582011-11-15 Ulrich Drepper <drepper@gmail.com>
9859
9d65ea3a 9860 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9861 O_CLOEXEC.
9862 * locale/loadlocale.c (_nl_load_locale): Likewise.
9863
09f93bd3
AS
98642011-11-15 Andreas Schwab <schwab@redhat.com>
9865
446514f9
AS
9866 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9867 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9868 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9869 (SYSCALL_GETTIME): Set errno on error.
9870
09f93bd3
AS
9871 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9872 count references to noai6ai_cached.
9873
312be3f9
UD
98742011-11-15 Ulrich Drepper <drepper@gmail.com>
9875
9876 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9877
9878 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9879 FD_CLOEXEC for /proc/self/maps.
9880
9881 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9882 FD_CLOEXEC for /proc/meminfo.
9883
9884 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9885 gai.conf.
9886
9887 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9888 FD_CLOEXEC for given file.
9889
9890 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9891
9892 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9893 FD_CLOEXEC for /etc/hosts.
9894 (_gethtent): Likewise.
9895
9896 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9897
9898 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9899 cancellation and set FD_CLOEXEC for /etc/netgroup.
9900
9901 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9902 reading /etc/publickey.
9903
9904 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9905 allow cancellation when reading /etc/group.
9906
9907 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9908 cancellation.
9909 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9910
9911 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9912 when using data file.
9913
9914 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9915
9916 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9917 (write_nis_obj): Use "c" and "e" in fopen.
9918
9919 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9920
9921 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9922
9923 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9924
9925 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9926
9927 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9928 locale.alias.
9929
9930 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9931
9932 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9933
9934 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9935
9936 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9937 file parsing and set FD_CLOEXEC.
9938
82af0fa8
UD
99392011-11-14 Ulrich Drepper <drepper@gmail.com>
9940
9941 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9942
a5fb313c
AS
99432011-11-14 Andreas Schwab <schwab@redhat.com>
9944
9945 * malloc/arena.c (arena_get2): Don't call reused_arena when
9946 _int_new_arena failed.
9947
6abf3465
UD
99482011-11-14 Ulrich Drepper <drepper@gmail.com>
9949
9950 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9951 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9952 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9953 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9954 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9955 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9956 to compile strcasecmp and strncasecmp.
9957 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9958 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9959
9960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9961
76e3966e
UD
99622011-11-13 Ulrich Drepper <drepper@gmail.com>
9963
9964 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9965 locale-defines.sym to gen-as-const-headers.
9966 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9967 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9969 to compile strcasecmp and strncasecmp.
9970 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9971 strcasecmp_l and strncasecmp_l.
9972 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9973 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9974 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9975 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9976 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9977 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9978 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9979 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9980 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9981 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9982 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9983
ab26144e
UD
99842011-11-12 Ulrich Drepper <drepper@gmail.com>
9985
7edb22ef
UD
9986 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9987 result of SYSDEP_GETTIME_CPU to retval.
9988 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9989 parameter list to macro. Remove trailing semicolon. Adjust users.
9990
9694fc44
UD
9991 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9992 variable.
9993
8ad89ef8
UD
9994 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9995 mantissa words.
9996 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9997
0c822ef9
UD
9998 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9999 from unused variable.
10000
874e0564
UD
10001 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10002 DWARF definitions.
10003 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10004 for assembling.
10005
3a2edc79
UD
10006 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10007 over namespaces.
10008
f3c2577f
UD
10009 * sunrpc/rpc_prot.c (rejected): Fix case value.
10010
294ce126
UD
10011 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10012 unsigned long long int to avoid warnings in shift.
10013
5e2b63c6
UD
10014 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10015 of use of trans.
10016 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10017 variable tmp.
10018
e7f4b08e
UD
10019 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10020 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10021 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10022
ab26144e
UD
10023 * nis/nis_table.c (nis_list): Use variable of correct type for
10024 result of __follow_path call.
10025
8a6d5255
AZ
100262011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10027
10028 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10029 of math functions ceil, trunc, floor, round, and sqrt, when
10030 avaliable on the platform.
10031 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10032 name clash.
10033 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10034 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10035 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10036
aaddc98c
MP
100372011-10-30 Marek Polacek <mpolacek@redhat.com>
10038
10039 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10040 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10041
95b7042b
RM
100422011-11-11 Roland McGrath <roland@hack.frob.com>
10043
10044 * include/unistd.h: Fix __readlink return type.
10045 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10046
57769839
UD
100472011-11-11 Ulrich Drepper <drepper@gmail.com>
10048
10049 * stdlib/ucontext.h: Undo last change for makecontext.
10050
edc5984d
AS
100512011-11-11 Andreas Schwab <schwab@redhat.com>
10052
98591e58
AS
10053 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10054
edc5984d
AS
10055 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10056 * setjmp/setjmp.h: Mark functions as non-leaf.
10057 * setjmp/bits/setjmp2.h: Likewise.
10058 * stdlib/ucontext.h: Likewise.
10059
77cdc054
AS
100602011-11-10 Andreas Schwab <schwab@redhat.com>
10061
10062 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10063 (reused_arena): Don't check arena limit.
10064 (arena_get2): Atomically check arena limit.
10065
fe72eebd
UD
100662011-11-08 Ulrich Drepper <drepper@gmail.com>
10067
5f078c32
UD
10068 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10069 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10070
fe72eebd
UD
10071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10072 instructions.
10073
ae1bc2fa
AS
100742011-11-07 Andreas Schwab <schwab@redhat.com>
10075
7583a88d
AS
10076 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10077 handler when locking.
10078
ae1bc2fa
AS
10079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10080 Fix size of allocated buffer.
10081
10fb0bfa
AS
100822011-11-04 Andreas Schwab <schwab@redhat.com>
10083
998832a4
AS
10084 [BZ #10103]
10085 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10086 declarations for long double functions.
10087 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10088
10fb0bfa
AS
10089 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10090
3d7ba52b
AS
100912011-11-03 Andreas Schwab <schwab@redhat.com>
10092
a9ae54a1
AS
10093 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10094 installed.
10095
3d7ba52b
AS
10096 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10097 is disabled.
10098
bc8db248
ST
100992011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10100
10101 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10102
45b96dd6
AS
101032011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10104
647776f6
AS
10105 * include/alloca.h (stackinfo_alloca_round): Define.
10106 (extend_alloca): Use it.
10107 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10108 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10109 here.
10110
d91a8b93
AS
10111 * scripts/check-local-headers.sh: Ignore libaudit.h.
10112
45b96dd6
AS
10113 * nscd/Makefile (extra-objs): Make recursively expanded.
10114
432d41ce
UD
101152011-11-01 Ulrich Drepper <drepper@gmail.com>
10116
34372fc6
UD
10117 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10118 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10119
fadb59f8
UD
10120 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10121 * posix/tst-rfc3484-2.c: Likewise.
10122 * posix/tst-rfc3484-3.c: Likewise.
10123
78239589
UD
10124 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10125 process_vm_writev.
10126 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10127 process_vm_writev.
10128 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10129 process_vm_writev from libc using GLIBC_2.15 version.
10130
432d41ce
UD
10131 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10132
02f9c6cf
PP
101332011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10134
10135 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10136 stack usage.
10137
3a2c0242
UD
101382011-10-31 Ulrich Drepper <drepper@gmail.com>
10139
f4ec4833
UD
10140 [BZ #13367]
10141 * nss/getent.c (initgroups_keys): Show error message in case no group
10142 names are given.
10143
3a2c0242
UD
10144 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10145 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10146 __bump_nl_timestamp.
10147 * nscd/connections (nscd_init): When host database is served open
10148 netlink socket and request notification about configuration changes.
10149 (main_loop_poll): Track netlink file descriptor and bump timestamp
10150 in case data becomes available.
10151 (main_loop_epoll): Likewise.
10152 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10153 (database_pers_head): Add extra_data fileds.
10154 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10155 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10156 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10157 Adjust caller.
10158 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10159 in6ai data, call __free_in6ai.
10160 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10161 Add -DHAVE_NETLINK.
10162 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10163 interface information. Reuse previous data if netlink timestamp
10164 is not changed.
10165 (__bump_nl_timestamp): New function.
10166 (__free_in6ai): New function.
10167
636064eb
UD
101682011-10-30 Ulrich Drepper <drepper@gmail.com>
10169
10170 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10171 close_not_cancel_no_status here.
10172 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10173
9beb2334
UD
101742011-10-29 Ulrich Drepper <drepper@gmail.com>
10175
6ef76f3b
UD
10176 [BZ #13276]
10177 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10178 return value.
10179
0ffc4f3e 10180 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10181 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10182 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10183
cb95113e
UD
101842011-07-03 Andreas Jaeger <aj@suse.de>
10185
10186 [BZ #10709]
10187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10188 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10189 * math/libm-test.inc (sin_test): Add test case.
10190
a1b560ff
UD
101912011-10-29 Ulrich Drepper <drepper@gmail.com>
10192
c9aaface
UD
10193 [BZ #13337]
10194 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10195 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10196
d272e7f1
UD
10197 * elf/chroot_canon.c (chroot_canon): Cleanups.
10198
1bc33071
UD
10199 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10200
1760874d
TJ
10201 [BZ #13335]
10202 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10203 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10204
51d91b18
UD
10205 * string/test-strchr.c: Make usable for strchrnul testing.
10206 * string/test-strchrnul.c: New file.
10207 * string/Makefile (strop-tests): Add strchrnul.
10208
a1b560ff 10209 * po/it.po: Update from translation team.
b611fb81 10210 * po/es.po: Likewise.
a1b560ff 10211
a5b81e1f
UD
102122011-10-28 Ulrich Drepper <drepper@gmail.com>
10213
fd52bc6d
UD
10214 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10215 the three constants needed as parameters. Drop the others.
10216 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10217 __m128i_strloadu_tolower.
52e4b9eb
UD
10218 Create and initialize variable zero and use it in all the places
10219 where _mm_setzero_si128 was used.
fd52bc6d 10220
a5b81e1f
UD
10221 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10222 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10223 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10224 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10225 anymore.
10226 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10227 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10228 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10229 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10230 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10231 __mpranred, __mptan.
10232 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10233 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10234 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10235 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10236 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10237 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10238 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10239 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10240 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10241
b4343346
AS
102422011-10-28 Andreas Schwab <schwab@redhat.com>
10243
0c92d8a8
AS
10244 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10245 redefine if SHARED.
10246 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10247
b4343346
AS
10248 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10249 wide char related routines to wcsmbs subdir.
10250
3871f58f
AS
102512011-10-27 Andreas Schwab <schwab@redhat.com>
10252
10253 [BZ #13344]
10254 * misc/sys/cdefs.h (__THROWNL): Define.
10255 * posix/unistd.h: Use __THREADNL instead of __THREAD
10256 for memory synchronization functions.
10257
94d44d9f
RM
102582011-10-26 Roland McGrath <roland@hack.frob.com>
10259
21b64b15 10260 [BZ #13349]
94d44d9f
RM
10261 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10262 doesn't exist.
10263 * manual/stdio.texi (Obstack Streams): Node removed.
10264
f6ce9294
AS
102652011-10-26 Andreas Schwab <schwab@redhat.com>
10266
80479147
AS
10267 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10268 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10269 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10270
f6ce9294
AS
10271 * math/math_private.h (math_force_eval): Allow non-addressable
10272 arguments.
10273 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10274
618280a1
UD
102752011-10-25 Ulrich Drepper <drepper@gmail.com>
10276
e0016b11
UD
10277 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10278 file is not needed.
10279
10280 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10281 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10282 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10283 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10284 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10285 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10286 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10287 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10288 Add AVX variants.
10289 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10290 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10291 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10292 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10293 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10294 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10295 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10296 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10297 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10298 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10299 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10300 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10301 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10302 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10303 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10304 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10305 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10306 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10307 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10308
10309 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10310 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10311
618280a1
UD
10312 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10313 place. Use VEX encoding when compiling for AVX.
10314
37822576
AS
103152011-10-25 Andreas Schwab <schwab@redhat.com>
10316
1f1e1947
AS
10317 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10318 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10319
37822576
AS
10320 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10321
31ea014d
UD
103222011-10-25 Ulrich Drepper <drepper@gmail.com>
10323
d7826aa1 10324 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10325 useless if() expression.
d7826aa1
UD
10326 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10327 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10328 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10329 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10330 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10331 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10332 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10333 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10334 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10336 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10337 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10338 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10339 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10340 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10341 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10342 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10344 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10345
31ea014d
UD
10346 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10347
16437fec
AS
103482011-10-25 Andreas Schwab <schwab@redhat.com>
10349
10350 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10351 condition.
10352 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10353
31d3cc00
UD
103542011-10-25 Ulrich Drepper <drepper@gmail.com>
10355
10356 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10357 .text section. Avoid duplicate constants.
10358 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10366 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10367 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10368 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10370 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10373 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10375 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10381 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10382 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10383 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10384 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10385 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10386 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10387 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10388 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10389 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10390 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10391 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10392 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10393 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10394 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10395 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10396 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10397 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10398 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10399 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10400 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10401 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10402 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10403
58985aa9
UD
104042011-10-24 Ulrich Drepper <drepper@gmail.com>
10405
202c9deb
UD
10406 * sysdeps/x86_64/dla.h: Move to ...
10407 * sysdeps/x86_64/fpu/dla.h: ...here.
10408 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10409 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10410
af968f62
UD
10411 * config.make.in: Add have-mfma4 entry.
10412 * configure.in: Substitute libc_cv_cc_fma4.
10413 * math/Makefile (dbl-only-routines): Add sincostab.
10414 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10415 Use __sincostab not sincos.
10416 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10417 name is a macro.
10418 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10422 using __copysign.
10423 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10424 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10425 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10426 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10427 and __inv.
10428 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10429 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10430 __copysign.
10431 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10432 define aliases when function name is a macro.
10433 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10434 sysdeps/ieee754/dbl-64/sincos.tbl.
10435 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10436 fma4-enabled routines.
10437 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10438 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10439 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10440 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10441 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10442 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10443 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10444 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10445 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10446 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10447 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10448 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10449 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10450 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10451 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10452 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10453 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10454 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10455 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10456 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10457 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10458 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10459 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10460 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10461 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10462 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10463 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10464 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10465 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10466 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10467
58985aa9
UD
10468 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10469 rename.
10470 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10478
a201fbcf
AS
104792011-10-24 Andreas Schwab <schwab@redhat.com>
10480
10481 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10482
fc2ee42a
LD
104832011-10-23 Ulrich Drepper <drepper@gmail.com>
10484
bb3129bd
UD
10485 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10486
0275fff8
UD
10487 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10488 prediction.
10489 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10490
2fa2ae85
UD
10491 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10492 Remove unused variable magic_bits.
10493 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10494
fc2ee42a
LD
10495 * string/strnlen.c: Define and use STRNLEN macro.
10496 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10497 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10498 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10499 * wcsmbs/wcslen.c: Define and use WCSLEN.
10500 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10501 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10502 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10503 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10504 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10505 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10506 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10507
ce7dd29f
LD
105082011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10509
10510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10511 strnlen-sse2-no-bsf.
10512 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10513 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10514 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10515 Add strnlen support.
10516 (USE_AS_STRNLEN): New macro.
10517 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10518 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10519 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10520 * sysdeps/x86_64/wcslen.S: New file.
10521
979c70a3
MZ
105222011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10523
10524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10525 XMM-moves are used for copying on small sizes.
10526
2d09f82f
LD
105272011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10528
10529 * wcsmbs/Makefile (strop-tests): Add wcschr.
10530 * wcsmbs/test-wcschr.c: New file.
10531 * string/test-strchr.c: Update.
10532 Add wcschr support.
10533 (WIDE): New macro.
10534
619fccca
LD
105352011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10536
2d09f82f 10537 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10538 * wcsmbs/test-wcslen.c: New file.
10539 * string/test-strlen.c: Update.
10540 Add wcslen support.
10541 (WIDE): New macro.
10542
09f699ea
UD
105432011-10-23 Ulrich Drepper <drepper@gmail.com>
10544
10545 * po/it.po: Update from translation team.
10546
95584d3b
LD
105472011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10548
10549 * sysdeps/x86_64/wcscmp.S: Update.
10550 Fix wrong comparison semantics.
10551 wcscmp shall use signed comparison not unsigned.
10552 Don't use substraction to avoid overflow bug.
10553 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10554 * wcsmbc/wcscmp.c: Likewise.
10555 * string/test-strcmp.c: Likewise.
10556 Add new tests to check cases with negative values.
10557
c8b3296b
UD
105582011-10-23 Ulrich Drepper <drepper@gmail.com>
10559
10560 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10561 * sysdeps/x86_64/dla.h: ...here. New file.
10562 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10567 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10571
246ad57a
AS
105722011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10573
10574 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10575 __ynl_finite aliases.
10576
a1a87169
UD
105772011-10-22 Ulrich Drepper <drepper@gmail.com>
10578
0d355eb7
UD
10579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10580
a1a87169
UD
10581 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10582 define DLA_FMA.
10583 [DLA_FMA] (EMULV): Use DLA_FMA.
10584 [DLA_FMA] (MUL12): Use EMULV.
10585 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10586 that are not needed.
10587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10592 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10594
ee2aafe0
AS
105952011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10596
10597 * math/s_nan.c: Undef __nan.
10598 * math/s_nanf.c: Undef __nanf.
10599 * math/s_nanl.c: Undef __nanl.
10600 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10601 "math_private.h".
10602
bc62c2fb
UD
106032011-10-22 Ulrich Drepper <drepper@gmail.com>
10604
77425c63
UD
10605 * math/s_catan.c: Add branch predictions.
10606 * math/s_catanf.c: Likewise.
10607 * math/s_catanh.c: Likewise.
10608 * math/s_catanhf.c: Likewise.
10609 * math/s_catanhl.c: Likewise.
10610 * math/s_catanl.c: Likewise.
10611 * math/s_cexp.c: Likewise.
10612 * math/s_cexpf.c: Likewise.
10613 * math/s_cexpl.c: Likewise.
10614 * math/s_clog.c: Likewise.
10615 * math/s_clog10.c: Likewise.
10616 * math/s_clog10f.c: Likewise.
10617 * math/s_clog10l.c: Likewise.
10618 * math/s_clogf.c: Likewise.
10619 * math/s_clogl.c: Likewise.
10620 * math/s_csqrt.c: Likewise.
10621 * math/s_csqrtf.c: Likewise.
10622 * math/s_csqrtl.c: Likewise.
10623 * math/s_ctanf.c: Likewise.
10624 * math/s_ctanh.c: Likewise.
10625 * math/s_ctanhf.c: Likewise.
10626 * math/s_ctanhl.c: Likewise.
10627 * math/s_ctanl.c: Likewise.
10628
bc62c2fb
UD
10629 * math/math_private.h: Define __nan, __nanf, __nanl.
10630 * math/s_cacosh.c: Include <math_private.h>.
10631 * math/s_cacoshl.c: Likewise.
10632 * math/s_casinh.c: Likewise.
10633 * math/s_casinhf.c: Likewise.
10634 * math/s_casinhl.c: Likewise.
10635 * math/s_ccos.c: Rely entire on ccosh.
10636 * math/s_ccosf.c: Rely entire on ccoshf.
10637 * math/s_ccosl.c: Rely entirely on ccoshl.
10638 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10639 Remove tests for FE_INVALID.
10640 * math/s_ccoshf.c: Likewise.
10641 * math/s_ccoshl.c: Likewise.
10642 * math/s_csin.c: Likewise.
10643 * math/s_csinf.c: Likewise.
10644 * math/s_csinh.c Likewise.
10645 * math/s_csinhf.c: Likewise.
10646 * math/s_csinhl.c: Likewise.
10647 * math/s_csinl.c: Likewise.
10648 * math/s_ctan.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10650 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10651 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10652
8ec250a4
UD
106532011-10-21 Ulrich Drepper <drepper@gmail.com>
10654
c196fed8
UD
10655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10656 compilation problems.
10657
8ec250a4
UD
10658 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10659 __builtin_expect.
10660
8d4f46c6
UD
106612011-10-20 Ulrich Drepper <drepper@gmail.com>
10662
ed72b654
UD
10663 * sysdeps/i386/configure.in: Test for -mfma4 option.
10664 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10665 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10666 COMMON_CPUID_INDEX_80000001.
10667 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10668 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10669 use it if FMA3 is not supported.
10670 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10671
8d4f46c6
UD
10672 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10673 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10674
d45c60c2
AS
106752011-10-20 Andreas Schwab <schwab@redhat.com>
10676
10677 [BZ #12892]
10678 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10679 it would create a cycle with a link time dependency.
10680
d9a4d2ab
UD
106812011-10-19 Ulrich Drepper <drepper@gmail.com>
10682
855d1560
UD
10683 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10684 instruction.
10685 * string/Makefile (strop-tests): Add rawmemchr.
10686 * string/test-rawmemchr.c: New file.
10687
d9a4d2ab
UD
10688 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10689 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10690 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10691 when compiling str{,n}casecmp and when AVX is available. Hook up
10692 new optimized code in initializers.
10693
8f3b1ffe
AS
106942011-10-19 Andreas Schwab <schwab@redhat.com>
10695
10696 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10697 __feraiseexcept instead of feraiseexcept.
10698
d38f1dba
UD
106992011-10-18 Ulrich Drepper <drepper@gmail.com>
10700
d9a8d0ab
UD
10701 * math/math_private.h: Define defaults for libc_fetestexcept and
10702 libc_feupdateenv.
10703 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10704 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10705 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10706 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10707 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10708 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10709 libc_fetestexcept and libc_feupdateenv.
10710
4855e3dd
UD
10711 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10712 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10713 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10714 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10715 libc_feholdexcept_setround.
10716
581d30e3
UD
10717 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10718 Add s_nearbyint-c and s_nearbyintf-c.
10719 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10720 nearbyintf inlines.
10721 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10722 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10723 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10724 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10725
d38f1dba
UD
10726 * math/math_private.h: Define defaults for libc_fegetround,
10727 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10728 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10729 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10730 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10731 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10732 standard functions.
10733 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10734 Remove comments and hacks for old compiler versions.
10735 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10736 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10737 libc_feholdexceptl.
10738
caa6c9d8
AS
107392011-10-18 Andreas Schwab <schwab@redhat.com>
10740
10741 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10742 (__feraiseexcept_renamed): Add __NTH.
10743 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10744 namespace violations.
10745
97c066e6
UD
107462011-10-17 Ulrich Drepper <drepper@gmail.com>
10747
99ce7b04
UD
10748 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10749
1004d182
UD
10750 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10751
228a984d
UD
10752 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10753 recently added interfaces.
10754 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10755
c8553a6a
UD
10756 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10757 about macro parameter expansion.
10758
ed22dcf6
UD
10759 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10760 __NO_MATH_INLINES is defined. Cleanups.
10761
10762 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10763 and __floorf is target has SSE4.1.
10764 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10765 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10766 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10767 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10768
b171c137
UD
10769 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10770 name.
10771 (floorf): Likewise.
10772
97c066e6
UD
10773 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10774
629f62ef
AS
107752011-10-17 Andreas Schwab <schwab@redhat.com>
10776
49a43d80
AS
10777 * misc/sys/cdefs.h: Fix last change.
10778
629f62ef
AS
10779 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10780 database lookup.
10781
e453f6cd
UD
107822011-10-16 Ulrich Drepper <drepper@gmail.com>
10783
aa78043a
UD
10784 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10785
ad0f5cad
UD
10786 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10787 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10792 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10793 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10794 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10795 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10796 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10797 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10798 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10799 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10800 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10801 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10802 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10803 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10804 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10805 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10806 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10807 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10808
10809 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10810 ceil, ceilf, floor, floorf.
10811
10812 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10813 Perform IRELATIVE relocations last.
10814
e453f6cd
UD
10815 * elf/do-rel.h: Add another parameter nrelative, replacing the
10816 local variable with the same name. Change name of the function
10817 to end in Rel or Rela (uppercase).
10818 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10819 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10820 elf_dynamic_do_##reloc function.
10821
fd5bdc09
UD
108222011-10-15 Ulrich Drepper <drepper@gmail.com>
10823
79b195b5
UD
10824 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10825 is sufficient, at least on modern CPUs.
10826
d4a28569
UD
10827 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10828
b61099b5
UD
10829 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10830 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10831
bcf01e6d
UD
10832 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10833 __expl_finite.
10834 * math/bits/math-finite.h: Add entries for exp.
10835 * math/e_expl.c: Add __*_finite alias.
10836 * sysdeps/i386/fpu/e_exp.S: Likewise.
10837 * sysdeps/i386/fpu/e_expf.S: Likewise.
10838 * sysdeps/i386/fpu/e_expl.c: Likewise.
10839 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10840 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10841 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10843 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10844 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10845 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10846
ba1a0d59
UD
10847 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10848 is sufficient, at least on modern CPUs.
10849
fd5bdc09
UD
10850 * ctype/ctype-info.c (__ctype_init): Define.
10851 * include/ctype.h (__ctype_init): Declare.
10852 (__ctype_b_loc): The variable is always initialized.
10853 (__ctype_toupper_loc): Likewise.
10854 (__ctype_tolower_loc): Likewise.
10855 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10856 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10857
7872cfb0
AS
108582011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10859
b468825a
AS
10860 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10861
7872cfb0
AS
10862 * configure.in: Also look in $cxxmachine/include for C++ system
10863 headers.
10864
be13f7bf
LD
108652011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10866
10867 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10868 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10869 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10870 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10871 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10872 (USE_AS_WMEMCMP): New macro.
10873 Fixing indents.
10874 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10875 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10876 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10877 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10879 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10880 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10881 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10882 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10883 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10884 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10885 (USE_AS_WMEMCMP): New macro.
10886 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10887 * sysdeps/string/test-memcmp.c: Update.
10888 Fix simple_wmemcmp.
10889 Add new tests.
10890 * wcsmbs/wmemcmp.c: Update.
10891 (WMEMCMP): New macro.
10892 Fix overflow bug.
10893
556a2007
AJ
108942011-10-12 Andreas Jaeger <aj@suse.de>
10895
10896 [BZ #13268]
10897 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10898
538faaa7
UD
108992011-10-15 Ulrich Drepper <drepper@gmail.com>
10900
ab6737ff
UD
10901 * libio/iofwide.c (do_length): Avoid warning.
10902
538faaa7
UD
10903 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10904
396a21b1
UD
109052011-10-14 Ulrich Drepper <drepper@gmail.com>
10906
cdf2901f
UD
10907 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10908
38ad40ce
UD
10909 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10910 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10911 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10912 * sysdeps/i386/i686/fpu/e_log.S: New file.
10913 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10914 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10915
396a21b1
UD
10916 * ctype/ctype.h: Add support for inlined isXXX functions when
10917 compiling C++ code.
10918
6b1f68c9
AS
109192011-10-14 Andreas Schwab <schwab@redhat.com>
10920
349290c0
AS
10921 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10922
6b1f68c9
AS
10923 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10924
f2282d42
RM
109252011-10-13 Roland McGrath <roland@hack.frob.com>
10926
10927 [BZ #13291]
10928 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10929
5298ffa8
AS
109302011-10-13 Andreas Schwab <schwab@redhat.com>
10931
714fad23
AS
10932 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10933 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10934 feraiseexcept.
10935
81dcc7fb
AS
10936 * sysdeps/x86_64/memrchr.S: Check for zero size.
10937
5298ffa8
AS
10938 * string/stratcliff.c: Add memrchr tests.
10939
951fbcec
LD
109402011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10941
10942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10943 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10944 rawmemchr-sse2 rawmemchr-sse2-bsf.
10945 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10946 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10947 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10948 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10949 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10950 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10951 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10952 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10953 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10954 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10955 * string/memrchr.c (MEMRCHR): New macro.
10956
0ac5ae23
UD
109572011-10-12 Ulrich Drepper <drepper@gmail.com>
10958
10959 Add integration with gcc's -ffinite-math-only and optimize wrapper
10960 functions in libm.
10961 * Versions.def: Define GLIBC_2.15 version for libm.
10962 * math/Makefile (headers): Add bits/math-finite.h.
10963 * math/bits/math-finite.h: New file.
10964 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10965 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10966 * math/e_acoshl.c: Add __*_finite alias.
10967 * math/e_acosl.c: Likewise.
10968 * math/e_asinl.c: Likewise.
10969 * math/e_atan2l.c: Likewise.
10970 * math/e_atanhl.c: Likewise.
10971 * math/e_coshl.c: Likewise.
10972 * math/e_exp10.c: Likewise.
10973 * math/e_exp10f.c: Likewise.
10974 * math/e_exp10l.c: Likewise.
10975 * math/e_exp2l.c: Likewise.
10976 * math/e_fmodl.c: Likewise.
10977 * math/e_gammal_r.c: Likewise.
10978 * math/e_hypotl.c: Likewise.
10979 * math/e_j0l.c: Likewise.
10980 * math/e_j1l.c: Likewise.
10981 * math/e_jnl.c: Likewise.
10982 * math/e_lgammal_r.c: Likewise.
10983 * math/e_log10l.c: Likewise.
10984 * math/e_log2l.c: Likewise.
10985 * math/e_logl.c: Likewise.
10986 * math/e_powl.c: Likewise.
10987 * math/e_sinhl.c: Likewise.
10988 * math/e_sqrtl.c: Likewise.
10989 * math/e_scalb.c: Completely rewritten and optimized.
10990 * math/e_scalbf.c: Likewise.
10991 * math/e_scalbl.c: Likewise.
10992 * math/w_acos.c: Likewise.
10993 * math/w_acosf.c: Likewise.
10994 * math/w_acosl.c: Likewise.
10995 * math/w_acosh.c: Likewise.
10996 * math/w_acoshf.c: Likewise.
10997 * math/w_acoshl.c: Likewise.
10998 * math/w_asin.c: Likewise.
10999 * math/w_asinf.c: Likewise.
11000 * math/w_asinl.c: Likewise.
11001 * math/w_atan2.c: Likewise.
11002 * math/w_atan2f.c: Likewise.
11003 * math/w_atan2l.c: Likewise.
11004 * math/w_atanh.c: Likewise.
11005 * math/w_atanhf.c: Likewise.
11006 * math/w_atanhl.c: Likewise.
11007 * math/w_exp10.c: Likewise.
11008 * math/w_exp10f.c: Likewise.
11009 * math/w_exp10l.c: Likewise.
11010 * math/w_fmod.c: Likewise.
11011 * math/w_fmodf.c: Likewise.
11012 * math/w_fmodl.c: Likewise.
11013 * math/w_j0.c: Likewise.
11014 * math/w_j0f.c: Likewise.
11015 * math/w_j0l.c: Likewise.
11016 * math/w_j1.c: Likewise.
11017 * math/w_j1f.c: Likewise.
11018 * math/w_j1l.c: Likewise.
11019 * math/w_jn.c: Likewise.
11020 * math/w_jnf.c: Likewise.
11021 * math/w_log.c: Likewise.
11022 * math/w_logf.c: Likewise.
11023 * math/w_logl.c: Likewise.
11024 * math/w_log10.c: Likewise.
11025 * math/w_log10f.c: Likewise.
11026 * math/w_log10l.c: Likewise.
11027 * math/w_log2.c: Likewise.
11028 * math/w_log2f.c: Likewise.
11029 * math/w_log2l.c: Likewise.
11030 * math/w_pow.c: Likewise.
11031 * math/w_powf.c: Likewise.
11032 * math/w_powl.c: Likewise.
11033 * math/w_remainder.c: Likewise.
11034 * math/w_remainderf.c: Likewise.
11035 * math/w_remainderl.c: Likewise.
11036 * math/w_scalb.c: Likewise.
11037 * math/w_scalbf.c: Likewise.
11038 * math/w_scalbl.c: Likewise.
11039 * math/w_sqrt.c: Likewise.
11040 * math/w_sqrtf.c: Likewise.
11041 * math/w_sqrtl.c: Likewise.
11042 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11043 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11044 used.
11045 * math/math_private.h: Declare __kernel_standard_f.
11046 * math/w_cosh.c: Remove cruft and optimize a bit.
11047 * math/w_coshf.c: Likewise.
11048 * math/w_coshl.c: Likewise.
11049 * math/w_exp2.c: Likewise.
11050 * math/w_exp2f.c: Likewise.
11051 * math/w_exp2l.c: Likewise.
11052 * math/w_hypot.c: Likewise.
11053 * math/w_hypotf.c: Likewise.
11054 * math/w_hypotl.c: Likewise.
11055 * math/w_lgamma.c: Likewise.
11056 * math/w_lgamma_r.c: Likewise.
11057 * math/w_lgammaf.c: Likewise.
11058 * math/w_lgammaf_r.c: Likewise.
11059 * math/w_lgammal.c: Likewise.
11060 * math/w_lgammal_r.c: Likewise.
11061 * math/w_sinh.c: Likewise.
11062 * math/w_sinhf.c: Likewise.
11063 * math/w_sinhl.c: Likewise.
11064 * math/w_tgamma.c: Likewise.
11065 * math/w_tgammaf.c: Likewise.
11066 * math/w_tgammal.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11068 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11069 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11070 Minor optimizations. Pretty printing. Remove cruft.
11071 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11072 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11073 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11074 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11075 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11076 * sysdeps/i386/fpu/e_asin.S: Likewise.
11077 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11078 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11079 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11080 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11081 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11082 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11083 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11084 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11085 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11086 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11087 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11088 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11089 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11090 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11091 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11092 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11093 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11094 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11095 * sysdeps/i386/fpu/e_log.S: Likewise.
11096 * sysdeps/i386/fpu/e_log10.S: Likewise.
11097 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11098 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11099 * sysdeps/i386/fpu/e_log2.S: Likewise.
11100 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11101 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11102 * sysdeps/i386/fpu/e_logf.S: Likewise.
11103 * sysdeps/i386/fpu/e_logl.S: Likewise.
11104 * sysdeps/i386/fpu/e_pow.S: Likewise.
11105 * sysdeps/i386/fpu/e_powf.S: Likewise.
11106 * sysdeps/i386/fpu/e_powl.S: Likewise.
11107 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11108 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11109 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11110 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11111 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11112 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11113 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11114 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11115 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11116 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11117 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11127 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11128 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11129 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11130 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11132 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11133 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11134 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11135 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11136 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11137 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11138 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11139 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11140 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11141 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11142 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11143 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11144 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11145 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11146 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11147 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11148 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11149 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11150 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11151 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11152 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11153 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11154 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11155 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11156 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11157 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11173 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11181 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11185 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11187 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11188 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11193 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11196 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11199 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11201 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11202 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11204 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11207 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11208 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11209 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11210 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11211 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11212 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11213 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11214 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11215 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11216 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11217 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11218 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11219 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11220 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11221 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11222 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11223 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11224 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11225 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11226 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11227 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11228 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11229 (__isnanf): Likewise.
11230 (__isinf_ns): Likewise.
11231 (__isinf_nsf): Likewise.
11232 (__finite): Likewise.
11233 (__finitef): Likewise.
11234 (__ieee754_sqrt): Define as macro.
11235 (__ieee754_sqrtf): Define as macro.
11236 (__ieee754_sqrtl): Define as macro.
11237 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11238 inlined copy.
11239 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11240 __FINITE_MATH_ONLY__ consistent.
11241 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11242
12cc2fcd
AS
112432011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11244
a843a204
AS
11245 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11246 of rawmemchr.
11247
12cc2fcd
AS
11248 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11249
c853acd5
UD
112502011-10-09 Ulrich Drepper <drepper@gmail.com>
11251
11252 * po/ja.po: Update from translation team.
11253
c658d255
RM
112542011-10-08 Roland McGrath <roland@hack.frob.com>
11255
110946e4
RM
11256 * locale/programs/locarchive.c (prepare_address_space): New function.
11257 (create_archive, enlarge_archive, open_archive): Use it.
11258
50604220
RM
11259 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11260 inside [SHARED], where it is used.
11261
c658d255
RM
11262 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11263
11264 * nss/getent.c (netgroup_keys): Remove unused variable.
11265 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11266
6a621eb7
UD
112672011-10-08 Ulrich Drepper <drepper@gmail.com>
11268
7edb55ce
UD
11269 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11270 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11272 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11273 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11274 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11275 * math/Makefile (libm-calls): Add s_isinf_ns.
11276 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11277 * math/multc3.c: Likewise.
11278 * math/s_casin.c: Likewise.
11279 * math/s_casinf.c: Likewise.
11280 * math/s_casinl.c: Likewise.
11281 * math/s_ccos.c: Likewise.
11282 * math/s_ccosf.c: Likewise.
11283 * math/s_ccosl.c: Likewise.
11284 * math/s_ctan.c: Likewise.
11285 * math/s_ctanf.c: Likewise.
11286 * math/s_ctanh.c: Likewise.
11287 * math/s_ctanhf.c: Likewise.
11288 * math/s_ctanhl.c: Likewise.
11289 * math/s_ctanl.c: Likewise.
11290 * math/w_fmod.c: Likewise.
11291 * math/w_fmodf.c: Likewise.
11292 * math/w_fmodl.c: Likewise.
11293 * math/w_remainder.c: Likewise.
11294 * math/w_remainderf.c: Likewise.
11295 * math/w_remainderl.c: Likewise.
11296 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11297 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11298 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11300 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11301 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11302 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11303 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11304
187da0ae
UD
11305 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11306 of the number.
11307 * stdio-common/printf_fphex.c: Likewise.
11308 * stdio-common/printf_size.c: Likewise.
11309
9277c064
UD
11310 * math/e_exp10.c: Include math_private.h using <...> not "...".
11311 * math/e_exp10f.c: Likewise.
11312 * math/e_exp10l.c: Likewise.
11313 * math/e_exp2l.c: Likewise.
11314 * math/e_j0l.c: Likewise.
11315 * math/e_j1l.c: Likewise.
11316 * math/e_jnl.c: Likewise.
11317 * math/e_lgammal_r.c: Likewise.
11318 * math/e_rem_pio2l.c: Likewise.
11319 * math/e_scalb.c: Likewise.
11320 * math/e_scalbf.c: Likewise.
11321 * math/e_scalbl.c: Likewise.
11322 * math/k_cosl.c: Likewise.
11323 * math/k_sinl.c: Likewise.
11324 * math/k_tanl.c: Likewise.
11325 * math/s_cacoshf.c: Likewise.
11326 * math/s_catan.c: Likewise.
11327 * math/s_catanf.c: Likewise.
11328 * math/s_catanh.c: Likewise.
11329 * math/s_catanhf.c: Likewise.
11330 * math/s_catanhl.c: Likewise.
11331 * math/s_catanl.c: Likewise.
11332 * math/s_ccosh.c: Likewise.
11333 * math/s_ccoshf.c: Likewise.
11334 * math/s_ccoshl.c: Likewise.
11335 * math/s_cexp.c: Likewise.
11336 * math/s_cexpf.c: Likewise.
11337 * math/s_cexpl.c: Likewise.
11338 * math/s_clog.c: Likewise.
11339 * math/s_clog10.c: Likewise.
11340 * math/s_clog10f.c: Likewise.
11341 * math/s_clog10l.c: Likewise.
11342 * math/s_clogf.c: Likewise.
11343 * math/s_clogl.c: Likewise.
11344 * math/s_csin.c: Likewise.
11345 * math/s_csinf.c: Likewise.
11346 * math/s_csinh.c: Likewise.
11347 * math/s_csinhf.c: Likewise.
11348 * math/s_csinhl.c: Likewise.
11349 * math/s_csinl.c: Likewise.
11350 * math/s_csqrt.c: Likewise.
11351 * math/s_csqrtf.c: Likewise.
11352 * math/s_csqrtl.c: Likewise.
11353 * math/s_ctan.c: Likewise.
11354 * math/s_ctanf.c: Likewise.
11355 * math/s_ctanh.c: Likewise.
11356 * math/s_ctanhf.c: Likewise.
11357 * math/s_ctanhl.c: Likewise.
11358 * math/s_ctanl.c: Likewise.
11359 * math/s_ldexp.c: Likewise.
11360 * math/s_ldexpf.c: Likewise.
11361 * math/s_ldexpl.c: Likewise.
11362 * math/s_significand.c: Likewise.
11363 * math/s_significandf.c: Likewise.
11364 * math/s_significandl.c: Likewise.
11365 * math/w_acos.c: Likewise.
11366 * math/w_acosf.c: Likewise.
11367 * math/w_acosh.c: Likewise.
11368 * math/w_acoshf.c: Likewise.
11369 * math/w_acoshl.c: Likewise.
11370 * math/w_acosl.c: Likewise.
11371 * math/w_asin.c: Likewise.
11372 * math/w_asinf.c: Likewise.
11373 * math/w_asinl.c: Likewise.
11374 * math/w_atan2.c: Likewise.
11375 * math/w_atan2f.c: Likewise.
11376 * math/w_atan2l.c: Likewise.
11377 * math/w_atanh.c: Likewise.
11378 * math/w_atanhf.c: Likewise.
11379 * math/w_atanhl.c: Likewise.
11380 * math/w_cosh.c: Likewise.
11381 * math/w_coshf.c: Likewise.
11382 * math/w_coshl.c: Likewise.
11383 * math/w_dremf.c: Likewise.
11384 * math/w_exp10.c: Likewise.
11385 * math/w_exp10f.c: Likewise.
11386 * math/w_exp10l.c: Likewise.
11387 * math/w_exp2.c: Likewise.
11388 * math/w_exp2f.c: Likewise.
11389 * math/w_fmod.c: Likewise.
11390 * math/w_fmodf.c: Likewise.
11391 * math/w_fmodl.c: Likewise.
11392 * math/w_hypot.c: Likewise.
11393 * math/w_hypotf.c: Likewise.
11394 * math/w_hypotl.c: Likewise.
11395 * math/w_j0.c: Likewise.
11396 * math/w_j0f.c: Likewise.
11397 * math/w_j0l.c: Likewise.
11398 * math/w_j1.c: Likewise.
11399 * math/w_j1f.c: Likewise.
11400 * math/w_j1l.c: Likewise.
11401 * math/w_jn.c: Likewise.
11402 * math/w_jnf.c: Likewise.
11403 * math/w_jnl.c: Likewise.
11404 * math/w_lgamma.c: Likewise.
11405 * math/w_lgamma_r.c: Likewise.
11406 * math/w_lgammaf.c: Likewise.
11407 * math/w_lgammaf_r.c: Likewise.
11408 * math/w_lgammal.c: Likewise.
11409 * math/w_lgammal_r.c: Likewise.
11410 * math/w_log.c: Likewise.
11411 * math/w_log10.c: Likewise.
11412 * math/w_log10f.c: Likewise.
11413 * math/w_log10l.c: Likewise.
11414 * math/w_log2.c: Likewise.
11415 * math/w_log2f.c: Likewise.
11416 * math/w_log2l.c: Likewise.
11417 * math/w_logf.c: Likewise.
11418 * math/w_logl.c: Likewise.
11419 * math/w_pow.c: Likewise.
11420 * math/w_powf.c: Likewise.
11421 * math/w_powl.c: Likewise.
11422 * math/w_remainder.c: Likewise.
11423 * math/w_remainderf.c: Likewise.
11424 * math/w_remainderl.c: Likewise.
11425 * math/w_scalb.c: Likewise.
11426 * math/w_scalbf.c: Likewise.
11427 * math/w_scalbl.c: Likewise.
11428 * math/w_sinh.c: Likewise.
11429 * math/w_sinhf.c: Likewise.
11430 * math/w_sinhl.c: Likewise.
11431 * math/w_sqrt.c: Likewise.
11432 * math/w_sqrtf.c: Likewise.
11433 * math/w_sqrtl.c: Likewise.
11434 * math/w_tgamma.c: Likewise.
11435 * math/w_tgammaf.c: Likewise.
11436 * math/w_tgammal.c: Likewise.
11437
6a621eb7
UD
11438 * po/ja.po: Update from translation team.
11439
bf582445
AJ
114402011-09-29 Andreas Jaeger <aj@suse.de>
11441
f9efbf3a
AJ
11442 [BZ #13179]
11443 * sunrpc/netname.c (netname2host): Fix logic.
11444
bf582445
AJ
11445 [BZ #6779]
11446 [BZ #6783]
11447 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11448 correctly.
11449 * math/w_remainder.c (__remainder): Likewise.
11450 * math/w_remainderf.c (__remainderf): Likewise.
11451 * math/libm-test.inc (remainder_test): Add test cases.
11452
48693bea
AK
114532011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11454
11455 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11456 sdiv_qrnnd.
11457
42622229
LD
114582011-10-07 Ulrich Drepper <drepper@gmail.com>
11459
11460 * string/test-memcmp.c: Avoid unncessary #defines.
11461 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11462
093ecf92
LD
114632011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11464
11465 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11466 Use new sse2 version for core i3 - i7 as it's faster
11467 than sse42 version.
11468 (bit_Prefer_PMINUB_for_stringop): New.
11469 * sysdeps/x86_64/rawmemchr.S: Update.
11470 Replace with faster SSE2 version.
11471 * sysdeps/x86_64/memrchr.S: New file.
11472 * sysdeps/x86_64/memchr.S: Update.
11473 Replace with faster SSE2 version.
11474
fde56e5c
MP
114752011-09-12 Marek Polacek <mpolacek@redhat.com>
11476
11477 * elf/dl-load.c (lose): Add cast to avoid warning.
11478
21fd49a9
UD
114792011-10-07 Ulrich Drepper <drepper@gmail.com>
11480
5a06e643
UD
11481 * po/ca.po: Update from translation team.
11482
684ae515
UD
11483 * inet/getnetgrent_r.c: Hook up nscd.
11484 * nscd/Makefile (routines): Add nscd_netgroup.
11485 (nscd-modules): Add netgroupcache.
11486 (CFLAGS-netgroupcache.c): Define.
11487 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11488 (cache_search): Add const to second parameter.
11489 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11490 INNETGR.
11491 (dbs): Add netgrdb entry.
11492 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11493 (verify_persistent_db): Handle netgrdb.
11494 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11495 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11496 GETFDNETGR.
11497 (netgroup_response_header): Define.
11498 (innetgroup_response_header): Define.
11499 (datahead): Add netgroup_response_header and innetgroup_response_header
11500 elements.
11501 * nscd/nscd.conf: Add entries for netgroup cache.
11502 * nscd/nscd.h (dbtype): Add netgrdb.
11503 (_PATH_NSCD_NETGROUP_DB): Define.
11504 (netgroup_iov_disabled): Declare.
11505 (xmalloc, xcalloc, xrealloc): Move declarations here.
11506 (cache_search): Adjust prototype.
11507 Add netgroup-related prototypes.
11508 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11509 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11510 (__nscd_innetgr): Declare.
11511 * nscd/selinux.c (perms): Use access_vector_t as element type and
11512 add netgroup-related initializers.
11513 * nscd/netgroupcache.c: New file.
11514 * nscd/nscd_netgroup.c: New file.
11515 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11516 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11517 For four parameters use innetgr.
11518 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11519 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11520 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11521 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11522
21fd49a9
UD
11523 * nscd/connections.c (register_traced_file): Don't register file
11524 for disabled databases.
11525
054c0457
UD
115262011-10-06 Ulrich Drepper <drepper@gmail.com>
11527
32b63198
UD
11528 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11529
054c0457
UD
11530 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11531 from tree and freeing node.
11532
64031225
JO
115332011-09-25 Jiri Olsa <jolsa@redhat.com>
11534
11535 * nss/nsswitch.c (__nss_database_lookup): Handle
11536 nss_parse_service_list out of memory case.
11537
0490345c
JO
115382011-09-15 Jiri Olsa <jolsa@redhat.com>
11539
11540 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11541 out of memory case.
11542
3a62d00d
AS
115432011-10-04 Andreas Schwab <schwab@redhat.com>
11544
11545 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11546 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11547 pass it down.
11548 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11549 elf_machine_rela, elf_machine_lazy_rel.
11550 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11551 (ELF_DYNAMIC_DO_REL): Likewise.
11552 (ELF_DYNAMIC_DO_RELA): Likewise.
11553 (ELF_DYNAMIC_RELOCATE): Likewise.
11554 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11555 to ELF_DYNAMIC_DO_REL.
11556 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11557 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11558 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11559 elf_machine_rela.
11560 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11561 skip_ifunc, don't call ifunc function if non-zero.
11562 (elf_machine_rela): Likewise.
11563 (elf_machine_lazy_rel): Likewise.
11564 (elf_machine_lazy_rela): Likewise.
11565 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11566 (elf_machine_lazy_rel): Likewise.
11567 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11568 Likewise.
11569 (elf_machine_lazy_rel): Likewise.
11570 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11571 Likewise.
11572 (elf_machine_lazy_rel): Likewise.
11573 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11574 (elf_machine_lazy_rel): Likewise.
11575 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11576 (elf_machine_lazy_rel): Likewise.
11577 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11578 (elf_machine_lazy_rel): Likewise.
11579 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11580 (elf_machine_lazy_rel): Likewise.
11581 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11582 (elf_machine_lazy_rel): Likewise.
11583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11584 (elf_machine_lazy_rel): Likewise.
11585
68577918
UD
115862011-09-28 Ulrich Drepper <drepper@gmail.com>
11587
11588 * nss/nss_files/files-init.c (_nss_files_init): Use static
11589 initialization for all the *_traced_file variables.
11590
68822d74
AS
115912011-09-28 Andreas Schwab <schwab@redhat.com>
11592
11593 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11594
2056100b
RM
115952011-09-27 Roland McGrath <roland@hack.frob.com>
11596
11597 [BZ #13226]
11598 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11599
32c76b63
AS
116002011-09-27 Andreas Schwab <schwab@redhat.com>
11601
11602 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11603 Reread the line before reparsing it.
11604
bf972c9d
AS
116052011-09-26 Andreas Schwab <schwab@redhat.com>
11606
11607 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11608
e057a1b5
JM
116092011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11610 Maxim Kuvyrkov <maxim@codesourcery.com>
11611 Joseph Myers <joseph@codesourcery.com>
11612
11613 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11614 if needed for __stack_chk_guard.
11615
bc7e1c36
RM
116162011-09-19 Roland McGrath <roland@hack.frob.com>
11617
ecb1482f
RM
11618 * sysdeps/posix/spawni.c (script_execute): Always define it.
11619 It will be optimized away if unused.
11620 (maybe_script_execute): New function.
11621 (__spawni): Call it.
11622
bc7e1c36
RM
11623 * Makerules: Don't include tls.make.
11624 (config-tls): Always set to thread.
11625 * tls.make.c: File removed.
11626
1c3b002b
MF
116272011-09-19 Mike Frysinger <vapier@gentoo.org>
11628
11629 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11630 * config.make.in (CPPFLAGS-config): New substituted variable.
11631
2840865d
UD
116322011-09-15 Ulrich Drepper <drepper@gmail.com>
11633
88738eb6
UD
11634 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11635
cbf645a6 11636 [BZ #13192]
2840865d
UD
11637 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11638 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11639
b402e91a
RM
116402011-09-15 Roland McGrath <roland@hack.frob.com>
11641
11642 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11643 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11645 (CALL_FAIL): Likewise.
11646 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11647 (CALL_FAIL): Macro removed.
11648 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11649
4c1a1f71
UD
116502011-09-15 Ulrich Drepper <drepper@gmail.com>
11651
11652 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11653 for __FINITE_MATH_ONLY__ == 1.
11654
edc121be
AS
116552011-09-15 Andreas Schwab <schwab@redhat.com>
11656
11657 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11658 __ieee754_sqrt instead of sqrt.
11659 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11660 __ieee754_sqrtf instead of sqrtf.
11661 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11662 __floorf instead of floorf.
11663 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11664 __floorf, __truncf instead of floorf, truncf.
11665
cd205654
UD
116662011-09-14 Ulrich Drepper <drepper@gmail.com>
11667
ee4d0315
UD
11668 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11669
cd205654
UD
11670 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11671 __extern_always_inline.
11672 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11673 32-bit.
11674
48b67d71
AS
116752011-09-14 Andreas Schwab <schwab@redhat.com>
11676
11677 * elf/rtld.c (dl_main): Also relocate in dependency order when
11678 doing symbol dependency testing.
11679
1ae12c75
AS
116802011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11681
11682 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11683 Always define `refsym'.
11684
995a80df
AS
116852011-09-13 Andreas Schwab <schwab@redhat.com>
11686
e529793b
AS
11687 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11688 (__FD_ELT): Renamed from __FDELT.
11689 * misc/bits/select2.h (__FD_ELT): Likewise.
11690 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11691 __FD_MASK instead of __FDELT, __FDMASK.
11692 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11693 Likewise.
11694 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11695 Likewise.
11696
52d4fef8
AS
11697 * elf/Makefile (gen-ldd): Fix pattern.
11698
995a80df
AS
11699 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11700 (init_tls): Likewise.
11701
8682f8b0
UD
117022011-09-12 Ulrich Drepper <drepper@gmail.com>
11703
11704 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11705
de82006d
AS
117062011-09-12 Andreas Schwab <schwab@redhat.com>
11707
a7c8e6a1
AS
11708 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11709 `struct cmsghdr *' instead of `void *'.
11710 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11711 Likewise.
11712
0f31fe77
AS
117132011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11714
11715 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11716 if non-absolute.
11717 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11718 ldd_rewrite_script.
0f31fe77 11719
32b4c839
UD
117202011-09-11 Ulrich Drepper <drepper@gmail.com>
11721
83cd1420
UD
11722 * configure.in: Remove --with-tls option.
11723 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11724 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11725 out in case it is missing.
11726 * sysdeps/ia64/elf/configure.in: Likewise.
11727 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11728 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11729 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11730 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11731 * sysdeps/sh/elf/configure.in: Likewise.
11732 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11733 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11734 * sysdeps/x86_64/elf/configure.in: Likewise.
11735 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11736 * sysdeps/mach/hurd/tls.h: Likewise.
11737
633f745d
UD
11738 [BZ #13067]
11739 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11740
f318beb8
UD
11741 [BZ #13090]
11742 * configure.in: Fix use of AC_INIT.
11743
32b4c839
UD
11744 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11745
3ce1f295
UD
117462011-09-10 Ulrich Drepper <drepper@gmail.com>
11747
bb016596
UD
11748 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11749 __set_errno.
8e58439c
UD
11750 * malloc/hooks.c: Likewise.
11751
aebae053 11752 [BZ #11929]
02d46fc4
UD
11753 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11754 variables statically.
11755 (narenas): Initialize.
11756 (list_lock): Initialize.
bb016596
UD
11757 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11758 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11759 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11760 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11761 Add initializers to main_arena and mp_.
11762 (malloc_state): Remove pagesize member. Change all users to use
11763 GLRO(dl_pagesize).
11764
11765 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11766 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11767 is always initialized.
11768
22a89187
UD
11769 * malloc/malloc.c: Removed unused configurations and dead code.
11770 * malloc/arena.c: Likewise.
11771 * malloc/hooks.c: Likewise.
02d46fc4 11772 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11773
d063d164
UD
11774 * include/tls.h: Removed. USE___THREAD must always be defined.
11775 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11776 * elf/dl-libc.c: Likewise.
11777 * elf/dl-tsd.c: Likewise.
11778 * include/errno.h: Likewise.
11779 * include/netdb.h: Likewise.
11780 * include/resolv.h: Likewise.
11781 * inet/herrno-loc.c: Likewise.
11782 * inet/herrno.c: Likewise.
11783 * malloc/arena.c: Likewise.
11784 * malloc/hooks.c: Likewise.
11785 * malloc/malloc.c: Likewise.
11786 * resolv/res-state.c: Likewise.
11787 * resolv/res_libc.c: Likewise.
11788 * sysdeps/i386/dl-machine.h: Likewise.
11789 * sysdeps/ia64/dl-machine.h: Likewise.
11790 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11791 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11792 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11793 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11794 * sysdeps/sh/dl-machine.h: Likewise.
11795 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11796 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11797 * sysdeps/unix/i386/sysdep.S: Likewise.
11798 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11799 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11800 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11801 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11802 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11803 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11804 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11806 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11808 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11809 * sysdeps/x86_64/dl-machine.h: Likewise.
11810 * tls.make.c: Likewise.
11811
3ce1f295
UD
11812 * configure.in: Remove --with-__thread option. Make tests for
11813 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11814 tls_model attribute fail if no support is available. Remove
11815 USE_IN_LIBIO.
11816 * Makeconfig: Adjust for dropped configure option. All features are
11817 now mandatory.
11818 * Makerules: Likewise.
11819 * Versions.def: Likewise.
11820 * argp/argp-fmtstream.c: Likewise.
11821 * argp/argp-fmtstream.h: Likewise.
11822 * argp/argp-help.c: Likewise.
11823 * assert/assert.c: Likewise.
11824 * config.h.in: Likewise.
11825 * config.make.in: Likewise.
11826 * configure: Likewise.
11827 * configure.in: Likewise.
11828 * csu/Versions: Likewise.
11829 * csu/init.c: Likewise.
11830 * elf/tst-audit2.c: Likewise.
11831 * elf/tst-tls10.c: Likewise.
11832 * elf/tst-tls10.h: Likewise.
11833 * elf/tst-tls11.c: Likewise.
11834 * elf/tst-tls12.c: Likewise.
11835 * elf/tst-tls14.c: Likewise.
11836 * elf/tst-tlsmod11.c: Likewise.
11837 * elf/tst-tlsmod12.c: Likewise.
11838 * elf/tst-tlsmod13.c: Likewise.
11839 * elf/tst-tlsmod13a.c: Likewise.
11840 * elf/tst-tlsmod14a.c: Likewise.
11841 * elf/tst-tlsmod15b.c: Likewise.
11842 * elf/tst-tlsmod16a.c: Likewise.
11843 * elf/tst-tlsmod16b.c: Likewise.
11844 * elf/tst-tlsmod7.c: Likewise.
11845 * elf/tst-tlsmod8.c: Likewise.
11846 * elf/tst-tlsmod9.c: Likewise.
11847 * gmon/gmon.c: Likewise.
11848 * grp/fgetgrent_r.c: Likewise.
11849 * grp/putgrent.c: Likewise.
11850 * hurd/fopenport.c: Likewise.
11851 * include/libc-symbols.h: Likewise.
11852 * include/tls.h: Likewise.
11853 * intl/gettextP.h: Likewise.
11854 * intl/loadinfo.h: Likewise.
11855 * locale/global-locale.c: Likewise.
11856 * locale/localeinfo.h: Likewise.
11857 * mach/devstream.c: Likewise.
11858 * malloc/arena.c: Likewise.
11859 * malloc/set-freeres.c: Likewise.
11860 * misc/err.c: Likewise.
11861 * misc/getttyent.c: Likewise.
11862 * misc/mntent_r.c: Likewise.
11863 * posix/getopt.c: Likewise.
11864 * posix/wordexp.c: Likewise.
11865 * pwd/fgetpwent_r.c: Likewise.
11866 * resolv/Versions: Likewise.
11867 * resolv/res_hconf.c: Likewise.
11868 * shadow/fgetspent_r.c: Likewise.
11869 * shadow/putspent.c: Likewise.
11870 * stdio-common/printf_fphex.c: Likewise.
11871 * stdio-common/tmpfile.c: Likewise.
11872 * stdlib/abort.c: Likewise.
11873 * stdlib/fmtmsg.c: Likewise.
11874 * sunrpc/auth_unix.c: Likewise.
11875 * sunrpc/clnt_perr.c: Likewise.
11876 * sunrpc/clnt_tcp.c: Likewise.
11877 * sunrpc/clnt_udp.c: Likewise.
11878 * sunrpc/clnt_unix.c: Likewise.
11879 * sunrpc/openchild.c: Likewise.
11880 * sunrpc/svc_simple.c: Likewise.
11881 * sunrpc/svc_tcp.c: Likewise.
11882 * sunrpc/svc_udp.c: Likewise.
11883 * sunrpc/svc_unix.c: Likewise.
11884 * sunrpc/xdr.c: Likewise.
11885 * sunrpc/xdr_array.c: Likewise.
11886 * sunrpc/xdr_rec.c: Likewise.
11887 * sunrpc/xdr_ref.c: Likewise.
11888 * sunrpc/xdr_stdio.c: Likewise.
11889
1248c1c4
PB
118902011-09-09 Ulrich Drepper <drepper@gmail.com>
11891
11892 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11893
118942011-07-03 Andreas Jaeger <aj@suse.de>
11895
11896 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11897 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11898 regenerate with gen-libm-tests.pl.
11899
119002010-05-12 Petr Baudis <pasky@suse.cz>
11901
11902 [BZ #11589]
11903 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11904 around j0() zero points by switching to j1().
11905 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11906 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11908 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11909
f22e1074
UD
119102011-09-09 Ulrich Drepper <drepper@gmail.com>
11911
f19009c1
UD
11912 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11913 instead of 0.
11914 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11915 instead of 0. .
11916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11917 Patch in part by Pavel Roskin <proski@gnu.org>.
11918
3f8cc204
UD
11919 [BZ #13138]
11920 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11921 realloc.
11922 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11923 Free memory block if necessary.
11924
f22e1074
UD
11925 [BZ #12847]
11926 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11927 be NULL. Don't lock in this case.
11928
0a2349f9
RM
119292011-09-09 Roland McGrath <roland@hack.frob.com>
11930
11931 * elf/elf.h (ELFOSABI_GNU): New macro.
11932 (ELFOSABI_LINUX): Define to that.
11933
f3cdd467
DZ
119342011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11935
11936 * string/strncat.c (strncat): Undef the symbol in case it has been
11937 defined in bits/string.h.
11938
74718d13
UD
119392011-09-09 Ulrich Drepper <drepper@gmail.com>
11940
633e9e0f
UD
11941 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11942
0a2349f9 11943 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11944 link map.
11945
f9924780
AJ
119462011-08-17 Andreas Jaeger <aj@suse.de>
11947
11948 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11949
7f5517aa
PP
119502011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11951 Ian Lance Taylor <iant@google.com>
11952
11953 * math/libm-test.inc (lround_test): New testcase.
11954 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11955
762011fe
UD
119562011-09-08 Ulrich Drepper <drepper@gmail.com>
11957
92963737
UD
11958 * Makefile: Remove support for automatic cvs check-ins.
11959 * Makerules: Likewise.
11960 * config.make.in: Likewise.
11961 * configure.in: Likewise.
11962 * intl/Makefile: Likewise.
11963 * locale/Makefile: Likewise.
11964 * po/Makefile: Likewise.
11965 * posix/Makefile: Likewise.
11966 * sysdeps/gnu/Makefile: Likewise.
11967 * sysdeps/mach/hurd/Makefile: Likewise.
11968 * sysdeps/sparc/sparc32/Makefile: Likewise.
11969
b0727fd8
JS
11970 [BZ #13118]
11971 * posix/Makefile (bug-regex32-ENV): Define.
11972 Patch by John Stanley <jpsinthemix@verizon.net>.
11973
a0f33f99
UD
11974 * misc/Makefile (headers): Add bits/select2.h.
11975 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11976 * misc/bits/select2.h: New file.
11977 * include/bits/select2.h: New file.
11978 * debug/Makefile (routines): Add fdelt_chk.
11979 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11980 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11981 FD_ISSET.
11982 * debug/fdelt_chk.c: New file.
11983
762011fe
UD
11984 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11985 * wcsmbs/test-wmemcmp.c: Likewise.
11986 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11987 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11988
119892011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11990
11991 * string/Makefile (strop-tests): Add memcmp.
11992 * string/test-wmemcmp.c: New file.
11993 * string/test-memcmp.c: Add wmemcmp support.
11994
7f513ec8
RM
119952011-09-08 Roland McGrath <roland@hack.frob.com>
11996
0442afb4
RM
11997 [BZ #13153]
11998 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11999 2011-07-19 change.
12000
7f513ec8
RM
12001 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12002 garbage value in a __mach_port_mod_refs call in the cases of the
12003 task-self and thread-self ports.
12004
a12b2239
ST
120052011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12006
12007 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12008
610f9ab4
AS
120092011-09-08 Andreas Schwab <schwab@redhat.com>
12010
7f513ec8 12011 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12012
48882a1a
LD
120132011-09-07 Ulrich Drepper <drepper@gmail.com>
12014
b49865be
UD
12015 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12016
fdc86bc9
UD
12017 * elf/dl-libc.c (dlerror_run): Pass back error code from
12018 dl_catch_error.
12019
c966526a
UD
12020 [BZ #13123]
12021 * elf/dl-load.c (lose): Free l_origin if it is valid.
12022
48882a1a
LD
12023 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12024 names.
12025 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12026 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12027 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12028 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12029 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12030 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12031
77a2a8b4
AZ
120322011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12033
12034 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12035 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12036 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12037 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12038 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12039 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12040 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12041 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12042 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12043 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12044
24f579d8
AM
120452011-08-15 Alan Modra <amodra@gmail.com>
12046
12047 [BZ #13092]
12048 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12049 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12050 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12051 ppc_mcount to static-only-routines.
12052 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12053 __mcount_internal.
12054 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12055 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12056
3d4837df
UD
120572011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12058
12059 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12060 for finite and infinity parameters.
12061
22700377
WS
120622011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12063
12064 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12065 and add nop instructions for throughput optimization.
12066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12067
5025581e
WS
120682011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12069
12070 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12071 aligned copy for power7 with vector-scalar instructions.
12072 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12073
08a300c9
L
120742011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12075
12076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12077 AVX check.
12078
59178ef9
AS
120792011-09-07 Andreas Schwab <schwab@redhat.com>
12080
12081 [BZ #13144]
12082 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12083 last change.
12084
e38ba7ab
UD
120852011-09-07 Ulrich Drepper <drepper@gmail.com>
12086
12087 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12088 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12089 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12090 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12091 clock_gettime.
12092
d53a73ac
UD
120932011-09-06 Ulrich Drepper <drepper@gmail.com>
12094
fc8bffcc
UD
12095 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12096 Forgot to demangle the pointer.
12097
ceaa0c5d
UD
12098 * sysdeps/i386/sysdep.h: Define atom_text_section.
12099 * sysdeps/x86_64/sysdep.h: Likewise.
12100 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12101 section with atom_text_section.
12102 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12103 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12104 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12106 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12107
a77d3c17
UD
12108 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12109 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12110 already be defined. Change to take two parameters and don't assign
12111 result to variable. Adjust all users.
12112 Define INTERNAL_GETTIME if not already defined.
12113 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12114 call.
12115 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12116 HAVE_CLOCK_GETTIME_VSYSCALL.
12117 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12118
d53a73ac
UD
12119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12120 gettimeofday vsyscall, just use time.
12121
a8f84144
AS
121222011-09-06 Andreas Schwab <schwab@redhat.com>
12123
12124 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12125 <errno.h>.
12126
ef606249
UD
121272011-09-06 Ulrich Drepper <drepper@gmail.com>
12128
12129 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12130 syscall on x86-64.
12131 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12132 syscall.
12133 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12134 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12135 syscall if possible.
12136
6585cb60
UD
121372011-09-05 Ulrich Drepper <drepper@gmail.com>
12138
12139 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12140 e_ident. Don't pass to find_mapsXX.
12141 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12142
a5f524e4
LD
121432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12144
12145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12146 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12147 * sysdeps/x86_64/multiarch/strchr.S: Update.
12148 Check bit_slow_BSF bit.
12149 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12150 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12151 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12152
554881ef
UD
121532011-09-05 Ulrich Drepper <drepper@gmail.com>
12154
d96de963
UD
12155 [BZ #13134]
12156 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12157 before glibc 2.15.
12158 (tryshell): Define.
12159 (__spawni): Change last parameter to be flag. Test
12160 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12161 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12162 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12163 * posix/spawni.c: Likewise.
12164 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12165 * posix/spawnp.c: Likewise. Change normal version to use
12166 SPAWN_XFLAGS_USE_PATH.
12167 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12168 SPAWN_XFLAGS_TRY_SHELL.
12169
d48e5868
UD
12170 [BZ #13150]
12171 * posix/glob.h: Remove gcc 1.x support.
12172
554881ef
UD
12173 [BZ #13068]
12174 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12175
693fb948
LD
121762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12177
12178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12179 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12180 strrchr-sse2-bsf
12181 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12182 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12183 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12184 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12185 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12186 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12187
1b48c537
UD
121882011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12189
49d42c37
UD
12190 * sysdeps/x86_64/wcscmp.S: New file.
12191
1b48c537
UD
12192 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12193 wcscmp-c wcscmp-sse2
12194 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12195 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12196 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12197 * wcsmbs/wcscmp.c: Allow renaming.
12198
15c95c5d
DM
121992011-09-05 David S. Miller <davem@davemloft.net>
12200
12201 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12202 stack slot, rather than the struct return pointer slot.
12203 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12204 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12206 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12207
2f0ad8f3
UD
122082011-09-05 Ulrich Drepper <drepper@gmail.com>
12209
d88ae418
UD
12210 * po/ja.po: Update from translation team.
12211
2f0ad8f3
UD
12212 [BZ #13144]
12213 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12214 kernel in 64-bit binaries.
12215
5f4318d1
DM
122162011-09-01 David S. Miller <davem@davemloft.net>
12217
12218 * elf/elf.h (HWCAP_SPARC_*): Move to..
12219 * sysdeps/sparc/sysdep.h: this new file and add new values.
12220 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12221 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12222 _DL_HWCAP_COUNT to 24.
12223 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12224 entries.
12225 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12226 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12227 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12229 instead of magic constants.
12230 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12231
3ba57516
DM
122322011-08-31 David S. Miller <davem@davemloft.net>
12233
12234 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12235 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12236 Reimplement to do errno handling inline.
12237 (SYSCALL_ERROR_HANDLER): New macro.
12238 (__SYSCALL_STRING): Do not do errno handling in asm.
12239 (__CLONE_SYSCALL_STRING): Delete.
12240 (__INTERNAL_SYSCALL_STRING): Delete.
12241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12242 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12243 (PSEUDO): Reimplement to do errno handling inline.
12244 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12245 (SYSCALL_ERROR_HANDLER): New macro.
12246 (__SYSCALL_STRING): Do not do errno handling in asm.
12247 (__CLONE_SYSCALL_STRING): Delete.
12248 (__INTERNAL_SYSCALL_STRING): Delete.
12249 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12250 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12251 i386.
12252 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12253 (inline_syscall*): Add 'err' argument.
12254 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12255 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12256 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12257 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12258
12259 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12260 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12261
2bc17433
AS
122622011-08-30 Andreas Schwab <schwab@redhat.com>
12263
12264 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12265
fbeb5f4d
JO
122662011-08-29 Jiri Olsa <jolsa@redhat.com>
12267
12268 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12269 directive.
12270
ad69cc26
DM
122712011-08-24 David S. Miller <davem@davemloft.net>
12272
12273 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12274
39dd69df
AS
122752011-08-24 Andreas Schwab <schwab@redhat.com>
12276
12277 * elf/Makefile: Add rules to build and run unload8 test.
12278 * elf/unload8.c: New file.
12279 * elf/unload8mod1.c: New file.
12280 * elf/unload8mod1x.c: New file.
12281 * elf/unload8mod2.c: New file.
12282 * elf/unload8mod3.c: New file.
12283
12284 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12285 it wasn't used.
12286
2c0b250a
DM
122872011-08-23 David S. Miller <davem@davemloft.net>
12288
12289 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12290 subtract stack bias.
12291 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12292 %sp not %fp in calculations.
12293 (_JMPBUF_UNWINDS_ADJ): Likewise.
12294
22044b48
DM
12295 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12296 (aio_suspend): Call it to force an exception region around the
12297 AIO_MISC_WAIT() invocation.
12298
2cae4995
AS
122992011-08-23 Andreas Schwab <schwab@redhat.com>
12300
12301 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12302 backslash.
12303
873a772e
AJ
123042011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12305
12306 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12307 protection macro.
12308 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12309 and <dl-machine.h>.
12310 (Elf64_FuncDesc): Remove.
12311
25ad0df1
DM
123122011-08-22 David S. Miller <davem@davemloft.net>
12313
12314 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12315 sigaltstack check, add missing cfi directives.
12316 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12317 missing cfi directives, and sigaltstack handling.
12318
e888bcbe
AS
123192011-08-16 Andreas Schwab <schwab@redhat.com>
12320
12321 [BZ #11724]
12322 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12323 object is seen twice.
12324 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12325
12326 * elf/Makefile (distribute): Add tst-initorder2.c.
12327 (tests): Add tst-initorder2.
12328 (modules-names): Add tst-initorder2a tst-initorder2b
12329 tst-initorder2c tst-initorder2d. Add rules to build them.
12330 ($(objpfx)tst-initorder2.out): New rule.
12331 * elf/tst-initorder2.c: New file.
12332 * elf/tst-initorder2.exp: New file.
12333
87162f46
AS
123342011-08-22 Andreas Schwab <schwab@redhat.com>
12335
70538b7f
AS
12336 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12337
f55ffe58
AS
12338 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12339 dependencies back to end of function.
12340
87162f46
AS
12341 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12342 $(elfobjdir)/ld.so.
12343
91b392a4
UD
123442011-08-21 Ulrich Drepper <drepper@gmail.com>
12345
12346 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12347 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12348 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12349 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12350 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12351 of __vdso_gettimeofday.
12352 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12353 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12354 attribute_hidden.
12355 (_libc_vdso_platform_setup): Remove initialization of
12356 __vdso_gettimeofday and __vdso_time.
12357
5c43483f
UD
123582011-08-20 Ulrich Drepper <drepper@gmail.com>
12359
775a77e7
UD
12360 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12361 and fgetc_unlocked.
12362 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12363 getc_unlocked.
89f447ed 12364
49c74ba9
UD
12365 * elf/dl-open.c (add_to_global): Report additions to the global scope
12366 for LD_DEBUG=scopes.
12367 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12368 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12369
5c43483f
UD
12370 [BZ #13114]
12371 * stdio-common/Makefile (tests): Add bug24.
12372 * stdio-common/bug24.c: New file.
12373
a101b025
AJ
123742011-08-19 Andreas Jaeger <aj@suse.de>
12375
12376 [BZ #13114]
12377 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12378 non-existant file when using close-on-exec mode.
12379
c88f1766
UD
123802011-08-20 Ulrich Drepper <drepper@gmail.com>
12381
0276a718
UD
12382 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12383 the very first instruction.
12384
c88f1766
UD
12385 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12386 the CFI state in the end.
12387 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12388 inclusion of dl-trampoline.h.
12389 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12390
51ccffa0
AS
123912011-08-19 Andreas Schwab <schwab@redhat.com>
12392
94d7165f
AS
12393 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12394 expectations for long double.
12395
51ccffa0
AS
12396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12397 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12398
fd708658 123992011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12400
12401 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12402 artificual limit depends upon the system page size.
12403
44f0a71e
UD
124042011-08-17 Ulrich Drepper <drepper@gmail.com>
12405
12406 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12407 * resolv/Makefile: Define CFLAGS-libresolv.
12408
8de79a24
AS
124092011-08-17 Andreas Schwab <schwab@redhat.com>
12410
12411 * nss/makedb.c (compute_tables): Make variables used in nested
12412 function static.
12413
27724598
UD
124142011-08-17 Ulrich Drepper <drepper@gmail.com>
12415
c5305d88
UD
12416 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12417 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12418 if buffer was too small.
12419
27724598
UD
12420 * elf/pldd.c (main): Attach to all threads in the process.
12421 Rewrite /proc handling to use *at functions.
12422
076fe015
UD
124232011-08-16 Ulrich Drepper <drepper@gmail.com>
12424
174baab3
UD
12425 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12426 specifies first scope to show.
12427 (dl_open_worker): Update callers. Move printing scope of new
12428 object to before the relocation.
44f0a71e 12429 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12430 * sysdeps/generic/ldsodefs.h: Update declaration.
12431
076fe015
UD
12432 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12433 string for the scope number.
12434
a60df2c3
UD
124352011-08-14 Ulrich Drepper <drepper@gmail.com>
12436
12437 * nscd/servicescache.c (cache_addserv): Make sure written is always
12438 initialized.
12439
5e4287d1
RM
124402011-08-14 Roland McGrath <roland@hack.frob.com>
12441
85ae0589
RM
12442 * sysdeps/i386/i486/bits/atomic.h
12443 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12444 statement expression, so as to suppress "set but not used" warning.
12445 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12446
69f63097
RM
12447 * string/strncat.c (STRNCAT): Use prototype definition.
12448
675456ef
RM
12449 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12450 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12451 -Iprograms here.
12452 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12453 (localedef-modules): Add localedef.
12454 (locale-modules): Add locale.
12455
5e4287d1
RM
12456 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12457 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12458 to avoid a warning.
12459
9c96ff23
DM
124602011-08-14 David S. Miller <davem@davemloft.net>
12461
12462 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12463 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12464
f9ddf089
UD
124652011-08-13 Ulrich Drepper <drepper@gmail.com>
12466
44f0a71e 12467 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12468 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12469 * elf/rtld.c (dl_main): Set l_name of vDSO.
12470 Call _dl_show_scope when DL_DEBUG_SCOPES.
12471 (process_dl_debug): Recognize scopes flag and also set it for all.
12472 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12473 Declare _dl_show_scope.
12474
1dc27704
UD
12475 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12476 (do_dlopen): Pass caller_dlopen to dl_open.
12477 (__libc_dlopen_mode): Initialize caller_dlopen.
12478
f9ddf089
UD
12479 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12480 of libc. Make tolower call locale-independent. Optimize a bit by
12481 using isdigit instead of isalnum.
12482 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12483
9ac533d3
UD
124842011-08-12 Ulrich Drepper <drepper@gmail.com>
12485
12486 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12487 was a dependency or dynamically loaded.
12488
89edf2e9
UD
124892011-08-11 Ulrich Drepper <drepper@gmail.com>
12490
8e999d29
UD
12491 * intl/l10nflist.c: Allow architecture-specific pop function.
12492 * sysdeps/x86_64/l10nflist.c: New file.
12493
89edf2e9
UD
12494 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12495 classification.
12496
14d96785
AS
124972011-08-10 Andreas Schwab <schwab@redhat.com>
12498
12499 * include/dirent.h: Add libc_hidden_proto for scandirat and
12500 scandirat64. Don't declare __scandirat64.
12501 * dirent/scandirat.c: Add libc_hidden_def.
12502 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12503 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12504
6761ac04
DM
125052011-08-10 David S. Miller <davem@davemloft.net>
12506
12507 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12508 enum.
12509 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12510 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12512
c55fbd1e
UD
125132011-08-09 Ulrich Drepper <drepper@gmail.com>
12514
12515 * Versions.def [libc]: Add GLIBC_2.15.
12516 * dirent/Makefile (routines): Add scandirat and scandirat64.
12517 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12518 GLIBC_2.15.
12519 * dirent/dirent.h: Declare scandirat and scandirat64.
12520 * dirent/scandirat.c: New file.
12521 * dirent/scandirat64.c: New file.
12522 * sysdeps/wordsize-64/scandirat.c: New file.
12523 * sysdeps/wordsize-64/scandirat64.c: New file.
12524 * dirent/opendir.c: Define opendirat.
12525 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12526 using scandirat.
12527 * dirent/scandir64.c: Adjust for scandir.c change.
12528 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12529 __scandirat64, and __scandir_cancel_handler.
12530 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12531 additional parameter and use openat instead of open (outside of ld.so).
12532 Add new __opendir as wrapper around __opendirat.
12533 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12534 here without requiring old scandirat implementation.
12535
879165f2
UD
125362011-08-08 Ulrich Drepper <drepper@gmail.com>
12537
12538 * dirent/scandir.c (cancel_handler): Renamed to
12539 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12540 defined. Adjust users.
12541 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12542 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12543
cb7e923b
UD
125442011-08-04 Ulrich Drepper <drepper@gmail.com>
12545
16292edd
UD
12546 * string/test-string.h (IMPL): Use __STRING to expand name and then
12547 stringify it.
12548
cb7e923b
UD
12549 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12550 of cleanups.
12551
cff82933
LD
125522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12553
12554 * string/Makefile: Update.
12555 (strop-tests): Append strncat.
12556 * string/test-wcscmp.c: New file.
12557 New comprehensive test for wcscmp.
12558 * string/test-strcmp.c: Update.
12559 (WIDE): New define.
12560
9be9bfcc
AS
125612011-07-22 Andreas Schwab <schwab@redhat.com>
12562
12563 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12564 line.
12565
2e96f1c7
AS
125662011-07-26 Andreas Schwab <schwab@redhat.com>
12567
12568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12569 encoding to ACE if AI_IDN.
12570
85188888
JJ
125712011-08-01 Jakub Jelinek <jakub@redhat.com>
12572
12573 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12574 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12575
5fa16e9b
LD
125762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12577
12578 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12579 Fix overflow bug in strncat.
12580 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12581
12582 * string/test-strncat.c: Update.
12583 Add new tests for checking overflow bugs.
12584
125852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12586
12587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12588 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12589 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12590 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12591 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12592 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12593 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12594 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12595 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12596
12597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12598 (USE_AS_STRCAT): Define.
12599 Add strcat and strncat support.
12600 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12601
8c1a459f
AS
126022011-07-25 Andreas Schwab <schwab@redhat.com>
12603
12604 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12605 __n bigger than INT_MAX+1.
12606 (__strncmp_g): Likewise.
12607
bba33c28
UD
126082011-07-23 Ulrich Drepper <drepper@gmail.com>
12609
798be72d
UD
12610 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12611 * libio/stido.h: Likewise.
12612
8accd4dc
UD
12613 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12614 (AF_NFC): Define.
12615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12616 (AF_NFC): Define.
12617
cbff0d96
UD
12618 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12619 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12620 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12621 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12622 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12623
9191c04a
UD
12624 [BZ #13021]
12625 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12626 installed.
12627
bba33c28
UD
12628 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12629 typo.
12630 (_dl_x86_64_save_sse): Likewise.
12631
90f139dd
UD
126322011-07-22 Ulrich Drepper <drepper@gmail.com>
12633
1aae088a
UD
12634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12635 OSXSAVE.
12636 (_dl_x86_64_save_sse): Likewise.
12637
8e2045f5
UD
12638 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12639
90f139dd
UD
12640 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12641
1d002f25
AS
126422011-07-21 Andreas Schwab <schwab@redhat.com>
12643
12644 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12645 change.
12646 (_dl_x86_64_save_sse): Use correct AVX check.
12647
21137f89
UD
126482011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12649
12650 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12651 bug in strncpy/strncat.
12652 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12653
a65c0b7a
UD
126542011-07-21 Ulrich Drepper <drepper@gmail.com>
12655
12656 * string/tester.c (test_strcat): Add tests for different alignments
12657 of source and destination.
12658 (test_strncat): Likewise.
12659
6986b98a
UD
126602011-07-20 Ulrich Drepper <drepper@gmail.com>
12661
90bb2039
UD
12662 [BZ #12852]
12663 * posix/glob.c (glob): Check passed in values before using them in
12664 expressions to avoid some overflows.
12665 (glob_in_dir): Likewise.
12666
5644ef54
UD
12667 [BZ #13007]
12668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12669 check for AVX enablement so that we don't crash with old kernels and
12670 new hardware.
12671 * elf/tst-audit4.c: Add same checks here.
12672 * elf/tst-audit6.c: Likewise.
12673
12674 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12675
bfc9dc9b
AS
126762011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12677
12678 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12679
702e64bb
UD
126802011-07-20 Ulrich Drepper <drepper@gmail.com>
12681
12682 * po/cs.po: Update from translation team.
12683 * po/bg.po: Likewise.
12684
295e904f
MP
126852011-07-12 Marek Polacek <mpolacek@redhat.com>
12686
12687 * misc/sys/cdefs.h: Add support for const attribute.
12688 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12689 to gnu_dev_{major,minor,makedev} functions.
12690
3ff94596
MP
126912011-07-20 Marek Polacek <mpolacek@redhat.com>
12692
12693 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12694
28b59fca
AS
126952011-07-20 Andreas Schwab <schwab@redhat.com>
12696
12697 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12698 strlen results.
12699
19df733e
AK
127002011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12701
12702 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12703 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12704 register in order to avoid conflicts with the soft frame pointer
12705 being held in r11 when necessary.
12706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12707 (INTERNAL_VSYSCALL_NCS): Likewise.
12708
c8835729
MP
127092011-07-14 Marek Polacek <mpolacek@redhat.com>
12710
12711 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12712 * elf/dl-fini.c (_dl_fini): Adjust caller.
12713 * elf/dl-close.c (_dl_close_worker): Likewise.
12714 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12715
b902330c
MP
127162011-07-15 Marek Polacek <mpolacek@redhat.com>
12717
8991e135
MP
12718 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12719 "aux_cache->nlibs < 0".
12720
b902330c
MP
12721 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12722 in the reload-count case.
12723
99710781
LD
127242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12725
12726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12727 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12728 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12729 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12730 * sysdeps/x86_64/multiarch/strcat.S: New file.
12731 * sysdeps/x86_64/multiarch/strncat.S: New file.
12732 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12733 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12734 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12735 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12736 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12737 (USE_AS_STRCAT): Define.
12738 Add strcat and strncat support.
12739 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12740 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12741 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12742 * string/strncat.c: Update.
12743 (USE_AS_STRNCAT): Define.
12744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12745 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12746 and i7.
12747 * sysdeps/x86_64/multiarch/init-arch.h
12748 (bit_Prefer_PMINUB_for_stringop): New.
12749 (index_Prefer_PMINUB_for_stringop): Likewise.
12750 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12751 bit_Prefer_PMINUB_for_stringop.
12752
7dc6bd90
UD
127532011-07-19 Ulrich Drepper <drepper@gmail.com>
12754
12755 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12756 buffer64.
12757 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12758 of casting of buffer.
12759 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12760 buffer32 and buffer64.
12761 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12762 writes instead of casting of buffer.
12763 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12764 buffer32.
12765 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12766 casting of buffer.
12767
e0e72284
AS
127682011-07-19 Andreas Schwab <schwab@redhat.com>
12769
12770 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12771
feb1eb0b
UD
127722011-07-19 Ulrich Drepper <drepper@gmail.com>
12773
12774 * nscd/nscd.c (termination_handler): Don't do anything for a database
12775 if it has not yet been initialized.
12776
298711ff
UD
127772011-07-18 Ulrich Drepper <drepper@gmail.com>
12778
12779 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12780
127812011-07-15 Marek Polacek <mpolacek@redhat.com>
12782
12783 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12784
f9d68389
UD
127852011-07-18 Ulrich Drepper <drepper@gmail.com>
12786
12787 * po/nl.po: Update from translation team.
12788 * po/sv.po: Likewise.
12789
db290cf5
RM
127902011-07-16 Roland McGrath <roland@hack.frob.com>
12791
12792 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12793 now disallowed by GCC.
5c550700 12794
fd5e21c7
RM
12795 * configure.in (use-default-link): Default to yes if a test -shared
12796 link meets our qualifications.
12797 * configure: Regenerated.
12798
5c550700
RM
12799 * config.make.in (output-format): New variable.
12800 * configure.in: Check for ld --print-output-format support.
12801 * configure: Regenerated.
12802 * Makerules ($(common-objpfx)format.lds)
12803 [$(output-format) != unknown]: Just use $(output-format),
12804 instead of the linker-script munging.
12805
9fa2c032
RM
128062011-07-14 Roland McGrath <roland@hack.frob.com>
12807
a6928d51
RM
12808 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12809 of $(common-objpfx)shlib.lds.
12810 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12811
661607b3
RM
12812 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12813 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12814
9fa2c032
RM
12815 * configure.in (-z relro check): Adjust test code to add a large
12816 writable data section after it.
12817 * configure: Regenerated.
12818
defe9061
RM
128192011-07-11 Roland McGrath <roland@hack.frob.com>
12820
12821 * configure.in (-z relro check): Fix test code to make the variable
12822 truly const.
12823 * configure: Regenerated.
12824
319b9ad4
UD
128252011-07-11 Ulrich Drepper <drepper@gmail.com>
12826
12827 * nscd/nscd.h (struct traced_file): Define.
12828 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12829 elements. Add traced_files.
12830 (inotify_fd): Declare.
12831 (register_traced_file): Declare.
12832 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12833 (inotify_fd): Export.
12834 (resolv_conf_descr): Remove.
12835 (nscd_init): Move inotify descriptor creation to main.
12836 Don't register files for notification here.
12837 (register_traced_file): New function.
12838 (invalidate_cache): Don't use reset_res to determine whether to call
12839 res_init, go through the list of registered files.
12840 (main_loop_poll): The inotify descriptors are now stored in the
12841 structures for the traced files.
12842 (main_loop_epoll): Likewise
12843 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12844 to __nss_disable_nscd.
12845 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12846 for a database anymore. Check the records for all the registered
12847 files instead.
12848 * nss/Makefile (libnss_files-routines): Add files-init.
12849 (libnss_db-routines): Add db-init.
12850 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12851 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12852 * nss/nss_db/db-init.c: New file.
12853 * nss/nss_files/files-init.c: New file.
12854 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12855 __nss_lookup_function.
12856 (__nss_lookup_function): Call nss_load_library.
12857 (nss_load_all_libraries): New function.
12858 (__nss_disable_nscd): Take parameter with callback function for files
12859 to register. Set is_nscd. Load all the DSOs for the NSS modules
12860 used for the cached services.
12861 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12862 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12863 options for features to all the files in nscd.
12864
12865 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12866
23bee3e8
RM
128672011-07-10 Roland McGrath <roland@hack.frob.com>
12868
12869 * csu/elf-init.c (__libc_csu_init): Comment typo.
12870
46a5b7f0
UD
128712011-07-09 Ulrich Drepper <drepper@gmail.com>
12872
12873 * po/pl.po: Update from translation team.
12874 * po/ja.po: Likewise.
12875 * po/ru.po: Likewise.
12876 * po/ko.po: Likewise.
12877 * po/fr.po: Likewise.
12878
d30cf5bb
RM
128792011-07-09 Roland McGrath <roland@hack.frob.com>
12880
113ddea4
RM
12881 * configure.in (.ctors/.dtors header and trailer check):
12882 Use an empirical test on a built program.
12883 * configure: Regenerated.
12884
574920b4
RM
12885 * configure.in (-z relro check): Use an empirical test on a built DSO.
12886 Detect, but do not require, on ia64.
12887 * configure: Regenerated.
12888
d30cf5bb
RM
12889 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12890 Update tests that use readelf to use $READELF instead.
12891 * configure: Regenerated.
12892
8538fdb3
UD
128932011-07-08 Ulrich Drepper <drepper@gmail.com>
12894
12895 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12896 if the result is not used.
12897
04d08991
AJ
128982011-07-05 Andreas Jaeger <aj@suse.de>
12899
12900 [BZ#9696]
12901 * stdlib/tst-strtod.c: Add testcase.
12902
de283087
AD
129032011-07-07 Ulrich Drepper <drepper@gmail.com>
12904
4e5f31c8 12905 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12906 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12907 The latter has a higher limit. Take additional parameter to pass to
12908 the new function.
12909 (__pathconf): Pass file to __statfs_link_max.
12910 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12911 __statfs_link_max.
12912 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12913 __statfs_link_max.
12914
de283087
AD
12915 [BZ #12868]
12916 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12917 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12918 Handle Lustre.
12919 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12920 (__statfs_filesize_max): Likewise.
12921 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12922
c75fa153
AJ
129232011-07-05 Andreas Jaeger <aj@suse.de>
12924
12925 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12926
1a544854
UD
129272011-07-06 Marek Polacek <mpolacek@redhat.com>
12928
12929 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12930 `status' variable.
12931 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12932 Likewise.
12933
6f0eec67
UD
129342011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12935
12936 * Makefile (strop-tests): Add strncat.
12937 * string/test-strncat.c: New file.
12938
aae30307
UD
129392011-06-30 Marek Polacek <mpolacek@redhat.com>
12940
12941 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12942
c0cfb5eb
UD
129432011-06-21 Andreas Jaeger <aj@suse.de>
12944
12945 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12946 Copy rule from iconvdata/Makefile.
12947
01636b21
UD
129482011-07-06 Ulrich Drepper <drepper@gmail.com>
12949
12950 [BZ #12922]
12951 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12952 but no long options are defined, just return 'W'.
12953
9895c8bc
UD
129542011-06-22 Marek Polacek <mpolacek@redhat.com>
12955
12956 [BZ #9696]
12957 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12958
5d4cf042
UD
129592011-07-06 Ulrich Drepper <drepper@gmail.com>
12960
12961 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12962 netgroups to read.
960e5535 12963 (innetgr): Likewise.
5d4cf042 12964
751eb97e
RM
129652011-07-05 Roland McGrath <roland@hack.frob.com>
12966
12967 * config.make.in (install_root): Default to $(DESTDIR).
12968
f15f1e45
UD
129692011-07-05 Ulrich Drepper <drepper@gmail.com>
12970
12971 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12972
4e34ac6a
RM
129732011-07-02 Roland McGrath <roland@hack.frob.com>
12974
5e9b6af4
RM
12975 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12976
84f9ea0f
RM
12977 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12978 containing directory rather than embedding absolute directory names.
12979
ea5ee9f7
RM
12980 * scripts/check-local-headers.sh: Rewritten using awk.
12981 Match by word, not by line. Print error messages for matches.
12982 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12983
1b74661a
RM
12984 * Makerules [shlib-lds-flags empty]:
12985 ($(common-objpfx)libc_pic.opts): New target.
12986 ($(common-objpfx)libc_pic.os.clean): New target.
12987 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12988
12989 * config.make.in (OBJCOPY): New variable.
12990 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12991 * configure: Regenerated.
12992
f781ef40
RM
12993 * config.make.in (use-default-link): New variable.
12994 * configure.in (use_default_link): Grok --with-default-link to set it.
12995 * configure: Regenerated.
12996 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12997 (shlib-lds, shlib-lds-flags): Define to empty.
12998
2d4fa81e
RM
12999 * Makerules (shlib-lds): New variable.
13000 (shlib-lds-flags): New variable.
13001 (build-shlib, build-moduile, build-module-asneeded): Use it.
13002 ($(common-objpfx)libc.so): Use $(shlib-lds).
13003 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13004 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13005
31fffa6b
RM
13006 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13007 DT_FLAGS/DT_FLAGS_1 with zero flags.
13008
4e34ac6a
RM
13009 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13010 linker script munging.
13011
fcfc776b
UD
130122011-07-02 Ulrich Drepper <drepper@gmail.com>
13013
13014 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13015 as 128-bit value.
13016 * crypt/sha512.c (sha512_process_block): Perform total addition using
13017 128-bit if possible.
13018 (__sha512_finish_ctx): Likewise.
13019 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13020 as 64-bit value.
13021 * crypt/sha256.c (SWAP64): Define.
13022 (sha256_process_block): Perform total addition using 64-bit if
13023 possible.
13024 (__sha256_finish_ctx): Likewise.
13025
99231d9a
UD
130262011-07-01 Ulrich Drepper <drepper@gmail.com>
13027
13028 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13029 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13030 * nscd/hstcache.c (cache_addhst): Likewise.
13031 * nscd/grpcache.c (cache_addgr): Likewise.
13032 * nscd/aicache.c (addhstaiX): Likewise
13033 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13034
445b4a53
TK
130352011-07-01 Thorsten Kukuk <kukuk@suse.de>
13036
13037 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13038 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13039 * nscd/hstcache.c (cache_addhst): Likewise.
13040 * nscd/grpcache.c (cache_addgr): Likewise.
13041 * nscd/aicache.c (addhstaiX): Likewise
13042
6d4d8e8e
AS
130432011-07-01 Andreas Schwab <schwab@redhat.com>
13044
13045 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13046 domain only when needed.
13047
89f654c5
AS
130482011-06-30 Andreas Schwab <schwab@redhat.com>
13049
13050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13051 is always restored.
13052
cf3b23ff
UD
130532011-06-29 Ulrich Drepper <drepper@gmail.com>
13054
13055 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13056 are re-adding the entry.
13057 * nscd/servicescache.c (cache_addserv): Likewise.
13058
751626f9
AJ
130592011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13060
13061 * sysdeps/generic/dl-irel.h: fix protection against multiple
13062 inclusions.
13063 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13064
9113ea1f
UD
130652011-06-28 Ulrich Drepper <drepper@gmail.com>
13066
5c0b8d90
UD
13067 [BZ #12935]
13068 * malloc/memusage.sh: Fix quoting in message.
13069 * debug/xtrace.sh: Likewise.
13070
9113ea1f
UD
13071 * configure.in: Remove support for --experimental-malloc option, make
13072 it the default.
13073 * config.make.in: Likewise.
13074 * malloc/Makefile: Likewise.
13075
a4172181
AS
130762011-06-27 Andreas Schwab <schwab@redhat.com>
13077
13078 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13079 two-byte characters.
13080
78a7eee7
RM
130812011-06-27 Roland McGrath <roland@hack.frob.com>
13082
62bede13
RM
13083 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13084 AC_CACHE_CHECK invocation.
13085 * configure: Regenerated.
13086
78a7eee7
RM
13087 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13088
5ce33a62
UD
130892011-06-27 Ulrich Drepper <drepper@gmail.com>
13090
034807a9
UD
13091 [BZ #12350]
13092 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13093 bit from old_res_options.
13094
4902da17
UD
13095 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13096
5ce33a62
UD
13097 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13098 value type for setfct.
13099
c2344f56
L
131002011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13101
13102 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13103 __gettimeofday instead of gettimeofday.
13104
68468076
UD
131052011-06-26 Ulrich Drepper <drepper@gmail.com>
13106
13107 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13108
acb0d739
L
131092011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13110
13111 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13112
13113 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13114 info.
13115
8912479f
L
131162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13117
13118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13119 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13120 strcpy-sse2-unaligned strncpy-sse2-unaligned
13121 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13122 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13123 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13124 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13125 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13126 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13127 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13128 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13129 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13130 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13131 (STRCPY): Support SSE2 and SSSE3 versions.
13132
d5495a11
UD
131332011-06-24 Ulrich Drepper <drepper@gmail.com>
13134
13135 [BZ #12874]
13136 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13137 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13138 kernels which artificially limit size of requests.
13139
0b1cbaae
L
131402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13141
13142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13143 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13144 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13145 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13146 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13147 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13148 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13149 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13150 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13151 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13152 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13153 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13154 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13155 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13156 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13158 Enable unaligned load optimization for Intel Core i3, i5 and i7
13159 processors.
13160 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13161 Define.
13162 (index_Fast_Unaligned_Load): Define.
13163 (HAS_FAST_UNALIGNED_LOAD): Define.
13164
07f494a0
MP
131652011-06-23 Marek Polacek <mpolacek@redhat.com>
13166
13167 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13168
fa3fc0fe
UD
131692011-06-22 Ulrich Drepper <drepper@gmail.com>
13170
13171 [BZ #12907]
13172 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13173 until it is clear that the information is realy needed.
13174 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13175
e12df166
AS
131762011-06-22 Andreas Schwab <schwab@redhat.com>
13177
13178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13179
852eb34d
UD
131802011-06-22 Ulrich Drepper <drepper@gmail.com>
13181
84e2a551
UD
13182 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13183 /sys/devices/system/cpu/online if it is usable.
13184
852eb34d
UD
13185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13186 reading the information from the /proc filesystem to once a second.
13187
6e502e19
UD
131882011-06-21 Andreas Jaeger <aj@suse.de>
13189
13190 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13191 NULL after inclusion of kernel headers.
13192
75d39ff2
UD
131932011-06-21 Ulrich Drepper <drepper@gmail.com>
13194
51f9aa6a
UD
13195 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13196 calls to internal_setent.
13197
c0244a9d
UD
13198 [BZ #12885]
13199 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13200 addresses using gethostbyname4_r ignore IPv4 addresses.
13201
c5e3c2ae
UD
13202 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13203 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13204
75d39ff2
UD
13205 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13206
42675c6f
DM
132072011-06-20 David S. Miller <davem@davemloft.net>
13208
13209 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13210 inclusions.
13211 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13212
13213 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13214 (elf_irel): Use it.
13215 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13216 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13217 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13218 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13219 * sysdeps/x86_64/dl-irel.h: Likewise.
13220
13221 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13222 * elf/dl-sym.c: Likewise.
13223
57912a71
UD
132242011-06-15 Ulrich Drepper <drepper@gmail.com>
13225
13226 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13227 need to dereference resplen2.
13228
ee22793d
AS
132292011-06-14 Andreas Schwab <schwab@redhat.com>
13230
13231 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13232
a9e836b0
UD
132332011-06-15 Ulrich Drepper <drepper@gmail.com>
13234
77fb9117
UD
13235 * Makeconfig: Define vardbdir and inst_vardbdir.
13236 * nss/Makefile: Add rules to install db-Makefile.
13237
40c1b22c
UD
13238 * nss/nss_db/db-XXX.c: Cleanup.
13239
9f2da732
UD
13240 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13241 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13242 GLIBC_PRIVATE.
13243 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13244 * nss/makedb.c: Implement -g option to specify that value strings
13245 are generated and should not be added to table iterated over for
13246 get*ent calls.
13247 * nss/nss_db/db-initgroups.c: New file.
13248
82e9a1f7
UD
13249 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13250 interface.
13251
c41af17e
UD
13252 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13253 (internal_getgrouplist): Adjust to name change.
13254 Update use_initgroups_entry if this is not the first call.
13255 * nss/databases.def: Add initgroups entry.
13256
a9e836b0
UD
13257 * nss/makedb.c (compute_tables): Check result of multiple hash table
13258 sizes to minimize maximum chain length.
13259
2666d441
UD
132602011-06-14 Ulrich Drepper <drepper@gmail.com>
13261
13262 * Versions.def: Add entry for libnss_db.
13263 * shlib-versions: Likewise.
13264 * nss/Makefile: Add rules to build libnss_db.
13265 * nss/Versions: Add libnss_db information. Organize libnss_files
13266 entries better.
13267 * nss/db-Makefile: Add gshadow support. Change rules for the new
13268 makedb progra. Some minor improvements to generate smaller files.
13269 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13270 here from...
13271 * nss/makedb.c: ...here.
13272 Improve database format to be smaller and require less memory at
13273 runtime.
13274 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13275 db anymore.
13276 * nss/nss_db/db-netgrp.c: Likewise.
13277 * nss/nss_db/db-open.c: Likewise.
13278 * nss/nss_files/flies-XXX.x: Adjust comments.
13279 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13280 * nss/nss_files/files-grp.c: Likewise.
13281 * nss/nss_files/files-hosts.c: Likewise.
13282 * nss/nss_files/files-network.c: Likewise.
13283 * nss/nss_files/files-proto.c: Likewise.
13284 * nss/nss_files/files-pwd.c: Likewise.
13285 * nss/nss_files/files-rpc.c: Likewise.
13286 * nss/nss_files/files-service.c: Likewise.
13287 * nss/nss_files/files-sgrp.c: Likewise.
13288 * nss/nss_files/files-spwd.c: Likewise.
13289 * nss/nss_db/db-alias.c: Removed.
13290 * nss/nss_db/dummy-db.h: Removed.
13291
9ee76b5a
UD
132922011-06-02 Ulrich Drepper <drepper@gmail.com>
13293
13294 * nss/makedb.c: Rewritten to not use database library.
13295 * nss/Makefile: Update to build new makedb program.
13296
c71ca1f8
AJ
132972011-06-14 Andreas Jaeger <aj@suse.de>
13298
13299 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13300 memset declaration.
13301
3154bfb8
UD
133022011-06-10 Andreas Schwab <schwab@redhat.com>
13303
13304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13305 tmpbuf.
13306
b350afab
RM
133072011-06-10 Roland McGrath <roland@hack.frob.com>
13308
decd4e50
RM
13309 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13310 * elf/Makefile ($(objpfx)ld.so): Likewise.
13311
5615eaf2
RM
13312 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13313 Don't list ld.so twice in dependencies.
13314
13315 * posix/bug-regex31.c: Include <stdlib.h>.
13316
13317 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13318
13319 * nis/nss_compat/compat-spwd.c
13320 (getspent_next_nss_netgr): Remove unused variable.
13321 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13322
13323 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13324 nonmembers" output to use the right array.
13325
13326 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13327
13328 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13329
13330 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13331 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13332 * catgets/gencat.c (read_input_file): Likewise.
13333 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13334
13335 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13336 variable definition inside #if's controlling its use.
13337
13338 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13339
13340 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13341
13342 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13343
13344 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13345 unreachable code.
13346
13347 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13348
b68e08db
RM
13349 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13350 * configure: Regenerated.
13351
b350afab
RM
13352 * Makerules: Revert last change.
13353 * elf/Makefile: Likewise.
13354
28368601
RM
133552011-06-09 Roland McGrath <roland@hack.frob.com>
13356
13357 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13358 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13359 (reloc-link): Likewise.
13360
11988f8f
UD
133612011-06-09 Ulrich Drepper <drepper@gmail.com>
13362
13363 * elf/Makefile: Add rules to build pldd.
13364 * elf/pldd.c: New file.
13365 * elf/pldd-xx.c: New file.
13366
e80fab37
UD
133672011-06-07 Ulrich Drepper <drepper@gmail.com>
13368
13369 * version.h: Update for 2.15 development version.
13370
9b849836
DM
133712011-06-07 David S. Miller <davem@davemloft.net>
13372
13373 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13374 ifuncs.
13375 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13376 elf_machine_lazy_rel): Likewise.
13377 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13378 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13379 elf_machine_lazy_rel): Likewise.
13380 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13381 dl_hwcap via passed in argument.
13382 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13383 Likewise.
13384
5a31b283
AK
133852011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13386
13387 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13388
069e52f8
RM
133892011-06-06 Roland McGrath <roland@hack.frob.com>
13390
13391 [BZ #12849]
13392 * manual/fdl-1.1.texi: New file, verbatim from:
13393 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13394 * manual/lgpl-2.1.texi: New file, verbatim from:
13395 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13396 * manual/Makefile (licenses): New variable, list those new file names.
13397 (texis): Use it.
13398 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13399
13400 * manual/fdl.texi: File removed.
13401 * manual/lesser.texi: File removed.
13402 * manual/libc.texinfo (Copying, Documentation License):
13403 Use new @include file names, put @appendix directive before @include.
13404
f16846a5
JJ
134052011-06-04 Jakub Jelinek <jakub@redhat.com>
13406
13407 [BZ #12841]
13408 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13409 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13410 (mq_open): Add __NTH.
13411
3d29045b
L
134122011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13413
13414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13415 Assume Intel Core i3/i5/i7 processor if AVX is available.
13416
8c297311
UD
134172011-05-31 Ulrich Drepper <drepper@gmail.com>
13418
13419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13420 typo.
13421
c8fc0c91
UD
134222011-05-31 Andreas Schwab <schwab@redhat.com>
13423
13424 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13425 memory. Use alloca_account. Fix memory leak when retrying.
13426
5b27a807
UD
134272011-05-31 Ulrich Drepper <drepper@gmail.com>
13428
356f8bc6
UD
13429 * version.h (RELEASE): Bump for 2.14 release.
13430 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13431
5b27a807
UD
13432 * config.make.in (RANLIB): Remove entry.
13433
01f16ab0
UD
134342011-05-30 Ulrich Drepper <drepper@gmail.com>
13435
41fce8bd
UD
13436 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13437 (libc.pot): Work around missing support for .ksh extension in xgettext.
13438
4769ae77
UD
13439 [BZ #12684]
13440 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13441 if both request failed.
13442 (send_dg): In case of server errors clear resplen or *resplen2.
13443
6b1e7d19
UD
13444 [BZ #12454]
13445 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13446 when there are multiple maps.
13447 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13448 (_dl_fini): Remove test here.
13449
01f16ab0
UD
13450 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13451
b1ebd700
UD
134522011-05-29 Ulrich Drepper <drepper@gmail.com>
13453
7ae22829
UD
13454 [BZ #12350]
13455 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13456 bit from old_res_options.
13457 (gaih_inet): Likewise.
13458
553149f6 13459 [BZ #11099]
18a84741 13460 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13461 as signed.
13462
652ffab1
UD
13463 * resolv/res_init.c (res_setoptions): Make the code more compact.
13464
16985fd0
UD
13465 [BZ #11558]
13466 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13467 set RES_USEVC.
13468
0464f746
UD
13469 [BZ #11634]
13470 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13471
7d17596c
UD
13472 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13473
cf6bbbd7
UD
13474 [BZ #11781]
13475 * malloc/malloc.h: Declare malloc hook variables as volatile.
13476
13f1ab36
UD
13477 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13478 in last patch.
13479
b1ebd700
UD
13480 [BZ #11799]
13481 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13482 raise in the comment.
80e2212d
UD
13483 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13484 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13485 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13486
ce67228d
UD
134872011-05-28 Ulrich Drepper <drepper@gmail.com>
13488
8887a920
UD
13489 [BZ #12811]
13490 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13491 grow the buffers more if it already has to be sufficient.
13492 (build_wcs_upper_buffer): Likewise.
13493 * posix/regexec.c (check_matching): Likewise.
13494 (clean_state_log_if_needed): Likewise.
13495 (extend_buffers): Don't enlarge buffers beyond size of the input
13496 buffer.
13497 Patches mostly by Emil Wojak <emil@wojak.eu>.
13498 * posix/bug-regex32.c: New file.
13499 * posix/Makefile (tests): Add bug-regex32.
13500
4f031072
UD
13501 * locale/findlocale.c (_nl_find_locale): Return right away if
13502 _nl_explode_name failed.
13503 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13504
d0478f0c
UD
13505 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13506
de81b246
UD
13507 * debug/xtrace.sh: Unify messages.
13508 * malloc/memusage.sh: Likewise.
13509
c738465a
UD
13510 [BZ #12813]
13511 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13512 time symbol from vDSO. Substitute with vsyscall if not available.
13513 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13514 __vdso_time.
13515
f1f929d7
UD
13516 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13517 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13518 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13519 Add sendmmsg and internal_sendmmsg.
13520 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13521 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13522 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13523
ce67228d
UD
13524 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13525 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13526 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13527
e57420c6
UD
135282011-05-27 Ulrich Drepper <drepper@gmail.com>
13529
a8509ca5
UD
13530 [BZ #12813]
13531 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13532 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13533 available.
13534 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13535 __vdso_getcpu.
13536
e57420c6
UD
13537 [BZ #12814]
13538 * iconvdata/Makefile (tests): Add bug-iconv9.
13539 * iconvdata/bug-iconv9.c: New file.
13540
4d07db15
AS
135412011-05-27 Andreas Schwab <schwab@redhat.com>
13542
13543 [BZ #12814]
13544 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13545
ea486f69
JJ
135462011-05-25 Jakub Jelinek <jakub@redhat.com>
13547
13548 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13549 (struct user_regs_struct): Change intcs field back to cs.
13550
6f038433
UD
135512011-05-25 Ulrich Drepper <drepper@gmail.com>
13552
13553 * po/ja.po: Update from translation team.
13554
67f86a25
UD
135552011-05-23 Ulrich Drepper <drepper@gmail.com>
13556
13557 [BZ #12795]
13558 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13559 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13560
def7fbd6
AS
135612011-05-20 Andreas Schwab <schwab@redhat.com>
13562
13563 * stdlib/longlong.h: Update from GCC.
13564
f50ef8f1
AS
135652011-05-23 Andreas Schwab <schwab@redhat.com>
13566
13567 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13568 parameter name.
13569 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13570 Add parameter name.
13571 (__sysconf): Pass it down.
13572
de7ce8f1
UD
135732011-05-22 Ulrich Drepper <drepper@gmail.com>
13574
f2962a71
UD
13575 [BZ #12671]
13576 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13577 some situations.
13578 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13579 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13580 add in in __libc_use_alloca calls. Adjust callers.
13581 (glob): Use malloc in some situations.
13582
de7ce8f1
UD
13583 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13584 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13585 pltexit.
13586
aec84f53
UD
135872011-05-21 Ulrich Drepper <drepper@gmail.com>
13588
05bb4a68
UD
13589 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13590 and CLOCK_BOOTTIME_ALARM.
13591
7ea72f99
UD
13592 [BZ #12782]
13593 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13594 is returned.
13595
7e4afad5
UD
13596 * string/_strerror.c (__strerror_r): Print negative errors as signed
13597 numbers.
13598
8e211fec
UD
13599 [BZ #12777]
13600 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13601 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13602 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13603
f7d82dc9
UD
13604 * configure.in: Fix typo in redirection and correct removal of test
13605 files in two cases.
13606
cc9e536d
UD
13607 [BZ #12788]
13608 * locale/setlocale.c (new_composite_name): Fix test to check for
13609 identical name of all categories.
13610
aec84f53
UD
13611 [BZ #12792]
13612 * libio/filedoalloc.c (local_isatty): New function.
13613 (_IO_file_doallocate): Use local_isatty.
13614 * stdio-common/perror.c (perror): In case a new stream is used
13615 forward the stream error.
13616 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13617 error flag.
13618
78e64fdc
RT
136192011-05-20 Ulrich Drepper <drepper@gmail.com>
13620
34a9094f
UD
13621 [BZ #11869]
13622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13623 alloca.
13624 * include/alloca.h (extend_alloca_account): Define.
13625
78e64fdc
RT
13626 [BZ #11857]
13627 * posix/regex.h: Fix comments with documentation of user-accessible
13628 fields after compilation and describe correct free'ing of pattern
13629 after re_compile_pattern.
13630 Patch by Reuben Thomas <rrt@sc3d.org>.
13631
457bddfc
RA
136322011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13633
13634 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13635 and -mno-altivec to prevent the compiler from using Altivec and/or
13636 VSX instructions when the corresponding registers are not available.
13637
a4527b51
AS
136382011-05-19 Andreas Schwab <schwab@redhat.com>
13639
13640 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13641
ed690b2f
UD
136422011-05-19 Ulrich Drepper <drepper@gmail.com>
13643
13644 * libio/freopen.c (freopen): Use __dup2, not dup2.
13645 * libio/freopen64.c (freopen64): Likewise.
13646
8db73634
L
136472011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13648
13649 [BZ #12775]
13650 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13651 * math/Makefile (tests): Add test-powl.
13652 (CFLAGS-test-powl.c): Define.
13653 * math/test-powl.c: New file.
13654
0a197a9d
L
136552011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13656
13657 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13658
ee30c380
UD
136592011-05-17 Ulrich Drepper <drepper@gmail.com>
13660
13661 [BZ #11837]
13662 * iconvdata/gb18030.c: Update to GB18020-2005.
13663
6ce75379
UD
136642011-05-16 Ulrich Drepper <drepper@gmail.com>
13665
a4b89fd8
AR
13666 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13667 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13668 Patch by Aharon Robbins <arnold@skeeve.com>.
13669
ea389b12
UD
13670 [BZ #11892]
13671 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13672 on the stack.
13673
68a3f91f
UD
13674 [BZ #11895]
13675 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13676 through underflows.
13677
15cc7dd1
UD
13678 [BZ #12766]
13679 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13680 point to strings before performing equality test for error_one_per_line
13681 mode.
13682
f3799213
UD
13683 [BZ #11697]
13684 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13685
d79a9c94
UD
13686 [BZ #11820]
13687 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13688 (struct user_fpregs_struct): Avoid __uint*_t types.
13689
56e5eb46
UD
13690 [BZ #6420]
13691 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13692 symbol info. Use it instead of calling _dl_addr locally.
13693 (lock_and_info): New function.
13694 (tr_freehook): Call lock_and_info and pass symbol info as additional
13695 parameter to tr_where.
13696 (tr_mallochook): Likewise.
13697 (tr_reallochook): Likewise.
13698 (tr_memalignhook): Likewise.
13699
6ce75379
UD
13700 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13701 used and couldn't be at all thread-safe.
13702
f8a3b5bf
UD
137032011-05-15 Ulrich Drepper <drepper@gmail.com>
13704
94b7cc37
UD
13705 * libio/freopen.c (freopen): Don't close old file descriptor
13706 before the new one is opened. Instead dup the new file descriptor
13707 to the old one after the new stream is created.
13708 * libio/freopen64.c (freopen64): Likewise.
13709 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13710 * libio/fileops.c (_IO_new_file_close_it): Handle new
13711 _IO_FLAGS2_NOCLOSE flag.
13712 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13713 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13714 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13715 _IO_FLAGS2_NOCLOSE flag.
13716 * include/unistd.h: Add hidden_proto for dup3.
13717 Define __have_dup3.
13718 * io/dup3.c: Define hidden symbol.
13719 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13720
bd25564e
UD
13721 [BZ #7101]
13722 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13723 when an incomplete long option is used.
13724 * posix/tst-getopt_long1.c: New file.
13725 * posix/Makefile (tests): Add tst-getopt_long1.
13726
c84cfef4
UD
13727 [BZ #10138]
13728 * scripts/config.guess: Update from autoconf-2.68.
13729 * scripts/config.sub: Likewise.
13730
3b85df27
UD
13731 [BZ #10157]
13732 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13733 tests into ...
13734 (has_cpuclock): ...this. New function.
13735 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13736 macro here based on has_cpuclock code.
13737
15a856b1
UD
13738 [BZ #10149]
13739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13740 First byte (not low byte) is now always NUL.
13741 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13742
05f399e6
UD
13743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13744 Use non-cancelable interfaces.
13745
10a52685 13746 [BZ #9809]
94ecc67d
UD
13747 * locale/iso-639.def: Add entry for Sorani.
13748
f8a3b5bf
UD
13749 [BZ #11901]
13750 * include/stdlib.h: Move include protection to the right place.
13751 Define abort_msg_s. Declare __abort_msg with it.
13752 * stdlib/abort.c (__abort_msg): Adjust type.
13753 * assert/assert.c (__assert_fail_base): New function. Majority
13754 of code from __assert_fail. Allocate memory for __abort_msg with
13755 mmap.
13756 (__assert_fail): Now call __assert_fail_base.
13757 * assert/assert-perr.c: Remove bulk of implementation. Use
13758 __assert_fail_base.
13759 * include/assert.hL Declare __assert_fail_base.
13760 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13761 mmap.
13762 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13763
1af4e298
UD
137642011-05-14 Ulrich Drepper <drepper@gmail.com>
13765
f8a3b5bf 13766 [BZ #11952]
d26dfc60
MG
13767 [BZ #12453]
13768 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13769 until all modules are registered in the DTV.
13770 * elf/Makefile: Add rules to build and run tst-tls19.
13771 * elf/tst-tls19.c: New file.
13772 * elf/tst-tls19mod1.c: New file.
13773 * elf/tst-tls19mod2.c: New file.
13774 * elf/tst-tls19mod3.c: New file.
13775 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13776
2fc54d6f
UD
13777 [BZ #12083]
13778 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13779 correctly.
13780
98d76b46
UD
13781 [BZ #12601]
13782 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13783 two-byte sequence errors.
13784 * iconvdata/Makefile (tests): Add bug-iconv8.
13785 * iconvdata/bug-iconv8.c: New file.
13786
da3c19ef
UD
13787 [BZ #12626]
13788 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13789 buf2 definition.
13790
ca408c15
UD
13791 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13792
d6f67f7d
UD
13793 [BZ #12432]
13794 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13795 (dummy_getcfa): New function.
13796 (init): Get _Unwind_GetCFA address, use dummy if not found.
13797 (backtrace_helper): In recursion check, also check whether CFA changes.
13798 (__backtrace): Completely initialize arg.
13799
1af4e298 13800 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13801 storing incomplete byte sequence in state object. Avoid testing for
13802 guaranteed too small input if we know there is enough data available.
1af4e298 13803
da62f81b
AS
138042011-05-11 Andreas Schwab <schwab@redhat.com>
13805
13806 * Makeconfig (+link-pie): Indent.
13807 * Rules (binaries-pie): Define if $(have-fpie) and
13808 $(build-shared).
13809 (binaries-shared): Also filter out $(binaries-pie).
13810 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13811 * nscd/Makefile (others-pie): Add nscd.
13812 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13813 ($(objpfx)nscd): Remove command override.
13814 * login/Makefile (others-pie): Add pt_chown.
13815 ($(objpfx)pt_chown): Remove command override.
13816 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13817 remove command overrides.
13818
fcabc0f8
UD
138192011-05-13 Ulrich Drepper <drepper@gmail.com>
13820
20030ae6
UD
13821 * libio/tst_putwc.c: Fix error messages.
13822
fcabc0f8
UD
13823 [BZ #12724]
13824 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13825 currently writing and seek to current position when not.
13826 * libio/Makefile (tests): Add bug-fclose1.
13827 * libio/bug-fclose1.c: New file.
13828
320a5dc0
PB
138292011-05-12 Ulrich Drepper <drepper@gmail.com>
13830
13831 [BZ #12511]
13832 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13833 don't set DF_1_NODELETE here.
13834 (do_lookup_x): When entering new entry test for copy relocation
13835 and if necessary set DF_1_NODELETE flag.
13836 * elf/tst-unique4.cc: New file.
13837 * elf/tst-unique4.h: New file.
13838 * elf/tst-unique4lib.cc: New file.
13839 * elf/Makefile: Add rules to build and run tst-unique4.
13840 Patch by Piotr Bury <pbury@goahead.com>.
13841
22836f52
UD
138422011-05-11 Ulrich Drepper <drepper@gmail.com>
13843
f574184a
UD
13844 [BZ #12052]
13845 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13846
e1fb097f
UD
13847 [BZ #12625]
13848 * misc/mntent_r.c (addmntent): Flush the stream after the output
13849
22836f52
UD
13850 [BZ #12393]
13851 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13852 (is_trusted_path_normalize): Skip initial colon. Append slash
13853 to empty buffer. Duplicate is_trusted_path code but allow
13854 constructed patch to be prefix.
13855 (is_dst): Allow $ORIGIN followed by /.
13856 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13857 Correct testing of result of is_trusted_path_normalize
13858 (decompose_rpath): Fix warning.
13859
7b3b0b2a
UD
138602011-05-10 Ulrich Drepper <drepper@gmail.com>
13861
13862 [BZ #11257]
13863 * grp/initgroups.c (internal_getgrouplist): When we found the service
13864 list through the initgroups entry in nsswitch.conf do not always
13865 continue on a successful lookup. Don't always use the
eac80ce2 13866 __nss_group_database value if it is set.
7b3b0b2a
UD
13867 * nss/nsswitch.conf (initgroups): Change action for successful db
13868 lookup to continue for compatibility.
13869
2a81eaa5
UD
138702011-05-09 Ulrich Drepper <drepper@gmail.com>
13871
be97a69e
UD
13872 [BZ #11532]
13873 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13874 and CP774 modules.
13875 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13876 and CP774 modules.
13877 * iconvdata/tst-tables.sh: Likewise.
13878 * iconvdata/cp770.c: New file.
13879 * iconvdata/cp771.c: New file.
13880 * iconvdata/cp772.c: New file.
13881 * iconvdata/cp773.c: New file.
13882 * iconvdata/cp774.c: New file.
13883 * iconvdata/testdata/CP770: New file.
13884 * iconvdata/testdata/CP770..UTF8: New file.
13885 * iconvdata/testdata/CP771: New file.
13886 * iconvdata/testdata/CP771..UTF8: New file.
13887 * iconvdata/testdata/CP772: New file.
13888 * iconvdata/testdata/CP772..UTF8: New file.
13889 * iconvdata/testdata/CP773: New file.
13890 * iconvdata/testdata/CP773..UTF8: New file.
13891 * iconvdata/testdata/CP774: New file.
13892 * iconvdata/testdata/CP774..UTF8: New file.
13893
13894 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13895 END CHARMAP line.
13896 * iconvdata/gen-8bit-gap.sh: Likewise.
13897 * iconvdata/gen-8bit.sh: Likewise.
13898
c1e9e399
UD
13899 * locale/iso-639.def: Add ary entry.
13900
24c55fb3 13901 [BZ #11258]
96b4b1b0
UD
13902 * locale/C-translit.h.in: Add U20A1 transliteration.
13903
bdc2f971
KB
13904 [BZ #12178]
13905 * locale/iso-639.def: Add wae entry.
13906 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13907
2952b117
UD
13908 [BZ #12545]
13909 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13910 for n.
13911
2a81eaa5
UD
13912 [BZ #12711]
13913 * locale/C-translit.h.in: Add entry for U20B9.
13914 Patch by pravin.d.s@gmail.com.
13915
28377d1b
UD
139162011-05-08 Ulrich Drepper <drepper@gmail.com>
13917
7fb90fb8
UD
13918 [BZ #12713]
13919 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13920 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13921 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13922 in rtld. Use *stat64.
7fb90fb8 13923 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13924 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13925 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13926 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13927 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13928 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13929 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13930 __fstatat64 macros.
7fb90fb8
UD
13931 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13932 * dirent/rewinddir.c: Add libc_hidden_def.
13933 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13934 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13935
28377d1b
UD
13936 * include/dirent.h (__alloc_dir): Add flags parameter.
13937 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13938 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13939 __alloc_dir.
13940 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13941 from fdopendir if O_CLOEXEC is already set.
13942
66bdbaa4
AM
139432011-03-15 Alan Modra <amodra@gmail.com>
13944
13945 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13946 l_tls_firstbyte_offset non-zero. Save padding offset in
13947 l_tls_firstbyte_offset for later use.
13948 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13949 freeing static tls block.
13950
95721191
JN
139512011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13952
13953 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13954 where #ifdef was intended. The intent is to prevent ARG_MAX from
13955 being defined by the kernel headers.
13956
f87dfb1f
UD
139572011-05-07 Ulrich Drepper <drepper@gmail.com>
13958
13959 [BZ #12734]
13960 * resolv/resolv.h: Define RES_NOTLDQUERY.
13961 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13962 no-tld-query and set RES_NOTLDQUERY.
13963 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13964 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13965 modern BIND to search name as TLD unless forbidden.
13966
47c3cd7a
UD
139672011-05-07 Petr Baudis <pasky@suse.cz>
13968 Ulrich Drepper <drepper@gmail.com>
13969
13970 [BZ #12393]
13971 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13972 (is_trusted_path): ...to here.
c1e9ea35 13973 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13974 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13975 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13976
8a35c912
PP
139772011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13978
13979 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13980 __BEGIN/__END_DECLS.
13981
acd41f47
UD
139822011-05-06 Ulrich Drepper <drepper@gmail.com>
13983
13984 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13985 NSS_STATUS_NOTFOUND if no record was found.
13986
597df647
AS
139872011-05-05 Andreas Schwab <schwab@redhat.com>
13988
13989 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13990 (headers-not-in-tirpc): Remove rpc/netdb.h
13991 * resolv/netdb.h: Revert last change.
13992
b9af1301
PP
139932011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13994
13995 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13996 circular dependency between libgcc.a and libc.a.
13997
4e34d5f5
AS
139982011-05-05 Andreas Schwab <schwab@redhat.com>
13999
14000 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14001 * nis/Makefile: Don't install rpcsvc/*.
14002 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14003 instead of <rpc/types.h>.
14004 (MAXHOSTNAMELEN): Define.
14005
00ee369c
AS
140062011-05-03 Andreas Schwab <schwab@redhat.com>
14007
14008 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14009
0b592a30
MB
140102011-04-28 Maciej Babinski <mbabinski@google.com>
14011
14012 [BZ #12714]
14013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14014 gethostbyname4_r when IPv6 results are possible.
14015
6e04cbbe
UD
140162011-05-02 Ulrich Drepper <drepper@gmail.com>
14017
14018 [BZ #12723]
14019 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14020 _PC_PIPE_BUF handling.
14021
e4ecafe0
BH
140222011-04-30 Bruno Haible <bruno@clisp.org>
14023
14024 [BZ #12717]
14025 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14026 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14027 to 'int'.
14028 * inet/getnameinfo.c (getnameinfo): Likewise.
14029
125ee683
UD
140302011-04-29 Ulrich Drepper <drepper@gmail.com>
14031
14032 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14033 to groups setting in database lookup.
14034 * nss/nsswitch.conf: Add initgroups entry.
14035
b722481a
EB
140362011-04-22 Ulrich Drepper <drepper@gmail.com>
14037
14038 [BZ #12685]
14039 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14040 mode string.
14041 Patch by Eric Blake <eblake@redhat.com>.
14042
4df46dbd
L
140432011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14044
14045 * sunrpc/Makefile (need-export-routines): Add svc_run.
14046 (routines): Remove svc_run.
14047 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14048 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14049 * sunrpc/svc_run.c (svc_run): Likewise.
14050 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14051
e84142d2
UD
140522011-04-21 Ulrich Drepper <drepper@gmail.com>
14053
14054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14055 problem in reallocation in last patch.
14056
877175d8
UD
140572011-04-20 Ulrich Drepper <drepper@gmail.com>
14058
14059 * sunrpc/Makefile: Move inclusion of Rules.
14060
ab8eed78
UD
140612011-04-19 Ulrich Drepper <drepper@gmail.com>
14062
14063 * nss/nss_files/files-initgroups.c: New file.
14064 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14065 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14066 _nss_files_initgroups_dyn.
14067
e3d8f584
RS
140682011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14069
14070 * elf/elf.h (R_ARM_IRELATIVE): Define.
14071
af190f45
UD
140722011-04-19 Ulrich Drepper <drepper@gmail.com>
14073
14074 * po/ru.po: Update from translation team.
14075
53cf59ef
UD
140762011-04-17 Ulrich Drepper <drepper@gmail.com>
14077
14078 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14079 dependencies.
14080
4c559bcd
MF
140812011-02-06 Mike Frysinger <vapier@gentoo.org>
14082
14083 [BZ #12653]
14084 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14085 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14086 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14089
4420675c
AS
140902011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14091
14092 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14093 differing bytes.
14094 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14095 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14096 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14097
75ea32ab
UD
140982011-04-17 Ulrich Drepper <drepper@gmail.com>
14099
14100 [BZ #12420]
14101 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14102 storing it.
14103 * stdlib/bug-getcontext.c: New file.
14104 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14105
27390476
AK
141062011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14107
14108 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14109 instructions into .machine "z9-109".
14110 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14111 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14112
10442705
AK
141132011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14114
14115 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14116 between environment variables and auxiliary vector.
14117
7b57bfe5
UD
141182011-04-16 Ulrich Drepper <drepper@gmail.com>
14119
14120 * Makefile: Add rules to build linkobj/libc.so.
14121 * include/libc-symbols.h: Define libc_hidden_nolink.
14122 * include/rpc/auth.h: Mark functions which are to be hidden.
14123 * include/rpc/auth_des.h: Likewise.
14124 * include/rpc/auth_unix.h: Likewise.
14125 * include/rpc/clnt.h: Likewise.
14126 * include/rpc/des_crypt.h: Likewise.
14127 * include/rpc/key_prot.h: Likewise.
14128 * include/rpc/pmap_clnt.h: Likewise.
14129 * include/rpc/pmap_prot.h: Likewise.
14130 * include/rpc/pmap_rmt.h: Likewise.
14131 * include/rpc/rpc_msg.h: Likewise.
14132 * include/rpc/svc.h: Likewise.
14133 * include/rpc/svc_auth.h: Likewise.
14134 * include/rpc/xdr.h: Likewise.
14135 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14136 * nss/Makefile: Likewise.
14137 * sunrpc/Makefile: Don't install headers. Build library with normal
14138 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14139 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14140 for the compat linking library. Remove use of INTDEF/INTUSE.
14141 * sunrpc/auth_none.c: Likewise.
14142 * sunrpc/auth_unix.c: Likewise.
14143 * sunrpc/authdes_prot.c: Likewise.
14144 * sunrpc/authuxprot.c: Likewise.
14145 * sunrpc/clnt_gen.c: Likewise.
14146 * sunrpc/clnt_perr.c: Likewise.
14147 * sunrpc/clnt_raw.c: Likewise.
14148 * sunrpc/clnt_simp.c: Likewise.
14149 * sunrpc/clnt_tcp.c: Likewise.
14150 * sunrpc/clnt_udp.c: Likewise.
14151 * sunrpc/clnt_unix.c: Likewise.
14152 * sunrpc/des_crypt.c: Likewise.
14153 * sunrpc/des_soft.c: Likewise.
14154 * sunrpc/get_myaddr.c: Likewise.
14155 * sunrpc/key_call.c: Likewise.
14156 * sunrpc/key_prot.c: Likewise.
14157 * sunrpc/netname.c: Likewise.
14158 * sunrpc/pm_getmaps.c: Likewise.
14159 * sunrpc/pm_getport.c: Likewise.
14160 * sunrpc/pmap_clnt.c: Likewise.
14161 * sunrpc/pmap_prot.c: Likewise.
14162 * sunrpc/pmap_prot2.c: Likewise.
14163 * sunrpc/pmap_rmt.c: Likewise.
14164 * sunrpc/publickey.c: Likewise.
14165 * sunrpc/rpc_cmsg.c: Likewise.
14166 * sunrpc/rpc_common.c: Likewise.
14167 * sunrpc/rpc_dtable.c: Likewise.
14168 * sunrpc/rpc_prot.c: Likewise.
14169 * sunrpc/rpc_thread.c: Likewise.
14170 * sunrpc/rtime.c: Likewise.
14171 * sunrpc/svc.c: Likewise.
14172 * sunrpc/svc_auth.c: Likewise.
14173 * sunrpc/svc_authux.c: Likewise.
14174 * sunrpc/svc_raw.c: Likewise.
14175 * sunrpc/svc_run.c: Likewise.
14176 * sunrpc/svc_simple.c: Likewise.
14177 * sunrpc/svc_tcp.c: Likewise.
14178 * sunrpc/svc_udp.c: Likewise.
14179 * sunrpc/svc_unix.c: Likewise.
14180 * sunrpc/svcauth_des.c: Likewise.
14181 * sunrpc/xcrypt.c: Likewise.
14182 * sunrpc/xdr.c: Likewise.
14183 * sunrpc/xdr_array.c: Likewise.
14184 * sunrpc/xdr_float.c: Likewise.
14185 * sunrpc/xdr_intXX_t.c: Likewise.
14186 * sunrpc/xdr_mem.c: Likewise.
14187 * sunrpc/xdr_rec.c: Likewise.
14188 * sunrpc/xdr_ref.c: Likewise.
14189 * sunrpc/xdr_sizeof.c: Likewise.
14190 * sunrpc/xdr_stdio.c: Likewise.
14191
e6c61494
UD
141922011-04-10 Ulrich Drepper <drepper@gmail.com>
14193
14194 [BZ #12650]
14195 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14196 * sysdeps/ia64/dl-tls.h: Likewise.
14197 * sysdeps/powerpc/dl-tls.h: Likewise.
14198 * sysdeps/s390/dl-tls.h: Likewise.
14199 * sysdeps/sh/dl-tls.h: Likewise.
14200 * sysdeps/sparc/dl-tls.h: Likewise.
14201 * sysdeps/x86_64/dl-tls.h: Likewise.
14202 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14203
34fe483e
AS
142042011-03-14 Andreas Schwab <schwab@redhat.com>
14205
14206 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14207 rpath element also skip the following colon.
14208 (expand_dynamic_string_token): Add is_path parameter and pass
14209 down to DL_DST_REQUIRED and _dl_dst_substitute.
14210 (decompose_rpath): Call expand_dynamic_string_token with
14211 non-zero is_path. Ignore empty rpaths.
14212 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14213 with zero is_path.
14214
f12a32e6
AS
142152011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14216
14217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14218 Make cancelable.
14219
38a7d692
UD
142202011-04-09 Ulrich Drepper <drepper@gmail.com>
14221
14222 [BZ #12655]
14223 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14224 Patch by Filipe David Manana <fdmanana@apache.org>.
14225
e451d22b
AS
142262011-04-07 Andreas Schwab <schwab@redhat.com>
14227
14228 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14229 Maintain aligned stack.
14230 (CHECK_RSP): Remove unused macro.
14231
dedc7c7b
UD
142322011-04-03 Ulrich Drepper <drepper@gmail.com>
14233
14234 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14235 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14236
94521213
UD
142372011-04-02 Ulrich Drepper <drepper@gmail.com>
14238
14239 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14240
8cb700c0 14241 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14242
0354e355
L
142432011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14244
14245 [BZ #12518]
14246 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14247 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14248 * sysdeps/x86_64/memmove.c: New file.
14249 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14250 (memcpy): Renamed to ...
14251 (__new_memcpy): This.
14252 (memcpy): Provide GLIBC_2_14 memcpy.
14253 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14254 (memcpy): Provide GLIBC_2_2_5 memcpy.
14255
8593482f
UD
142562011-04-01 Ulrich Drepper <drepper@gmail.com>
14257
14258 [BZ #12631]
14259 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14260
81a5726b
AS
142612011-03-30 Andreas Schwab <schwab@redhat.com>
14262
14263 * misc/syncfs.c: New file.
14264 * misc/Makefile (routines): Add syncfs.
14265 * posix/unistd.h: Declare syncfs.
14266 * sysdeps/unix/syscalls.list: Add syncfs.
14267
00e5419f
AS
142682011-04-01 Andreas Schwab <schwab@redhat.com>
14269
14270 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14271 open_by_handle_at.
14272 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14273 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14277 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14278 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14279
748876bf
UD
142802011-04-01 Ulrich Drepper <drepper@gmail.com>
14281
658e451d
UD
14282 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14283 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14284 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14286 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14288 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14289
748876bf
UD
14290 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14291 sync_file_range.c with -fexceptions.
14292 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14293 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14294 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14295 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14296 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14297 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14298 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14299 sync_file_range as cancellation point
14300 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14301 now a wrapper around __call_sync_file_range with cancellation handling.
14302 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14303 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14304 function name to __call_sync_file_range.
14305 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14306 Add call_sync_file_range.
748876bf 14307
6e63d5e1
AS
143082011-04-01 Andreas Schwab <schwab@redhat.com>
14309
14310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14311 bits/timex.h.
6e63d5e1 14312
46998f74
UD
143132011-04-01 Ulrich Drepper <drepper@gmail.com>
14314
4c1423ed
UD
14315 * iconv/iconv.h: Fix typo in comment.
14316 * io/fcntl.h: Likewise.
14317 * libio/stdio.h: Likewise.
14318 * posix/spawn.h: Likewise.
14319 * posix/unistd.h: Likewise.
14320 * stdlib/stdlib.h: Likewise.
14321 * time/time.h: Likewise.
14322 * wcsmbs/wchar.h: Likewise.
14323
158648c0
UD
14324 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14325 open_by_handle): Add.
14326 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14327 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14328 Augment a few comments.
14329 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14330 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14331 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14333 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14334 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14335 open_by_handle.
14336
46998f74
UD
14337 * io/fcntl.h (AT_EMPTY_PATH): Define.
14338
83fe108b
UD
143392011-03-30 Ulrich Drepper <drepper@gmail.com>
14340
14341 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14342 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14343 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14344 to...
14345 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14346 * Versions.def: Add GLIBC_2.14.
14347 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14348 Export.
83fe108b 14349
bb242059
UD
143502011-03-22 Ulrich Drepper <drepper@gmail.com>
14351
14352 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14353 round counter.
14354 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14355
c97a1282
L
143562011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14357
14358 [BZ #12597]
14359 * string/test-strncmp.c (do_page_test): New function.
14360 (check2): Likewise.
14361 (test_main): Call check2.
14362 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14363
2a115601
UD
143642011-03-20 Ulrich Drepper <drepper@gmail.com>
14365
14366 [BZ #12587]
14367 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14368 Handle cache information in CPU leaf 4.
14369 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14370
8126d904
UD
143712011-03-18 Ulrich Drepper <drepper@gmail.com>
14372
042c49c6 14373 [BZ #12583]
8126d904
UD
14374 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14375 character representation.
14376 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14377
ccfe366e
RA
143782011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14379
14380 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14381 END(__isnan) to END(__isnanf) to match function entry point/label
14382 EALIGN(__isnanf,...).
14383
c6e13027
JJ
143842011-03-10 Jakub Jelinek <jakub@redhat.com>
14385
14386 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14387
33f85a3f
UD
143882011-03-10 Ulrich Drepper <drepper@gmail.com>
14389
028478fa
UD
14390 [BZ #12510]
14391 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14392 copy from the symbol referenced in the relocation to initialize the
14393 used variable.
14394 Patch by Piotr Bury <pbury@goahead.com>.
14395 * elf/Makefile: Add rules to build and tst-unique3.
14396 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14397 * elf/tst-unique3.cc: New file.
14398 * elf/tst-unique3.h: New file.
14399 * elf/tst-unique3lib.cc: New file.
14400 * elf/tst-unique3lib2.cc: New file.
14401
33f85a3f
UD
14402 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14403
03592fc7
MF
144042011-03-10 Mike Frysinger <vapier@gentoo.org>
14405
14406 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14407 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14408 to _start.
03592fc7 14409
6a5ee102
UD
144102011-03-06 Ulrich Drepper <drepper@gmail.com>
14411
14412 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14413 to-be-loaded object along a path to loader is ld.so.
14414
7e4ba49c
HJ
144152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14416 Ulrich Drepper <drepper@gmail.com>
14417
14418 * sysdeps/x86_64/memset.S: After aligning destination, code
14419 branches to different locations depending on the value of
14420 misalignment, when multiarch is enabled. Fix this.
14421
144222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14423
14424 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14425 Set _x86_64_preferred_memory_instruction for AMD processsors.
14426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14427 Set bit_Prefer_SSE_for_memop for AMD processors.
14428
13a804de
UD
144292011-03-04 Ulrich Drepper <drepper@gmail.com>
14430
14431 * libio/fmemopen.c (fmemopen): Optimize a bit.
14432
9d25c392
AS
144332011-03-03 Andreas Schwab <schwab@redhat.com>
14434
14435 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14436
a5543c6a
RM
144372011-03-03 Roland McGrath <roland@redhat.com>
14438
14439 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14440
012d35f7
DM
144412011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14442
7e4ba49c 14443 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14444 __bzero_ultra1 instead of __memset_ultra1.
14445
4bff6e01
AS
144462011-02-23 Andreas Schwab <schwab@redhat.com>
14447 Ulrich Drepper <drepper@gmail.com>
14448
14449 [BZ #12509]
14450 * include/link.h (struct link_map): Add l_orig_initfini.
14451 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14452 returning unsuccessfully.
14453 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14454 close of a file loaded at startup, restore the original l_initfini
14455 list.
14456 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14457 list, store the pointer.
14458 * elf/Makefile ($(objpfx)noload-mem): New rule.
14459 (noload-ENV): Define.
14460 (tests): Add $(objpfx)noload-mem.
14461 * elf/noload.c: Include <memcheck.h>.
14462 (main): Call mtrace. Close all opened handles.
14463
f2092faf
AS
144642011-02-17 Andreas Schwab <schwab@redhat.com>
14465
14466 [BZ #12454]
14467 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14468 dependencies are missing.
14469
6c8a2e88
ST
144702011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14471
f2092faf 14472 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14473 Hurd needs munmap.
14474 * sysdeps/mach/hurd/ifreq.h: New file.
14475
84a42118
PB
144762011-01-27 Petr Baudis <pasky@suse.cz>
14477 Ulrich Drepper <drepper@gmail.com>
14478
071f805e 14479 [BZ 12445]#
84a42118
PB
14480 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14481 to extend_alloca().
14482 * stdio-common/bug23.c: New file.
14483 * stdio-common/Makefile (tests): Add bug23.
14484
e23fe25b
AS
144852010-09-28 Andreas Schwab <schwab@redhat.com>
14486 Ulrich Drepper <drepper@gmail.com>
14487
14488 [BZ #12489]
14489 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14490 before performing relro protection. At old place add assertion
14491 to make sure nothing changed.
14492
d3f02e10
NS
144932011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14494 Glauber de Oliveira Costa <glommer@gmail.com>
14495
14496 * elf/elf.h: Add new ARM TLS relocs.
14497
d55fd7a5
RA
144982011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14499
14500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14501 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14502 cast from r3.
14503 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14504 'tests' variable.
14505 * sysdeps/wordsize-64/tst-writev.c: New file.
14506
2206397e
RA
145072011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14508
14509 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14510 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14511 insns in _dl_start to prevent a TOC reference before relocs are
14512 resolved.
14513
e9433893
UD
145142011-02-15 Ulrich Drepper <drepper@gmail.com>
14515
14516 [BZ #12469]
14517 * Makeconfig: Remove RANLIB definition.
14518 * Makerules: Don't use RANLIB.
14519 * aclocal.m4: Remove ranlib test.
14520 * configure.in: No need to check for ranlib.
14521 * elf/rtld-Rules: Don't use RANLIB.
14522
f75286c6
ST
145232011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14524
8e31c82d
ST
14525 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14526 protection macro.
14527 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14528 inclusion protection macro.
14529
f75286c6
ST
14530 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14531 SIGRTMIN and SIGRTMAX and print information in that case only when
14532 SIGRTMIN is defined.
14533
c1d0e639
JJ
145342011-02-11 Jakub Jelinek <jakub@redhat.com>
14535
14536 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14537 arginfo fn returning -1.
14538
14539 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14540 and thousands string is zero terminated.
14541
edf9294e
AS
145422011-02-03 Andreas Schwab <schwab@redhat.com>
14543
14544 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14545 sysdeps/unix/sysv/linux/bits/socket.h.
14546
2b7e92df
ST
145472011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14548
edf9294e
AS
14549 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14550 (__CPU_COUNT): Remove old macros.
14551 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14552 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14553 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14554 (__sched_cpualloc, __sched_cpufree): Add declarations.
14555
a4c7ea7b
UD
145562011-02-05 Ulrich Drepper <drepper@gmail.com>
14557
14558 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14559 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14560 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14561 (readdhstai): Return value of addhstaiX call.
14562 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14563 (addgrbyX): Return value returned by cache_addgr.
14564 (readdgrbyname): Return value returned by addgrbyX.
14565 (readdgrbygid): Likewise.
14566 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14567 (addpwbyX): Return value returned by cache_addpw.
14568 (readdpwbyname): Return value returned by addhstbyX.
14569 (readdpwbyuid): Likewise.
14570 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14571 (addservbyX): Return value returned by cache_addserv.
14572 (readdservbyname): Return value returned by addservbyX:
14573 (readdservbyport): Likewise.
14574 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14575 (addhstbyX): Return value returned by cache_addhst.
14576 (readdhstbyname): Return value returned by addhstbyX.
14577 (readdhstbyaddr): Likewise.
14578 (readdhstbynamev6): Likewise.
14579 (readdhstbyaddrv6): Likewise.
14580 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14581 (readdinitgroups): Return value returned by addinitgroupsX.
14582 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14583 (prune_cache): Keep track of timeout value of re-added entries.
14584 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14585 * nscd/nscd.h: Adjust prototypes of readd* functions.
14586
a0bf67cc
RM
145872011-02-04 Roland McGrath <roland@redhat.com>
14588
14589 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14590 (nis_stats): Likewise.
14591 * nis/nis_modify.c (nis_modify): Likewise.
14592 * nis/nis_remove.c (nis_remove): Likewise.
14593 * nis/nis_add.c (nis_add): Likewise.
14594
14595 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14596
14597 * posix/fnmatch_loop.c: Add some consts.
14598
14599 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14600
435b95eb
L
146012011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14602
14603 [BZ #12460]
14604 * config.make.in (config-cflags-novzeroupper): Define.
14605 * configure.in: Substitute libc_cv_cc_novzeroupper.
14606 * elf/Makefile (AVX-CFLAGS): Define.
14607 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14608 (CFLAGS-tst-auditmod4a.c): Likewise.
14609 (CFLAGS-tst-auditmod4b.c): Likewise.
14610 (CFLAGS-tst-auditmod6b.c): Likewise.
14611 (CFLAGS-tst-auditmod6c.c): Likewise.
14612 (CFLAGS-tst-auditmod7b.c): Likewise.
14613 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14614
8517b15e
UD
146152011-02-02 Ulrich Drepper <drepper@gmail.com>
14616
14617 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14618 function to the callback.
14619 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14620
10a656fe
AS
146212011-02-02 Andreas Schwab <schwab@redhat.com>
14622
14623 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14624 of errno.
14625
968dad0a
UD
146262011-01-19 Ulrich Drepper <drepper@gmail.com>
14627
9f94d2ea 14628 [BZ #11724]
968dad0a
UD
14629 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14630 of constructors.
14631 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14632 of destructors.
14633 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14634
14635 [BZ #11724]
14636 * elf/Makefile: Add rules to build and run new test.
14637 * elf/tst-initorder.c: New file.
14638 * elf/tst-initorder.exp: New file.
14639 * elf/tst-initordera1.c: New file.
14640 * elf/tst-initordera2.c: New file.
14641 * elf/tst-initordera3.c: New file.
14642 * elf/tst-initordera4.c: New file.
14643 * elf/tst-initorderb1.c: New file.
14644 * elf/tst-initorderb2.c: New file.
14645 * elf/tst-order-a1.c: New file.
14646 * elf/tst-order-a2.c: New file.
14647 * elf/tst-order-a3.c: New file.
14648 * elf/tst-order-a4.c: New file.
14649 * elf/tst-order-b1.c: New file.
14650 * elf/tst-order-b2.c: New file.
14651 * elf/tst-order-main.c: New file.
14652 New test case by George Gensure <werkt0@gmail.com>.
14653
86e92359
UD
146542010-10-01 Andreas Schwab <schwab@redhat.com>
14655
14656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14657 decoding ACE if AI_CANONIDN.
14658
5d5732b0
UD
146592011-01-18 Ulrich Drepper <drepper@gmail.com>
14660
14661 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14662
a77e8cbc
UD
146632011-01-17 Ulrich Drepper <drepper@gmail.com>
14664
6392473f
UD
14665 * version.h (RELEASE): Bump for 2.13 release.
14666 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14667
620a0529
UD
14668 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14669
18ba70a5
UD
14670 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14671 MADV_NOHUGEPAGE.
32465c3e
UD
14672 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14673 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14675 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14677 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14678
c0dafcf1
UD
14679 * posix/getconf.c: Update copyright year.
14680 * catgets/gencat.c: Likewise.
14681 * csu/version.c: Likewise.
14682 * debug/catchsegv.sh: Likewise.
14683 * debug/xtrace.sh: Likewise.
14684 * elf/ldconfig.c: Likewise.
14685 * elf/ldd.bash.in: Likewise.
14686 * elf/sprof.c (print_version): Likewise.
14687 * iconv/iconv_prog.c: Likewise.
14688 * iconv/iconvconfig.c: Likewise.
14689 * locale/programs/locale.c: Likewise.
14690 * locale/programs/localedef.c: Likewise.
14691 * malloc/memusage.sh: Likewise.
14692 * malloc/mtrace.pl: Likewise.
14693 * nscd/nscd.c (print_version): Likewise.
14694 * nss/getent.c: Likewise.
14695
a77e8cbc
UD
14696 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14697 PF_CAIF, and PF_ALG.
14698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14699
77e8bddf
AS
147002011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14701
1f20b93a
AS
14702 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14703 (modules-names): Use them.
14704 (ifunc-test-modules, ifunc-pie-tests): Define.
14705 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14706 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14707 (test-extras): Likewise.
14708 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14709 $(compile-command.c).
14710 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14711 (all-built-dso): Define.
14712 (check-textrel.out, check-execstack.out): Depend on it.
14713
77e8bddf
AS
14714 * configure.in: Don't override --enable-multi-arch.
14715
bc425b33
UD
147162011-01-15 Ulrich Drepper <drepper@gmail.com>
14717
14718 [BZ #6812]
14719 * nscd/hstcache.c (tryagain): Define.
14720 (cache_addhst): Return tryagain not notfound for temporary errors.
14721 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14722 failed.
14723
794c3ad3
UD
147242011-01-14 Ulrich Drepper <drepper@gmail.com>
14725
70181fdd
UD
14726 [BZ #10563]
14727 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14728 to make the syscall.
14729 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14730
794c3ad3
UD
14731 [BZ #12378]
14732 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14733 and fall back to matching as normal character if the string ends before
14734 the matching ']' is found. This is what POSIX requires.
14735 * posix/testfnm.c: Adjust test result.
14736 * posix/globtest.sh: Adjust test result. Add new test.
14737 * posix/tst-fnmatch.input: Likewise.
14738 * posix/tst-fnmatch2.c: Add new test.
14739
68dc9497
AS
147402010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14741
14742 * elf/Makefile (check-execstack): Revert last change. Depend on
14743 check-execstack.h.
14744 (check-execstack.h): New target.
14745 (generated): Add check-execstack.h.
14746 * elf/check-execstack.c: Include "check-execstack.h".
14747 (main): Revert last change.
14748 (handle_file): Return zero if GNU_STACK is absent and
14749 DEFAULT_STACK_PERMS doesn't include PF_X.
14750
451f001b
UD
147512011-01-13 Ulrich Drepper <drepper@gmail.com>
14752
cfa28e56
UD
14753 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14754 in child fails because the descriptor is already closed.
8cf8ce17
UD
14755 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14756 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14757 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14758
1086d70d
UD
14759 [BZ #12397]
14760 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14761 syscall.
14762
451f001b
UD
14763 [BZ #10484]
14764 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14765 temporary buffer used to handle multi lookups locally.
a85b5cb4 14766 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14767
08769175
UD
147682011-01-12 Ulrich Drepper <drepper@gmail.com>
14769
14770 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14771 loader is ld.so.
14772
5e49c52e
UD
147732011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14774
14775 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14776 alignment for SSE2.
14777
60522a5f
UD
147782011-01-12 Ulrich Drepper <drepper@gmail.com>
14779
14780 [BZ #12394]
14781 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14782 characters. When rounding increased number of integer digits recompute
14783 number of groups.
14784 * stdio-common/tst-grouping.c: New file.
14785 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14786
f257bbd7
UD
147872011-01-09 Ulrich Drepper <drepper@gmail.com>
14788
14789 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14790 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14791
14792 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14793 void.
14794 * bits/select.h: Likewise.
14795
fa9c15cb
UD
147962011-01-08 Ulrich Drepper <drepper@gmail.com>
14797
14798 * po/ja.po: Update from translation team.
14799
16c2895f
DM
148002011-01-04 David S. Miller <davem@sunset.davemloft.net>
14801
14802 [BZ #11155]
14803 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14804 implementation just like for lxstat, fxstatat, et al.
14805
2543fef2
JM
148062010-12-27 Jim Meyering <meyering@redhat.com>
14807
14808 [BZ #12348]
14809 * posix/regexec.c (build_trtable): Return failure indication upon
14810 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14811
98727dbe
UD
148122010-12-25 Ulrich Drepper <drepper@gmail.com>
14813
5bd6dc5c
UD
14814 [BZ #12201]
14815 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14816 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14817 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14818 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14819
97983464
UD
14820 [BZ #12207]
14821 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14822
98727dbe
UD
14823 [BZ #12204]
14824 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14825 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14826
4a531bb0
L
148272010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14828
14829 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14830 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14831 script has SORT_BY_INIT_PRIORITY.
14832 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14833 NO_CTORS_DTORS_SECTIONS is defined.
14834 * elf/soinit.c: Likewise.
14835 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14836 NO_CTORS_DTORS_SECTIONS is defined.
14837 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14838 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14839 * sysdeps/sh/init-first.c: Likewise.
14840 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14841
07eb4b71
UD
148422010-12-24 Ulrich Drepper <drepper@gmail.com>
14843
14844 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14845 always use the slow path.
14846
30950a5f
RA
148472010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14848
14849 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14850 similar rule which adds the sysdep directories to the header search in
14851 order to pick up the correct platform stackinfo.h.
14852 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14853 perform test if it is, otherwise return successfully without testing.
14854 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14855 DEFAULT_STACK_PERMS define in stackinfo.h.
14856 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14857 defined in stackinfo.h.
14858 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14859 DEFAULT_STACK_PERMS defined in stackinfo.h.
14860 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14861 * sysdeps/ia64/stackinfo.h: Likewise.
14862 * sysdeps/s390/stackinfo.h: Likewise.
14863 * sysdeps/sh/stackinfo.h: Likewise.
14864 * sysdeps/sparc/stackinfo.h: Likewise.
14865 * sysdeps/x86_64/stackinfo.h: Likewise.
14866 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14867 PF_X for powerpc64. Retain PF_X for powerpc32.
14868
db753e2c
UD
148692010-12-19 Ulrich Drepper <drepper@gmail.com>
14870
14b697f7
UD
14871 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14872 accurately.
db753e2c
UD
14873 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14874 GETDENTS_64BIT_ALIGNED.
14875
28300719
UD
148762010-12-14 Ulrich Drepper <dreper@gmail.com>
14877
14b697f7 14878 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14879
4f197237
AS
148802010-12-10 Andreas Schwab <schwab@redhat.com>
14881
dbb0472f
AS
14882 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14883 _GNU_SOURCE.
14884
4f197237
AS
14885 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14886 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14887 Remove __restrict.
14888 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14889 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14890
fb88ac72
UD
148912010-12-09 Ulrich Drepper <drepper@gmail.com>
14892
14893 [BZ #11655]
14894 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14895 are initialized.
14896
42acbb92
JJ
148972010-12-09 Jakub Jelinek <jakub@redhat.com>
14898
14899 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14900
c038d98d
UD
149012010-12-03 Ulrich Drepper <drepper@gmail.com>
14902
14903 * po/it.po: Update from translation team.
14904
3a4a2499
L
149052010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14906
14907 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14908 unused codes.
14909
1e24cf6e
UD
149102010-11-30 Ulrich Drepper <drepper@gmail.com>
14911
14912 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14913
a7690819
AS
149142010-11-24 Andreas Schwab <schwab@redhat.com>
14915
14916 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14917 specially.
14918 (gaih_getanswer_slice): Likewise.
14919
3bf8d1b1
JJ
149202010-10-20 Jakub Jelinek <jakub@redhat.com>
14921
14922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14923
6db52fbb
PB
149242010-05-31 Petr Baudis <pasky@suse.cz>
14925
14926 [BZ #11149]
14927 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14928 silently even in the chroot mode.
14929
eaca7569
UD
149302010-11-22 Ulrich Drepper <drepper@gmail.com>
14931
14932 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14933 last patch a bit. Pretty printing
14934
3056dcdb
UD
149352010-05-31 Petr Baudis <pasky@suse.cz>
14936
14937 [BZ #10085]
14938 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14939 initialization of skip_initgroups_dyn.
14940
cf7c9078
UD
149412010-11-19 Ulrich Drepper <drepper@gmail.com>
14942
14943 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14944 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14945
a1fb5e3e
UD
149462010-11-16 Ulrich Drepper <drepper@gmail.com>
14947
14948 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14949
3540d66b
AS
149502010-11-11 Andreas Schwab <schwab@redhat.com>
14951
14952 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14953 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14954 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14955 ($(objpfx)tst-fnmatch-mem): New rule.
14956 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14957 * posix/tst-fnmatch.c (main): Call mtrace.
14958
13b69574
L
149592010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14960
14961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14962 Support Intel processor model 6 and model 0x2c.
14963
da93d214
LM
149642010-11-10 Luis Machado <luisgpm@br.ibm.com>
14965
14966 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14967 signed comparison.
14968
8ca52c6e
L
149692010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14970
14971 [BZ #12205]
14972 * string/test-strncasecmp.c (check_result): New function.
14973 (do_one_test): Use it.
14974 (check1): New function.
14975 (test_main): Use it.
14976 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14977 Support strcasecmp and strncasecmp.
14978
69da074d
UD
149792010-11-08 Ulrich Drepper <drepper@gmail.com>
14980
14981 [BZ #12194]
14982 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14983 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14984
ff02d528
L
149852010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14986
14987 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14988 IFUNC support.
14989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14990 memset-x86-64.
14991 * sysdeps/x86_64/multiarch/bzero.S: New file.
14992 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14993 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14994 * sysdeps/x86_64/multiarch/memset.S: New file.
14995 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14997 Set bit_Prefer_SSE_for_memop for Intel processors.
14998 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14999 Define.
15000 (index_Prefer_SSE_for_memop): Define.
15001 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15002
344d0b54
LM
150032010-11-04 Luis Machado <luisgpm@br.ibm.com>
15004
15005 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15006 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15007
c0dde15b
UD
150082010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15009
15010 [BZ #12191]
15011 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15012 (__x86_64_raw_data_cache_size_half): Likewise.
15013 (__x86_64_raw_shared_cache_size): Likewise.
15014 (__x86_64_raw_shared_cache_size_half): Likewise.
15015
15016 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15017 (__x86_64_raw_data_cache_size_half): Likewise.
15018 (__x86_64_raw_shared_cache_size): Likewise.
15019 (__x86_64_raw_shared_cache_size_half): Likewise.
15020 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15021 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15022 and __x86_64_raw_shared_cache_size_half. Round
15023 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15024 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15025 to multiple of 256 bytes.
15026
0e516e0e
MS
150272010-11-03 Ulrich Drepper <drepper@gmail.com>
15028
15029 [BZ #12167]
15030 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15031 of inacessible symlinks. Verify result of symlink before returning it.
15032 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15033 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15034
0e012e87
ER
150352010-10-28 Erich Ritz <erichritz@gmail.com>
15036
15037 * math/math.h (isinf): Fix typo in comment.
15038
de0ff7bc
UD
150392010-11-01 Ulrich Drepper <drepper@gmail.com>
15040
15041 * po/da.po: Update from translation team.
15042
fa41c84d
UD
150432010-10-26 Ulrich Drepper <drepper@gmail.com>
15044
15045 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15046 is added to the list.
15047
f0967738
AK
150482010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15049 Ulrich Drepper <drepper@gmail.com>
15050
15051 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15052 the global list here. Move code to...
15053 (_dl_add_to_namespace_list): ...here. New function.
15054 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15055 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15056 * elf/dl-load.c (lose): Don't remove the element from the list.
15057 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15058 (_dl_map_object): Likewise.
15059
150602010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15061
15062 [BZ #12159]
15063 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15064 into all bytes of SSE register.
15065 Patch by Richard Li <richardpku@gmail.com>.
15066
f0967738 150672010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15068
15069 [BZ #12140]
15070 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15071 perturbing.
15072
d0b9e94f
MB
150732010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15074
15075 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15076 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15077 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15078 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15080 submachine.
15081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15082
8e9f92e9
AS
150832010-10-22 Andreas Schwab <schwab@redhat.com>
15084
15085 * include/dlfcn.h (__RTLD_SECURE): Define.
15086 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15087 mode & __RTLD_SECURE instead.
15088 (open_path): Rename preloaded parameter to secure.
15089 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15090 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15091 * elf/dl-deps.c (openaux): Likewise.
15092 * elf/rtld.c (struct map_args): Remove is_preloaded.
15093 (map_doit): Don't use it.
15094 (dl_main): Likewise.
15095 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15096 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15097
bc96fbda
AS
150982010-09-09 Andreas Schwab <schwab@redhat.com>
15099
15100 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15101 (sysd-rules-targets): Remove duplicates.
15102 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15103 rtld-%.$o dependency.
15104
22cd1c9b
AS
151052010-10-18 Andreas Schwab <schwab@redhat.com>
15106
15107 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15108 _dl_map_object do it.
15109
18edac48
UD
151102010-10-19 Ulrich Drepper <drepper@gmail.com>
15111
15112 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15113 fast fma builtins, define the macros in the C99 standard.
15114 (FP_FAST_FMAF): Likewise.
15115 (FP_FAST_FMAL): Likewise.
15116 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15117
15118 * bits/mathdef.h: Update copyright year.
15119 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15120
d2050124
MM
151212010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15122
15123 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15124 builtins, define the macros in the C99 standard.
15125 (FP_FAST_FMAF): Likewise.
15126 (FP_FAST_FMAL): Likewise.
15127 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15128 multiply/add.
15129 (FP_FAST_FMAF): Likewise.
15130
475facd1
JJ
151312010-10-15 Jakub Jelinek <jakub@redhat.com>
15132
15133 [BZ #3268]
15134 * math/libm-test.inc (fma_test): Some new testcases.
15135 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15136 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15137 y and infinite z. Do multiplication by C already in long double.
15138 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15140 y and infinite z. Do bitwise or of inexact bit into u.d.
15141 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15142 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15143 * sysdeps/i386/fpu/s_fma.S: Removed.
15144 * sysdeps/i386/fpu/s_fmal.S: Removed.
15145
7c08a05c
JJ
151462010-10-16 Jakub Jelinek <jakub@redhat.com>
15147
15148 [BZ #3268]
15149 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15151 computation is not scheduled after fetestexcept. Fix value
15152 of minimum denormal long double.
15153
f3f7372d
JJ
151542010-10-14 Jakub Jelinek <jakub@redhat.com>
15155
15156 [BZ #3268]
15157 * math/libm-test.inc (fma_test): Add some more tests.
15158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15159 correctly.
15160
14d43591
AS
151612010-10-15 Andreas Schwab <schwab@redhat.com>
15162
15163 * scripts/data/localplt-s390-linux-gnu.data: New file.
15164 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15165
5e908464
JJ
151662010-10-13 Jakub Jelinek <jakub@redhat.com>
15167
15168 [BZ #3268]
15169 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15170 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15171 instead of dbl-64.
15172 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15173 inlines.
15174 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15176 if one of x and y is very large and the other is subnormal.
15177 * sysdeps/s390/fpu/s_fmaf.c: New file.
15178 * sysdeps/s390/fpu/s_fma.c: New file.
15179 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15180 * sysdeps/powerpc/fpu/s_fma.S: New file.
15181 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15182 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15183 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15184
151852010-10-12 Jakub Jelinek <jakub@redhat.com>
15186
15187 [BZ #3268]
15188 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15189 fma tests.
15190 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15191 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15192 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15193 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15194 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15195 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15196 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15197
b833d51f
UD
151982010-10-12 Ulrich Drepper <drepper@redhat.com>
15199
15200 [BZ #12078]
15201 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15202 * posix/bug-regex31.input: Add test case.
15203
1751705d
UD
152042010-10-11 Ulrich Drepper <drepper@gmail.com>
15205
e9b9cbf5
UD
15206 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15207 * posix/bug-regex31.input: New file.
15208
15209 [BZ #12078]
15210 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15211 (parse_sub_exp): Fix last change, use postorder.
15212
ef06edbe
UD
15213 * posix/bug-regex31.c: New file.
15214 * posix/Makefile: Add rules to build and run bug-regex31.
15215
a129c80d
UD
15216 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15217
15218 [BZ #12078]
15219 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15220
b76b818e
UD
15221 [BZ #12108]
15222 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15223 to have entries in sys_siglist.
15224
1751705d
UD
15225 [BZ #12093]
15226 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15227 be NULL.
15228
9ff8d36f
JJ
152292010-10-07 Jakub Jelinek <jakub@redhat.com>
15230
15231 [BZ #3268]
15232 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15233 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15234 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15235 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15236 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15237 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15238 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15239 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15240 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15241 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15242 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15243 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15244 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15245 * math/ftestexcept.c (fetestexcept): Likewise.
15246 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15247 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15248 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15249 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15250 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15251 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15252 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15253
af325969
UD
152542010-10-11 Ulrich Drepper <drepper@gmail.com>
15255
c579b202 15256 [BZ #12107]
af325969
UD
15257 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15258 newline.
15259
67a67b95
UD
152602010-10-06 Ulrich Drepper <drepper@gmail.com>
15261
15262 * string/bug-strstr1.c: New file.
15263 * string/Makefile: Add rules to build and run bug-strstr1.
15264
5fb308bc
EB
152652010-10-05 Eric Blake <eblake@redhat.com>
15266
15267 [BZ #12092]
15268 * string/str-two-way.h (two_way_long_needle): Always clear memory
15269 when skipping input due to the shift table.
15270
45db99c7
UD
152712010-10-03 Ulrich Drepper <drepper@gmail.com>
15272
3b111893
UD
15273 [BZ #12005]
15274 * malloc/mcheck.c: Handle large requests.
15275
45db99c7
UD
15276 [BZ #12077]
15277 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15278 for strncmp and strncasecmp.
15279 * string/stratcliff.c: Add tests for strcmp and strncmp.
15280 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15281
cf7a1eb8
NI
152822010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15283
15284 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15285 __set_fpscr.
15286
6484ba5e
AJ
152872010-09-30 Andreas Jaeger <aj@suse.de>
15288
15289 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15290 (CGROUP_SUPER_MAGIC): Define.
15291 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15292 Handle btrfs and cgroup file systems.
15293 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15294 Likewise.
15295
91c42559
LM
152962010-09-27 Luis Machado <luisgpm@br.ibm.com>
15297
15298 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15299 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15300
87a97932
AK
153012010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15302
15303 [BZ #12067]
15304 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15305 trying to locate the ELF header.
15306
c21cc9bc
AS
153072010-09-27 Andreas Schwab <schwab@redhat.com>
15308
15309 [BZ #11611]
15310 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15311 Mask out sign-bit copies when constructing f_fsid.
15312
315970f6
PB
153132010-09-24 Petr Baudis <pasky@suse.cz>
15314
15315 * debug/stack_chk_fail_local.c: Add missing licence exception.
15316 * debug/warning-nop.c: Likewise.
15317
1ac7a2c7
JM
153182010-09-15 Joseph Myers <joseph@codesourcery.com>
15319
15320 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15321 implementing getdents64 using getdents syscall, set d_type if
15322 __ASSUME_GETDENTS32_D_TYPE.
15323
56801c50
AS
153242010-09-16 Andreas Schwab <schwab@redhat.com>
15325
15326 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15327 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15328
dda51327
UD
153292010-09-21 Ulrich Drepper <drepper@redhat.com>
15330
15331 [BZ #12037]
15332 * posix/unistd.h: Undo change of feature selection for ftruncate from
15333 2010-01-11.
15334
8ffcee4a
UD
153352010-09-20 Ulrich Drepper <drepper@redhat.com>
15336
a545ecd9 15337 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15338 detection.
15339
e24f0a8b
AS
153402010-09-20 Andreas Schwab <schwab@redhat.com>
15341
15342 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15343 fanotify_mark.
15344 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15345
7291c56f
AS
153462010-09-14 Andreas Schwab <schwab@redhat.com>
15347
15348 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15349 variables after CHECK_SP call.
15350 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15351
bc5fb037
AS
153522010-09-13 Andreas Schwab <schwab@redhat.com>
15353 Ulrich Drepper <drepper@redhat.com>
15354
15355 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15356 re-relocationg ld.so.
15357 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15358 _dl_init_paths call.
15359 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15360 here anymore.
15361
e66e7419
UD
153622010-09-14 Ulrich Drepper <drepper@redhat.com>
15363
15364 * resolv/res_init.c (__res_vinit): Count the default server we added.
15365
c044aa75
CLT
153662010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15367 Ulrich Drepper <drepper@redhat.com>
15368
15369 [BZ #11968]
15370 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15371 (____longjmp_chk): Use %ebx for saving value across system call.
15372 Add unwind info.
15373
32cf4069
AS
153742010-09-06 Andreas Schwab <schwab@redhat.com>
15375
15376 * manual/Makefile: Don't mix pattern rules with normal rules.
15377
817328ee
AS
153782010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15379
15380 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15381 operation.
15382 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15383 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15384 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15385 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15386 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15387 Likewise.
15388
29fddf61
UD
153892010-09-04 Ulrich Drepper <drepper@redhat.com>
15390
15391 [BZ #11979]
15392 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15393 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15394
0959ffc9
UD
153952010-09-02 Ulrich Drepper <drepper@redhat.com>
15396
15397 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15398 * sysdeps/x86_64/addmul_1.S: Likewise.
15399 * sysdeps/x86_64/lshift.S: Likewise.
15400 * sysdeps/x86_64/mul_1.S: Likewise.
15401 * sysdeps/x86_64/rshift.S: Likewise.
15402 * sysdeps/x86_64/sub_n.S: Likewise.
15403 * sysdeps/x86_64/submul_1.S: Likewise.
15404
ece29840
ST
154052010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15406
0959ffc9
UD
15407 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15408 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15409 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15410 * bits/sched.h [__need_schedparam]
ece29840 15411 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15412 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15413 (__defined_schedparam): Define to 1.
ece29840
ST
15414 (__sched_param): New structure, identical to sched_param.
15415 (__need_schedparam): Undefine.
15416
e53a31fe
MF
154172010-08-31 Mike Frysinger <vapier@gentoo.org>
15418
fdc0c10d
MF
15419 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15420 (epoll_create1): Declare.
15421
e53a31fe
MF
15422 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15423
a726d796
AS
154242010-08-31 Andreas Schwab <schwab@redhat.com>
15425
15426 [BZ #7066]
15427 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15428 shifting retval into place.
15429
2f3e3dc7
UD
154302010-09-01 Ulrich Drepper <drepper@redhat.com>
15431
f2933da9
UD
15432 * nis/rpcsvc/nis.h: Update copyright notice.
15433 * nis/rpcsvc/nis.x: Likewise.
15434 * nis/rpcsvc/nis_callback.h: Likewise.
15435 * nis/rpcsvc/nis_callback.x: Likewise.
15436 * nis/rpcsvc/nis_object.x: Likewise.
15437 * nis/rpcsvc/nis_tags.h: Likewise.
15438 * nis/rpcsvc/yp.h: Likewise.
15439 * nis/rpcsvc/yp.x: Likewise.
15440 * nis/rpcsvc/ypupd.h: Likewise.
15441 * nis/yp_xdr.c: Likewise.
15442 * nis/ypupdate_xdr.c: Likewise.
15443
2f3e3dc7
UD
15444 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15445 mainly the body of pmap_getport. Add parameters to specify timeouts.
15446 (pmap_getport): Use __libc_rpc_getport.
15447 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15448 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15449 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15450
f3dcc2f9
AS
154512010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15452
15453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15454 fanotify_mark.
15455
6d34eb5b
RM
154562010-08-27 Roland McGrath <roland@redhat.com>
15457
15458 * sysdeps/i386/i686/multiarch/Makefile
15459 (CFLAGS-varshift.c): New variable.
15460
9ea3de11
UD
154612010-08-27 Ulrich Drepper <drepper@redhat.com>
15462
c96d23fc
UD
15463 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15464 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15465
9ea3de11
UD
15466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15467
15468 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15469
623aac7f
L
154702010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15471
15472 * sysdeps/x86_64/strlen.S: Unroll the loop.
15473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15474 strlen-sse2 strlen-sse2-bsf.
15475 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15476 __strlen_no_bsf if bit_Slow_BSF is set.
15477 (__strlen_sse42): Removed.
15478 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15479 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15480
8b2b7715
RM
154812010-08-25 Roland McGrath <roland@redhat.com>
15482
15483 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15484 * sysdeps/x86_64/multiarch/varshift.c: New file.
15485 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15486 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15487 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15488 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15489
e73015f2
L
154902010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15491
15492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15493 strlen-sse2 strlen-sse2-bsf.
15494 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15495 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15496 (__strlen_sse2): Removed.
15497 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15498 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15500 bit_Slow_BSF for Atom.
15501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15502 (index_Slow_BSF): Define.
15503 (HAS_SLOW_BSF): Define.
15504
df24a73e
UD
155052010-08-25 Ulrich Drepper <drepper@redhat.com>
15506
15507 [BZ #10851]
15508 * resolv/res_init.c (__res_vinit): When no server address at all
15509 is given default to loopback.
15510
f2ac4868
RM
155112010-08-24 Roland McGrath <roland@redhat.com>
15512
09055553
RM
15513 * configure.in: Remove config-name.h generation.
15514 * configure: Regenerated.
15515 * config-name.in: File removed.
15516 * scripts/config-uname.sh: New file.
15517 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15518 ($(objdir)config-name.h): New target.
15519
f2ac4868
RM
15520 * sunrpc/rpc_parse.h: Avoid nested comment.
15521
73f27d5e
RH
155222010-08-24 Richard Henderson <rth@redhat.com>
15523 Ulrich Drepper <drepper@redhat.com>
15524 H.J. Lu <hongjiu.lu@intel.com>
15525
15526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15528 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15529 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15530 _mm_alignr_epi8 with _mm_loadu_si128.
15531 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15532 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15533 (__m128i_shift_right): Removed.
15534 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15535 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15536 * sysdeps/x86_64/multiarch/varshift.h: New file.
15537 * sysdeps/x86_64/multiarch/varshift.S: New file.
15538
84b9230c
MF
155392010-08-21 Mike Frysinger <vapier@gentoo.org>
15540
15541 * configure.in: Move assembler checks to before sysdep dir checking.
15542
9bbd0ddc
PB
155432010-08-20 Petr Baudis <pasky@suse.cz>
15544
15545 * LICENSES: Sync the sunrpc license.
15546
9da4bb31
UD
155472010-08-19 Ulrich Drepper <drepper@redhat.com>
15548
a7ab6ec8
UD
15549 * sunrpc/auth_des.c: Update copyright notice once again.
15550 * sunrpc/auth_none.c: Likewise.
15551 * sunrpc/auth_unix.c: Likewise.
15552 * sunrpc/authdes_prot.c: Likewise.
15553 * sunrpc/authuxprot.c: Likewise.
15554 * sunrpc/bindrsvprt.c: Likewise.
15555 * sunrpc/clnt_gen.c: Likewise.
15556 * sunrpc/clnt_perr.c: Likewise.
15557 * sunrpc/clnt_raw.c: Likewise.
15558 * sunrpc/clnt_simp.c: Likewise.
15559 * sunrpc/clnt_tcp.c: Likewise.
15560 * sunrpc/clnt_udp.c: Likewise.
15561 * sunrpc/clnt_unix.c: Likewise.
15562 * sunrpc/des_crypt.c: Likewise.
15563 * sunrpc/des_soft.c: Likewise.
15564 * sunrpc/get_myaddr.c: Likewise.
15565 * sunrpc/getrpcport.c: Likewise.
15566 * sunrpc/key_call.c: Likewise.
15567 * sunrpc/key_prot.c: Likewise.
15568 * sunrpc/openchild.c: Likewise.
15569 * sunrpc/pm_getmaps.c: Likewise.
15570 * sunrpc/pm_getport.c: Likewise.
15571 * sunrpc/pmap_clnt.c: Likewise.
15572 * sunrpc/pmap_prot.c: Likewise.
15573 * sunrpc/pmap_prot2.c: Likewise.
15574 * sunrpc/pmap_rmt.c: Likewise.
15575 * sunrpc/rpc/auth.h: Likewise.
15576 * sunrpc/rpc/auth_unix.h: Likewise.
15577 * sunrpc/rpc/clnt.h: Likewise.
15578 * sunrpc/rpc/des_crypt.h: Likewise.
15579 * sunrpc/rpc/key_prot.h: Likewise.
15580 * sunrpc/rpc/netdb.h: Likewise.
15581 * sunrpc/rpc/pmap_clnt.h: Likewise.
15582 * sunrpc/rpc/pmap_prot.h: Likewise.
15583 * sunrpc/rpc/pmap_rmt.h: Likewise.
15584 * sunrpc/rpc/rpc.h: Likewise.
15585 * sunrpc/rpc/rpc_des.h: Likewise.
15586 * sunrpc/rpc/rpc_msg.h: Likewise.
15587 * sunrpc/rpc/svc.h: Likewise.
15588 * sunrpc/rpc/svc_auth.h: Likewise.
15589 * sunrpc/rpc/types.h: Likewise.
15590 * sunrpc/rpc/xdr.h: Likewise.
15591 * sunrpc/rpc_clntout.c: Likewise.
15592 * sunrpc/rpc_cmsg.c: Likewise.
15593 * sunrpc/rpc_common.c: Likewise.
15594 * sunrpc/rpc_cout.c: Likewise.
15595 * sunrpc/rpc_dtable.c: Likewise.
15596 * sunrpc/rpc_hout.c: Likewise.
15597 * sunrpc/rpc_main.c: Likewise.
15598 * sunrpc/rpc_parse.c: Likewise.
15599 * sunrpc/rpc_parse.h: Likewise.
15600 * sunrpc/rpc_prot.c: Likewise.
15601 * sunrpc/rpc_sample.c: Likewise.
15602 * sunrpc/rpc_scan.c: Likewise.
15603 * sunrpc/rpc_scan.h: Likewise.
15604 * sunrpc/rpc_svcout.c: Likewise.
15605 * sunrpc/rpc_tblout.c: Likewise.
15606 * sunrpc/rpc_util.c: Likewise.
15607 * sunrpc/rpc_util.h: Likewise.
15608 * sunrpc/rpcinfo.c: Likewise.
15609 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15610 * sunrpc/rpcsvc/key_prot.x: Likewise.
15611 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15612 * sunrpc/rpcsvc/mount.x: Likewise.
15613 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15614 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15615 * sunrpc/rpcsvc/rex.x: Likewise.
15616 * sunrpc/rpcsvc/rstat.x: Likewise.
15617 * sunrpc/rpcsvc/rusers.x: Likewise.
15618 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15619 * sunrpc/rpcsvc/spray.x: Likewise.
15620 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15621 * sunrpc/rtime.c: Likewise.
15622 * sunrpc/svc.c: Likewise.
15623 * sunrpc/svc_auth.c: Likewise.
15624 * sunrpc/svc_authux.c: Likewise.
15625 * sunrpc/svc_raw.c: Likewise.
15626 * sunrpc/svc_run.c: Likewise.
15627 * sunrpc/svc_simple.c: Likewise.
15628 * sunrpc/svc_tcp.c: Likewise.
15629 * sunrpc/svc_udp.c: Likewise.
15630 * sunrpc/svc_unix.c: Likewise.
15631 * sunrpc/svcauth_des.c: Likewise.
15632 * sunrpc/xcrypt.c: Likewise.
15633 * sunrpc/xdr.c: Likewise.
15634 * sunrpc/xdr_array.c: Likewise.
15635 * sunrpc/xdr_float.c: Likewise.
15636 * sunrpc/xdr_mem.c: Likewise.
15637 * sunrpc/xdr_rec.c: Likewise.
15638 * sunrpc/xdr_ref.c: Likewise.
15639 * sunrpc/xdr_sizeof.c: Likewise.
15640 * sunrpc/xdr_stdio.c: Likewise.
15641
9da4bb31
UD
15642 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15643 handling.
15644
bdaa77bc
AS
156452010-08-19 Andreas Schwab <schwab@redhat.com>
15646
15647 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15648
fe2f79db
LM
156492010-08-19 Luis Machado <luisgpm@br.ibm.com>
15650
15651 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15652 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15653 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15654 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15655 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15656 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15657 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15658 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15659 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15660 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15661 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15662 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15663 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15664 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15665
b9b42ee0
AB
156662010-07-26 Anton Blanchard <anton@samba.org>
15667
15668 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15669 * malloc/arena.c (heap_trim): Likewise.
15670
1c06ba31
UD
156712010-08-16 Ulrich Drepper <drepper@redhat.com>
15672
15673 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15674 here. Not...
15675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15676 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15677
f8392f40
L
156782010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15679
15680 * sysdeps/i386/elf/Makefile: New file.
15681
3162f12e
AS
156822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15683
15684 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15685 from fanotify_init.
15686 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15687 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15688
28c90b2c
UD
156892010-08-15 Ulrich Drepper <drepper@redhat.com>
15690
15691 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15692 of strncasecmp_l.
1feccb6c 15693 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15694
ca6bb004
UD
156952010-08-14 Ulrich Drepper <drepper@redhat.com>
15696
e9f82e0d
UD
15697 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15698 strncase_l-nonascii.
15699 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15700 Add strncase_l-ssse3.
15701 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15702 * sysdeps/x86_64/strcmp.S: Likewise.
15703 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15704 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15705 * sysdeps/x86_64/strncase.S: New file.
15706 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15707 * sysdeps/x86_64/strncase_l.S: New file.
15708 * string/Makefile (strop-tests): Add strncasecmp.
15709 * string/test-strncasecmp.c: New file.
15710
15711 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15712 warning.
15713
ca6bb004
UD
15714 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15715 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15716
052fa7b3
AS
157172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15718
15719 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15720
962dba78
UD
157212010-08-12 Ulrich Drepper <drepper@redhat.com>
15722
15723 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15724 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15725 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15726
bebff237
AM
157272010-05-01 Alan Modra <amodra@gmail.com>
15728
15729 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15730 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15731 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15732 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15733 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15734 tidying. Don't tail-call __sigjmp_save for static lib.
15735 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15736 save location.
15737 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15738 (CALL_MCOUNT): Add eh info, and nop after bl.
15739 (TAIL_CALL_SYSCALL_ERROR): New macro.
15740 (PSEUDO_RET): Use it.
15741 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15742 Correct save location of integer regs and cr.
15743 (_dl_profile_resolve): Correct cr save location. Delete nops
15744 after bl when SHARED. Reduce cfi size a little by better
15745 placement of cfi directives.
15746 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15747 make a stack frame. Instead use parm save area as a temp.
15748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15749 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15751 Don't make a stack frame for parent, use parm save area.
15752 Increase child stack frame to 112 bytes. Don't save unused reg,
15753 and adjust reg usage. Set up cfi on error recovery and
15754 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15756 (__makecontext): Add dummy nop after jump to exit.
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15758 Use correct parm save area and cr save, reduce stack frame.
15759 Correct cfi for possible PSEUDO_RET frame setup.
15760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15761 Branch to local label emitted by PSEUDO_RET rather than
15762 __syscall_error.
15763
02637374
AS
157642010-08-12 Andreas Schwab <schwab@redhat.com>
15765
15766 [BZ #11904]
15767 * locale/programs/locale.c (print_assignment): New function.
15768 (show_locale_vars): Use it.
15769
c3e2f19b
UD
157702010-08-11 Ulrich Drepper <drepper@redhat.com>
15771
3cdaa6ad
UD
15772 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15773 field.
15774 (struct statfs64): Likewise.
15775 (_STATFS_F_FLAGS): Define.
15776 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15777 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15778 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15779 (ST_VALID): Define locally.
15780 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15781 __statvfs_getflags, use the provided value.
15782 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15783 __ASSUME_STATFS_F_FLAGS.
15784
754f7da3
UD
15785 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15786
10b3bedc
UD
15787 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15788 Add sys/fanotify.h.
15789 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15790 fanotify_mask for GLIBC_2.13.
15791 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15792 fanotify_init and fanotify_mark.
15793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15794 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15795
c08fb0d7
UD
15796 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15797 Add prlimit.
15798 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15799 prlimit64 for GLIBC_2.13.
15800 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15801 prlimit64.
15802 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15803 syscall.
15804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15805 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15806 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15807 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15808 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15809 add prlimit alias.
15810 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15811
15bac72b
UD
15812 [BZ #11903]
15813 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15814 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15815
c3e2f19b
UD
15816 * nss/Makefile: Add rules to build and run tst-nss-test1.
15817 * shlib-versions: Add entry for libnss_test1.
15818 * nss/nss_test1.c: New file.
15819 * nss/tst-nss-test1.c: New file.
15820
15821 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15822 (__nss_configure_lookup): Set appropriate entry in
15823 __nss_configure_lookup to true.
15824 * nss/nsswitch.h: Define enum with indeces of databases in
15825 databases and __nss_database_custom arrays. Declare
15826 __nss_database_custom.
15827 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15828 to avoid using nscd when custom rules are installed.
15829 * nss/getXXbyYY_r.c: Likewise.
15830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15831
15832 * nss/nss_files/files-parse.c: Whitespace fixes.
15833
f15ce4d8
UD
158342010-08-09 Ulrich Drepper <drepper@redhat.com>
15835
15836 [BZ #11883]
15837 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15838 * posix/fnmatch_loop.c: Likewise.
15839
d22e4cc9
AK
158402010-07-17 Andi Kleen <ak@linux.intel.com>
15841
15842 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15843 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15844 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15845 * Versions.def [GLIBC_2.13]: Add.
15846
805bc17d
UD
158472010-08-06 Ulrich Drepper <drepper@redhat.com>
15848
15849 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15850 Also fail if tpwd after pwuid call is NULL.
15851
5a42321d
ST
158522010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15853
15854 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15855 when converting to ms.
15856
fd3ebeda
ST
158572010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15858
15859 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15860 EOPNOTSUPP errors with ENOTTY.
15861 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15862 EOPNOTSUPP errors with ENOTTY.
15863
73507d3a
UD
158642010-07-31 Ulrich Drepper <drepper@redhat.com>
15865
15866 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15867 Add strcasecmp_l-ssse3.
15868 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15869 strcasecmp.
15870 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15871 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15872 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15873
fe36dd02
UD
158742010-07-30 Ulrich Drepper <drepper@redhat.com>
15875
66f6765a
UD
15876 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15877
42e08a54
UD
15878 * string/Makefile (strop-tests): Add strcasecmp.
15879 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15880 strcasecmp_l-nonascii.
15881 (gen-as-const-headers): Add locale-defines.sym.
15882 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15883 * sysdeps/x86_64/strcasecmp.S: New file.
15884 * sysdeps/x86_64/strcasecmp_l.S: New file.
15885 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15886 * sysdeps/x86_64/locale-defines.sym: New file.
15887 * string/test-strcasecmp.c: New file.
15888
fe36dd02
UD
15889 * string/test-strcasestr.c: Test both ends of the range of characters.
15890 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15891
48cbc0d6
RM
158922010-07-29 Roland McGrath <roland@redhat.com>
15893
76e6d6bc 15894 [BZ #11856]
48cbc0d6
RM
15895 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15896
880113d9
UD
158972010-07-27 Ulrich Drepper <drepper@redhat.com>
15898
15899 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15900 for ld.so.
15901
deb9cabb
AS
159022010-07-27 Andreas Schwab <schwab@redhat.com>
15903
15904 * manual/memory.texi (Malloc Tunable Parameters): Document
15905 M_PERTURB.
15906
1c7570ff
RM
159072010-07-26 Roland McGrath <roland@redhat.com>
15908
15909 [BZ #11840]
15910 * configure.in (-fgnu89-inline check): Set and substitute
15911 gnu89_inline, not libc_cv_gnu89_inline.
15912 * configure: Regenerated.
15913 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15914
24fb0f88
UD
159152010-07-26 Ulrich Drepper <drepper@redhat.com>
15916
15917 * string/test-strnlen.c: New file.
15918 * string/Makefile (strop-tests): Add strnlen.
15919 * string/tester.c (test_strnlen): Add a few more test cases.
15920 * string/tst-strlen.c: Better error reporting.
15921
15922 * sysdeps/x86_64/strnlen.S: New file.
15923
8e96b93a
UD
159242010-07-24 Ulrich Drepper <drepper@redhat.com>
15925
15926 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15927 lower-latency instructions.
15928
dbc676d4
UD
159292010-07-23 Ulrich Drepper <drepper@redhat.com>
15930
15931 * string/test-strcasestr.c: New file.
15932 * string/test-strstr.c: New file.
15933 * string/Makefile (strop-tests): Add strstr and strcasestr.
15934 * string/str-two-way.h: Don't undefine MAX.
15935 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15936
f6a31e0e
AS
159372010-07-21 Andreas Schwab <schwab@redhat.com>
15938
15939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15940 strcasestr-nonascii.
15941 (CFLAGS-strcasestr-nonascii.c): Define.
15942 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15943 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15944 Remove unused attribute.
15945
5dbc3b6c
RM
159462010-07-20 Roland McGrath <roland@redhat.com>
15947
15948 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15949 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15950 ld.so.cache was broken. With it, there is no way to disable dsocaps
15951 like LD_HWCAP_MASK can disable hwcaps.
15952
23d101d8
EPM
159532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15954
15955 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15956
cc9f2e47
UD
159572010-07-16 Ulrich Drepper <drepper@redhat.com>
15958
15959 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15960 call in strcasestr.
15961 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15962 __strcasestr_sse42_nonascii.
15963 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15964 strcasestr-nonascii.c.
15965 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15966
77c1b069
LM
159672010-06-15 Luis Machado <luisgpm@br.ibm.com>
15968
15969 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15970 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15971 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15972 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15973
440566c3
UD
159742010-07-09 Ulrich Drepper <drepper@redhat.com>
15975
15976 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15977 fcntl.
15978
5be9d05d
AS
159792010-07-06 Andreas Schwab <schwab@redhat.com>
15980
c30b7ee2 15981 [BZ #11577]
5be9d05d
AS
15982 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15983 dl_signal_cerror.
15984
8a492a67
UD
159852010-07-06 Ulrich Drepper <drepper@redhat.com>
15986
15987 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15988 _PC_PIPE_BUF using F_GETPIPE_SZ.
15989
713df3d5
RM
159902010-07-05 Roland McGrath <roland@redhat.com>
15991
15992 * manual/arith.texi (Rounding Functions): Fix rint description
15993 implicit in round description.
15994
702e8f14
UD
159952010-07-02 Ulrich Drepper <drepper@redhat.com>
15996
15997 * elf/Makefile: Fix linking for a few tests to make recent linker
15998 happy.
15999
52ed8be9
AS
160002010-06-30 Andreas Schwab <schwab@redhat.com>
16001
16002 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16003 $(common-objpfx)libc_nonshared.a.
16004
f47c9a11
LM
160052010-06-21 Luis Machado <luisgpm@br.ibm.com>
16006
16007 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16008 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16009 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16010 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16011 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16012 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16013 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16014 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16029 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16030 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16031 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16032 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16033 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16034 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16035 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16036 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16037 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16038 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16039 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16040 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16055
6fb8cbcb
L
160562010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16057
16058 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16059 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16060 * string/memmove.c (memmove): Renamed to ...
16061 (MEMMOVE): ...this. Default to memmove.
16062 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16063 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16064 (END_CHK): Define.
16065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16066 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16067 mempcpy-ssse3-back memmove-ssse3-back.
16068 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16069 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16070 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16071 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16072 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16073 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16074 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16075 * sysdeps/x86_64/multiarch/memmove.c: New file.
16076 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16077 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16078 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16079 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16080 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16081 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16082 Define.
16083 (index_Fast_Copy_Backward): Define.
16084 (HAS_ARCH_FEATURE): Define.
16085 (HAS_FAST_REP_STRING): Define.
16086 (HAS_FAST_COPY_BACKWARD): Define.
16087
4e733bac 160882010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16089
16090 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16091 Restore proper fallback handling.
16092
63c4ed22
UD
160932010-06-19 Ulrich Drepper <drepper@redhat.com>
16094
ac2b484c
UD
16095 [BZ #11701]
16096 * posix/group_member.c (__group_member): Correct checking loop.
16097
63c4ed22
UD
16098 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16099 OOM in getpwuid_r correctly. Return error number when the caller
16100 should return, otherwise -1.
16101 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16102 call returning > 0 value.
16103 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16104
765ade4b
AS
161052010-06-07 Andreas Schwab <schwab@redhat.com>
16106
16107 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16108 libc_nonshared.a from targets in modules-names.
16109
80da2e09
KS
161102010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16111
16112 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16113 requires it.
16114
158db122
LM
161152010-06-10 Luis Machado <luisgpm@br.ibm.com>
16116
16117 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16118 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16120 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16121
caa78cf8
AS
161222010-06-02 Andreas Schwab <schwab@redhat.com>
16123
16124 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16125
b2ef2c01
UD
161262010-06-14 Ulrich Drepper <drepper@redhat.com>
16127
16128 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16129 and F_GETPIPE_SZ.
16130 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16131 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16134 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16135 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16136
fbd643b6
RM
161372010-06-14 Roland McGrath <roland@redhat.com>
16138
16139 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16140
f32f2869
JJ
161412010-06-07 Jakub Jelinek <jakub@redhat.com>
16142
16143 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16144 __REDIRECT followed by __THROW.
16145 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16146 * posix/getopt.h (getopt): Likewise.
16147
2a50c078
EPM
161482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16149
16150 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16151 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16152 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16153 in AT_FLAGS.
16154 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16155 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16156
eb5ad2eb
LM
161572010-05-28 Luis Machado <luisgpm@br.ibm.com>
16158
16159 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16160
3c88fe1e
L
161612010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16162
16163 [BZ #11640]
16164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16165 Properly check family and model.
16166
d2f73151
TY
161672010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16168
16169 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16170
ebd2e13d
LM
161712010-05-24 Luis Machado <luisgpm@br.ibm.com>
16172
16173 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16174
b32b8b45
UD
161752010-05-21 Ulrich Drepper <drepper@redhat.com>
16176
16177 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16178 symbol reference.
16179
9acbe24d
AS
161802010-05-19 Andreas Schwab <schwab@redhat.com>
16181
16182 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16183 symbol reference.
16184
f0ccf6ea
AS
161852010-05-21 Andreas Schwab <schwab@redhat.com>
16186
3d04ff3a
AS
16187 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16188 and internal_recvmmsg.
16189 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16190 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16191 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16192 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16193
f0ccf6ea
AS
16194 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16195 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16196 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16197
5b08ac57
AS
161982010-05-20 Andreas Schwab <schwab@redhat.com>
16199
16200 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16201
4828935d
LM
162022010-05-17 Luis Machado <luisgpm@br.ibm.com>
16203
16204 POWER7 optimizations.
16205 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16206 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16207
373d545e
UD
162082010-05-19 Ulrich Drepper <drepper@redhat.com>
16209
16210 * version.h: Update for 2.13 development version.
16211
21a2b1ae
AS
162122010-05-12 Andrew Stubbs <ams@codesourcery.com>
16213
16214 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16215 exceptions. Return 0.
16216
3f7dcb2b
RM
162172010-05-07 Roland McGrath <roland@redhat.com>
16218
16219 * elf/ldconfig.c (main): Add a const.
16220
5f24d53a 162212010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16222
a160f8d8
UD
16223 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16224 (args_options): Add no-idn option.
16225 (ahosts_keys_int): Add idn_flags to ai_flags.
16226 (parse_option): Handle 'i' option to clear idn_flags.
16227
5f24d53a
UD
16228 * malloc/malloc.c (_int_free): Possible race in the most recently
16229 added check. Only act on the data if no current modification
16230 happened.
265bb1ce
UD
16231
16232See ChangeLog.17 for earlier changes.